elftosb command file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,300件の閲覧回数
rans
Senior Contributor I

Hello,

I try to understand elftosb command file.

Is there a documentation which defines how to sef the values in the command file ? I did not find these in the elftosb user guide.

For example: how to set startAddress , initialLoadSize , entryPointArdress?

options {
flags = 0x00;
startAddress = 0x8000;
ivtOffset = 0x400;
initialLoadSize = 0x2000;
entryPointArdress=0x0000A000;
}

Another question related to mfgtool/elftosb:

Is it that elftosb adds IVT header (not only FCB) ?

Thank you,

ranran

1 解決策
2,860件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi ranran

for bd file documentation one can refer to attached MCU Manufacturing User's Guide.
IVT structure is fixed and predefined. The needed information needs to be provided in
the .bd file while running elftosb command. If related information isn't provided, the tool
will use default value for it.

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

元の投稿で解決策を見る

2 返答(返信)
2,860件の閲覧回数
jay_heng
NXP Employee
NXP Employee

You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)

GitHub - JayHeng/nxp-sec-boot-ui: A one-stop GUI tool to work with NXP MCU (Kinetis, i.MXRT, LPC) RO... 

0 件の賞賛
2,861件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi ranran

for bd file documentation one can refer to attached MCU Manufacturing User's Guide.
IVT structure is fixed and predefined. The needed information needs to be provided in
the .bd file while running elftosb command. If related information isn't provided, the tool
will use default value for it.

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