Hi,
Recently, I tested secboot feature based on SDK BSP40, but got the following error:
root@nxp-s32g:~# hse-secboot -s -d /dev/mmcblk0 -k /boot/rsa2048_public.pem
[INFO]hse-uio 40210000.mu0b: device hse-uio v2.1 open, instances: 1
Setting up secure boot
libhse: initialized, firmware status 0x0920
[INFO] Retrieving IVT from device /dev/mmcblk0
[INFO] Enabling MUs
[INFO] Dhse-uio 40210000.mu0b: device hse-uio v2.1 released, instances: 0
id not find previous SYSIMG, formatting NVM and RAM key catalogs
[INFO] Importing RSA public key into NVM key catalog
[INFO] Generating Secure Memory Region entry
ERROR: invalid fip start offset!
[ERROR] Failed to allocate space for FIP header
ERROR: fip smr entry install failed!
libhse: closed
root@nxp-s32g:~#
root@nxp-s32g:~#
And the BSP39 works well.
So would you please help to check the issue?
Thanks,
Zhantao
This issue is fixed and the reason is no relationship with the public repo codes.
So I will close this ticket soon.
Thanks,
Zhantao
The error messages like "ERROR: invalid fip start offset!" is for debug to see the reason, so please ignore them on your side.
Thanks,
Zhantao