$ repo init -u git://git.toradex.com/toradex-manifest.git -b scarthgap-7.x.y -m tdxref/default.xml
$ repo sync
$ . export
$ bitbake tdx-reference-multimedia-image
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:47
Loaded 10766 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:09
Parsing of 6740 .bb files complete (6737 cached, 3 parsed). 10769 targets, 1424 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime linux-firmware-nxp9098-common (firmware-nxp-wifi, linux-firmware)
Consider defining a PREFERRED_RPROVIDER entry to match linux-firmware-nxp9098-common
NOTE: Multiple providers are available for runtime linux-firmware-nxp8997-common (firmware-nxp-wifi, linux-firmware)
Consider defining a PREFERRED_RPROVIDER entry to match linux-firmware-nxp8997-common
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
Build Configuration (mc:default):
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-tdx-linux"
MACHINE = "aquila-am69"
DISTRO = "tdx-xwayland"
DISTRO_VERSION = "7.3.0-devel-20250518054306+build.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-toradex-nxp = "HEAD:53c76a1768d8b9fc9da8f0c71358f8513968ec15"
meta-freescale = "HEAD:a82f138b140f613a06bf9ac60101e4bb511c309f"
meta-freescale-3rdparty = "HEAD:70c83e96c7f75e73245cb77f1b0cada9ed4bbc6d"
meta-toradex-ti = "HEAD:4cb17b8bedc87d847c15ee026c840276b8d58276"
meta-arm-toolchain
meta-arm = "HEAD:8e0f8af90fefb03f08cd2228cde7a89902a6b37c"
meta-ti-bsp
meta-ti-extras = "HEAD:13fb4cc4de631b7e813510981017044fc33eb537"
meta-toradex-bsp-common = "HEAD:463fba953a2dcb79553ee4c579f59eb66578f49c"
meta-oe
meta-filesystems
meta-networking
meta-multimedia
meta-python = "HEAD:e92d0173a80ea7592c866618ef5293203c50544c"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-toradex-demos = "HEAD:c4f2ac97e6dc6180617031b509cb8395444afd13"
meta-qt5 = "HEAD:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-tpm = "HEAD:bc865c5276c2ab4031229916e8d7c20148dfbac3"
meta-toradex-distro = "HEAD:e808259783ae03856eb908fae18bb5279dac78c7"
meta-poky = "HEAD:7f1be5a930554ea5036d2c806aa752ae0b2de826"
meta = "HEAD:45c50169fa7e34349acf3e24fc19e573cbab4e65"
Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-tdx-eabi"
MACHINE = "aquila-am69-k3r5"
DISTRO = "tdx-xwayland"
DISTRO_VERSION = "7.3.0-devel-20250518054306+build.0"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-toradex-nxp = "HEAD:53c76a1768d8b9fc9da8f0c71358f8513968ec15"
meta-freescale = "HEAD:a82f138b140f613a06bf9ac60101e4bb511c309f"
meta-freescale-3rdparty = "HEAD:70c83e96c7f75e73245cb77f1b0cada9ed4bbc6d"
meta-toradex-ti = "HEAD:4cb17b8bedc87d847c15ee026c840276b8d58276"
meta-arm-toolchain
meta-arm = "HEAD:8e0f8af90fefb03f08cd2228cde7a89902a6b37c"
meta-ti-bsp
meta-ti-extras = "HEAD:13fb4cc4de631b7e813510981017044fc33eb537"
meta-toradex-bsp-common = "HEAD:463fba953a2dcb79553ee4c579f59eb66578f49c"
meta-oe
meta-filesystems
meta-networking
meta-multimedia
meta-python = "HEAD:e92d0173a80ea7592c866618ef5293203c50544c"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-toradex-demos = "HEAD:c4f2ac97e6dc6180617031b509cb8395444afd13"
meta-qt5 = "HEAD:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-tpm = "HEAD:bc865c5276c2ab4031229916e8d7c20148dfbac3"
meta-toradex-distro = "HEAD:e808259783ae03856eb908fae18bb5279dac78c7"
meta-poky = "HEAD:7f1be5a930554ea5036d2c806aa752ae0b2de826"
meta = "HEAD:45c50169fa7e34349acf3e24fc19e573cbab4e65"
Sstate summary: Wanted 4111 Local 260 Mirrors 0 Missed 3851 Current 2088 (6% match, 37% complete)############################################################## | ETA: 0:00:05
Initialising tasks: 100% |#####################################################################################################################################################| Time: 0:01:20
NOTE: Executing Tasks
WARNING: tdx-oak-sensors-0082-r0 do_fetch: Failed to fetch URL https://files.toradex.com/Oak/Linux/OakLinux_0082.tar.bz2, attempting MIRRORS if available
ERROR: tdx-oak-sensors-0082-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/blee/Aquila_AM69/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/blee/Aquila_AM69/layers/openembedded-core/scripts:/home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/recipe-sysroot-native/usr/bin/aarch64-tdx-linux:/home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/recipe-sysroot/usr/bin/crossscripts:/home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/recipe-sysroot-native/usr/sbin:/home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/recipe-sysroot-native/usr/bin:/home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/recipe-sysroot-native/sbin:/home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/recipe-sysroot-native/bin:/home/blee/Aquila_AM69/layers/openembedded-core/bitbake/bin:/home/blee/Aquila_AM69/build/tmp/hosttools"; export HOME="/home/blee"; /usr/bin/env wget -t 2 -T 100 -O /home/blee/Aquila_AM69/downloads/OakLinux_0082.tar.bz2.tmp -P /home/blee/Aquila_AM69/downloads 'https://files.toradex.com/Oak/Linux/OakLinux_0082.tar.bz2' --progress=dot -v failed with exit code 8, see logfile for output
ERROR: tdx-oak-sensors-0082-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://files.toradex.com/Oak/Linux/OakLinux_0082.tar.bz2')
ERROR: Logfile of failure stored in: /home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/temp/log.do_fetch.1182504
ERROR: Task (/home/blee/Aquila_AM69/build/../layers/meta-toradex-demos/recipes-support/tdx-oak-sensors/tdx-oak-sensors_0082.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5511 tasks of which 5508 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 17 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 11 seconds
Summary: 1 task failed:
/home/blee/Aquila_AM69/build/../layers/meta-toradex-demos/recipes-support/tdx-oak-sensors/tdx-oak-sensors_0082.bb:do_fetch
log: /home/blee/Aquila_AM69/build/tmp/work/aarch64-tdx-linux/tdx-oak-sensors/0082/temp/log.do_fetch.1182504
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello! Thank you for providing the detailed log.
The build is failing at the fetch stage for the Oak Sensors package, specifically for the file OakLinux_0082.tar.bz2
from this URL:
https://files.toradex.com/Oak/Linux/OakLinux_0082.tar.bz2
This issue commonly occurs if:
- The URL is temporarily unavailable or the file has been moved/removed.
- There is a network or firewall issue preventing access to the file.
- No alternative mirror is configured.
Here are steps you can try to resolve the issue:
-
Check URL Accessibility
Open a browser or usewget
/curl
to see if the URL is accessible from your build machine:wget https://files.toradex.com/Oak/Linux/OakLinux_0082.tar.bz2
- If you receive a 404 or similar error, the file is not currently available on the server.
-
Check Your Network
- Ensure your machine has internet access (proxy/firewall settings?).
- Try again later in case of a transient server issue.
-
If the File is Unavailable:
- If the file is missing from the Toradex server (404 error), you may choose to temporarily remove the Oak Sensors package from your build if it’s not required for your project.
- Edit your image recipe or use
IMAGE_INSTALL:remove
in yourlocal.conf
to excludetdx-oak-sensors
:IMAGE_INSTALL:remove = "tdx-oak-sensors"
- Or comment out/remove the line including the Oak Sensors package in your image recipe.
-
Ensure Proper Build Setup
- Make sure your build environment is initialized:
. export
- Configure your local.conf for the correct machine:
MACHINE ?= "aquila-am69"
- Check you have enough disk space (120 GB recommended).
- Make sure your build environment is initialized:
For more guidance on building Toradex images with Yocto:
For more about Oak Sensors in legacy documentation:
Let me know if you need steps for customizing your image recipe to skip the Oak Sensors package, or if you’d like a general guide to building Toradex reference images!
Best regards, Toradex AI Assistant.
I just tested and I was able to get this file.
Failing to fetch some files due to network instability is a very common issue.
Have you tried to build the image again with a clean cache?
Yes, I got it.