Skip to content

Cortex-m7 targets fails to start (stm32f746g, stm32h7b3i) #90902

Closed
@pavlohamov

Description

@pavlohamov

Describe the bug

Unfortunate on the latest main (d54c308) none of available to me cortex m7 boards are able to start.
checked on stm32f746g & stm32h7b3i

using git bisect find out that reverting (on main) change introduced in #90305 fixes the issue.

Regression

  • This is a regression.

Steps to reproduce

  1. cd zephyr/samples/hello_world
  2. rm -rf build/*; west build --board=stm32f746g_disco .
  3. west flash
  4. observe uart output
    expected: boot banner and hello world text present
    actual: nothing

back trace:

Image

Relevant log output

#0  arch_system_halt (reason=19) at zephyr/kernel/fatal.c:30
#1  0x08003300 in k_sys_fatal_error_handler (reason=<optimized out>, esf=<optimized out>) at zephyr/kernel/fatal.c:44
#2  0x08001b9c in z_fatal_error (reason=<optimized out>, esf=<optimized out>) at zephyr/kernel/fatal.c:119
#3  0x08002bf0 in z_arm_fatal_error (reason=<optimized out>, esf=esf@entry=0x20010c00 <z_interrupt_stacks+2048>) at zephyr/arch/arm/core/fatal.c:86
#4  0x080007c8 in z_arm_fault (msp=<optimized out>, psp=<optimized out>, exc_return=<optimized out>, callee_regs=<optimized out>)
    at zephyr/arch/arm/core/cortex_m/fault.c:1080
#5  0x08000890 in z_arm_usage_fault () at zephyr/arch/arm/core/cortex_m/fault_s.S:102
#6  <signal handler called>
#7  0xe16cbd42 in ?? ()
#8  0x05a5b1fa in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Impact

Showstopper – Prevents release or major functionality; system unusable.

Environment

OS: osx/ubuntu 24.04
toolchain: zephyr-sdk-0.16.4
sha: d54c308

Additional Context

#90867 introduced revert update of the DTS configuration files. is my understanding right that it will require update of DTS files for all cortex-m7 targets?

Metadata

Metadata

Assignees

Labels

RegressionSomething, which was working, does not anymorebugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32priority: highHigh impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions