Re: [Madwifi-users] Cross Compile to ARM9 (MOXA IA241 Board)
Status: Beta
Brought to you by:
otaku
From: Pavel R. <pr...@gn...> - 2007-01-05 06:01:28
|
Quoting Jin YunYe <yun...@gm...>: > Does it mean that the '2.6.9-uc0 ARMv4 is the kernel version which is > running on my Embedded board? And I somehow compile it against the > '2.6.9-moxa ARMv3? Yes. > > Either use your kernel on the board (if you actually have the board > specific > > code and configuration, of course) or find the sources and the > configuration of > > the kernel you are running and compile MadWifi for it. > > The manufacturer does not provide the much information about their > kernel or source code. But I doubt it is the uClinux OS. Actually, "uc0" probably means that the kernel sources are from the uClinux project. Board specific patches are unlikely to have any effect on MadWifi modules, so you can compile it against plain 2.6.9-uc0. You also need to set the configuration so that the modules are marked ARMv4. Looking at a current kernel, it seems that you need CONFIG_CPU_32v4T or CONFIG_CPU_32v4 defined in .config, then arch/arm/Makefile defines __LINUX_ARM_ARCH__ to 4, and this goes to the module magic in include/asm-arm/module.h Then chances are you'll get MadWifi to work. -- Regards, Pavel Roskin |