hi NXP
我在使用 imx-yocto-L5.4.24_2.1.0时,内核无法启动:
[ 1.336284] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 1.343944] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 1.367113] mxs-dma 33000000.dma-controller: initialized
[ 1.370890] Bus freq driver module loaded
但是在imx-yocto-L4.14.98_2.0.0_ga.zip就不存在这个问题.
已解决! 转到解答。
Hi liangyan,
this problem usually happens when the imx-sdma driver is built directly into the kernel. At the time when the driver is initialized, the root filesystem with the SDMA firmware binary is not yet available.
The best solution is normally to build the i.MX SDMA driver as a kernel module. At the time when the kernel module is loaded, the firmware file is also available. Probably you should load the imx-sdma.ko module early in your boot sequence, so that the SDMA is available at the time other drivers require it.
regards
Christian
Posting the above from Chinese to English.
I have done experiments and verified that it is normal for IMX8MM to boot from linux-4.14.98 to linux-4.19.35. Starting from linux-5.4.3, it cannot be started on IMX8MM. In this kernel version, SDMA is The configuration options compiled into the kernel are the same, but starting from linux-5.4.3, the startup sequence has changed, causing SDMA to be started in advance, causing the kernel to hang.
Hi liangyan,
this problem usually happens when the imx-sdma driver is built directly into the kernel. At the time when the driver is initialized, the root filesystem with the SDMA firmware binary is not yet available.
The best solution is normally to build the i.MX SDMA driver as a kernel module. At the time when the kernel module is loaded, the firmware file is also available. Probably you should load the imx-sdma.ko module early in your boot sequence, so that the SDMA is available at the time other drivers require it.
regards
Christian
1.336284] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 1.343944] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
im getting this error , please help me out with solution
working on imx8mm board , is it fine firmware file is imx7d.bin file can be used ? or is there any particular firmware file for imx8mm