logo       

Is there anyone who use MADWIFI driver on ARM Linux platform?: msg#00085

Subject: Is there anyone who use MADWIFI driver on ARM Linux platform?
Hello,

MADWIFI (http://sourceforge.net/projects/madwifi) is a multimode
atheros driver for Wifi on Linux.

I tried to build the driver on ARM Linux platform. But I failed to
compile the driver.
I used the following tool chains.

binutil-2.14
gcc-3.3.2
newlib-1.11.0
linux-2.4.18

Is there anyone who succeed in using MADWIFI driver on ARM Linux
platform?

I think that "-mthumb" compiler option included in the file
"hal/linux/arm9-le-thumb-elf.inc" makes the problem.
"-mthumb" lets the compiler generate 16-bit Thumb instructions instead
of 32-bit ARM instructions.
At the souce codes that use the kernel macro written in ARM assembly
codes, the compiler generates error messages.
With "-mthumb option", could the compiler succeed in compiling the
source codes that include ARM assembly macros? 

Since the driver provides only a HAL module (arm9-le-thumb-
elf.hal.o.uu) written in Thumb instructions, I should use the "-mthumb"
option.
Without the option, though I could succeed in building the driver, I
failed to load the driver module because of some relocation errors from
mixed ARM and Thumb codes.

If there is anyone who succeed in using the driver on ARM Linux
platform, please help me. 

Thanks in advance,

--------
Sung Hwan Kim
shkim@xxxxxxxxxxxxxx


-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php



<Prev in Thread] Current Thread [Next in Thread>