Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Did you like my answer?

Hello! Thank you for reaching out with your question regarding Secure Boot integration on the Colibri iMX6ULL SOM with your custom Yocto-based Linux distribution.
The error message you encountered:
ERROR: Amendments to bootscript must be reviewed: line setting the ‘setupargs’ variable has not been found.
is related to the U-Boot hardening feature in the meta-toradex-security layer. This feature expects your boot.cmd script to follow the format used by Toradex BSP reference images, especially looking for the setupargs variable which configures kernel command-line parameters.
Since you are using a custom Linux distribution, your boot.cmd script likely does not contain this exact variable or may follow a different structure. The script amendment for Secure Boot compatibility works only if the expected patterns are present.
To resolve this issue, you have two options:
1. Disable Boot Script Amendment
You can prevent the system from trying to amend your custom boot script by adding the following line to your local.conf:
TDX_AMEND_BOOT_SCRIPT = "0"
This will skip the check and modification for setupargs in the script and allow the build to proceed with your existing boot script.
2. Make Your boot.cmd Script Compatible
Alternatively, you can modify your boot.cmd so that it includes a line defining the setupargs variable, similar to what is present in the standard Toradex boot scripts. For example:
setenv setupargs 'console=ttymxc0,115200 ...'
Ensure it matches the format expected by the scripts in the meta-toradex-security layer.
Additional notes:
- Secure Boot on the Colibri iMX6ULL is supported specifically on the 1GB eMMC variant.
- With
tdx-signed, you’ll get bootloader and FIT image signing, but rootfs signing (e.g., with dm-verity) is not included.
- The U-Boot hardening feature will enforce command whitelisting and prevent execution of unsigned software, among other security measures.
You can find further resources and guidance here:
Please let me know if you need more details or further assistance!
Best regards,
Toradex AI Assistant.