On Tue, Feb 27, 2024 at 03:22 PM, Jeffrey Simons wrote:

>
> Hello Yocto friends,
> 
> I have an issue with the generation of an fitImage with initramfs. The
> creation of an fitImage where a kernel and device tree are combined works,
> but when I add an initramfs then the kernel creation keeps adding the fitImage
> without the initramfs.
> 
> What I see on the debug output is the following:
> -->    FILES:kernel-image-fitimage="/boot/fitImage-5.4.129+g828ec42a6a32+p3
> /boot/fitImage"
> 
> While I would expect something like:
> -->   
> FILES:kernel-image-fitimage="/boot/fitImage-my-initramfs-name-5.4.129+g828ec42a6a32+p3
> /boot/fitImage"

I dove further down the rabbit hole and I think to know why this happens. the 
deb package creation happens
before the initramfs bundle/creation. Most likely this has its good reasons for 
that order (regarding dependencies)
but in our case this means that the deb file only contains a fitImage with a 
device tree. (Not good for us). 

Perhaps this is a deb thingy and does this not happen with RPM or IPK, but I 
didn't dove into that due to the limited 
time I had. So our solution for the time being will be to execute a rootfs post 
process command that copies the correct fitImage
into the boot folder which will end up in my ubi image.

Hopefully someone will find this information useful.

-- 
With kind regards,

Jeffrey Simons

Software Engineer
Royal Boon Edam International B.V.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62645): https://lists.yoctoproject.org/g/yocto/message/62645
Mute This Topic: https://lists.yoctoproject.org/mt/104603194/21656
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to