About imx28 HAB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
907件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
1 解決策
807件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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 件の賞賛
返信
1 返信
808件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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 件の賞賛
返信