2025-07-21 5:43 AM
Hi ST,
We have developed a custom board based on the STM32MP257F-DK design, with the primary difference being the use of the STM32MP255DAK3 processor in place of the STM32MP257F. All other components and configurations—such as RAM, eMMC, and SD card interface—remain the same as the original DK board.
We generated the device tree source (DTS) using STM32CubeMX; however, we are currently unable to boot the board successfully. Initially, we encountered an error related to the RISAF component, which we managed to resolve. Unfortunately, we are now facing a new issue resulting in a Panic in EL3 error.
Despite our efforts, we have not been able to determine the exact root cause of the problem. Given that only the processor has changed and all other hardware remains identical, we would appreciate any guidance or suggestions you could provide to help us resolve this issue and complete the bring-up process.
NOTE: the 1st error ################################################
NOTICE: CPU: STM32MP255DAK Rev.Y
NOTICE: Model: STMicroelectronics STM32MP257F-DK Discovery Board
ERROR: nvmem node board_id not found
NOTICE: Reset reason: Power-on reset (por_rstn) (0x2035)
INFO: PMIC2 version = 0x11
INFO: PMIC2 product ID = 0x24
INFO: FCONF: Reading TB_FW firmware configuration file from: 0xe011000
INFO: FCONF: Reading firmware configuration information for: stm32mp_fuse
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using USB
INFO: Instance 2
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.10-stm32mp2-r1.0(debug):devtool-patched-dirty(ec3ff884)
NOTICE: BL2: Built : 12:10:19, Jul 18 2025
INFO: EventBuffer0: BuffArea=e03f000 DmaAddr=0e03f000 CoherentMapAddr=0xe03f000
INFO: dwc3_set_dev_speed = HighSpeed
INFO: DFU USB START...
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Link Status Change : L2(3)
INFO: Event: Suspend
INFO: USB Suspend mode
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: phase ID :2, Manifestation 0 at e0086b0
INFO: Send detach request
INFO: Receive DFU Detach
INFO: DFU USB STOP...
INFO: BL2: Loading image id 26
INFO: Loading image id=26 at address 0xe041000
INFO: Image id=26 loaded: 0xe041000 - 0xe049650
INFO: BL2: Doing platform setup
INFO: RAM: LPDDR4 32bits 1200000kHz
INFO: Memory size = 0x100000000 (4096 MB)
INFO: DFU USB START...
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Link Status Change : L2(3)
INFO: Event: Suspend
INFO: USB Suspend mode
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: phase ID :3, Manifestation 1 at 872fc0ac
INFO: Send detach request
INFO: Receive DFU Detach
INFO: DFU USB STOP...
INFO: BL2: Loading image id 1
INFO: Loading image id=1 at address 0xe000000
INFO: Image id=1 loaded: 0xe000000 - 0xe000326
INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0xe000000
INFO: FCONF: Reading firmware configuration information for: risaf_config
INFO: RISAF2: No configuration in DT, use default
ERROR: RISAF4: encryption feature error
BACKTRACE: START: risaf_conf_protreg
0: EL3: 0xe017bbc
1: EL3: 0xe023960
2: EL3: 0xe023d1c
3: EL3: 0xe025d90
4: EL3: 0xe029714
5: EL3: 0xe0179f4
6: EL3: 0xe017af0
7: EL3: 0xe0170e0
BACKTRACE: END: risaf_conf_protreg
PANIC at PC : 0x000000000e023968
##########################################################################################
After Resolving the 1st error the second error occur
NOTICE: CPU: STM32MP255DAK Rev.Y
NOTICE: Model: STMicroelectronics STM32MP257F-DK Discovery Board
ERROR: nvmem node board_id not found
NOTICE: Reset reason: IWDG system reset (iwdgX_out_rst) (0x2104)
INFO: PMIC2 version = 0x11
INFO: PMIC2 product ID = 0x24
INFO: FCONF: Reading TB_FW firmware configuration file from: 0xe011000
INFO: FCONF: Reading firmware configuration information for: stm32mp_fuse
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using USB
INFO: Instance 2
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.10-stm32mp2-r1.0(debug):devtool-patched-dirty(ec3ff884)
NOTICE: BL2: Built : 12:10:19, Jul 18 2025
INFO: EventBuffer0: BuffArea=e03f000 DmaAddr=0e03f000 CoherentMapAddr=0xe03f000
INFO: dwc3_set_dev_speed = HighSpeed
INFO: DFU USB START...
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Link Status Change : L2(3)
INFO: Event: Suspend
INFO: USB Suspend mode
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: phase ID :2, Manifestation 0 at e0086b0
INFO: Send detach request
INFO: Receive DFU Detach
INFO: DFU USB STOP...
INFO: BL2: Loading image id 26
INFO: Loading image id=26 at address 0xe041000
INFO: Image id=26 loaded: 0xe041000 - 0xe049650
INFO: BL2: Doing platform setup
INFO: RAM: LPDDR4 32bits 1200000kHz
INFO: Memory size = 0x100000000 (4096 MB)
INFO: DFU USB START...
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Link Status Change : L2(3)
INFO: Event: Suspend
INFO: USB Suspend mode
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: Event: Link Status Change : Early Suspend(5)
INFO: Event: Device Reset
INFO: Event: Device Connection Done
INFO: dwc3_get_dev_speed = HighSpeed
INFO: Event: Link Status Change : ON(0)
INFO: phase ID :3, Manifestation 1 at 872fc0ac
INFO: Send detach request
INFO: Receive DFU Detach
INFO: DFU USB STOP...
INFO: BL2: Loading image id 1
INFO: Loading image id=1 at address 0xe000000
INFO: Image id=1 loaded: 0xe000000 - 0xe000326
INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0xe000000
INFO: FCONF: Reading firmware configuration information for: risaf_config
INFO: RISAF2: No configuration in DT, use default
INFO: FCONF: Reading firmware configuration information for: dyn_cfg
INFO: BL31 max size = 0x17000 (94208B)
INFO: BL2: Loading image id 3
INFO: Loading image id=3 at address 0xe000000
INFO: Image id=3 loaded: 0xe000000 - 0xe0114c0
INFO: BL2: Loading image id 19
INFO: Loading image id=19 at address 0x81fc0000
INFO: Image id=19 loaded: 0x81fc0000 - 0x81fc388a
INFO: BL2: Loading image id 4
INFO: Loading image id=4 at address 0x82000000
INFO: Image id=4 loaded: 0x82000000 - 0x8200001c
INFO: BL2: Skip loading image id 8
INFO: BL2: Loading image id 2
INFO: Loading image id=2 at address 0x84400000
INFO: Image id=2 loaded: 0x84400000 - 0x8441c7a0
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0x84000000
INFO: Image id=5 loaded: 0x84000000 - 0x841c4a68
NOTICE: BL2: Booting BL31
INFO: Entry point address = 0xe000000
INFO: SPSR = 0x3cd
PANIC in EL3.
x30 = 0x000000000e008574
x0 = 0x000000000e013000
x1 = 0x000000000000001a
x2 = 0x000000000e00bfc0
x3 = 0x00000000ffffffc8
x4 = 0x0000000000000000
x5 = 0x0000000000000000
x6 = 0x0000000000000021
x7 = 0x0000000000000000
x8 = 0x0000000081fcffff
x9 = 0x0000000040000000
x10 = 0x0000000000000000
x11 = 0x0000000000000000
x12 = 0x000000000e013a60
x13 = 0x0000000040000000
x14 = 0x0000000000000010
x15 = 0x000000000e0098c8
x16 = 0x000000000e0192e0
x17 = 0x00000000000000e6
x18 = 0x000000000e000000
x19 = 0x000000000e035f00
x20 = 0x0000000084400000
x21 = 0x0000000081fc0000
x22 = 0x0000000084400000
x23 = 0x0000000000000000
x24 = 0x0000000000000003
x25 = 0x0000000000000018
x26 = 0x000000000e036510
x27 = 0x0000000000028101
x28 = 0x00000000000001c0
x29 = 0x000000000e012060
scr_el3 = 0x0000000000000238
sctlr_el3 = 0x0000000030cd183f
cptr_el3 = 0x0000000080000400
tcr_el3 = 0x000000008081351f
daif = 0x00000000000002c0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x00000000000003cd
elr_el3 = 0x000000000e000000
ttbr0_el3 = 0x000000000e014040
esr_el3 = 0x00000000a2eddb0f
far_el3 = 0x545f63e8714a1f74
spsr_el1 = 0x00000000000001cd
elr_el1 = 0x9220a774cc4edcef
spsr_abt = 0x000000008e12091f
spsr_und = 0x00000000600001d3
spsr_irq = 0x000000006007eee1
spsr_fiq = 0x000000001007e78c
sctlr_el1 = 0x0000000000c50838
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000300000
csselr_el1 = 0x0000000000000000
sp_el1 = 0xffe3dddef9ec78f1
esr_el1 = 0x0000000068f27c28
ttbr0_el1 = 0x000000000001f000
ttbr1_el1 = 0x4095d7eb28ce2e33
mair_el1 = 0x44e048e000098aa4
amair_el1 = 0x0000000000000000
tcr_el1 = 0x0000000000000000
tpidr_el1 = 0x607310070c1c15b1
tpidr_el0 = 0x4113408c4b89c73d
tpidrro_el0 = 0xeddc0eea176bdf80
par_el1 = 0x000000000000080f
mpidr_el1 = 0x0000000080000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000002
cntp_cval_el0 = 0xbfc31e2cae884629
cntv_ctl_el0 = 0x0000000000000000
cntv_cval_el0 = 0x3ebab770f50931dc
cntkctl_el1 = 0x0000000000000000
sp_el0 = 0x000000000e012060
isr_el1 = 0x0000000000000000
dacr32_el2 = 0x000000001d812841
ifsr32_el2 = 0x0000000000001438
cpuectlr_el1 = 0x0000000000000040
###################################################################