Torizon Core 7.1.0 build error with tdx-signed

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

It seems you’re encountering build errors with Torizon Core 7.0.0 and 7.1.0 when using the ‘tdx-signed’ class, which were not present in version 6.8.0. The errors are related to patch application failures in U-Boot, likely due to changes in the U-Boot version used in Torizon Core 7.x.

To address these issues, consider the following steps:

  1. Patch Compatibility: Ensure that the patches applied to U-Boot are compatible with the version being used. The error indicates that the patch 0001-bootm-don-t-use-HAB-to-authenticate-FIT-image.patch is failing. This might be due to changes in the U-Boot source code that make the patch incompatible.

  2. Refreshing Patches: You can try refreshing the patches to ensure they apply cleanly to the new U-Boot version. This involves updating the patch context lines to match the current source code. The devtool command in Yocto can assist with this:

    • Use devtool modify u-boot-toradex to set up a workspace.
    • Apply the patch manually and resolve any conflicts.
    • Use devtool finish --force-patch-refresh u-boot-toradex <layer_path> to update the patch.
  3. Check for Updates: Verify if there are any updates or new patches from Toradex that address these issues. Sometimes, the meta layers are updated to fix such compatibility problems.

  4. Review Configuration: Double-check your local.conf and other configuration files to ensure they are set up correctly for the new version.

By following these steps, you should be able to resolve the patch application errors and successfully build Torizon Core 7.x with Secure Boot enabled.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Secure boot using IMX8MP and Mallow board V1.1.