S32G399ARDB3 A core Booting issue

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

S32G399ARDB3 A core Booting issue

486 次查看
kavyapk
Contributor I

Hello,

 

In serial boot mode I am flashing Bootloader to QSPI at address 0,M core application bin file to '0x400000'

and  A core image Fip.bin to '200000' .

After flashing change it to NOR flash  mode and SD card is also loaded.where the SD card is having BSP image,Fip.s32-sdcard,dtb

M core is running,

and I am observing the below log

 

MicrosoftTeams-image (107).png

What could be the reason for this warning in BL33 .

 

 

Regards,

Kavya

0 项奖励
回复
3 回复数

467 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which BSP version are you using? Also, Have you modified anything under the BSP build process?

We can recommend taking as a reference AN13750, for the required modifications to the BSP in order to use it with the NXP bootloader example. Since AN13750 uses BSP33.0 as a reference, care should be taken when using a different BSP version on regards of the modifications/addresses.

As for the error, this is related to the addresses not being correct under the fip file.

Please, let us know.

0 项奖励
回复

323 次查看
kavyapk
Contributor I

1.BSP 40 is what we are using and nothing is modified

3 cases with RM enabled bootloader 

 

1.if we flash fip.s32 -sd card via QSPI ,we are getting kernel panic

[ 7.449208] systemd[1]: Starting Generate network units from Kernel command line...
St[ 7.457259] SError Interrupt on CPU4, code 0x00000000bf000000 -- SError
a[ 7.457272] CPU: 4 PID: 158 Comm: systemd-modules Not tainted 6.6.12-rt20-g649905a72693-dirty #1
r[ 7.457281] Hardware name: NXP S32G3 Reference Design Board (S32G-VNP-RDB3) (DT)
t[ 7.457286] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
i[ 7.457294] pc : __memset_io+0x60/0x98
n[ 7.457310] lr : llce_core_probe+0x21c/0x684 [llce_core]
g[ 7.457327] sp : ffffffc081abb7e0
[ 7.457330] x29: ffffffc081abb840 x28: 0000000000000005 x27: ffffffc081abbc00
x26: 0000000000000000 x25: 0000000000000005 x24: ffffffc079184060
[[ 7.457351] x23: 0000000000000000 x22: 0000000000000018 x21: ffffff880028ac10
0[ 7.457361] x20: 0000000000000001 x19: ffffff8800d56bc0 x18: ffffffffffffffff
;[ 7.457370] x17: 0000000000004000 x16: 00000000001d6c00 x15: 0000000000000000
1[ 7.457378] x14: 0000000000000001 x13: 0000000000000002 x12: 00000000000587a2
;[ 7.457388] x11: ffffffc081cd1000 x10: ffffffc282ff36d6 x9 : 0000000000000000
3[ 7.457397] x8 : 00000000000000c0 x7 : 0000000000000000 x6 : 00000000ffffffff
9[ 7.457406] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffffffc081ac4000
m[ 7.457414] x2 : 0000000000004000 x1 : 0000000000000000 x0 : ffffffc081ac04d8
G[ 7.457425] Kernel panic - not syncing: Asynchronous SError Interrupt
e[ 7.457429] SMP: stopping secondary CPUs
n[ 7.457439] Kernel Offset: disabled
e[ 7.457442] CPU features: 0x2,00000008,00020000,1000420b
r[ 7.457448] Memory Limit: none
a[ 7.594646] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---

3.For SD card boot  it is working properly .

4.If we flash GoldVIP Fip.32-sdcard,it is booting properly (ie,M core and A core running where M core application is a Autosar BSW application) .

 

0 项奖励
回复

306 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

As said before, we can recommend taking as a reference AN13750, for the required modifications to the BSP in order to use it with the NXP bootloader example. Since AN13750 uses BSP33.0 as a reference, care should be taken when using a different BSP version on regards of the modifications/addresses.

NXP bootloader needs to take the fip image aligned at 64 bits. The default image is set at 16 bits alignment.

More information is detailed either under the AN13750 or the Bootloader User Manual.

Please, let us know.

0 项奖励
回复