Atheros AR6001
William Stucker
wstucker at gmail.com
Thu Mar 27 04:35:56 CET 2008
Hi, I recently asked a question about a PNP error that I was having with
the Atheros AR6001 patches, to which I got an excellent and through
reply from Andy Green which was much appreciated. However, having
corrected that mistake, I now am having DMA problems, unfortunately it
does not seem like a similar dependency to the PNP error I had before.
The error is below, followed by the previous message.
drivers/built-in.o(.text+0x118dc): In function `pnp_check_dma':
drivers/pnp/resource.c:437: undefined reference to `request_dma'
drivers/built-in.o(.text+0x118fc):drivers/pnp/resource.c:439: undefined
reference to `free_dma'
make: *** [.tmp_vmlinux1] Error 1
Thank you for any advice you can give me,
-Wil
Somebody in the thread at some point said:
> Hi, I'm a student at Boston University, trying to implement an Atheros
> > AR6001 Wifi chip on an I(ntel)Mote2. Our os for the Imote2 is 2.6.24
> > kernel. Basically, I'm trying to create my own updated kernel for the
> > Imote2. I am using a patch from
> > (www-sigproc.eng.cam.ac.uk/%7Ejic23/IMOTE2/) which I think is a
> > defconfig to auto set the kernel up for the Imote2. I'm then using the
> > Atheros patches modified by Samuel Ortiz.
>
Ooh it's nice if people are able to re-use the work Openmoko funded there!
> > I can get the kernel to compile and it is bootable, but when I go to
> > make the modules, I get thrown an error because some stuff thats
> > required for the SDIO modules for the Atheros chip is not defined in my
> > patch for the Imote2.
> >
> > The error occurs doing "make modules"
> >
> > drivers/sdio/stack/busdriver/sdio_bus_os.c:363:2:#error "CONFIG_PNP not
> > defined"
>
If you do
make ARCH=arm menuconfig
and have a look in "device drivers", "Plug and Play support" should be
the fifth guy down, make sure he is selected like [*]. I guess for
xscale it is still ARCH=arm. In the Kconfig for it at
./drivers/pnp/Kconfig
it says
menuconfig PNP
bool "Plug and Play support"
depends on HAS_IOMEM
depends on ISA || ACPI || SDIO <========
so make sure you enabled the SDIO stack that is part of the Atheros
driver in your config too. Seems to be
CONFIG_SDIO=y
CONFIG_SDIO_AR6000_WLAN=y
Be aware though this driver is sensitive to the firmware version you
have on your physical wireless device, IIRC we use some magic "89"
firmware, but I don't know much about it.
- -Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080326/7d6403d6/attachment.htm
More information about the openmoko-kernel
mailing list