Linux booting stop at Starting kernel when using Yocto build image with SD card

0

I'm tring to porting linux on imx6 PDK B/D(imx6-qaudplus-sabreauto) with Yocto build image.

my customize sdcard image (mixed imx6/8)=

  • u-boot.bin(iMX6 Yocto bitbake result)
  • zImage(iMX6 Yocto bitbake result)
  • .dtb file(iMX6 Yocto bitbake result)
  • rootfs(iMX8 Yocto bitbake result)

but stop at Starting kernel... and no more console printed.

I'm suspecting uboot command is not correct memory location, and tryng to figure out.

And refer to that this board successed linux booting when I used a fully packed imx6 Yocto image file(.sdcard file).

U-Boot 2017.03-imx_v2017.03_4.9.88_2.0.0_ga+gb76bb1b (Sep 03 2019 - 19:26:39 +0900)

CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
CPU:   Automotive temperature grade (-40C to 125C) at 40C
Reset cause: POR
Model: Freescale i.MX6 Quad Plus SABRE Automotive Board
Board: MX6Q-Sabreauto revA
DRAM:  2 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc1 is current device
Net:   eth0: ethernet@02188000 [PRIME]
Normal Boot
Hit any key to stop autoboot:  0
=>
=>
=> setenv bootcmd mmc rescan; fatload mmc 1:1 0x82000000 zImage--4.9.88-r0-imx6qpsabreauto-20190905004817.bin;fatload mmc 1:1 0x80f00000 zImage--4.9.88-r0-imx6qp-sabreauto-20190905004817.dtb; bootz 0x82000000 - 0x80f00000
reading zImage--4.9.88-r0-imx6qpsabreauto-20190905004817.bin
7349400 bytes read in 372 ms (18.8 MiB/s)
reading zImage--4.9.88-r0-imx6qp-sabreauto-20190905004817.dtb
53711 bytes read in 25 ms (2 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x702498 ]
## Flattened Device Tree blob at 80f00000
   Booting using the fdt blob at 0x80f00000
   Using Device Tree in place at 80f00000, end 80f101ce

Starting kernel ...


printenv is below and removed some code.

Hit any key to stop autoboot:  0
=> printenv
baudrate=115200
board_name=SABREAUTO
board_rev=MX6QP
boot_fdt=try
bootargs=root=/dev/mmcblk0p2 mem=128M rootwait
bootcmd=mmc rescan
bootcmd_mfg=run mfgtool_args; if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi;
bootdelay=3
bootm=0x82000000 - 0x80f00000
bootm_size=0x10000000
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc3
dfu_alt_info=spl raw 0x400
dfu_alt_info_img=u-boot raw 0x10000
dfu_alt_info_spl=spl raw 0x400
dfuspi=dfu 0 sf 0:0:10000000:0
emmcdev=2
epdc_waveform=epdc_splash.bin
ethact=ethernet@02188000
ethaddr=00:04:9f:04:17:0e
ethprime=eth0
fdt_addr=0x18000000
fdt_file=undefined
fdt_high=0xffffffff
fdtcontroladdr=8ef34cd8
fileaddr=80f00000
filesize=d1cf
image=zImage
initrd_addr=0x12C00000
initrd_high=0xffffffff
ip_dyn=yes
loadaddr=0x12000000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
enable_wait_mode=off
mmc=rescan
mmcargs=setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot}
mmcautodetect=yes
mmcdev=1
mmcpart=1
mmcroot=/dev/mmcblk2p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} ${smp} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
script=boot.scr
tee=no
tee_addr=0x20000000
tee_file=undefined

linux
boot
asked on Super User Sep 6, 2019 by taeseok ki • edited Sep 6, 2019 by taeseok ki

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0