I started modifying the cw1200 driver to try and get it to work with the XR819. Apart from someone renaming functions and adding a bunch of important junk for XR819, the drivers are quite similar.
I've modified the cw1200 driver up to the point that it's loading the boot_cw1x60.bin ( boot_xr819.bin ) file, but for some reason the bootloader is returning an error instead of success. I don't think it's possible to diagnose this without the datasheet from ST.
Clearly this exists, because people were able to write the cw1200 driver for mainline. Does anyone have a clue where I might find the datasheet for the CW1100?
I also haven't been able to find the firmware files from ST for this chip. They don't exist in the linux-firmware tree!
Here's my progress thus far:
Try to load cw1200_wlan_sdio first time. Timeout waiting for bootloader to respond (I think XR819 has the same bug, no?)
[ 28.263492] cw1200_wlan_sdio: Probe called
[ 28.357664] WLAN device is ready.
[ 28.360985] CW1x60 silicon detected.
[ 28.386731] Bootloader complete
[ 28.389906] Can't handle CW1160/1260 firmware load yet.
[ 28.395123] Fuck it, loading firmware anyway!
[ 29.415376] Bootloader is not ready.
[ 29.418990] Firmware load error.
[ 29.422496] cw1200_wlan_sdio: probe of mmc1:0001:1 failed with error -110
Question
hmartin
Hi everyone,
I was doing speed tests on the XR819 and started looking at the driver code. My this looks very similar to the cw1200 driver already in mainline Linux.
I started modifying the cw1200 driver to try and get it to work with the XR819. Apart from someone renaming functions and adding a bunch of important junk for XR819, the drivers are quite similar.
I've modified the cw1200 driver up to the point that it's loading the boot_cw1x60.bin ( boot_xr819.bin ) file, but for some reason the bootloader is returning an error instead of success. I don't think it's possible to diagnose this without the datasheet from ST.
Clearly this exists, because people were able to write the cw1200 driver for mainline. Does anyone have a clue where I might find the datasheet for the CW1100?
I also haven't been able to find the firmware files from ST for this chip. They don't exist in the linux-firmware tree!
Here's my progress thus far:
Try to load cw1200_wlan_sdio first time. Timeout waiting for bootloader to respond (I think XR819 has the same bug, no?)
Unload the module and load it again:
Here's my diff to the mainline driver.
Link to comment
Share on other sites
35 answers to this question
Recommended Posts