Closed RobertBerger closed 2 years ago
Here is some more documentation from the yocto project doc: http://docs.yoctoproject.org/singleindex.html#kernel-fitimage-bbclass
I think the trick might be to assemble a configuration that contains kernel, dtb, dtbo, and maybe also a ramdisk. But I am not quite sure what's the best way to do that from a Yocto point of view. Maybe via the "U-boot boot script"
u-boot support is something I haven't kept up with for a good while now so this will need someone to look into a bit deeper. There are a series of issues related to uboot on various rpi targets so I suspect that this needs a bit of love.
Could it be due to https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in ?
EDIT: Closing for now but feel free to reopen if you have more info on the matter.
fitimage
Here is what I did:
1) u-boot 2021.07 (which comes by default with poky/master) does not support fitimages, so I'll enable it
2) at least in theory with oe/yp it should be something like that in
local.conf
to create a fitimage:3) This actually does something ;)
Describe the results you received:
This is what I see when I try to boot:
and that's where we are stuck
Describe the results you expected:
command prompt/kernel boot log
Additional information you deem important (e.g. issue happens only occasionally):
I suspect that: i) I might be missing something on the
fitimage class
variables, or wrong values ii) issues with the devide tree/device tree overlays (are overlays passed on to the kernel?)Additional details (revisions used, host distro, etc.):
master of everything
I guess I might not be the first one fighting against this problem, so please let me know if you worked it out ;)