Hi Raju, Raju Kumar Pothuraju escreveu no dia segunda, 20/06/2022 à(s) 14:40: > vmlinux file doesnot have the initramfs image when INITRAMFS_IMAGE_BUNDLE > was set. > Use vmlinux.initramfs in uboot_prep_kimage when INITRAMFS_IMAGE_BUNDLE set > based on the implementation in kernel.bbclass do_bundle_initramfs function, > > https://github.com/openembedded/openembedded-core/blob/master/meta/classes/kernel.bbclass#L316-L317 > to be able to use proper linux.bin file in creation of fitImage. > > Signed-off-by: Raju Kumar Pothuraju > --- > meta/classes/kernel-uboot.bbclass | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/meta/classes/kernel-uboot.bbclass > b/meta/classes/kernel-uboot.bbclass > index 2daa068298..180e7cf066 100644 > --- a/meta/classes/kernel-uboot.bbclass > +++ b/meta/classes/kernel-uboot.bbclass > @@ -15,6 +15,12 @@ uboot_prep_kimage() { > linux_comp="none" > else > vmlinux_path="vmlinux" > + # Use vmlinux.initramfs for linux.bin when > INITRAMFS_IMAGE_BUNDLE set > + # As per the implementation in kernel.bbclass. > + # See do_bundle_initramfs function > + if [ x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then > Maybe a check to see if the file exists is better aligned with the reminder in the bbclass. [ -e arch/${ARCH}/boot/vmlinux.initramfs ] Jose > + vmlinux_path="vmlinux.initramfs" > + fi > linux_suffix="${FIT_KERNEL_COMP_ALG_EXTENSION}" > linux_comp="${FIT_KERNEL_COMP_ALG}" > fi > -- > 2.17.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#167108): > https://lists.openembedded.org/g/openembedded-core/message/167108 > Mute This Topic: https://lists.openembedded.org/mt/91876695/5052612 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > quaresma.jose@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > > -- Best regards, José Quaresma