HAB & elf files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HAB & elf files

跳至解决方案
1,018 次查看
filipaben
Contributor I

Hello,

I was wondering to what extent the imx280 ROM bootloader needs the ELF file in a bootstream order to function and is

there any way around it?

We are using HABv4 (imx280) and for a single image it seems to require both the bin file and the elf file in the bd file.

I understand the necessity of the bin file in order to cover padding for the signing, but why is the elf file necessary

if we're specifying the load/call addresses ourselves in the bd file ?

It doesn't seem to work in a cold boot. It only works if we first load a 'proper' image and then load the elf-less bootstream

in USB recovery without removing power. Might be due to residual data in SRAM.

Thanks,

Filip Aben

标签 (1)
0 项奖励
回复
1 解答
827 次查看
FareedMohammed
NXP Employee
NXP Employee

Dear Filip Aben,

Hi, I believe you are referring to the sample code provided in the MX28 security app note where the BD file shows both BIN and ELF with load commands. If we are loading BIN then there should be no reason to load ELF. It was an oversight on my part when I was working on the app note. I went back, removed the load ELF part from the BD file and regenerated the u-boot.sb file and see no issue booting u-boot on i.MX28 EVK board.

Thanks

Fareed

在原帖中查看解决方案

0 项奖励
回复
1 回复
828 次查看
FareedMohammed
NXP Employee
NXP Employee

Dear Filip Aben,

Hi, I believe you are referring to the sample code provided in the MX28 security app note where the BD file shows both BIN and ELF with load commands. If we are loading BIN then there should be no reason to load ELF. It was an oversight on my part when I was working on the app note. I went back, removed the load ELF part from the BD file and regenerated the u-boot.sb file and see no issue booting u-boot on i.MX28 EVK board.

Thanks

Fareed

0 项奖励
回复