[yocto] Bundling initramfs with uImage

Khem Raj raj.khem at gmail.com
Sun Aug 24 22:34:48 PDT 2014


On 14-08-21 20:18:41, Crast, Nicholas wrote:
> All,
> 
> I am currently working in an embedded environment, struggling to get the entire system running in RAM, so that everything is fresh after a reboot. I can currently use the initramfs-live-boot functionality to generate a .cpio.gz file, but I am lost on how to get this to 'bundle' with the uImage. The uImage will be stored on an SD card and we are using u-boot.
> 
> I see mentions of the CONFIG_INITRAMFS_SOURCE kernel option, but I am unsure if I need to change this.
> 
> Can someone help me? I've been googling all day and haven't gotten much further.

if you add 

INITRAMFS_IMAGE_BUNDLE = "1"
INITRAMFS_IMAGE = "<name of your initramfs-image>"

in you local.conf that should help it to create uImage with everything
in it.

-Khem




More information about the yocto mailing list