Automation of Secure boot

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

Automation of Secure boot

1,230 Views
gthorat149
Contributor I

Hello ,

For Secure boot in iMX8MN i generated flash.bin and in flash.bin i add csf.bin and generated signed_flash.bin.

I also added csf.bin in fitImage and generated Image-signed.bin.

log of fitImage is bellow ,

ccu=> hab_auth_img 0x44000000 0x245c7ec 0x0245BBB8
hab fuse not enabled

Authenticate image from DDR location 0x44000000...

Secure boot disabled

HAB Configuration: 0xf0, HAB State: 0x66
No HAB Events Found!

ccu=>

My question is ...

when i flash this two binary signed_flash.bin and Image-signed.bin on device. on boot teminal i add hab_auth_img command. but i want add this command in u-boot so my u-boot automatically will take Image. no need put  hab_auth_img command manually on u-boot terminal. 

so how i can do automatic this thing through u-boot or where i modifies u-boot so this automatic things happen?

 

Labels (1)
0 Kudos
0 Replies