Hi Wuxiuxin:
你的问题有解决吗?我也是用这个版本的uboot,移植到imx6 Dual Lite,也是碰到这个问题,到MMC就卡死不动了。
刚开始我也怀疑是DDR有问题,但我把MMC的初始化给拿掉,uboot可以顺利的跑起来,如下log:
U-Boot 2017.03-imx_v2017.03_4.9.88_2.0.0_ga+gb76bb1b (Nov 12 2018 - 20:44:00 +0800)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 36C
Reset cause: POR
Model: Freescale i.MX6 DualLite SABRE Smart Device Board
Board: MX6-SabreSD
DRAM: 1 GiB
KSJ: Call in Fun:initr_announce, Line350
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
No MMC device available
KSJ: Call in Fun:initr_announce, Line350
Normal Boot
env_buf [32 bytes] too small for value of "bootcmd"
Hit any key to stop autoboot: 0
=>
Hi Wuxiunxin,
if board is based on nxp evk design I believe these settings
can be left in default state. It is necessary to run ddr test
i.MX6/7 DDR Stress Test Tool V2.90
and change uboot/../mx6ullevk/imximage_lpddr2.cfg with new calibration
coefficients found from test.
Regards
Or I should enable it in dts? Thanks.
/*
* TODO:
* Because lack of clk driver, if SDHC clk is not enabled,
* need to enable it first before this driver is invoked.
*
* we use MXC_ESDHC_CLK to get clk freq.
* If one would like to make this function work,
* the aliases should be provided in dts as this:
*
* aliases {
* mmc0 = &usdhc1;
* mmc1 = &usdhc2;
* mmc2 = &usdhc3;
* mmc3 = &usdhc4;
* };
* Then if your board only supports mmc2 and mmc3, but we can
* correctly get the seq as 2 and 3, then let mxc_get_clock
* work as expected.
*/
Hi Bio_TICFSL:
I met the same issue, mmc initialized failed on imx6 dual lite board.
At first, I think the problem would be the ddr, but after I removed mmc initilization in code, the uboot will run up, here is the log.
Could you help provide some advices? thanks.
U-Boot 2017.03-imx_v2017.03_4.9.88_2.0.0_ga+gb76bb1b (Nov 12 2018 - 20:44:00 +0800)
CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 36C
Reset cause: POR
Model: Freescale i.MX6 DualLite SABRE Smart Device Board
Board: MX6-SabreSD
DRAM: 1 GiB
KSJ: Call in Fun:initr_announce, Line350
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
No MMC device available
KSJ: Call in Fun:initr_announce, Line350
Normal Boot
env_buf [32 bytes] too small for value of "bootcmd"
Hit any key to stop autoboot: 0
=>