I am facing some troubles while booting kernel. U-boot boots and gets stuck at

Starting Kernel....

Boot parameters are as below.

setenv mmcroot '/dev/mmcblk0 rootwait rw rootdelay=5 mem=256M'
setenv mmcargs 'setenv bootargs console=${console},${baudrate} fstype=ext4 \ 
run mmcargs
fatload mmc 0 0x83000000 zImage
fatload mmc 0 0x84000000 mys-imx6ul-14x14-evk.dtb
bootz 0x83000000 - 0x84000000

Interrupting U-boot and issuing 'boot' command manages to boot the kernel image successfully. Upon enabling earlyprintk, when kernel boots successfully with the following messages displayed

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0

Have verified the boot parameters, configuration, baudrate, etc., and there's no difference. Assume the control is passed to kernel but there is some issues in decompression.

Using U-Boot - 2016.03 & Linux version 4.1.15

  • where are the console and baudrate vars defined? – Rui F Ribeiro May 24 at 15:59
  • Which Linux distro and which release number? Please click edit and add that useful information to the question, Please do not click [Add Comment] to reply as comments roll off the screen when they pile up. – K7AAY May 24 at 18:33
  • Console and baudrate are defined in U-boot. If there's issue in vars, then kernel should not boot when I interrupt it and run boot manually. – dreamtoget May 25 at 3:51
  • I get the same thing when I limit mem like this. For me the turnover point is @512M. When I use 513M it boots... – Goosebumps Aug 14 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.