I see that for TorizonCore 6 the device tree customization must be done cloning linux-toradex and device-trees-overlays repositories, because torizoncore-builder dt checkout
is not available for TorizonCore 6 (and it could be deprecated).
I was able to follow the KB and build my TC6 image with custom device trees, but the repos linux-toradex
and device-tree-overlays
are cloned as subfolders of TCP project folder
This means that I have to keep a copy of these folders under every TCB project folder, and their size is big.
I tried to move them out of the TCB folder, changing tcbuild.yaml
in the following way:
device-tree:
include-dirs:
- linux/include
- linux/arch/arm64/boot/dts/freescale
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
not the ../
prepended to the add:
section, but I can’t build TC6 image anymore because of an error cannot find ../device-trees/overlays/verdin-imx8mp_hdmi_overlay.dts
and so on.
Is there a way to move the two folders lout of the TCB project folder?