Failed to load regulatory.db file and error whilst initialising SD CARD

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to load regulatory.db file and error whilst initialising SD CARD

340 Views
linuxuser
Contributor I
Hello all, 
 
I have made linux image for IMX8MPLUS with the help of Yocto and flash the image on a custom board which is using IMX8MPLUS processor (Image made for IMX8MPLUS will be required for that board) when i flash that image on IMX8MPLUS-evk Board then it works fine but when i flash that image on that custom board it does'nt boot properly and showing below  errors .  It is not reaching till user prompt as in evk board appears and showing failed to load regualtory.db file. 

I am putting logs of errors. 

[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
 
[0] lcd-controller@32e80000, video
[1] mipi_dsi@32e60000, video_bridge
[2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
 
 BuildInfo:
  - ATF 3c1583b
 
MMC: no card present
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Net:   
Warning: ethernet@30bf0000 (eth1) using random MAC address - 2a:99:bd:59:06:d1
 
Warning: ethernet@30be0000 (eth0) using random MAC address - 62:30:24:eb:30:15
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot

[    0.204629] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.204651] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.206434] mxs-dma 33000000.dma-apbh: initialized
[    0.208257] SoC: i.MX8MP revision 1.1
[    0.208875] Bus freq driver module loaded

[    2.995746] imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (ops imx8mp_ldb_ops)
[    3.004136] imx-drm display-subsystem: bound 32fd8000.hdmi (ops dw_hdmi_imx_ops)
[    3.012410] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[    3.091503] mmc1: error -123 whilst initialising SD card
[    3.211495] mmc1: error -123 whilst initialising SD card
[    3.345894] mmc1: error -123 whilst initialising SD card
[    3.355608] Console: switching to colour frame buffer device 100x37
[    3.383493] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
[    3.397807] isi-m2m 32e00000.isi:m2m_device: Register m2m success for ISI.0
[    3.404971] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.415122] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.421745] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.430369] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.445673] ALSA device list:
[    3.448665]   No soundcards found.
[    3.685990] imx6q-pcie 33800000.pcie: Phy link never came up
[    3.691704] imx6q-pcie: probe of 33800000.pcie failed with error -110
[    3.699563] Waiting for root device /dev/mmcblk1p2...
[   60.412469] imx-sdma 30e10000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[   60.422936] imx-sdma 30e10000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[   64.480489] cfg80211: failed to load regulatory.db
[   78.272425] random: crng init done
[  121.824795] imx-sdma 30e10000.dma-controller: external firmware not found, using ROM firmware
[  121.825045] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware

What i tried to resolve this . I enabled DMA Support and SDMA Driver in kernel configuration by "bitbake linux-imx -c menuconfig". But getting same error. Please help me into this.
 
Thanks in Advance
0 Kudos
2 Replies

262 Views
linuxuser
Contributor I

Hello @Harvey021 

First it was only included but not as a kernel module. after that i have modified as kernel module but still getting same issue. 

Thanks 

0 Kudos

289 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @linuxuser 

Have you modified the imx-sdma driver as a kernel module?

Best regards

Harvey

0 Kudos