Oriel — AI & technology worth noticing, every day.

Playing with the STM32MP2

Web page · https://serd.es/2026/11/08/playing-with-stm32mp2.html

First seen by Oriel on .

AI summary

This article documents bringing up STM32MP2 as a bare-metal, SRAM-only microcontroller, using upstream AArch64 tools and targeting dual Cortex-A35 operation plus PCIe connectivity to an FPGA.

  • The experiment avoids vendor SDKs, external DDR, TrustZone, u-boot, and RTOS requirements, running a simple EL3 firmware from FSBL flash images.
  • The STM32MP257F-EV1 successfully boots an M33 blinky from flash after configuring SRAM aliases, FSBL headers, flash slots, and linker placement.
  • A35 startup requires explicit CPU release, exception-vector setup, cache coherency, page tables, MMU configuration, and coordination between both cores.
  • The design provides 808 kB SRAM, dual 1.5 GHz A35 cores, 400 MHz M33 and 200 MHz M0+ cores, but lacks internal flash and TCM.
  • PCIe is intended to replace the H735’s pin-heavy FMC connection to an FPGA, using a 5 Gbps SERDES over two differential pairs.

#stm32mp2 #bare metal #cortex-a35 #pcie

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 77, latest observation ; +72 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 48, latest observation ; +48 over observed period since

Aliases

SourceExternal IDURL
Hacker News50416014https://serd.es/2026/11/08/playing-with-stm32mp2.html Read discussion