2169163_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2169163_en-US

2169163_en-US

nxp-openwrt 24.10, build instructions with iw611/iw612 support

I am attempting to use nxp openwrt port for a imx93 evk derivative.

so far most things are looking ok, I can boot to console and most things seems to be working. But am having issues getting the mwiflex driver to work with a iw612 chip.
Is there any instructions on how to get this going? 

So far I have figured out that you have to download the nxp-linux repo (i used 6.6.y) and point to it manually in the openwrt menuconfig. Missing this step will lead to some patches failing. 

Could someone point me to some kind of tutorial/updated build instructions on this?

I found: https://www.nxp.com.cn/docs/zh/training-reference-material/TIP-5G-IOT-OPENWRT-2.pdf But this seems to be outdated..

Re: nxp-openwrt 24.10, build instructions with iw611/iw612 support

With 6.12.y (latest git as of today) and also tried tags/lf-6.12.3-1.0.0 I get a different error: 

/home/johan/nxp/openwrt-feeds-6.12/imx_openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-imx_cortexa53/mac80211-regula
r/backports-6.11.2/backport-include/asm/unaligned.h:3:15: fatal error: asm/unaligned.h: No such file or directory
   3 | #include_next
     |               ^~~~~~~~~~~~~~~~~
compilation terminated.
make[8]: *** [scripts/Makefile.build:229: /home/johan/nxp/openwrt-feeds-6.12/imx_openwrt/build_dir/target-aarch64_cortex-a5
3_musl/linux-imx_cortexa53/mac80211-re



Steps to reproduce:
enable kmod-batman-adv, that pulls in PACKAGE_kmod-cfg80211, and backports.

Would really help with some detailed build instructions, 

Thanks

Re: nxp-openwrt 24.10, build instructions with iw611/iw612 support

Hello

Try the latest one:

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...


Regards

Re: nxp-openwrt 24.10, build instructions with iw611/iw612 support

Thanks for the reply Sandra720Ben! While I have found the likely issue with the iw612.

I would still like to have some kind of "recommended" build instructions for the openwrt port.
What kernel version is recommended? 
As it is now the build is rather "fragile", it works 70% of times, then occationally it pulls down a incorrect/to new "backports package"
https://github.com/nxp-imx/imx_openwrt/blob/imx-openwrt-24.10/package/kernel/mac80211/Makefile
that fails against the 6.6.y kernel.

nxp/openwrt-feeds/imx_openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-imx_cortexa53/mac80211-regular/backports-6.11.2/net/wireless/nl80211.c:18771:9: error: too few arguments to function 'genlmsg_multic
ast_allns'
18771 |         genlmsg_multicast_allns(&nl80211_fam, msg, 0,
     |         ^~~~~~~~~~~~~~~~~~~~~~~
./include/net/genetlink.h:485:5: note: declared here
 485 | int genlmsg_multicast_allns(const struct genl_family *family,
     |     ^~~~~~~~~~~~~~~~~~~~~~~



It would thus help to have a better startingpoint.

For example, what kernel branch was this initially developed with, kernel lf-6.6.y, lf-6.12.y or lf-6.XX.XX ?
Any settings that should be changed from the default, a defconfig for the imx93 would be helpful.
Another thing that I had to add was the "edma_v3" kernel driver in the kernel config.

Any pointers would be greatly appreciated.

Thanks

Re: nxp-openwrt 24.10, build instructions with iw611/iw612 support

Hello!

Based on your description, the mwiflex driver issue on your i.MX93 EVK is almost certainly due to missing firmware or a misconfigured device tree, not just the kernel source. While you correctly found that pointing to the NXP Linux repo is necessary, the driver also requires specific firmware files for the IW612 chip, which are typically found in a separate repository like imx-firmware. The lack of a simple tutorial for this specific hardware is normal; solutions are usually found by checking the kernel logs (dmesg) for the exact reason for the driver's failure, and by searching the NXP community forums for similar issues. These forums are a crucial resource for discovering the exact firmware files and device tree bindings required. 

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 11:33 PM
更新者: