AnsweredAssumed Answered

NXP_IMX6UL board kernel boot stuck at "Waiting for root device /dev/mmcblk0p2...

Question asked by Venu Gopal on Jul 24, 2019
Latest reply on Jul 24, 2019 by igorpadykov

Hi All,


Please find attached booting_log for NXP_IMX6UL, Yesterday i was compiled newly still i am facing same issue NXP_IMX6UL board kernel boot stuck at "Waiting for root device /dev/mmcblk0p2...


snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:16:38 UTC (998)
gpio_dvfs: disabling
VSD_3V3: disabling
can-3v3: disabling
ALSA device list:
  No soundcards found.
Waiting for root device /dev/mmcblk0p2...


I have followed below procedure for to boot from Sdcard in NXP IMX6 UL Board.


(1)Format the SD card.
(2)For this method a new card must be setup with 2 partitions.  
(3)Create a new FAT partition.
    Free space preceding - 512 MB(unallocated)
    new size - 1024 MB
    File system - fat32
    label - boot
(4)Create a ext4 partition.
    File system - ext4
    label - rootfs
(5)Set flag of fat32 to "boot".
(6)Copy the following files to sd card.    


 sudo tar -xvf core-image-minimal-imx6ulevk-20190716100442.rootfs.tar.bz2 -C /media/venug/rootfs


 sudo dd if=u-boot-sd-2016.03-r0.imx of=/dev/sdc bs=512 seek=2 conv=fsync


 sudo cp zImage /media/venug/boot/zImage


 sudo cp zImage-imx6ul-14x14-evk.dtb /media/venug/boot/imx6ul-14x14-evk.dtb


venug@venug-H110M-H:~/yocto/fsl-release-bsp/yocto_test/tmp/deploy/images/imx6ulevk$ sync


Please check once and revert back.