S32G2 Linux BSP44 Boot Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G2 Linux BSP44 Boot Issue

693 Views
jason
NXP Employee
NXP Employee

How do I interpret the BL31 Error Log below when my device unable to boot from Linux BSP44 :

NOTICE: Reset status: Power-On Reset
NOTICE: BL2: v2.10.14(release):bsp44.0_rc11-2.10.14
NOTICE: BL2: Built : 08:13:32, May 13 2025
NOTICE: BL2: Booting BL31
= 0x00000000ff624180
x0 = 0xfffffffffffffffd
x1 = 0x00000000ff624088
x2 = 0x00000000ff600000
x3 = 0x000000000001bfff
x4 = 0x000000000001c000
x5 = 0x00000000ff61bfff
x6 = 0x00000000342f8000
x7 = 0x000000000000000d
x8 = 0x0000000000000000
x9 = 0x0000000034301fff
x10 = 0x00000000342f8000
x11 = 0x000000000000a000
x12 = 0x00000000ff6316b0
x13 = 0x00000000ff616060
x14 = 0x00000000ff615a90
x15 = 0x0000000000000034
x16 = 0x0000000000000000
x17 = 0x0000000000000000
x18 = 0x00000000342f8000
x19 = 0x00000000ff624158
x20 = 0x00000000ff624180
x21 = 0x00000000ff61f018
x22 = 0x00000000ff600000
x23 = 0x0000000000000000
x24 = 0x0000000000000000
x25 = 0x0000000000000000
x26 = 0x0000000000000000
x27 = 0x0000000000000000
x28 = 0x0000000000000000
x29 = 0x00000000ff624130
scr_el3 = 0x0000000000000238
sctlr_el3 = 0x0000000030cd183a
cptr_el3 = 0x0000000080000400
tcr_el3 = 0x000000008081351c
daif = 0x00000000000003c0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x00000000200002cc
elr_el3 = 0x00000000ff624180
ttbr0_el3 = 0x0000000034322e00
esr_el3 = 0x0000000002000000
far_el3 = 0x0000000000000000
spsr_el1 = 0x0000000000000000
elr_el1 = 0x0000000000000000
spsr_abt = 0x0000000000000000
spsr_und = 0x0000000000000000
spsr_irq = 0x0000000000000000
spsr_fiq = 0x0000000000000000
sctlr_el1 = 0x0000000000c50838
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000300000
csselr_el1 = 0x0000000000000000
sp_el1 = 0x0000000000000000
esr_el1 = 0x0000000000000000
ttbr0_el1 = 0x0000000000000000
ttbr1_el1 = 0x0000000000000000
mair_el1 = 0x44e048e000098aa4
amair_el1 = 0x0000000000000000
tcr_el1 = 0x0000000000000000
tpidr_el1 = 0x0000000000000000
tpidr_el0 = 0x0000000000000000
tpidrro_el0 = 0x0000000000000000
par_el1 = 0x0000000000000000
mpidr_el1 = 0x0000000080000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000000
cntp_cval_el0 = 0x0000000000000000
cntv_ctl_el0 = 0x0000000000000000
cntv_cval_el0 = 0x0000000000000000
cntkctl_el1 = 0x0000000000000000
sp_el0 = 0x00000000ff624080
isr_el1 = 0x0000000000000000
dacr32_el2 = 0x0000000000000000
ifsr32_el2 = 0x0000000000000000
cpuectlr_el1 = 0x0000000000000040
cpumerrsr_el1 = 0x0000000000000000
l2merrsr_el1 = 0x00000000102c2020
cpuactlr_el1 = 0x00001000090ca000

0 Kudos
Reply
4 Replies

575 Views
RaduBraga
NXP Employee
NXP Employee

Hello @jason , 
A copy of the case has been created on AP Software Support and the development team will provide support here: 
Copy: S32G2 Linux BSP44 Boot Issue - NXP Community

 

0 Kudos
Reply

677 Views
chenyin_h
NXP Employee
NXP Employee

Hi, Jason

Thanks for your post.

1. May I know which kind of reference board you are working with? it is RDB2, EVB or EVB3?

2. Also what is the version of your board, whether Rev2.0 or 2.1 SOC is attached?

3. The booting image is from the pre-built images downloaded from the official site or built from Yocto release on your host?

Thanks.

BR

Chenyin

 

0 Kudos
Reply

672 Views
jason
NXP Employee
NXP Employee

This is the details for my setup:

SoC: NXP S32G274A rev. 2.1
CPU: ARM Cortex-A53 r0p4 @ max 1000 MHz
Model: NXP S32G2XXX-EVB3

The booting image is from the pre-built images downloaded from official site.

NOTICE: BL2: v2.10.14(release):bsp44.0_rc11-2.10.14
NOTICE: BL2: Built : 08:13:32, May 13 2025
NOTICE: BL2: Booting BL31U-Boot 2022.04+g9a00323278+p0 (May 13 2025 - 06:57:56 +0000)

For your information, this image fails to boot up on 1 of my rev 2.1 device and having this error log. What information stated in this error log and how should i debug it further.

 

 

0 Kudos
Reply

662 Views
chenyin_h
NXP Employee
NXP Employee

Hi, @jason 

Thanks for your reply.

1. I have tested it on my end, and it seems correct on my EVB3

2. I noticed that you mentioned the issue is found from 1 of your board, so the same images could work fine on your other board?

3.I built one TFA manually and checked the map of it, according to both map file and the log you provided,  the initial thoughts is that the issue is related with ddr accessing, may I know if the other BSP images could work fine on this specific board?

 

BR

Chenyin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2133289%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G2%20Linux%20BSP44%20Boot%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133289%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHow%20do%20I%20interpret%20the%20BL31%20Error%20Log%20below%20when%20my%20device%20unable%20to%20boot%20from%20Linux%20BSP44%20%3A%3C%2FP%3E%0A%3CP%3ENOTICE%3A%20Reset%20status%3A%20Power-On%20Reset%3CBR%20%2F%3ENOTICE%3A%20BL2%3A%20v2.10.14(release)%3Absp44.0_rc11-2.10.14%3CBR%20%2F%3ENOTICE%3A%20BL2%3A%20Built%20%3A%2008%3A13%3A32%2C%20May%2013%202025%3CBR%20%2F%3ENOTICE%3A%20BL2%3A%20Booting%20BL31%3CBR%20%2F%3E%3D%200x00000000ff624180%3CBR%20%2F%3Ex0%20%3D%200xfffffffffffffffd%3CBR%20%2F%3Ex1%20%3D%200x00000000ff624088%3CBR%20%2F%3Ex2%20%3D%200x00000000ff600000%3CBR%20%2F%3Ex3%20%3D%200x000000000001bfff%3CBR%20%2F%3Ex4%20%3D%200x000000000001c000%3CBR%20%2F%3Ex5%20%3D%200x00000000ff61bfff%3CBR%20%2F%3Ex6%20%3D%200x00000000342f8000%3CBR%20%2F%3Ex7%20%3D%200x000000000000000d%3CBR%20%2F%3Ex8%20%3D%200x0000000000000000%3CBR%20%2F%3Ex9%20%3D%200x0000000034301fff%3CBR%20%2F%3Ex10%20%3D%200x00000000342f8000%3CBR%20%2F%3Ex11%20%3D%200x000000000000a000%3CBR%20%2F%3Ex12%20%3D%200x00000000ff6316b0%3CBR%20%2F%3Ex13%20%3D%200x00000000ff616060%3CBR%20%2F%3Ex14%20%3D%200x00000000ff615a90%3CBR%20%2F%3Ex15%20%3D%200x0000000000000034%3CBR%20%2F%3Ex16%20%3D%200x0000000000000000%3CBR%20%2F%3Ex17%20%3D%200x0000000000000000%3CBR%20%2F%3Ex18%20%3D%200x00000000342f8000%3CBR%20%2F%3Ex19%20%3D%200x00000000ff624158%3CBR%20%2F%3Ex20%20%3D%200x00000000ff624180%3CBR%20%2F%3Ex21%20%3D%200x00000000ff61f018%3CBR%20%2F%3Ex22%20%3D%200x00000000ff600000%3CBR%20%2F%3Ex23%20%3D%200x0000000000000000%3CBR%20%2F%3Ex24%20%3D%200x0000000000000000%3CBR%20%2F%3Ex25%20%3D%200x0000000000000000%3CBR%20%2F%3Ex26%20%3D%200x0000000000000000%3CBR%20%2F%3Ex27%20%3D%200x0000000000000000%3CBR%20%2F%3Ex28%20%3D%200x0000000000000000%3CBR%20%2F%3Ex29%20%3D%200x00000000ff624130%3CBR%20%2F%3Escr_el3%20%3D%200x0000000000000238%3CBR%20%2F%3Esctlr_el3%20%3D%200x0000000030cd183a%3CBR%20%2F%3Ecptr_el3%20%3D%200x0000000080000400%3CBR%20%2F%3Etcr_el3%20%3D%200x000000008081351c%3CBR%20%2F%3Edaif%20%3D%200x00000000000003c0%3CBR%20%2F%3Emair_el3%20%3D%200x00000000004404ff%3CBR%20%2F%3Espsr_el3%20%3D%200x00000000200002cc%3CBR%20%2F%3Eelr_el3%20%3D%200x00000000ff624180%3CBR%20%2F%3Ettbr0_el3%20%3D%200x0000000034322e00%3CBR%20%2F%3Eesr_el3%20%3D%200x0000000002000000%3CBR%20%2F%3Efar_el3%20%3D%200x0000000000000000%3CBR%20%2F%3Espsr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Eelr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Espsr_abt%20%3D%200x0000000000000000%3CBR%20%2F%3Espsr_und%20%3D%200x0000000000000000%3CBR%20%2F%3Espsr_irq%20%3D%200x0000000000000000%3CBR%20%2F%3Espsr_fiq%20%3D%200x0000000000000000%3CBR%20%2F%3Esctlr_el1%20%3D%200x0000000000c50838%3CBR%20%2F%3Eactlr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Ecpacr_el1%20%3D%200x0000000000300000%3CBR%20%2F%3Ecsselr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Esp_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Eesr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Ettbr0_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Ettbr1_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Emair_el1%20%3D%200x44e048e000098aa4%3CBR%20%2F%3Eamair_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Etcr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Etpidr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Etpidr_el0%20%3D%200x0000000000000000%3CBR%20%2F%3Etpidrro_el0%20%3D%200x0000000000000000%3CBR%20%2F%3Epar_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Empidr_el1%20%3D%200x0000000080000000%3CBR%20%2F%3Eafsr0_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Eafsr1_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Econtextidr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Evbar_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Ecntp_ctl_el0%20%3D%200x0000000000000000%3CBR%20%2F%3Ecntp_cval_el0%20%3D%200x0000000000000000%3CBR%20%2F%3Ecntv_ctl_el0%20%3D%200x0000000000000000%3CBR%20%2F%3Ecntv_cval_el0%20%3D%200x0000000000000000%3CBR%20%2F%3Ecntkctl_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Esp_el0%20%3D%200x00000000ff624080%3CBR%20%2F%3Eisr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3Edacr32_el2%20%3D%200x0000000000000000%3CBR%20%2F%3Eifsr32_el2%20%3D%200x0000000000000000%3CBR%20%2F%3Ecpuectlr_el1%20%3D%200x0000000000000040%3CBR%20%2F%3Ecpumerrsr_el1%20%3D%200x0000000000000000%3CBR%20%2F%3El2merrsr_el1%20%3D%200x00000000102c2020%3CBR%20%2F%3Ecpuactlr_el1%20%3D%200x00001000090ca000%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2138443%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Linux%20BSP44%20Boot%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138443%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13618%22%20target%3D%22_blank%22%3E%40jason%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CBR%20%2F%3EA%20copy%20of%20the%20case%20has%20been%20created%20on%20AP%20Software%20Support%20and%20the%20development%20team%20will%20provide%20support%20here%3A%26nbsp%3B%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FAP-Software-Support%2FCopy-S32G2-Linux-BSP44-Boot-Issue%2Ftd-p%2F2138432%22%20target%3D%22_blank%22%3ECopy%3A%20S32G2%20Linux%20BSP44%20Boot%20Issue%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133756%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Linux%20BSP44%20Boot%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133756%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13618%22%20target%3D%22_blank%22%3E%40jason%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%0A%3CP%3E1.%20I%20have%20tested%20it%20on%20my%20end%2C%20and%20it%20seems%20correct%20on%20my%20EVB3%3C%2FP%3E%0A%3CP%3E2.%20I%20noticed%20that%20you%20mentioned%20the%20issue%20is%20found%20from%201%20of%20your%20board%2C%20so%20the%20same%20images%20could%20work%20fine%20on%20your%20other%20board%3F%3C%2FP%3E%0A%3CP%3E3.I%20built%20one%20TFA%20manually%20and%20checked%20the%20map%20of%20it%2C%20according%20to%20both%20map%20file%20and%20the%20log%20you%20provided%2C%26nbsp%3B%26nbsp%3Bthe%20initial%20thoughts%20is%20that%20the%20issue%20is%20related%20with%20ddr%20accessing%2C%20may%20I%20know%20if%20the%20other%20BSP%20images%20could%20work%20fine%20on%20this%20specific%20board%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Linux%20BSP44%20Boot%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20is%20the%20details%20for%20my%20setup%3A%3C%2FP%3E%0A%3CP%3ESoC%3A%20NXP%20S32G274A%20rev.%202.1%3CBR%20%2F%3ECPU%3A%20ARM%20Cortex-A53%20r0p4%20%40%20max%201000%20MHz%3CBR%20%2F%3EModel%3A%20NXP%20S32G2XXX-EVB3%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20booting%20image%20is%20from%20the%20pre-built%20images%20downloaded%20from%20official%20site.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENOTICE%3A%20BL2%3A%20v2.10.14(release)%3Absp44.0_rc11-2.10.14%3CBR%20%2F%3ENOTICE%3A%20BL2%3A%20Built%20%3A%2008%3A13%3A32%2C%20May%2013%202025%3CBR%20%2F%3ENOTICE%3A%20BL2%3A%20Booting%20BL31U-Boot%202022.04%2Bg9a00323278%2Bp0%20(May%2013%202025%20-%2006%3A57%3A56%20%2B0000)%3C%2FP%3E%0A%3CP%3EFor%20your%20information%2C%20this%20image%20fails%20to%20boot%20up%20on%201%20of%20my%20rev%202.1%20device%20and%20having%20this%20error%20log.%20What%20information%20stated%20in%20this%20error%20log%20and%20how%20should%20i%20debug%20it%20further.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Linux%20BSP44%20Boot%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20Jason%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3E1.%20May%20I%20know%20which%20kind%20of%20reference%20board%20you%20are%20working%20with%3F%20it%20is%20RDB2%2C%20EVB%20or%20EVB3%3F%3C%2FP%3E%0A%3CP%3E2.%20Also%20what%20is%20the%20version%20of%20your%20board%2C%20whether%20Rev2.0%20or%202.1%20SOC%20is%20attached%3F%3C%2FP%3E%0A%3CP%3E3.%20The%20booting%20image%20is%20from%20the%20pre-built%20images%20downloaded%20from%20the%20official%20site%20or%20built%20from%20Yocto%20release%20on%20your%20host%3F%3C%2FP%3E%0A%3CP%3EThanks.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E