Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u-boot-iot2050: Match kernel dts for bootefi issue #576

Merged
merged 2 commits into from
Jan 20, 2025
Merged

Conversation

huaqianli
Copy link
Collaborator

The bootefi command leads to the kernel FDT being overwritten by the U-Boot FDT. Although the UKI's FDT ultimately takes precedence, this intermediate overwrite can cause the device to fail to apply the overlay.

The bootefi command leads to the kernel FDT being overwritten by the
U-Boot FDT. Although the UKI's FDT ultimately takes precedence, this
intermediate overwrite can cause the device to fail to apply the
overlay.

Signed-off-by: Li Hua Qian <[email protected]>
@huaqianli huaqianli requested a review from BaochengSu January 17, 2025 03:44
@jan-kiszka
Copy link
Collaborator

Be reminded that this will remain a temporary patch due to https://source.denx.de/u-boot/u-boot/-/commit/53413181655d22416784c94a0a3b0efe2c421e04.

On Ubuntu 24.04 the default apparmor profile restricts unprivileged user
namespaces. This breaks the bitbake execution, as bitbake uses this
mechanism for network and uid isolation, resulting in the following
error message:

 File "/work/isar/bitbake/bin/bitbake-worker", line 268, in child
     bb.utils.disable_network(uid, gid)
   File "/work/isar/bitbake/lib/bb/utils.py", line 1653, in
disable_network
     with open("/proc/self/uid_map", "w") as f:
 PermissionError: [Errno 1] Operation not permitted

Upgrading kas to version 4.7 will resolve this issue completely in the
future.

Signed-off-by: Li Hua Qian <[email protected]>
@huaqianli
Copy link
Collaborator Author

Be reminded that this will remain a temporary patch due to https://source.denx.de/u-boot/u-boot/-/commit/53413181655d22416784c94a0a3b0efe2c421e04.

Ok, will refine it when that window opens.

@huaqianli huaqianli merged commit 9e14591 into master Jan 20, 2025
4 checks passed
@huaqianli huaqianli deleted the lee/pvu branch January 20, 2025 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants