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

Fix build issues for Scarthgap with Jetpack 6 on Nvidia Orin Devices #424

Open
wants to merge 19 commits into
base: scarthgap
Choose a base branch
from

Conversation

poett1
Copy link

@poett1 poett1 commented Nov 25, 2024

Quick PR to fix at least the build issues for Jetpack 6 on Orin Devices as mentioned on Mender Hub. Includes Changes from apbr/scarthgap-tegra-jetpack6.
Tried this on jetson-agx-orin-devkit-64.yml, but it returned L4TLauncher: Attempting Recovery Boot Failed to boot recovery:1 partition on reboot after pushing an update, so the update process seems to require some additional changes.

TheYoctoJester and others added 18 commits August 18, 2024 14:31
Port over the kas includes as well as the boards from
kirkstone:
- jetson-agx-orin-devkit.yml
- jetson-agx-xavier-devkit.yml
- jetson-orin-nano-devkit.yml

Changelog: Title
Ticket: None

Signed-off-by: Josef Holzmayr <[email protected]>
Signed-off-by: Zachary T Welch <[email protected]>
Changelog: Title
Ticket: None

Signed-off-by: Josef Holzmayr <[email protected]>
Signed-off-by: Zachary T Welch <[email protected]>
l4t_bsp.bbclass became recipe-scoped for scarthgap, so
l4t_version.bbclass was created to provide the L4T_VERSION
variable at global scope.

Changelog: Title
Issue: None

Signed-off-by: Zachary T Welch <[email protected]>
Changelog: Title
Issue: None

Signed-off-by: Zachary T Welch <[email protected]>
Changelog: Title
Issue: None

Signed-off-by: Zachary T Welch <[email protected]>
Changelog: Title
Issue: None

Signed-off-by: Zachary T Welch <[email protected]>
The upstream recipe now handles this.

Changelog: Title
Issue: None

Signed-off-by: Zachary T Welch <[email protected]>
This recipe is no longer relevant with Jetpack 5.x, as it only supports
tegra194 and tegra234.

Changelog: Title
Issue: None

Signed-off-by: Zachary T Welch <[email protected]>
/opt/nvidia/esp/ does not exist anymore with JP6.
The uefi rootfs ab config was moved to a separate recipe.
@mender-test-bot
Copy link

Merging these commits will result in the following changelog entries:

Changelogs

meta-mender-community (scarthgap-tegra-jetpack6-build-fix)

New changes in meta-mender-community since scarthgap:

Bug Fixes
  • drop vestigial jetpack5 layer suffix
  • kas: drop vestigial sublayer name
Features
  • meta-mender-tegra: add scarthgap compatibility
Other
  • kas: add tegra-jetpack5 based builds
  • kas: clean up tegra-{jetpack5/jetpack6}
  • tegra-nv-boot-control-config: drop obsolete overlay
  • redundant-boot-overrides: drop obsolete recipe
  • tegra-mender-setup: use l4t_version instead of l4t_bsp

Merge upstream scarthgap branch
@TheYoctoJester
Copy link
Contributor

Hi @poett1,

Thanks for pulling this together. I rebased on top of current scarthgap and cleaned a few things out, please see https://github.com/TheYoctoJester/meta-mender-community/tree/scarthgap-tegra-jetpack6-build-fix

A test build here for the new machine configuration looks good, so I think we can move forward.

I also need Signed-Offs by both you and @apbr, for the respective commits.

@apbr
Copy link

apbr commented Nov 27, 2024

I also need Signed-Offs by both you and @apbr, for the respective commits.

Sure, what exactly should I do?
(I never did this before :D)

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.

5 participants