About imx28 HAB

cancel
Showing results for 
Search instead for 
Did you mean: 

About imx28 HAB

Jump to solution
249 Views
bruce_chen
Contributor I

According AN4555 PDF file at the page 19 has like below message:

The first signature will be used with CALL HAB with offset 0x24 showing original

value ‘0’ and second signature used for authenticating linux_prep with JUMP HAB showing a

value of 1 at offset 0x24. We do this by first copying linux_prep, bin to linux_kernel.bin, then

manually modify byte 0x24 to 1 using a hex editor and include linux_kernel.bin in linux_kernel.csf

for signature generation.

cp linux_prep.bin linux_kernel.bin

using a hex editor set byte 0x24 to 1

These message what meaning?   How can i sure what offset byte is 0x24 and modify to 0?

Labels (1)
0 Kudos
1 Solution
149 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi bruce

meaning is described in the same part of text:

"

The execution flow can better be understood using Section 4.2,

“Sample boot descriptor file used for Linux kernel image.”

as example on can look at attached linux_ivt.db, from generated imx-bootlets

(prepare bootlets sources (in ltib/RPM/Build):

./ltib -m prep -p boot_stream.spec )

//----------------------------------------------------------

    // Prepare to boot Linux

    //----------------------------------------------------------

    load linux_prep;

    load ivt (entry = linux_prep:_start) > 0x8000;

    hab call 0x8000;

    //----------------------------------------------------------

    //  Load ans start Linux kernel

    //----------------------------------------------------------

    load zImage > 0x40008000;

    load ivt (entry = linux_prep:_start) > 0x8000;

    hab jump 0x8000;

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
150 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi bruce

meaning is described in the same part of text:

"

The execution flow can better be understood using Section 4.2,

“Sample boot descriptor file used for Linux kernel image.”

as example on can look at attached linux_ivt.db, from generated imx-bootlets

(prepare bootlets sources (in ltib/RPM/Build):

./ltib -m prep -p boot_stream.spec )

//----------------------------------------------------------

    // Prepare to boot Linux

    //----------------------------------------------------------

    load linux_prep;

    load ivt (entry = linux_prep:_start) > 0x8000;

    hab call 0x8000;

    //----------------------------------------------------------

    //  Load ans start Linux kernel

    //----------------------------------------------------------

    load zImage > 0x40008000;

    load ivt (entry = linux_prep:_start) > 0x8000;

    hab jump 0x8000;

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos