Hello,
I am trying to build a minimal secure boot exmple for an i.MX8 ULP EVK board using these commands
# repo init -uhttps://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.23-2.0.0_security-reference-design.xml
# DISTRO=fsl-imx-wayland MACHINE=imx8ulp-lpddr4-evk source imx-setup-release.sh -b buil
echo "CST_PATH = \"/my/path/to/cst-3.4.1\"" >> conf/local.conf
# bitbake core-image-minimal-secure-boo
I have generated the certs and keys with CST.
I am seeing this error:
ERROR: cargo-native-1.75.0-r0 do_compile: ExecutionError('/home/ddresser/src/imx-yocto-bsp-secureboot/build/tmp/work/x86_64-linux/cargo-native/1.75.0/temp/run.do_compile.19360', 101, None, None)
ERROR: Logfile of failure stored in: /home/ddresser/src/imx-yocto-bsp-secureboot/build/tmp/work/x86_64-linux/cargo-native/1.75.0/temp/log.do_compile.19360
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: Using rust targets from /home/ddresser/src/imx-yocto-bsp-secureboot/build/tmp/work/x86_64-linux/cargo-native/1.75.0/rust-targets/
| NOTE: cargo = /home/ddresser/src/imx-yocto-bsp-secureboot/build/tmp/work/x86_64-linux/cargo-native/1.75.0/cargo-1.74.0-x86_64-unknown-linux-gnu/bin/cargo
| NOTE: /home/ddresser/src/imx-yocto-bsp-secureboot/build/tmp/work/x86_64-linux/cargo-native/1.75.0/cargo-1.74.0-x86_64-unknown-linux-gnu/bin/cargo build -v --frozen --target x86_64-unknown-linux-gnu --release --manifest-path=/home/ddresser/src/imx-yocto-bsp-secureboot/build/tmp/work/x86_64-linux/cargo-native/1.75.0/rustc-1.75.0-src/src/tools/cargo//Cargo.toml
| error: could not execute process `rustc -vV` (never executed)
|
| Caused by:
| Exec format error (os error
| WARNING: exit code 101 from a shell command.
ERROR: Task (virtual:native:/home/ddresser/src/imx-yocto-bsp-secureboot/sources/poky/meta/recipes-devtools/rust/cargo_1.75.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2232 tasks of which 2231 didn't need to be rerun and 1 failed.Summary: 1 task failed:
virtual:native:/home/ddresser/src/imx-yocto-bsp-secureboot/sources/poky/meta/recipes-devtools/rust/cargo_1.75.0.bb:do_compile
I have tried cleaning and rebuilding cargo-native and rust with the same results. Any suggestions are appreciated. Thanks.