Hi
Im trying to build a custom image and flash it via SSH directly onto the board.
Doc: TorizonCore Builder - Workflow | Toradex Developer Center
I inherit from the following:
input:
easy-installer:
local: images/torizon-core-docker-verdin-imx8mp-Tezi_6.2.0+build.2.tar
The output is defined as follows:
output:
easy-installer:
local: images/torizon-core-docker-verdin-imx8mp-Tezi_6.2.0+build.2.CUSTOM1
name: "My customized image V1.0"
Steps:
- torizoncore-builder build --force --file tcbuild.yaml
- After the successful build, the doc suggests to “unpack” my custom image, but it is already unpacked:
images$ tree
.
├── torizon-core-docker-verdin-imx8mp-Tezi_6.2.0+build.2.CUSTOM1
│ ├── image.json
│ ├── imx-boot
│ ├── LA_OPT_NXP_SW.html
│ ├── marketing.tar
│ ├── prepare.sh
│ ├── toradexlinux.png
│ ├── torizon-core-docker-verdin-imx8mp.ota.tar.zst
│ ├── u-boot-initial-env-sd
│ └── wrapup.sh
└── torizon-core-docker-verdin-imx8mp-Tezi_6.2.0+build.2.tar
- I ignore the “unpack” step and try to flash it to the board via SSH
torizoncore-builder deploy --remote-host <IP> --remote-username torizon --remote-password <PASSWORD> --reboot
After doing so it seems i have flashed the “torizon-core-docker-verdin-imx8mp-Tezi_6.2.0+build.2.tar” (Base image) instead of my custom image…
Q1: How does the “deploy” command know which image it is supposed to deploy? there is no argument i can pass?!
Q2: What am i doing wrong here?
Q3: Does the deploy step expect a *.tar file or a “unpacked directory”?
Q4: is there an opposite to “unpack” or is this simply creating a tar file myself of the output directory?