[Buildroot] Implementation Procedure for i.MX93 Custom Board

Esakkiammal M esakkiammal.murugan at iwave-global.com
Thu Oct 16 05:37:38 UTC 2025


Hello,

I have enabled the MWIFIEX Wi-Fi driver in Buildroot for my platform. 
During validation, I observed that the driver fails to initialize the 
firmware properly. Please find the log details and observations below.


Steps Performed

Enabled MWIFIEX configuration in Buildroot.

Loaded the driver using the command:


modprobe moal mod_para=nxp/wifi_mod_para.conf


# modprobe moal mod_para=nxp/wifi_mod_para.conf
[   28.293486] mlan: loading out-of-tree module taints kernel.
[   28.332881] wlan: Loading MWLAN driver
[   28.336987] wlan: Register to Bus Driver...
[   28.341369] vendor=0x0471 device=0x0205 class=0 function=1
[   28.346989] Attach moal handle ops, card interface type: 0x109
[   28.352833] rps set to 0 from module param
[   28.359963] SDIW612: init module param from usr cfg
[   28.364906] card_type: SDIW612, config block: 0
[   28.369439] cfg80211_wext=0xf
[   28.372405] max_vir_bss=1
[   28.375018] cal_data_cfg=none
[   28.377984] ps_mode = 1
[   28.380435] auto_ds = 1
[   28.382879] host_mlme=enable
[   28.385765] fw_name=nxp/sduart_nw61x_v1.bin.se
[   28.390227] SDIO: max_segs=128 max_seg_size=65535
[   28.394921] rx_work=1 cpu_num=2
[   28.398063] Enable moal_recv_amsdu_packet
[   28.402098] Attach mlan adapter operations.card_type is 0x109.
[   28.408248] wlan: Enable TX SG mode
[   28.411751] wlan: Enable RX SG mode
[   28.416394] Request firmware: nxp/sduart_nw61x_v1.bin.se
[   28.642440] Wlan: FW download over, firmwarelen=1065364 downloaded 953164
[   34.648319] Fail to poll firmware status: firmwarestat=0x0
[   34.653811] FW failed to be active in time!
[   34.657996] wlan_dnld_fw fail ret=0xffffffff
[   34.662266] WLAN: Fail download FW with nowwait: 0
[   34.667216] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
[   34.673318] SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00
[   34.679151] SDIO Func1: (0x8) 00 (0x58) 00 (0x5c) 0d (0x5d) 00 (0x60) 
01 (0x61) 00 (0x62) 00 (0x64) 10 (0x65) 01 (0x66) 00 (0x68) 00 (0x69) 00 
(0x6a) 00
[   34.693708] SDIO Func1 (0xe8-0xff): 00 00 00 00 4c 8b 0e 00 24 14 70 
c8 ab 37 80 00 00 00 00 00 01 00 00 00
[   34.803809] SDIO Func1 (0xe8-0xff): 00 00 00 00 4c 8b 0e 00 24 14 70 
c8 ab 37 80 00 00 00 00 00 01 00 00 00
[   34.813727] woal_request_fw failed
[   34.817132] Firmware Init Failed
[   34.824576] Free module params
[   34.827631] woal_add_card failed
[   34.831003] wlan_sdio: probe of mmc2:0001:1 failed with error -1
[   34.837160] wlan: Register to Bus Driver Done
[   34.841535] wlan: Driver loaded successfully
#
# connmanctl
Error getting VPN connections: The name net.connman.vpn was not provided 
by any .service files
connmanctl> [   62.608517] cfg80211: failed to load regulatory.db
enable wifi
wifi is not available
connmanctl> exit
# ls /lib/firmware/nxp/
helper_uart_3000000.bin  sduart_nw61x_v1.bin.se uartuart_n61x_v1.bin.se
sd_w61x_v1.bin.se        uartspi_n61x_v1.bin.se wifi_mod_para.conf
#

Could you please help me identify the reason for the firmware activation 
failure and guide me on how to resolve it?


Thanks & Regards,

Esakkiammal M


------------------------------------------------------------------------


On 15/10/25 16:38, Esakkiammal M wrote:
>
> Hello,
>
> My kernel and U-Boot are working fine under Yocto on this custom 
> board. The hardware includes Wi-Fi 6, Bluetooth 5.3, and IEEE 802.15.4.
>
> I’m now testing the same setup in Buildroot, but when I try to load 
> the Wi-Fi driver using:
>
> modprobe moal mod_para=nxp/wifi_mod_para.conf
>
> I get this error:
>
> modprobe: module moal not found in modules.dep
>
> It seems the NXP Wi-Fi driver (moal.ko) isn’t being built or included 
> in my Buildroot image. Could you please suggest the recommended way to 
> integrate the nxp-modwifi driver or any patches required to enable it 
> in Buildroot?
>
>
> Thanks & Regards,
>
> Esakkiammal M
>
> ------------------------------------------------------------------------
>
>
> On 15/10/25 16:30, Fiona Klute wrote:
>> Hi Esakkiammal!
>> Am 15.10.25 um 11:56 schrieb Esakkiammal M via buildroot:
>>> Hello,
>>>
>>> I have implemented support for our i.MX93 custom board by referring 
>>> to the i.MX93 EVK configuration.
>>>
>>> git clone https://github.com/buildroot/buildroot.git
>>> git switch 2025.02.x
>>>
>>> make freescale_imx93evk_defconfig
>>> make
>>>
>>> Can you tell how port WiFi and BT for imx93 custom board.
>>
>> It's impossible to give a definitive answer without knowing the 
>> details of your board, but in general:
>>
>> 1. If you have a custom board, you may need a custom DTS that 
>> correctly describes your board (instead of the default one) for all 
>> hardware to be detected correctly.
>>
>> 2. Make sure the kernel drivers for any additional hardware are 
>> enabled in the kernel config you use.
>>
>> 3. The defconfigs are intentionally minimal. You'll need to add the 
>> target packages to support what you want to do with wifi and BT:
>>
>> * any firmware needed for the devices on your board
>> * wpa_supplicant or iwd or hostapd, maybe NetworkManager too 
>> (depending on how you want to use wifi)
>> * bluez5-utils (probably) for BT
>>
>> Some of those packages have optional components that you may or may 
>> not need.
>>
>> Best regards,
>> Fiona
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20251016/b4f13714/attachment.htm>


More information about the buildroot mailing list