No IVT header in u-boot that built using bsp33.0/32.0, but using bsp28.0 is existed

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

No IVT header in u-boot that built using bsp33.0/32.0, but using bsp28.0 is existed

542 次查看
starface42
Contributor II

Hello all,

I'm using s32g274ardb2 and fusing bootloader(built with bsp28.0) as below

dd if=u-boot-sdcard-2020.04-r0.s32 of=/dev/mmcblk0

after reboot, u-boot is working well. (of course partition table is broken)

 

but using other version(bsp32.0, 33.0) u-boot IMG is not working.

so, I check with hexdump and I found that IVT is not exist in bsp32.0's u-boot IMG.

 

How can I build u-boot IMG included IVT in bsp32.0(or higher) case?

Is any step to including IVT?

# u-boot build step is below

repo init -u https://source.codeaurora.org/external/autobsps32/auto_yocto_bsp -b release/bsp28.0 (or bsp32.0, bsp33.0)

...

./sources/meta-alb/scripts/host-prepare.sh

source nxp-setup-alb.sh -m s32g274ardb2

 

bitbake u-boot

 

bsp28.0's output  : u-boot-sdcard-2020.04-r0.s32

bsp32.0's output : u-boot-sdcard-2020.04-r0.bin (no IVT)

bsp33.0's output : u-boot-nodtb.bin-sdcard (no u-boot header??)

 

Thank you!

0 项奖励
1 回复

514 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello starface,

You need S32 Development Studio with support to S32G2 processors installed to
generate IVT for M7 cores. Automotive BSP cannot do it, it has no support to M7 cores.
Familiarize yourself with the document at this link, slides 3 through 24 to see how to
create a bootable image for M7 core. That includes IVT generation.

Hope this helps,

 

0 项奖励