[ELDK] Initramfs

Wolfgang Denk wd at denx.de
Fri Apr 16 09:54:59 CEST 2010

Dear yel_yahc,

In message <d2d185fce4f02db8819294e6329c0f9b at etud.insa-toulouse.fr> you wrote:
> I set CONFIG_INITRAMFS_SOURCE="/home/user/initramfs" and I recompile my
> kernel, and I /arch/powerpc/boot I had my uImage with 3.4Mo (1,6Mo of
> kernel + 1,8 rootfs) I put this uImage in my U-Boot but I had a kernel
> panic     
>         VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
>         Please append a correct "root=" boot option 
> Do you hava any idea?
> Perhaps I didn't build correctly my initramfs?
> my rootfs is in /home/user/initramfs and my kernel in
> /home/user/ELDK/ppc_6xx/usr/src/linux 

You don't show how you create the initramfs image, nor the command
used to build the kernel and the uImage, nor your boot command or the
boot arguments, and you fail to provide a complete log of all boot

Based on so little input we cannot even guess what you might have done

Note that this question has nothing to do with the ELDK and is
therefore kind of off topic here.

Best regards,

Wolfgang Denk

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Our management frequently gets lost in thought.   That's because it's
unfamiliar territory.

More information about the eldk mailing list