Hi,
I don't know if anyone else has near the same configuration as me - but I've been trying to enable the SX-SDCAN module for my imx6q sabre auto board. I've searched google and come up with a few things but none resulting in a fix, and am going to contact the manufacturer to see if they can help.
I've built up an image based on core-image - I haven't configured the kernel but Atheros ath6kl support is enabled as a module. I've tried in dora, master, and master-next with the same results.
I was wondering if anyone has had experience with the SX-SDCAN under yocto (and more particularly success?)
During the board's boot cycle it gives the following messages:
ath6kl: Failed to get board file ath6k/AR6003/hw2.1.1/bdata.bin (-2), trying to find default board file.ath6kl: Failed to get default board file ath6k/AR6003/hw2.1.1/bdata.SD31.bin: -2
ath6kl: Failed to init ath6kl core
ath6kl_sdio: probe of mmc1:0001:1 failed with error -2
And, these are the contents of /lib/firmware/ath6k/AR6003/hw2.1.1, so it seems to have the things I need there:
athwlan.bin
bdata.SD31.bin
bdata.SD32.bin
bdata.WB31.bin
bdata.bin -> bdata.SD31.bin
bdata.patch.bin
endpointpoing.bin
fw-2.bin
fw-3.bin
opt.bin
I've also tried copying over the hw2.1.1 and /lib/drivers/***/devices/net/kernel/ath.ko (that path might not be right, but it is in the device - I don't currently have access to the computer or board) from the oneiric.tgz release on the freescale website.
Any help would be much appreciated!
Morgan McKenzie
Morgan,
We are looking at this right now. I'll get the engineer looking at the Yocto release in the loop, he may have something he can share.
Andy Ross - Silex Technology America
Andrew,
I have the same problem too. Any updates? I'm running:
Linux imx6qsabresd 3.0.35-4.1.0+yocto+gbdde708 #1 SMP PREEMPT Mon Feb 3 15:06:42 EST 2014 armv7l GNU/Linux
Files:
root@imx6qsabresd:~# ls -al /lib/firmware/ath6k/AR6003/hw2.1.1
total 308
drwxr-xr-x 2 root root 4096 Feb 25 2014 .
drwxr-xr-x 5 root root 4096 Feb 3 21:38 ..
-rw-r--r-- 1 root root 68975 Feb 3 21:25 athwlan.bin
-rw-r--r-- 1 root root 1792 Feb 3 21:25 bdata.SD31.bin
-rw-r--r-- 1 root root 1792 Feb 3 21:25 bdata.SD32.bin
-rw-r--r-- 1 root root 1792 Feb 3 21:25 bdata.WB31.bin
-rw-r--r-- 1 root root 1792 Feb 25 2014 bdata.bin
-rw-r--r-- 1 root root 140 Feb 3 21:25 data.patch.bin
-rw-r--r-- 1 root root 12810 Feb 3 21:25 endpointping.bin
-rw-r--r-- 1 root root 89844 Feb 3 21:25 fw-2.bin
-rw-r--r-- 1 root root 104562 Feb 3 21:25 fw-3.bin
-rw-r--r-- 1 root root 2783 Feb 3 21:25 otp.bin
Error message:
ath6kl: Failed to get board file ath6k/AR6003/hw2.1.1/bdata.bin (-2), trying to find default board file.
ath6kl: Failed to get default board file ath6k/AR6003/hw2.1.1/bdata.SD31.bin: -2
ath6kl: Failed to init ath6kl core
ath6kl_sdio: probe of mmc2:0001:1 failed with error -2
Hi,
So I actually figured out what the issue was a week or so ago. It is actually something to do with the boot order in Yocto and nothing to do with the board file - if you rmmod ath6kl and modprobe ath6kl it should work just fine, given that you have a board file. I think it's that the os is trying to load the module before the filesystem is up, and therefore when it goes to read the board configuration file it can't. I'm trying to work on an actual solution for this but I really don't know yocto that well so I'm a bit out of my league.. I did manage to get it working with hacky solution shown below:
I added a file blacklist.conf in /etc/modprobe.d with the following line: install ath6kl /bin/false
and I added this line to one of the linux start files (I have it set up to run in S99): modprobe --ignore-install ath6kl
I was wondering though Andrew - what is the possibility of getting updated firmware/board configuration file for the board? The download on the silex website really doesn't work - on this page it says to click the link to download but there is no link: SX-SDCAN | Radio Modules | Silex Technology America
andy_ross_silex do you get any luck to involve the engineer in charge?