Skip to contentSkip to conversation

all pacakges in image

LINUX-FIRMWARE [email protected] 3 participants 7 messages Aug 4, 2023

lore
Share & tools
lore
#0 lore raw

Hi,
I encounter some issues with linux-firmware.

My build was configured with tag kirkstone-4.0.8, and today I try to update to latest commit of kirkstone branch (fa7dd8ac75a98c04a4ca2cf90882c2b1c27b9679). The build leads to an error:

Quoted 9 lines

ERROR: <image>-1.0-r0 do_image_tar: The rootfs size 1456576(K) exceeds
IMAGE_ROOTFS_MAXSIZE: 768000(K)
ERROR: Logfile of failure stored in:
/home/user/workspace/kirkstone/build-mymachine/tmp/work/mymachine-poky-linux/<image>/1.0-r0/temp/log.do_image_tar.3783805

ERROR: Task (/home/user/workspace/kirkstone/sources/meta-layer/recipes-images/image/<image>.bb:do_image_tar) failed with exit code '1'

Using buildhistory, I can see that all linux-firmware packages are embedded in image that is not the case before.

After some bisect analysis, I found that the commit 1752b29e7c8d4c104c99b04400fd88ea985348a5 adds this weird behavior.

Temporarily, I will use tag kirkstone-4.0.11 but want to notice this issue.

Fabrice

#1 lore raw

You can enable buildhistory and check what has changed in the package dependencies that linux-firmware produces.

Alex

Quoted 26 lines · On Fri, 4 Aug 2023 at 14:45, <[email protected]> wrote:

Hi,
I encounter some issues with linux-firmware.

My build was configured with tag kirkstone-4.0.8, and today I try to update to latest commit of kirkstone branch (fa7dd8ac75a98c04a4ca2cf90882c2b1c27b9679). The build leads to an error:

ERROR: <image>-1.0-r0 do_image_tar: The rootfs size 1456576(K) exceeds IMAGE_ROOTFS_MAXSIZE: 768000(K)
ERROR: Logfile of failure stored in: /home/user/workspace/kirkstone/build-mymachine/tmp/work/mymachine-poky-linux/<image>/1.0-r0/temp/log.do_image_tar.3783805
ERROR: Task (/home/user/workspace/kirkstone/sources/meta-layer/recipes-images/image/<image>.bb:do_image_tar) failed with exit code '1'

Using buildhistory, I can see that all linux-firmware packages are embedded in image that is not the case before.

After some bisect analysis, I found that the commit 1752b29e7c8d4c104c99b04400fd88ea985348a5 adds this weird behavior.

Temporarily, I will use tag kirkstone-4.0.11 but want to notice this issue.

Fabrice
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13108): https://lists.yoctoproject.org/g/poky/message/13108
Mute This Topic: https://lists.yoctoproject.org/mt/100545329/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Thanks for the advice.
I analyze the depends.dot file and found something interesting.

Quoted 3 lines

+"linux-firmware-mt7601u" -> "linux-firmware" "linux-firmware-mt7601u" -> "linux-firmware-mt7601u-license"

For the need firmware mt7601u, a new dependency is added to linux-firmware. That explains why I have all firmwares. But between linux-firmware packages 20230404 & 20230515, the recipe does not change.

#3 lore raw

deja vu:
https://lists.openembedded.org/g/openembedded-core/message/184825

Quoted 22 lines · On Fri, Aug 4, 2023 at 3:46 PM <[email protected]> wrote:

Thanks for the advice.
I analyze the depends.dot file and found something interesting.

+"linux-firmware-mt7601u" -> "linux-firmware"
"linux-firmware-mt7601u" -> "linux-firmware-mt7601u-license"

For the need firmware mt7601u, a new dependency is added to linux-firmware. That explains why I have all firmwares.
But between linux-firmware packages 20230404 & 20230515, the recipe does not change.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#13110):
https://lists.yoctoproject.org/g/poky/message/13110
Mute This Topic: https://lists.yoctoproject.org/mt/100545329/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Many thanks,

I didn't find in the correct mailing list :)

Explanation: binaries for mediatek are moved inside a dedicated folder and symlinks are created to keep compatibility during transition. This symlink causes the problem.

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?h=20230515&id=8451c2b1d529dc1a49328ac9235d3cf5bb8a8fcb

So how to fix this in this poky. Can I propose a patch ? As you can imagine, I'm new to this

#5 lore raw

Yes you can and it would be appreciated. The correct mailing list is [email protected].

Alex

Quoted 20 lines · On Fri, 4 Aug 2023 at 17:39, <[email protected]> wrote:

Many thanks,

I didn't find in the correct mailing list :)

Explanation: binaries for mediatek are moved inside a dedicated folder and symlinks are created to keep compatibility during transition. This symlink causes the problem.

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?h=20230515&id=8451c2b1d529dc1a49328ac9235d3cf5bb8a8fcb

So how to fix this in this poky. Can I propose a patch ?
As you can imagine, I'm new to this
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13112): https://lists.yoctoproject.org/g/poky/message/13112
Mute This Topic: https://lists.yoctoproject.org/mt/100545329/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
Quoted 1 line

So how to fix this in this poky.

I think if you update those packages to include not only the symlink but also the target of the symlink in mediatek subdirectory, then it will work fine.

Thank you for finding the root cause (you win 10 times more points than previous guy :)).

Cheers,

Quoted 34 lines · Alexander Kanavin

Yes you can and it would be appreciated. The correct mailing list is [email protected].

Alex

Quoted 6 lines · On Fri, 4 Aug 2023 at 17:39, <[email protected]> wrote:

Many thanks,

I didn't find in the correct mailing list :)

Explanation: binaries for mediatek are moved inside a dedicated folder

and symlinks are created to keep compatibility during transition.

Quoted 3 lines

This symlink causes the problem.

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?h=20230515&id=8451c2b1d529dc1a49328ac9235d3cf5bb8a8fcb

Quoted 5 lines

So how to fix this in this poky. Can I propose a patch ? As you can imagine, I'm new to this

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#13113):
https://lists.yoctoproject.org/g/poky/message/13113
Mute This Topic: https://lists.yoctoproject.org/mt/100545329/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-