On Thu, 10 Aug 2023 at 11:28, Frederic Martinsons via lists.openembedded.org <frederic.martinsons=gmail....@lists.openembedded.org> wrote:
> I forgot to add that I use INITRAMFS_IMAGE_BUNDLE=1 and kernel 4.19.284. > > I'm currently testing some fix (that I clearly not sure about the impact): > > diff --git a/meta/classes/kernel-fitimage.bbclass > b/meta/classes/kernel-fitimage.bbclass > index 7c7bcd3fc0..b5984be575 100644 > --- a/meta/classes/kernel-fitimage.bbclass > +++ b/meta/classes/kernel-fitimage.bbclass > @@ -572,11 +572,7 @@ do_assemble_fitimage_initramfs() { > if echo ${KERNEL_IMAGETYPES} | grep -wq "fitImage" && \ > test -n "${INITRAMFS_IMAGE}" ; then > cd ${B} > - if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then > - fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its > fitImage "" > - else > - fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its > fitImage-${INITRAMFS_IMAGE} 1 > - fi > + fitimage_assemble fit-image-${INITRAMFS_IMAGE}.its > fitImage-${INITRAMFS_IMAGE} 1 > fi > } > This was not the correct thing to do. By searching more, I think another backport commit is necessary , this one <https://git.openembedded.org/openembedded-core/commit/meta/classes-recipe/kernel.bbclass?id=1b67fd9ac74935fa41e960478c54e45422339138> I'll submit the backport soon. > On Wed, 9 Aug 2023 at 10:08, Frederic Martinsons via lists.openembedded.org > <frederic.martinsons=gmail....@lists.openembedded.org> wrote: > >> Hello >> >> since the introduction of two commits (8280c089b0d >> <https://git.openembedded.org/openembedded-core/commit/meta/classes/kernel-fitimage.bbclass?h=dunfell&id=8280c089b0df97368476b8bc54ed758e809f42f5> >> and e3eb79c0a1 >> <https://git.openembedded.org/openembedded-core/commit/meta/classes/kernel-fitimage.bbclass?h=dunfell&id=e3eb79c0a11e9f67af3161361fb88b00123ecbac> >> ) >> inside the dunfell branch, I have kernel installation error , complaining >> that the fitImage was not found: >> >> | >> | install: cannot stat 'arch/arm64/boot/fitImage': No such file or >> directory >> | >> >> With the revert of the two commits mentioned above, I managed to get my >> image built successfully. >> >> I built an arm64 based target and I set in my conf >> KERNEL_IMAGETYPE=fitImage. >> This is very like YOCTO #14971 >> <https://bugzilla.yoctoproject.org/show_bug.cgi?id=14971> that I raised >> end of 2022 and was fixed by backport of another commit from master (I >> have still KERNEL_IMAGETYPE=KERNEL_IMAGETYPES=fitImage and >> KERNEL_IMAGETYPE_FOR_MAKE=Image). >> >> I tried to dig further but I must admit I don't know the arcane of fit >> image construction very well to suggest for a fix, I tried to look also at >> kernel-fitimage.bbclass on master branch but there was a lot >> of changes there and I was unable to pinpoint the issue. >> >> Can someone with more knowledge know what is going on or suggest what I >> can look to know more ? >> >> Thanks. >> >> >> >> > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#185740): https://lists.openembedded.org/g/openembedded-core/message/185740 Mute This Topic: https://lists.openembedded.org/mt/100638982/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-