[LX2160A] How can Secure Boot be properly implemented?”

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[LX2160A] How can Secure Boot be properly implemented?”

587 Views
DohwanAhn
Contributor II

We are using the LX2160ARDB and LSDK 20.04.
We are currently testing Secure Boot. When we flash the firmware_lx2160ardb_rev2_uboot_xspiboot_secure.img image generated using the command flex-builder -i auto -a arm64 -m lx2160ardb_rev2 and attempt to boot, no serial messages are displayed. What could be the cause of this issue?
Could you explain the correct procedure and debug method for applying Secure Boot?

Tags (1)
0 Kudos
Reply
3 Replies

426 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello, 

 

Did you build using the "-s" at the end of your flex-builder command? it is for secure boot images, please refer to the LSDK users guide. 

0 Kudos
Reply

411 Views
DohwanAhn
Contributor II

It seems that flex-builder automatically generates secure images when the option is "auto".(SECURE=y)

0 Kudos
Reply

202 Views
Oswalag
NXP TechSupport
NXP TechSupport

It is correct, please refer to section 5.1.1.2 Secure boot process in the LLDPUG, to check the flow and you can debug to define in which stage it fails, please also read chapter 5.1.1.3.1.3 ISBC validation error codes it shows some hunts of the issue in the boot process.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2270642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%5BLX2160A%5D%20How%20can%20Secure%20Boot%20be%20properly%20implemented%3F%E2%80%9D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2270642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20are%20using%20the%20LX2160ARDB%20and%20LSDK%2020.04.%3CBR%20%2F%3EWe%20are%20currently%20testing%20Secure%20Boot.%20When%20we%20flash%20the%20firmware_lx2160ardb_rev2_uboot_xspiboot_secure.img%20image%20generated%20using%20the%20command%20flex-builder%20-i%20auto%20-a%20arm64%20-m%20lx2160ardb_rev2%20and%20attempt%20to%20boot%2C%20no%20serial%20messages%20are%20displayed.%20What%20could%20be%20the%20cause%20of%20this%20issue%3F%3CBR%20%2F%3ECould%20you%20explain%20the%20correct%20procedure%20and%20debug%20method%20for%20applying%20Secure%20Boot%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BLX2160A%5D%20How%20can%20Secure%20Boot%20be%20properly%20implemented%3F%E2%80%9D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20seems%20that%20flex-builder%20automatically%20generates%20secure%20images%20when%20the%20option%20is%20%22auto%22.(SECURE%3Dy)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290613%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BLX2160A%5D%20How%20can%20Secure%20Boot%20be%20properly%20implemented%3F%E2%80%9D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290613%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EDid%20you%20build%20using%20the%20%22-s%22%20at%20the%20end%20of%20your%20flex-builder%20command%3F%20it%20is%20for%20secure%20boot%20images%2C%20please%20refer%20to%20the%20LSDK%20users%20guide.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2294431%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BLX2160A%5D%20How%20can%20Secure%20Boot%20be%20properly%20implemented%3F%E2%80%9D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2294431%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20is%20correct%2C%20please%20refer%20to%20section%26nbsp%3B%3CSTRONG%3E5.1.1.2%20Secure%20boot%20process%3C%2FSTRONG%3E%20in%20the%20LLDPUG%2C%20to%20check%20the%20flow%20and%20you%20can%20debug%20to%20define%20in%20which%20stage%20it%20fails%2C%20please%20also%20read%20chapter%26nbsp%3B%3CSTRONG%3E5.1.1.3.1.3%20ISBC%20validation%20error%20codes%26nbsp%3B%3C%2FSTRONG%3Eit%20shows%20some%20hunts%20of%20the%20issue%20in%20the%20boot%20process.%3C%2FP%3E%3C%2FLINGO-BODY%3E