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

bsp: tegra: systemd-boot: double dtb buffer size #1590

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

quaresmajose
Copy link
Member

This is probably due to fact systemd-boot does not allocate any extra space for the device tree. Without the modification, because there is not any extra space, the UEFI will fail applying the overlay changes from its .dtbo files

Fixes:

EFI stub: ERROR: Invalid header detected on UEFI supplied FDT, ignoring ... 
EFI stub: Generating empty DTB

References:
anduril/jetpack-nixos#111

This is probably due to fact systemd-boot does not allocate any extra space for the device tree.
Without the modification, because there is not any extra space, the UEFI will fail applying the
overlay changes from its .dtbo files

Fixes:
| EFI stub: ERROR: Invalid header detected on UEFI supplied FDT, ignoring ...
| EFI stub: Generating empty DTB

References:
anduril/jetpack-nixos#111

Signed-off-by: Jose Quaresma <[email protected]>
@quaresmajose quaresmajose requested a review from a team February 20, 2025 18:56
@ricardosalveti
Copy link
Member

Can we test on the lab to see if this fixes the issue?

@quaresmajose
Copy link
Member Author

I have tested it on scarthgap factory which has the necessary machinery and tests it in the lab

Copy link
Contributor

@igoropaniuk igoropaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@igoropaniuk
Copy link
Contributor

I'll add this also to my backlog, maybe we can somehow address that in the upstream also

@quaresmajose
Copy link
Member Author

yeah something good to address upstream

@quaresmajose quaresmajose merged commit 535b689 into foundriesio:main Feb 21, 2025
1 check passed
@quaresmajose quaresmajose deleted the orin-nano branch February 21, 2025 09:19
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