# Jetson AGX Orin from meta-mender-community meta-mender-tegra doesn't build

**URL:** <https://hub.mender.io/t/jetson-agx-orin-from-meta-mender-community-meta-mender-tegra-doesnt-build/7667>\
**Category:** Board Integrations\
**Tags:** yocto, nvidia, jetson, orin\
**Created:** [March 24, 2025, 3:29pm UTC](https://hub.mender.io/t/jetson-agx-orin-from-meta-mender-community-meta-mender-tegra-doesnt-build/7667 "2025-03-24T15:29:00Z")\
**Posts on this page:** 2\
**Page:** 1

<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, 3:29pm UTC](https://hub.mender.io/t/jetson-agx-orin-from-meta-mender-community-meta-mender-tegra-doesnt-build/7667/1 "2025-03-24T15:29:00Z")

</div>

When building for jetson-agx-orin-devkit and following the instructions indicated on the page:

> **[meta-mender-community/meta-mender-tegra at scarthgap ·...](https://github.com/mendersoftware/meta-mender-community/tree/scarthgap/meta-mender-tegra)**
>
> Community supported Yocto Project layers (Board integrations) for Mender for different boards - mendersoftware/meta-mender-community

I see the following error:

```auto
WARNING: optee-os-tadevkit-3.22.0-l4t-r36.3.0-r0 do_fetch: Checksum failure encountered with download of https://developer.download.nvidia.com/embedded/L4T/r36_Release_v3.0/sources/public_sources.tbz2;downloadfilename=Jetson-public_sources-36.3.0.tbz2 - will attempt other sources if available
ERROR: optee-os-tadevkit-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.2432208
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'

```

Changing the expected checksum in the manner indicated - just to see if that helps - does not resolve the issue. Has anyone else seen and resolved this issue?

---

<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, 12:26am UTC](https://hub.mender.io/t/jetson-agx-orin-from-meta-mender-community-meta-mender-tegra-doesnt-build/7667/2 "2025-03-25T00:26:57Z")

</div>

The answer is that since the `kas` yaml file can only pull a branch using a specific commit tag, if the branch is updated elsewhere and that commit hash is no longer compatible with the latest version of that branch - you are in deep doo-doo. That appears to be what happened on the scarthgap branch. I updated the commit tags in the `jetson-agx-orin-devkit.yml` locally to the latest scarthgap hashes (`git show-ref scarthgap`) and now the build works. I did not push my change because I feel like too much of an amateur to do that.
