I tried to create an ApolloX TCB project that rebuilds the “TorizonCore with Evaluation Container” 6.3.0-devel-202305+build.7.container for Verdin iMX8M-Plus.
- I cloned
device-treesrepos as described here
- I downloaded the binaries of TorizonCore from the above link and I installed it on the SoM
- I copied
docker-compose.yamlfrom the SoM into TCB project on my PC
- I changed
tcbuild.yamlin this way (I suppose it is how it should be to build “TorizonCore with Evaluation Container”, but I added the
# Documentation https://developer.toradex.com/torizon/os-customization/torizoncore-builder-workflow/#customizing-the-configuration-file # Configuration file outline: # ⚠️ Mouse hover to the properties to see documentation # ⚠️ ctrl+space inside a object or property to get the autocompletion tips input: # Input section items (required). # ⚠️ change it for your needs easy-installer: toradex-feed: version: "6.3.0" release: monthly machine: verdin-imx8mp distro: torizon variant: torizon-core-docker build-number: 7 build-date: 202305 customization: # Customization section items. splash-screen: splashScreen.png device-tree: include-dirs: - linux/include custom: linux/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts overlays: add: - device-trees/overlays/verdin-imx8mp_hdmi_overlay.dts - device-trees/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts - device-trees/overlays/verdin-imx8mp_spidev_overlay.dts - device-trees/overlays/verdin-imx8mp_hmp_overlay.dts output: # Output section items (required). # ⚠️ change it for your needs easy-installer: local: tcbhmp-TCB-CUSTOM3 bundle: compose-file: docker-compose.yml ostree: branch: tcb-hmp commit-subject: tcbhmp
- I run
tcb-buildtask from ApolloX and the image is built
- when I install it on the SoM, it cannot boot with the error below:
Applying Overlay: verdin-imx8mp_hmp_overlay.dtbo 2503 bytes read in 2 ms (1.2 MiB/s) 13348705 bytes read in 43 ms (296.1 MiB/s) 11600629 bytes read in 38 ms (291.1 MiB/s) Uncompressing Kernel Image ## Flattened Device Tree blob at 50200000 Booting using the fdt blob at 0x50200000 ERROR: Failed to allocate 0x3a000 bytes below 0x100000000. device tree - allocation error FDT creation failed! resetting ...
and this is the issue reported here.
After the fixI can build the image.
- is my
tcbuild.yamlthe right one?
- Is it possible to configure
fdt_highis set automatically during the build?