i.MX6 stuck in starting kernel...

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 stuck in starting kernel...

693 Views
arceus
Contributor I

i.MX6DL

I followed this guide to build an image: https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

I tried to boot from SD-Card.. SD card looks good at first sight..

In u-boot I changed following arguments:

setenv mmcpart 1

setenv loadfdt 'fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}'

setenv loadkernel 'fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} zImage'

setenv bootcmd 'mmc dev ${mmcdev}; run loadkernel; run mmcargs; run loadfdt; bootz ${loadaddr} - ${fdt_addr};'

setenv fdt_file imx6dl-sabresd.dtb

 

after I try to boot I stuck in kernel startup:

 

U-Boot > boot
mmc0 is current device
reading zImage
9004104 bytes read in 433 ms (19.8 MiB/s)
## Error: "mmcargs" not defined
reading imx6dl-sabresd.dtb
53744 bytes read in 24 ms (2.1 MiB/s)
## Flattened Device Tree blob at 18000000
  Booting using the fdt blob at 0x18000000
ldo_mode_set removed  
  Using Device Tree in place at 18000000, end 180101ef

Starting kernel ...

 

Thank you in advance!

Nicolas

0 Kudos
1 Reply

682 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nicolas

 

what board used in the case, if this is custom board first recommended to run ddr test

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/11082...

and update uboot dcd header with new ddr calibration coeffificents found from test

https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6dlsabresd.cf...

 

Best regards
igor

0 Kudos