Sorry, you need to enable JavaScript to visit this website.

Running Ubuntu on MiniZed. Wifi firmware not being loaded

1 post / 0 new
Running Ubuntu on MiniZed. Wifi firmware not being loaded

Hi Everyone,
Petalinux 2017.2, running the standard BSP.
I've successfully booted Ubuntu 16.04 on my Minized (rootfs on the eMMC). However, it appears that even with the bootarg "rootwait", the brcmfmac driver tries to load the firmware before the rootfs is mounted. See dmesg snip below:
[    1.372296] Waiting for root device /dev/mmcblk1p1...
[    1.378055] random: fast init done
[    1.380120] mmc1: new high speed MMC card at address 0001
[    1.384898] mmcblk1: mmc1:0001 Q2J55L 7.09 GiB
[    1.388385] mmcblk1boot0: mmc1:0001 Q2J55L partition 1 16.0 MiB
[    1.393155] mmcblk1boot1: mmc1:0001 Q2J55L partition 2 16.0 MiB
[    1.397984] mmcblk1rpmb: mmc1:0001 Q2J55L partition 3 4.00 MiB
[    1.404053]  mmcblk1: p1
[    1.456436] mmc0: new high speed SDIO card at address 0001
[    1.466636] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.bin failed with error -2
[    1.505503] EXT4-fs (mmcblk1p1): couldn't mount as ext3 due to feature incompatibilities
[    1.555728] EXT4-fs (mmcblk1p1): recovery complete
[    1.560546] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[    1.567317] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    1.586257] devtmpfs: mounted
I believe I have root caused this to the DTS, where SDIO0, which runs the wifi chip is being loaded before the SDIO1, which is the eMMC. I thought rootwait would help fix this, but it doesn't seem to be working. Any thoughts? I'd rather not modularize the brcmfmac driver.