Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Hi Tim,
For adding firmware files to the /var/ directory in your TEZI image during Yocto build, you have a couple of approaches available with TorizonCore Builder.
Approach 1: Using TorizonCore Builder with Filesystem Customization
The most straightforward approach is to use TorizonCore Builder’s filesystem customization feature. You can create a directory structure containing your firmware files and include it in your build configuration(1)(2).
Steps:
- Create your project directory structure(1):
.
├── firmware/
│ └── var/
│ └── your-firmware-files.bin
├── tcbuild.yaml
└── torizon-minimal-verdin-imx8mp-Tezi_X.X.X+build.X.tar
- Configure your tcbuild.yaml(2):
input:
easy-installer:
local: torizon-minimal-verdin-imx8mp-Tezi_X.X.X+build.X.tar
customization:
filesystem:
- firmware/
output:
easy-installer:
local: custom-torizon-minimal-verdin-imx8mp
name: "Torizon Minimal with M7 Firmware"
- Build the custom image(1):
torizoncore-builder build
Approach 2: Using the Isolate Command
If you have already configured your target device with the firmware files in the correct location, you can capture those changes(2):
- Capture configuration changes(2):
torizoncore-builder isolate --remote-host <DEVICE-IP> --remote-username torizon --remote-password torizon --changes-directory firmware-changes
- Include in your build configuration(2):
customization:
filesystem:
- firmware-changes/
Important Considerations
-
Directory Structure: The filesystem customization feature merges directory trees on top of the base image(2), so ensure your firmware directory structure matches exactly where you want the files placed (e.g., firmware/var/your-files)
-
File Permissions: Make sure your firmware files have the correct permissions before including them in the filesystem customization
-
Build Process: TorizonCore Builder runs inside a Docker container and only has access to files within your project directory(1), so ensure all firmware files are accessible within your working directory
This approach will create a TEZI image that includes your M7 firmware files in the /var/ directory, ready for production flashing.
Best regards,
Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.