IMAGE_FSTYPES for u-boot initrd images?
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
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
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