# Jetson Orin AGX support in Yocto for Jetpack 6

**URL:** <https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148>\
**Category:** Board Integrations\
**Tags:** yocto, jetson, orin\
**Created:** [August 29, 2024, 2:57pm UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148 "2024-08-29T14:57:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeanphilippea](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jeanphilippea](https://hub.mender.io/u/jeanphilippea)\
**Post date:** [August 29, 2024, 2:57pm UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/1 "2024-08-29T14:57:20Z")

</div>

Hello,  
I am looking for a solution for OTA updates for a fleet of Jetson Orin AGX. Currently using Jetpack 6. I found the [scarthgap branch](https://github.com/mendersoftware/meta-mender-community/tree/scarthgap/meta-mender-tegra) of meta-mender-tegra. I have not used Mender before and wanted to seek confirmation that it fully supports the Orin AGX / Jetpack 6 before diving it (bootloader updates and rootfs updates).  
Many thanks,  
JP

---

<div class="post-metadata">

**Author:** ![poett1](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@poett1](https://hub.mender.io/u/poett1)\
**Post date:** [November 21, 2024, 10:30am UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/2 "2024-11-21T10:30:50Z")

</div>

Hello,  
I tried it some weeks ago. Changes are still needed for both Jetpack 5 and Jetpack 6 on Scarthgap branch. You can see that [CI Workflows on Github](https://github.com/mendersoftware/meta-mender-community/actions) are still failing for all Jetson devices.  
At least the meta-tegra repos commit hashes need to be updated and [linux-tegra\_%.bbappend](https://github.com/mendersoftware/meta-mender-community/blob/scarthgap/meta-mender-tegra/recipes-kernel/linux/linux-tegra_%25.bbappend) needs to be renamed to e.g. linux-jammy-nvidia-tegra\_%.bbappend (or linux-%.bbappend, so it will match both Jetpack versions).  
I finally got it building based on [https://github.com/apbr/meta-mender-community/tree/scarthgap-tegra-jetpack6](https://scarthgap-tegra-jetpack6), but after pushing an update it returns this on reboot:  
`L4TLauncher: Attempting Recovery Boot Failed to boot recovery:1 partition`

There has been a discussion on OE4Ts update Gitter channel to create

- meta-mender-tegra for the common stuff
- meta-mender-tegra-jp5 for JP 5 specific parts
- meta-mender-tegra-jp6 for the JP 6 specific parts

@TheYoctoJester, if this is fine, I could push a draft PR to at least fix the build issues for Orin Devices.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [November 21, 2024, 2:53pm UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/3 "2024-11-21T14:53:28Z")

</div>

Hi @poett1,

Sorry that I missed the discussion on OE4T. ☹ Yeah, the -jetpack5/-jetpack6 split was my initial strategy but I let myself be convinced that it is easier to sort it out via overrides. Turns out I should have follow my instinct. So pardon me, it’s also my fault.

Yeah, if you have a chance to craft such a PR, that would be perfect. We have a couple of bits and pieces to fix the support in the pipeline by now, but the crystallization point seems to be missing. Your PR might be exactly that.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![poett1](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@poett1](https://hub.mender.io/u/poett1)\
**Post date:** [December 17, 2024, 8:22am UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/4 "2024-12-17T08:22:56Z")

</div>

@jeanphilippea The PR has been merged into Scarthgap, at least AGX Orin (64GB) should work fine with JetPack 6.0.

---

<div class="post-metadata">

**Author:** ![formidable01](https://avatars.discourse-cdn.com/v4/letter/f/f6c823/32.png) [@formidable01](https://hub.mender.io/u/formidable01)\
**Post date:** [March 24, 2025, 5:38am UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/5 "2025-03-24T05:38:54Z")

</div>

I just tried the Jetson Orin AGX with Jetpack 6 on the scarthgap branch and I get a checksum error during the kas-driven yocto build

```auto
ERROR: optee-os-E-3.22.0-l4t-r36.3.0-r0 do_fetch: Fetcher failure for URL: 'https://developer.download.nvidia.com/embedded/L4T/r36_Release_v3.0/sources/public_sources.tbz2;downloadfilename=Jetson-public_sources-36.3.0.tbz2'. Checksum mismatch!
File: '/home/njacobson/demo.mender/meta-mender-community/my-build/build/downloads/Jetson-public_sources-36.3.0.tbz2.tmp' has sha256 checksum '190f499f5cff26f62a911d25a8e4c384db613a1887cbce17bcbe5810be0f36c9' when 'e94dbe0025ae313eeb603061697afed77b9641d2a06df022888574562dd1f6c5' was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[sha256sum] = "190f499f5cff26f62a911d25a8e4c384db613a1887cbce17bcbe5810be0f36c9"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
ERROR: optee-os-tadevkit-3.22.0-l4t-r36.3.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://developer.download.nvidia.com/embedded/L4T/r36_Release_v3.0/sources/public_sources.tbz2;downloadfilename=Jetson-public_sources-36.3.0.tbz2')
ERROR: Logfile of failure stored in: /home/njacobson/demo.mender/meta-mender-community/my-build/build/tmp/work/armv8a_tegra-oe4t-linux/optee-os-tadevkit/3.22.0-l4t-r36.3.0/temp/log.do_fetch.1693959
ERROR: Task (/home/njacobson/demo.mender/meta-mender-community/my-build/build/../meta-tegra/recipes-security/optee/optee-os-tadevkit_3.22.0-l4t-r36.3.0.bb:do_fetch) failed with exit code '1'

```

So clearly I am doing something wrong…or am i? Can anyone help?

---

<div class="post-metadata">

**Author:** ![poett1](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@poett1](https://hub.mender.io/u/poett1)\
**Post date:** [March 25, 2025, 9:25am UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/6 "2025-03-25T09:25:54Z")

</div>

It looks like either the Jetson-public\_sources-36.3.0.tbz2 archive was not downloaded correctly or it was modified online, resulting in a different SHA checksum. Nvidia may have made some changes for the 36.3 release here.  
You can try to adapt the recipe to the new hash and rebuild again (should be something like recipes-bsp/tegra-sources/tegra-sources-36.3.0.inc). You may want to consider updating the kas build to newer Jetpack versions, as JP6.0 is not actively maintained on meta-tegra. The Scarthgap branch is currently on JP6.1, JP6.2 is a work in progress.

---

<div class="post-metadata">

**Author:** ![formidable01](https://avatars.discourse-cdn.com/v4/letter/f/f6c823/32.png) [@formidable01](https://hub.mender.io/u/formidable01)\
**Post date:** [March 25, 2025, 3:28pm UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/7 "2025-03-25T15:28:14Z")

</div>

Updating the hash for the scarthgap branches in the yml file was the magic to make it work

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [March 25, 2025, 4:56pm UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/8 "2025-03-25T16:56:56Z")

</div>

Hi @formidable01, hi @poett1,

I did quite some build testing in the last day on this and wanted to conclude before responding. Generally I agree, this sounds like the upstream tarball “secretly” changed its content, which needs to be reflected in the checksum. This should be considered a real bad practice ☹

A new PR is prepared here: [tegra: split layers for JP5 / JP6 by TheYoctoJester · Pull Request #439 · mendersoftware/meta-mender-community · GitHub](https://github.com/mendersoftware/meta-mender-community/pull/439) which should solve the JP5 / JP6 mess and make all included boards buildable as of today.

Reviews, comments and testing on boards are much appreciated!

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![vini](https://avatars.discourse-cdn.com/v4/letter/v/c77e96/32.png) [@vini](https://hub.mender.io/u/vini)\
**Post date:** [October 14, 2025, 4:41pm UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/9 "2025-10-14T16:41:08Z")

</div>

Hey. Can we not use mender-convert iwth jetpack 6?

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 15, 2025, 8:59am UTC](https://hub.mender.io/t/jetson-orin-agx-support-in-yocto-for-jetpack-6/7148/10 "2025-10-15T08:59:45Z")

</div>

Hey @vini,

as pointed out in [Mender convert for Jetson Orin NX](https://hub.mender.io/t/mender-convert-for-jetson-orin-nx/8051), `mender-convert` does not apply to Jetsons as they require quite specific image formats. This thread is about the Yocto approach.

Greetz,  
Josef
