Not able to build Goldvip image and its failing in pkcs_hse . getting below error
Also let me know the link for HSE firmware which has to kept locally while building the image
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/Goldvip/nxp-yocto-goldvip/sources/poky/meta/recipes-devtools/gcc/gcc-cross_10.2.bb:do_populate_sysroot', 'virtual:native:/Goldvip/nxp-yocto-goldvip/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/Goldvip/nxp-yocto-goldvip/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb:do_populate_sysroot', '/Goldvip/nxp-yocto-goldvip/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/Goldvip/nxp-yocto-goldvip/sources/meta-alb/dynamic-layers/core/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/Goldvip/nxp-yocto-goldvip/sources/poky/meta/recipes-core/glibc/glibc_2.32.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gcc-cross-aarch64', 'patch-native', 'gcc-runtime', 'quilt-native', 'pseudo-native', 'glibc', 'linux-libc-headers', 'automake-native', 'libtool-native', 'flex-native', 'mpfr-native', 'xz-native', 'texinfo-dummy-native', 'libmpc-native', 'binutils-cross-aarch64', 'gnu-config-native', 'autoconf-native', 'zlib-native', 'gmp-native', 'attr-native', 'libgcc', 'm4-native', 'gettext-minimal-native', 'bison-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat '/Goldvip/nxp-yocto-goldvip/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/pkcs11-hse/1.0-r0/git/libpkcs-hse.so': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/Goldvip/nxp-yocto-goldvip/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/pkcs11-hse/1.0-r0/temp/run.do_install.3433577' failed with exit code 1:
| install: cannot stat '/Goldvip/nxp-yocto-goldvip/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/pkcs11-hse/1.0-r0/git/libpkcs-hse.so': No such file or directory
| WARNING: exit code 1 from a shell command.
Hello,
The HSE FW can be downloaded from your NXP account. Please refer to the 2.2 Software prerequisites chapter from the GoldVIP for S32G2 User Manual for the exact HSE FW version you have to download.
Regarding the error, please run $ bitbake -c cleansstate pkcs11-hse && bitbake fsl-image-goldvip to start (again) from scratch the build for this package. Please let us know whether this fixes anything.
Regards,
George
Thanks for the solution , able to build the image now . But the image is not booting on NXP S32G . Getting the below logs
Bootloader started
Load application id 0 fragment id 0 of size 1048576 from 0x101240 flash address, time: 5.624 milliseconds
Load application id 1 fragment id 0 of size 3145728 from 0x300000 flash address, time: 16.817 milliseconds
NOTICE: Reset status: Error
NOTICE: BL2: v2.5(release):bsp33.0.hf1-2.5-dirty
NOTICE: BL2: Built : 13:13:01, Aug 11 2022
Warning: Instruction at BL33_ENTRYPOINT (0xffaa0000) is 0x0, which is not a B or BL!
NOTICE: BL2: Booting BL31
Hi,
The internal team has the following comments on regards of "Warning: Instruction at BL33_ENTRYPOINT (0xffaa0000) is 0x0, which is not a B or BL!":
"According to the log information, the A53_0 core was successfully released by bootloader.The address of entry_point of uboot seems to be incorrect.
The issue may be caused by incorrect fip.bin, I suggest the customer checking the building procedure during building ATF and uboot, and have a try to directly boot ATF (fip.s32, not use bootloader) and check if the uboot boot successfully."
Please, let us know if this information was helpful or not.