Re: [OE-core][dunfell] kernel fitImage not found

2023-08-10 Thread Frederic Martinsons
On Thu, 10 Aug 2023 at 11:28, Frederic Martinsons via 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

I'll submit the backport soon.


>
On Wed, 9 Aug 2023 at 10:08, Frederic Martinsons via lists.openembedded.org
>  wrote:
>
>> Hello
>>
>> since the introduction of  two commits (8280c089b0d
>> 
>>  and e3eb79c0a1
>> 
>>  )
>> 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
>>  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]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][dunfell] kernel fitImage not found

2023-08-10 Thread Frederic Martinsons
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
 }


On Wed, 9 Aug 2023 at 10:08, Frederic Martinsons via lists.openembedded.org
 wrote:

> Hello
>
> since the introduction of  two commits (8280c089b0d
> 
>  and e3eb79c0a1
> 
>  )
> 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
>  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 (#185729): 
https://lists.openembedded.org/g/openembedded-core/message/185729
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]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][dunfell] kernel fitImage not found

2023-08-09 Thread Frederic Martinsons
Hello

since the introduction of  two commits (8280c089b0d

 and e3eb79c0a1

)
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
 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 (#185689): 
https://lists.openembedded.org/g/openembedded-core/message/185689
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]
-=-=-=-=-=-=-=-=-=-=-=-