elftosb generates very large sb file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

elftosb generates very large sb file

687件の閲覧回数
RayCali
Contributor II

Hi i am trying to create an sb file for the rt1176 (coralmicro devboard) but when i do the resulting sb file is 100s of MB. Right now this is my bd file:

options {
flags = 0x00;
startAddress = 0x20000000;
ivtOffset = 0x400;
initialLoadSize = 0x2000;
}
sources {
elfFile = "coralmicro-app.stripped";
}
section (0) {
}

where coralmicro-app.stripped is my elf file

Thanks in advance!

best,
Ray

0 件の賞賛
返信
3 返答(返信)

654件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @RayCali 

Thank you for reaching out. 

I think I have seen this error on elftosb before, but I have not seen an actual solution. Today elftosb is deprecated and not maintained. It was replaced by the nxpimage tool, which is part of our SPSDK.

Easiest way to  use the NXP image is by using our MCUXpresso Secure Provisioning Tool. The GUI tool will autodetect the image start address and will create scripts that call the nxpimage, which does use your BD file. 

Could you please try with the nxpimage instead?

Diego

 

 

0 件の賞賛
返信

604件の閲覧回数
RayCali
Contributor II
Hi @diego_charles

So sorry for the late reply. I used elftosb since the coralmicro sdk was using it but i tried the MCUXpresso Secure Provisioning Tool and it actually gave me the same error right away, telling me that the size would be around 500mb.

Best,
Ray
0 件の賞賛
返信

589件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @RayCali 

Thank you for letting me know!

Would you be able to describe details about the image you gave to the tool and  share it ? We need to check if it is a bug , and what it is the cause. 

Diego

0 件の賞賛
返信