Hi,
I was trying to start bsp31-uboot with bootloader from " Platform_Software_Integration_S32G2XX_2022_06 " on s32g274a-vnp-rdb2, but the uboot won't start and board reset once reaching the following line in " BootloaderSpecific.c ":
Bl_StartApplication() -> REG_WRITE32(RGM_PRST(partition), resetCore);
I have built the bsp31-uboot in standalone mode (without Yocto), here's the output log:
MKIMAGE u-boot.s32
IVT: Offset: 0x0 Size: 0x100
IVT (duplicate): Offset: 0x1000 Size: 0x100
DCD: Offset: 0x1200 Size: 0x2000
AppBootCode Header: Offset: 0x3200 Size: 0x40
U-Boot/FIP: Offset: 0x3400 Size: 0xc0e7d
U-Boot Environment: Offset: 0x1e0000 Size: 0x2000
The file "uboot.s32" was programed to flash address 0x300000, the BootSource in Bootloader plugin was configured as follow (using information in IVT header) :
- Reset handler address: 0x340a0000
- Source address (in QSPI): 0x303240
- Load image at address (RAM): 0x3408fe40
Additional information:
- The uboot.s32 image could run with out problem if booting form SD card.
- I have also tried to load fip.s32 from bsp33-atf using same bootloader package, and it can work. But I need to use bsp31 now for some reason.
Please give me some advice, thank you.