From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k for ar9102 and ar9103, OpenWRT, AP81 router hardware
Date: Mon, 29 Dec 2008 10:05:36 -0800 [thread overview]
Message-ID: <20081229180536.GV5944@tesla> (raw)
In-Reply-To: <eef88e5b0812290824t80aa890qb34ccef24e652c14@mail.gmail.com>
On Mon, Dec 29, 2008 at 08:24:54AM -0800, Stephen Gutknecht (hilltx) wrote:
> On Mon, Dec 29, 2008 at 8:07 AM, Luis R. Rodriguez
> <lrodriguez@atheros.com> wrote:
> > On Sun, Dec 28, 2008 at 02:22:31PM -0800, Stephen Gutknecht (hilltx) wrote:
> >> A major discovery, good news! Through exhaustive searching of every
> >> bit I could find about AHB drivers, I stumbled into the source code
> >> for the Atheros Radio Testing (ART) for these routers. From my AP81
> >> router (Trendnet TEW-652BRP, DLink DIR-615 C1) running OpenWRT trunk:
> >>
> >>
> >> root at OpenWrt:/tmp# insmod art.ko
> >> CHIP REV ID: b4
> >> dk_dev_init::status after register_chrdev(dk) = 0
> >> Base Phsycal address :0x180c0000
> >> DK::Add client 0
> >> DK::Reg phy addr = 180c0000 vir Addr = b80c0000
> >> DK::Irq = 2
> >> DK::Allocated 0x200000 bytes memory
> >> DK::memory vir Addr = 80c00000 phy Addr = c00000
> >> Device Status is : 0x11
> >> root at OpenWrt:/tmp# uname -a
> >> Linux OpenWrt 2.6.27.10 #18 Sat Dec 27 13:54:44 CST 2008 mips unknown
> >>
> >>
> >> The art driver was made for 2.6.15, I updated it to work on newer
> >> kernels. It has all the juicy details that an experienced ath9k
> >> developer should need to get these chips working.
> >>
> >> driver source AP81/AP83:
> >> http://svn.openfoundry.org/jpgdauto/atheros/art_modules_v0_7_b9.tbz
> >>
> >> Patch for newer kernels:
> >> http://forum.openwrt.org/viewtopic.php?pid=78718#p78718
> >
> > These should *not* be posted as they are not part of the driver, whoever
> > posted this is violating our license and this will be looked into.
> >
> > Avoid using this as a source of documentation.
> >
> > Luis
>
>
> The module is clearly identified by author and shows GPL license. The
> binary version distributed by companies such as DLink is also marked
> in the same way.
>
> root at ipcmedialinux1:/DLink615C1_GPL/AthSDK# strings
> ./rootfs/target/lib/modules/art_ap81.ko | grep "="
> cfiamd: write %s @ %p (%x != %x)
> i=0:fPtr=0x%x:fS=0x%x:ebSize=0x%x
> i=1:fPtr=0x%x:fS=0x%x:ebSize=0x%x
> i=2:fPtr=0x%x:fS=0x%x:ebSize=0x%x
> sysFlashConfigWrite: failed rc=%d
> dk_dev_init::status after register_chrdev(dk) = %d
> DK::Free reg space phy=%x vir=%x
> DK::Free irq = %x
> page order=%d
> DK::Reg phy addr = %x vir Addr = %x
> DK::Irq = %x
> DK::memory vir Addr = %x phy Addr = %x
> description=Linux MDK driver 1.0
> author=muddin at atheros.com
> license=GPL
> depends=
> vermagic=2.6.15- MIPS32_R2 32BIT gcc-3.4
>
>
>
> root at ipcmedialinux1:/home/OpenWRT6/trunk/art_modules/modules# grep -R "MOD_" *
> include/dk.h:#define MOD_LICENCE "GPL"
> include/dk.h:#define MOD_AUTHOR "muddin at atheros.com"
> include/dk.h:#define MOD_DESCRIPTION "Linux MDK driver 1.0"
> main.c: MODULE_LICENSE(MOD_LICENCE);
> main.c:MODULE_AUTHOR(MOD_AUTHOR);
> main.c:MODULE_DESCRIPTION(MOD_DESCRIPTION);
The MODULE_LICENSE() macro has been incorrectly used before as well, this is
another example. If you see the header of the file though you will so no GPL
copyright notices. Trust me, this is not GPL/ISC licensed material and should be
avoided.
Luis
next prev parent reply other threads:[~2008-12-29 18:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 18:53 [ath9k-devel] ath9k for ar9102 and ar9103, OpenWRT, AP81 router hardware Stephen Gutknecht
2008-12-17 10:57 ` Luis R. Rodriguez
2008-12-27 23:45 ` Stephen Gutknecht
2008-12-28 21:55 ` Pavel Roskin
2008-12-28 22:22 ` Stephen Gutknecht
2008-12-29 16:07 ` Luis R. Rodriguez
2008-12-29 16:24 ` Stephen Gutknecht
2008-12-29 18:05 ` Luis R. Rodriguez [this message]
2008-12-29 19:17 ` Stephen Gutknecht
2008-12-29 19:47 ` Luis R. Rodriguez
2008-12-29 22:34 ` RHS Linux User
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081229180536.GV5944@tesla \
--to=lrodriguez@atheros.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.