Balena-jetson image for L4T R32.3.1

The tip of balena-os/balena-jetson repository builds an image based on L4T R32.4.2.
How can I build an image based on L4T R32.3.1?

Hi Jonathan, I’m not an expert and will check with some of the OS team, but just looking at the change log I would guess if you checked out the tag v2.47.1+rev2 ( ) and built from there that would include r32.3.1 recipe .

Do I need to clear the cache or clean the build? Cause I see this error:
ERROR: ParseError at /home/jonathan/src/balena-jetson/build/…/layers/meta-tegra/recipes-multimedia/gstreamer/ Could not include required file recipes-multimedia/gstreamer/

Hoping to save time here :stuck_out_tongue:

Even with a clean build at that tag I hit issues barys -r -d -m jetson-xavier

ERROR: ParseError at /home/jonathan/src/balena-jetson/build/…/layers/meta-tegra/recipes-multimedia/gstreamer/ Could not include required file re

Hi Jonathan,

Can you please try checking out the tag that Shaun mentioned?

For instance:

git checkout v2.47.1+rev2
git submodule update --init --recursive
balena-yocto-scripts/build/barys -b build_xavier_32_3_1 -m jetson-xavier --shared-sstate ./sstate-cache/ --shared-downloads ./downloads/ -d

After the build completes the final image is generated in:


You will need to change the URL to the BSP in jetson-flash at this line to use the 32.3.1 Driver Package (BSP) archive.

You can use the URL from the “L4T Driver Package (BSP)” link -> L4T Driver Package (BSP).

Ran into errors building v2.47.1+rev2 as you recommended:

WARNING: balena-18.09.10-dev+git7cb464a406748016f2df0c31a9851d20456a3d31-r0 do_fetch: Failed to fetch URL git://;branch=master;destsuffix=git/src/import, attempting MIRRORS if available
ERROR: balena-18.09.10-dev+git7cb464a406748016f2df0c31a9851d20456a3d31-r0 do_fetch: Fetcher failure: Unable to find revision 7cb464a406748016f2df0c31a9851d20456a3d31 in branch master even from upstream
ERROR: balena-18.09.10-dev+git7cb464a406748016f2df0c31a9851d20456a3d31-r0 do_fetch: Fetcher failure for URL: 'git://;branch=master;destsuffix=git/src/import'. Unable to fetch URL from any source.
ERROR: balena-18.09.10-dev+git7cb464a406748016f2df0c31a9851d20456a3d31-r0 do_fetch: 
ERROR: balena-18.09.10-dev+git7cb464a406748016f2df0c31a9851d20456a3d31-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/jonathan/src/f-balena-jetson/build/tmp/work/aarch64-poky-linux/balena/18.09.10-dev+git7cb464a406748016f2df0c31a9851d20456a3d31-r0/temp/log.do_fetch.15443
ERROR: Task (/home/jonathan/src/f-balena-jetson/build/../layers/meta-balena/meta-balena-common/recipes-containers/balena/ failed with exit code '1'

Looks like some resin-os tarballs are missing from yoctoproject and openembedded:

--2020-09-04 17:04:44--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 404 Not Found
--2020-09-04 17:04:44--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-09-04 17:04:44 ERROR 404: Not Found.

Hi Jonathan, I have seen that first issue before, as well. I resolved it by altering the layers/meta-balena/meta-balena-common/recipes-containers/balena/ file to modify the version and branch to:

BALENA_VERSION = "18.09.10"
BALENA_BRANCH= "18.09-balena"

SRCREV = "7cb464a406748016f2df0c31a9851d20456a3d31"

As for the second issue, I am not familiar with that one. What recipe is triggering that error? What part of the build is looking for those files? Thanks.

Thanks that change fixed all the issues!