Skip to contentSkip to conversation

IMAGE_FSTYPES for u-boot initrd images?

DISCUSSION Steffen Sledz 2 participants 3 messages Aug 24, 2009 – Aug 25, 2009

lore
Share & tools
lore
#0 lore raw

It seems that it is currently not possible to build root fs images ready for use as u-boot initrd. Did i overlook something or is this right?

Similar to the do_uboot_mkimage() there should be a funktion which wraps a cpio.gz image. Can someone help?

Steffen

#1 lore raw

Steffen,

for something similar, check in recipes/images, specifically the initramfs-* and the bootcd images.
Another image using a cpio.gz and a custom init is initramfs-kexecboot-image.

Regards

Andrea

#2 lore raw
Quoted 3 lines · Andrea Adami

for something similar, check in recipes/images, specifically the initramfs-* and the bootcd images.
Another image using a cpio.gz and a custom init is initramfs-kexecboot-image.

Good examples for initrd/initramfs. But that's not the point.

These recipes create cpio.gz images but not images ready for u-boot. Such images need to be wrapped with [uboot-]mkimage similar to kernel uImages. Would be great to have support for this in a central place, to be able to choose e.g. cpio.gz.uimage in IMAGE_FSTYPES.

Steffen