cancel
Showing results for 
Search instead for 
Did you mean: 

panic error during optee binary update

manishee
Associate

Getting panic error during optee binary update. We are stuck on this. Kindly provide any guidance.

We are using emmc for boot and Two file updating till now. But after fip-stm32mp135f-dk-optee.bin update we are getting this error. Here is the log-

NOTICE: CPU: STM32MP135F Rev.Y

NOTICE: Model: STMicroelectronics STM32MP135F-DK Discovery Board

INFO: PMIC version = 0x21

INFO: Reset reason (0x35):

INFO: Power-on Reset (rst_por)

INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000

INFO: FCONF: Reading firmware configuration information for: stm32mp_io

INFO: Using USB

INFO: Instance 2

INFO: Boot used partition fsbl1

NOTICE: BL2: v2.8-stm32mp1-r1.0(debug):()

NOTICE: BL2: Built : 17:16:39, Jan 4 2024

INFO: BL2: Doing platform setup

INFO: RAM: DDR3-1066 bin F 1x4Gb 533MHz v1.53

INFO: Memory size = 0x20000000 (512 MB)

INFO: DFU USB START...

INFO: handle USB : Suspend int

INFO: USB Suspend mode

INFO: handle USB : Reset

INFO: phase ID :3, Manifestation 0 at c717367e

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 0x30006000

INFO: Image id=1 loaded: 0x30006000 - 0x30006236

INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x30006000

INFO: FCONF: Reading firmware configuration information for: mce_config

INFO: FCONF: Reading firmware configuration information for: dyn_cfg

INFO: FCONF: Reading firmware configuration information for: stm32mp1_firewall

INFO: BL2: Loading image id 4

INFO: Loading image id=4 at address 0xde000000

INFO: Image id=4 loaded: 0xde000000 - 0xde00001c

INFO: OPTEE ep=0xde000000

INFO: OPTEE header info:

INFO: magic=0x4554504f

INFO: version=0x2

INFO: arch=0x0

INFO: flags=0x0

INFO: nb_images=0x1

INFO: BL2: Loading image id 8

INFO: Loading image id=8 at address 0xde000000

INFO: Image id=8 loaded: 0xde000000 - 0xde07b3a8

INFO: BL2: Loading image id 2

INFO: Loading image id=2 at address 0xc0400000

INFO: Image id=2 loaded: 0xc0400000 - 0xc040f8f0

INFO: BL2: Skip loading image id 16

INFO: BL2: Loading image id 5

INFO: Loading image id=5 at address 0xc0000000

INFO: Image id=5 loaded: 0xc0000000 - 0xc00e866c

NOTICE: BL2: Booting BL32

INFO: Entry point address = 0xde000000

INFO: SPSR = 0x1d3

I/TC: Early console on UART#4

I/TC:

I/TC: Embedded DTB found

I/TC: OP-TEE version: Unknown_3.19 (gcc version 12.2.0 (GCC)) #1 Fri Jan 5 09:42:01 UTC 2024 arm

I/TC: WARNING: This OP-TEE configuration might be insecure!

I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html

I/TC: Primary CPU initializing

I/TC: WARNING: All debug access are allowed

E/TC:0 0 Panic at core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pmic.c:183 <initialize_pmic_i2c>

E/TC:0 0 TEE load address @ 0xde000000

E/TC:0 0 Call stack:

E/TC:0 0 0xde0030f9

E/TC:0 0 0xde019f73

E/TC:0 0 0xde00683d

E/TC:0 0 0xde018b85

E/TC:0 0 0xde018c55

E/TC:0 0 0xde01933f

E/TC:0 0 0xde01ac61

E/TC:0 0 0xde002fbb

E/TC:0 0 0xde00019c

1 REPLY 1
arifbalik
Associate II

I have the exact same issue with PB7 and PE15. Have you been able to solve this issue?