Buildroot support for STM32MP updated, STM32MP2 added

STM32MP2 Evaluation Board 1We are happy to announce a new release of our buildroot-external-st project, which is a Buildrooot add-on that allows to easily get started with STMicroelectronics STM32MP platforms using Buildroot. This new release openstlinux-6.1-buildroot-2024.02.3-mpu-v24.06.26 brings support for the new STM32MP2 platform, updated ST BSP components, updated Buildroot.

STM32MP2 support

Earlier this year, STMicroelectronics has announced the release of its new STM32MP2 processor family, composed of ARM64 processors based on single or dual Arm Cortex-A35 cores, combined with one Cortex-M33 and a wide range of peripherals.

A first evaluation board for the STM32MP2, the STM32MP257F-EV1, is already available.

Our new release of buildroot-external-st brings support for the STM32MP2, with specifically:

  • A minimal Buildroot defconfig to build a basic system for the STM32MP257F-EV1
  • A demonstration Buildroot defconfig to build a more featureful system for the STM32MP257F-EV1, which includes support for the Cortex-M33, graphics with Qt5/OpenGL, Over The Air updates with RAUC, and camera

Updated ST BSP

Our new release of buildroot-external-st is based on the latest BSP components provided by ST:

Another update is expected at the end of this year, with a switch to a newer Linux kernel, but also newer versions of U-Boot, TF-A and OP-TEE.

Updated Buildroot

Buildroot logoThis new release of buildroot-external-st is based on Buildroot 2024.02.3, which is part of the currently maintained Buildroot LTS branch. This means that security updates and bug fixes are provided by the Buildroot community for this 2024.02.x version.

This update brings a large number of package updates, which were brought in upstream Buildroot between 2023.02 and 2024.02.

Getting started

The documentation available on the Github page details how to use this work, but here is a quick start in just a few steps:

  1. Retrieve Buildroot itself, a branch containing a few patches on top of upstream 2023.02 is needed
    $ git clone -b st/2024.02.3 https://github.com/bootlin/buildroot.git
  2. Retrieve buildroot-external-st
    $ git clone -b st/2024.02.3 https://github.com/bootlin/buildroot-external-st.git
  3. Go into the Buildroot directory
    $ cd buildroot/
  4. Configure Buildroot, for example here to build the demo configuration for the STM32MP257F-EV1
    $ make BR2_EXTERNAL=../buildroot-external-st st_stm32mp257f_ev1_demo_defconfig
  5. Run the build
    $ make
  6. Flash the resulting SD card image available at output/images/sdcard.img and boot your board!

Getting support

If you have any question or issue, feel free to use the Github issue tracker to contact us. Bootlin is an ST Authorized Partner, and can provide engineering and training services around embedded Linux on STM32MP platforms.

Köry Maincent

Author: Köry Maincent

Köry Maincent is an embedded Linux and kernel engineer at Bootlin, which he joined in 2020.

Leave a Reply