This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Boot from NAND hangs with Waiting for root device /dev/mtdblock7...

Hi,

I have u-boot, uImage, boot env and a JFFS2 file system flashed in a NAND device. When booting I have this strange message on the console and the boot process hangs:

Waiting for root device /dev/mtdblock7...

The same file system is working perfectly when NFS mounted. Does anyone have an idea of what I have done wrong?

Thanks for your help

Julie

  • Hello, Galadriel!

    Are you sure in partitions number?

    Please recheck it in /proc/mtd when yor booting with NFS filesystem.

  • Julie,

    Please share the complete kernel logs.

  • Thanks for your reply.

    You are right, there is no /dev/mtdblock7. To boot from NAND, partition ID should be /dev/mtdblock3. I have been distracted by a note in PSP U-Boot documentation that says that "If the kernel is compiled with both SPI and NAND support then /dev/mtdblock7 should be used for NAND." I do have the spidev driver enabled, but there is no SPI flash to boot the DM8168. My mistake. Now using /dev/mtdblock3, the file system is mounted as expected :-)

    Kind regards,

    Julie