imx8mm mmc block read error

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

imx8mm mmc block read error

3,373件の閲覧回数
jiangxh
Contributor I

Hi,

We are using i.MX8mm custom board with Linux imx_4.19.35_1.1.0. Some boards will have the problem of mmc block read error during cold start.

But after 10 minutes of power-on, these boards can load the system normally after power-on again.

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

U-Boot SPL 2019.04-4.19.35-1.1.0+g6cc5af5 (Oct 07 2021 - 14:26:43 +0000)
power_bd71837_init
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices

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

Anyone faced this issue?

Thanks in advance,

Regards,

Jiang Xihui

4 返答(返信)

2,683件の閲覧回数
trongthinh
Contributor IV

I got the same issues, and the watchdog reset the board every 1 min

U-Boot SPL 2022.04-6.4.0-devel+git.7bd2074193e1 (Sep 08 2023 - 01:58:31 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
WDT: Started watchdog@30280000 with servicing (60s timeout)
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Does anyone resolved it? Please share the solutions.

 

0 件の賞賛
返信

3,366件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Bryan

 

>But after 10 minutes of power-on, these boards can load the system normally after power-on again.

 

probably heating may improve SD signal shape ( it may be noisy due to impedance mismatch/signal reflections) and one can try to adjust SD drive strength using sect.8.2.5.203 Pad Control Register
(IOMUXC_SW_PAD_CTL_PAD_SD2_CLK)  i.MX 8M Mini Applications Processor Reference Manual

 

Best regards
igor

0 件の賞賛
返信

1,961件の閲覧回数
DanielDuJijun
Contributor III

Hi Igor.

We had check the sect.8.2.5.203 Pad Control Register
(IOMUXC_SW_PAD_CTL_PAD_SD2_CLK)  《i.MX 8M Mini Applications Processor Reference Manual》 and find the Drive Strength Field as following:

would you please help to review and advise which of the following four parameter configurations has the highest drive capability and which has the lowest drive capability?

Thanks.

Drive Strength Field
Control the IO ports DS1/0 by dse[2:1] (lsb of this field is not used):
00X X1 — Drive strength X1
10X X2 — Drive strength X2
01X X4 — Drive strength X4
11X X6 — Drive strength X6

0 件の賞賛
返信

1,520件の閲覧回数
YZH
Contributor I

我用的 IMX8M, 也是碰到了这个问题,请问你解决了吗? 

用 EMMC 做根文件系统启动,reboot 就可以起来,

但是用 SD 卡  reboot 就会报错:

 

U-Boot SPL 2020.04-g787030b (Jul 26 2022 - 19:25:05 +0800)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 2400MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

0 件の賞賛
返信