Hello Experts,
We want to build a yocto image with "POKY" distro instead of "ARAGO" for AM62xx-EVM.
We follow the steps mention in https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/linux/Overview_Building_the_SDK.html
Run the following config:
./oe-layertool-setup.sh -f configs/poky-dunfell-config.txt
However, got the following error:
MACHINE=am62xx-evm bitbake core-image-base NOTE: Your conf/bblayers.conf has been automatically updated. NOTE: Your conf/bblayers.conf has been automatically updated. NOTE: Started PRServer with DBfile: /home/embedded/anil/ti_yocto/tisdk_temp/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45783, PID: 18075 Parsing recipes: 100% |##################################################################################################| Time: 0:00:11 Parsing of 1062 .bb files complete (0 cached, 1062 parsed). 3328 targets, 441 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'python3-cryptography-native' (but /home/embedded/anil/ti_yocto/tisdk_temp/sources/meta-arm/meta-arm/recipes-security/optee/optee-os_git.bb DEPENDS on or otherwise requires it). Close matches: python3-pycryptodome-native python3-pycryptodomex-native python3-rpm-native ERROR: Required build target 'core-image-base' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-base', 'virtual/bootloader', 'optee-os', 'python3-cryptography-native'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
From the error log, I can see that it required meta-python so I also tried adding
meta-openembedded,git://git.openembedded.org/meta-openembedded,dunfell,8ff12bf,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems
in the above config file.
By adding those layers, I am able to start the build and it works fine for other packages as well except "meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_compile" and "meta-arm/meta-arm/recipes-security/optee/optee-os_git.bb:do_compile".
further debugging, I am also able to resolve linux-ti-stagging error by adding "KERNEL_CLASSES += "kernel-fitimage" in local.conf
However, optee-os error still there. and not found any solutions. Please see attached file for yocto build logs.
poky-distro-build-error.txt
Can someone please guide me through the correct steps?
Thanks and Regards,
Anil Patel