HAB on iMX6

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

HAB on iMX6

722 Views
saisuryanarayan
Contributor I

Hi freescale team,

I forgot to mention one more this when i add the following lines

to my CSF file i am getting HAB events.If i remove these lines no HAN

events are coming.

*Verification index = 2Blocks = 0x00910000 0x2C 0x13A

"U-Boot-pad.bin"*

In many freescale community threads i have observed that these lines were

added to CSF files.

With Warm Regards,

Sai Suryanarayan S

VVDN Technologies Pvt. Ltd.

*Cell : *+91 8867185975 | Skype : Suryanarayan sarabu

0 Kudos
Reply
1 Reply

524 Views
Yuri
NXP Employee
NXP Employee

From Mx6 HAB (High Assurance Boot)


    6.2 Build uboot.bin with mfg config, create u-boot-mfg folder in BLN_CST_MAIN_02.00.00, copy u-boot.bin to u-boot-mfg folder. The u-boot.bin size in this example is 0x26F50, pad it to 0x27000. The CSF description file is similar to the one in step 3, except [Authenticate Data] field since the special mfgtool behavior in step 6.1. The example in AN4581 has one typo error, the correct example is

           [Authenticate Data]

           Verification index = 2

           Blocks = 0x27800400 0x400 0x26C00 "u-boot-pad.bin", \

                   0x00910000 0x42c 0x2a0 "u-boot-pad.bin"

       0x42c is the pointer of DCD table, 0x2a0 is the size of DCD table, you can get it in dcd_hdr in flash_header.S. You need to modify 0x26C00 and 0x2a0 according to your uboot.bin size and DCD table size.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply