Hello, we are running into the following issue trying to install a lockbox via usb.
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: Initializing torizon-generic Secondaries…
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: Use existing SQL storage: “/var/sota/storage/bootloader/sql.db”
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: No valid Director metadata found in storage: Could not load latest root
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: No valid Image metadata found in storage: Could not load latest root
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: Adding Secondary with ECU serial: ae7024d84e1276af96bc1bc27d1559c7161cf98a25019f69b37ada968d3f0467 with hardware ID: apalis-imx8-bootloader
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: PROXY: initializing…
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: PROXY: using TCP port 8850.
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: Offline Updates are enabled
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: PROXY: starting thread.
Feb 13 16:47:06 apalis-imx8-15139216 aktualizr-torizon[1325]: PROXY: listening to connections…
Feb 13 16:47:20 apalis-imx8-15139216 aktualizr-torizon[1325]: fetchMetaOffUpd() called with source_path: “/media/USB/update”
Feb 13 16:47:20 apalis-imx8-15139216 aktualizr-torizon[1325]: Director metadata update failed: The root metadata was expired.
Feb 13 16:47:20 apalis-imx8-15139216 aktualizr-torizon[1325]: Event: UpdateCheckComplete, Result - Error
We are running the following setup:
- torizoncore-builder 3.12.0 on windows using wsl2. We create an application lockbox using:
- torizoncore-builder platform push --credentials credentials.zip --login dockerhub docker-compose.yml info
we then create the lockbox on the torizon web app and pull it down with:
torizoncore-builder platform lockbox --credentials credentials --platform linux/arm64(we also tried linux/arm64/v8) --login dockerhub info lockbox_name
Attempting to download this onto the unit via usb then fails with the above error
The docker-compose we are using is simple and attached.
output of tdx-info
Software summary
Bootloader: U-Boot
Kernel version: 5.15.148-6.8.1+git.1cbf48124747 #1-TorizonCore SMP PREEMPT Fri Dec 20 08:57:54 UTC 2024
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/d9a86c146753aa0e7149e11f723f9fa23662027469de6dc61801fe915381cc20/0
Distro name: NAME=“TorizonCore”
Distro version: VERSION_ID=6.8.1-build.25
Distro variant: VARIANT=“Docker”
Hostname: apalis-imx8-15139216
Hardware info
HW model: Toradex Apalis iMX8QM V1.1 on Apalis Ixora V1.2 Carrier Board
Toradex version: 0047 V1.1D
Serial number: 15139216
Processor arch: aarch64
I have done the following debugging steps:
- updated from torizoncore 6.5 to 6.8 as a base image via recovery mode.
- updated to newest torizoncore-builder 3.12.0
- ensured the proper credentials are being use by redownloading credentials.zip creating shared-data.tar.gz and moving it over to the board following the documentation.
- changed --platform flag to linux/arm64, linux/arm64/v8, and linux/armv7
- tried different lockboxes both application and base image related.
Thanks, Mike
docker-compose4.yml (1.3 KB)