t1023 freescale board (using SDK 1.9). With default image, wireless chipset (AR9558) was not detected. Hence we built the uImage, rootfs in yocto environment and booted the board. With this uImage, we built ath10k driver as a kernel module. When we inser

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

t1023 freescale board (using SDK 1.9). With default image, wireless chipset (AR9558) was not detected. Hence we built the uImage, rootfs in yocto environment and booted the board. With this uImage, we built ath10k driver as a kernel module. When we inser

1,111 Views
ravi_nvs
Contributor I

@

Hi,

We are trying to bring up t1023 freescale board (using SDK 1.9). With default
image, wireless chipset (AR9558) was not detected. Hence we built the uImage,
rootfs in yocto environment and booted the board. With this uImage, we built
ath10k driver as a kernel module. When we insert kernel module, there was an
error firmware.bin is not present. We could not find this firmware.bin in the
linux package. When we tried to download firmware.bin we got some information
that only from 3.13 kernel, the driver shall act as an AP whereas the previous
version shall act only as a Station.



Hence we thought to upgrade the kernel to 3.18 kernel. We cross compiled the
linux kernel 3.18 (using make menuconfig) and generated the uImage. But with
this uImage and dtb file for tool chain, we are not able to successfully boot
the board. Please find attachment of the screenshot. The image hangs after
loading the device tree. We could not understand what could have went wrong.



It will be helpful if we get the following information.



1. Can we use 3.12 kernel as AP? If so can you provide us the firmware.bin

2. Do we miss any steps to bring up the board when compiling 3.18 kernel.


3. In case we want to upgrade the kernel, can you provide the steps to
compile the kernel in yocto environment

0 Kudos
2 Replies

747 Views
bpe
NXP Employee
NXP Employee

First of all, we do not test QorIQ SDK with all hardware in the world.

It is quite normal that the SDK default kernel does not include support

for some non-NXP hardware. Generally, customers who use such hardware

are advised to contact the respective  hardware vendors for availability

of drivers, recommended build/installation/configuration procedures

and support.

Specifically for your case, I do not see the model you mentioned, AR9558,

in the list of supported hardware for the driver you are trying to

use:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k

Check with your hardware vendor if the driver you are attempting to

use is valid for your radio card.

Explore the resource at the link above for firmware, driver compatibility,

building,  configuration as an access point.

ath10k driver was merged into Linux kernel     into Linux 3.11, so the

SDK kernel 3.12.37 should have it. For known issues, refer to the

resource mentioned above.

If you are to change the version of the kernel, study this:

http://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html

http://stackoverflow.com/questions/26761635/how-to-specify-which-kernel-to-build-with-bitbake-yocto

Please keep in mind, however, that moving to another, non-tested kernel

may cause multiples of other problems, so do this only as a last resort.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

747 Views
ravi_nvs
Contributor I

Thanks for the response and valuable pointers.

My apologies, the wireless chipset was wrongly mentioned as AR9558 in my initial post. The chipset is AR9880 and is a factory default T1023 AP and there are absolutely no customizations made with respect to original hardware.

This chipset is present in the supported hardware list in the link provided by you (https://wireless.wiki.kernel.org/en/users/drivers/ath10k )

Just an information to you, we are already using P1020 APs with 3.9 & 3.18 kernel versions and currently facing the bring up issues with T1023 APs.

We will follow the links provided for kernel upgrade and approach you in case of any further queries.

Thanks again!

0 Kudos