Forums › Devices › OSD32MP15x › Exception during first boot
Tagged: Exception during first boot
I’m bringing up a custom board and I get an exception during first boot. Any thoughts on what could be the problem?
NOTICE: CPU: STM32MP157C?? Rev.Z
NOTICE: Model: Quartet OSD32MP1 Base board
INFO: Reset reason (0x15):
INFO: Power-on Reset (rst_por)
INFO: PMIC version = 0x21
INFO: Using SDMMC
INFO: Instance 1
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.2-r2.0(debug):
NOTICE: BL2: Built : 20:19:10, Dec 21 2020
PANIC at PC : 0x2ffd696b
Exception mode=0x00000016 at: 0x2ffd696b
I remember seeing exceptions like this a while ago as a result of bad devicetrees (with incorrect syntax/semantics and such). I assume you’re using a custom device tree as well, so that’d be the first thing I would check. However, I’m not knowledgeable about devicetree debugging and I would suppose that there are other causes of a message of this sort, given how generic it seems to be.
dcallahan,
As aedancullen said, errors during TF-A execution indicate a device tree configuration issue. Particularly, please take a look at clock tree configuration as described here: https://community.st.com/s/question/0D53W000005qRjZSAU/cannot-boot-up-custom-board-which-based-on-stm32mp157cdk2-only-get-message-from-uart-panic-at-pc-0x2ffdc323-exception-mode0x00000016-at-0x2ffda000
We provide a minimal CubeMX project that you can also modify in this application note: https://octavosystems.com/app_notes/stm32mp1-cubemx-tutorial-for-osd32mp15x/
Best,
Neeraj
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields