AnsweredAssumed Answered

MFGTool - initramfs - and Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) error

Question asked by Diego Gonzalez /Jose Ferreiro on Oct 1, 2014
Latest reply on Oct 8, 2014 by Diego Gonzalez /Jose Ferreiro


Here:  custom board 'based' on SabreSD. Yocto dora with 3.0.35 kernel. I 'moved' the from daisy to dora to build an initramfs file to use in MFGtool.

I got the title error when start the MFGTool. After much struggling I found the real error was rather before in printks:

[2.707858] Unpacking initramfs...
[2.711280] Initramfs unpacking failed: junk in compressed archive


Going through the kernel source I found that the initramfs image was being lost in the path from uboot to kernel.


I solved it changing:

bootm 0x10800000  0x10C00000


bootm 0x12800000  0x12C00000

and configuring the MFGTool to load the files to that address.


I am losing something and I am not able to see why this change is necesary.  Anybody can explain it to me?


Thank you,



Uboot run

U-Boot > run bootcmd_mfg

## Booting kernel from Legacy Image at 12800000 ...

   Image Name:   Linux-3.0.35dora-hs-03023-gf6dd2

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3472132 Bytes = 3.3 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Loading init Ramdisk from Legacy Image at 12c00000 ...

   Image Name:   hs-fsl-image-mfgtool-initramfs-i

   Image Type:   ARM Linux RAMDisk Image (gzip compressed)

   Data Size:    6931695 Bytes = 6.6 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK