Closed agherzan closed 8 years ago
- Uboot reports "FPGA_DONE never asserted" after every ice40
What is in /boot/ts4900-fpga.bin? What is the md5sum?
If the FPGA isn't loading then Linux cannot talk to it over I2C (the read/write -5 errors), so it cannot set WL_EN to take the wifi out reset. What carrier board are you on?
Hello Mark,
53532abbf7e5b3cc527664be57484c3b ts4900-fpga.bin
I know that there must be something related with the WL_EN but how do you explain that at first boot it works?
Andrei
What carrier board are you on?
If the FPGA is never sane then it won't be able to toggle WL_EN. It will work once between power cycles. If you bring down the interface, switch to monitor/master, or reboot to bring it back up it will fail.
I'm not sure where that file came from, but I don't see it matching the checksum of the releases or what is in yocto. Try this file instead: https://github.com/embeddedarm/meta-ts/blob/fido/recipes-extras/ts4900-fpga/ts4900-fpga.bin
Thank you @markfeathers for your insight. The source of the issue was indeed the FPGA binary bitstream. It was corrupted and flashing it was never successful. I confirm that now everything seems fine.
Thank you, Andrei.
Hello,
Using the current master HEAD of this yocto layer, 3543f3c89d72a85bee65b4da60785fce897acb8c, I get unstable support for the WiFi chipset. After a cold reboot the driver gets probed and WiFi seems fine:
After a reboot WiFi module fails with:
There is no WiFi interface anymore (due to failing driver probe) and this behavior persists for the next reboots too until a new cold reboot.
I saw some things that might help:
Was the wifi tested? If yes, can you tell me how? Digging into code I see that wlcore_sdio loads wl12xx based on SDIO_SDIO_REV_3_00. So the kernel support seems fine or at least there. I don't exclude a HW issue as well, can you guys confirm me that everything works fine for you?
Thinking that this might be already fixed in current linux-3.10.17-imx6 HEAD, I tested 1cd8768fc5c66977a7169c815d68ab7e49bef518 but sadly no luck.
Thanks in advance, Andrei