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

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

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

909 Views
venu_gopal
Contributor I

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

================================
(7)Type:
venug@venug-H110M-H:~/yocto/fsl-release-bsp/yocto_test/tmp/deploy/images/imx6ulevk$ sync


Please check once and revert back.

0 Kudos
1 Reply

802 Views
igorpadykov
NXP Employee
NXP Employee

Hi Venu

one can recheck emmc number mmcblknp2 using

Table 51. Linux uSDHC relationships, Table 50. Board-specific default values

in attached Linux Guide and try with Demo Image

Linux Binary Demo Files - i.MX 6UltraLite, i.MX 6ULL, i.MX 7Dual

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos