imx53 QSB Ubuntu USB Wifi Dongle ATHEROS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx53 QSB Ubuntu USB Wifi Dongle ATHEROS

Jump to solution
2,594 Views
giannic
Contributor I

Hi all, I have an imx53 QSB with ubuntu (11.09 from freescale  kernel 2.6.35-1129-g691c08a)  and I'm trying to add a wifi dongle to it, I have a Netgear WNA1100 N150 with Atheros AR9271 chipset. When I plug the dongle in the USB I get on dmesg :   device v0846 p9030 is not supported.

Obviously I need the drivers, I think I need the ath9k_htc, so I downloaded compat-wireless-2.6.35-1, and tried to make it.

Unfortunately it doesn't make because it can't find the kernel modules.

What do I have to do now?

Where can I find the right kernel modules for my build (2.6.35-1129-g691c08a)?

Labels (2)
1 Solution
1,425 Views
israelpz
Senior Contributor I

Hi Giannic,

You need to recompile your kernel and enable support for that module.

Also you could try only to generate that module and use insmod.

I expect you have experience with ltib and you already have installed on your system.

on ltib directory put your patches on rpm/BUILD/linux

Apply the patches  then on same directory execute.

Maybe not all the patches could be applied and you need to fix that.

make ARCH=arm menuconfig

under drivers menu there's a submenu with the name "Network device support"

select and go to Wireless LAN or USB Network adapater.

On one of those Should be Atheros wireless card selecte and enable ath9k.

If you choose the driver as a module (M) you need to copy that to the module directory

of your filesystem. Otherwise is enough only update your current kernel (*).

Now after you save that config got to ltib directory and execute

./ltbi -m scbuild -p kernel

That should compile the kernel but ensure your driver is compiled because ltib

sometimes copy the .config from a backup directory and overwrite the one you had been create.

If that happen you need to setup the cross compiler path and compile the kernel by yourself.

For details you could refer the Freescale bsp documentation.

The cross compiler is under /opt/freescale/usr/local/gcc-xxxxxxx/xxxx/bin/

The directory with xxxx depends of the version of the cross compiler which come with ltib.

Only ensure inside bin is arm-none-gnueabi-gcc

Now on linux kernel do

export CROSS_COMPILE=/opt/freescale/usr/local/gcc-xxxxxxx/xxxx/bin/arm-none-gnueabi-

export PATH=<YOUR COMPILED U-BOOT DIR\tools>:$PATH

make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm uImage

make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm modules

sudo make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm modules_install INSTALL_MOD_PATH=<your fs path>

Also take into account almost  wireless devices need a firmware that is a binary for setup the device.

Maybe you need also to execute

sudo make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm firmware_install INSTALL_FW_PATH=<your fs path>

i paste a link to a reference:

ath9k_htc - Linux Wireless

Regards,

-Israel.

View solution in original post

2 Replies
1,425 Views
YixingKong
Senior Contributor IV

Giannic, has Israel answered your question? If yes, please clcik Correct Answer.

Thanks,

Yixing

0 Kudos
Reply
1,426 Views
israelpz
Senior Contributor I

Hi Giannic,

You need to recompile your kernel and enable support for that module.

Also you could try only to generate that module and use insmod.

I expect you have experience with ltib and you already have installed on your system.

on ltib directory put your patches on rpm/BUILD/linux

Apply the patches  then on same directory execute.

Maybe not all the patches could be applied and you need to fix that.

make ARCH=arm menuconfig

under drivers menu there's a submenu with the name "Network device support"

select and go to Wireless LAN or USB Network adapater.

On one of those Should be Atheros wireless card selecte and enable ath9k.

If you choose the driver as a module (M) you need to copy that to the module directory

of your filesystem. Otherwise is enough only update your current kernel (*).

Now after you save that config got to ltib directory and execute

./ltbi -m scbuild -p kernel

That should compile the kernel but ensure your driver is compiled because ltib

sometimes copy the .config from a backup directory and overwrite the one you had been create.

If that happen you need to setup the cross compiler path and compile the kernel by yourself.

For details you could refer the Freescale bsp documentation.

The cross compiler is under /opt/freescale/usr/local/gcc-xxxxxxx/xxxx/bin/

The directory with xxxx depends of the version of the cross compiler which come with ltib.

Only ensure inside bin is arm-none-gnueabi-gcc

Now on linux kernel do

export CROSS_COMPILE=/opt/freescale/usr/local/gcc-xxxxxxx/xxxx/bin/arm-none-gnueabi-

export PATH=<YOUR COMPILED U-BOOT DIR\tools>:$PATH

make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm uImage

make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm modules

sudo make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm modules_install INSTALL_MOD_PATH=<your fs path>

Also take into account almost  wireless devices need a firmware that is a binary for setup the device.

Maybe you need also to execute

sudo make CROSS_COMPILE=${CROSS_COMPILE} ARCH=arm firmware_install INSTALL_FW_PATH=<your fs path>

i paste a link to a reference:

ath9k_htc - Linux Wireless

Regards,

-Israel.