Bootlin releases OpenWrt support for STM32MP1 platforms

OpenWrt logoA few years ago, as part of its collaboration with ST, Bootlin developed and released buildroot-external-st, a project offering the integration of the support for ST’s STM32MP1 platform with the popular Buildroot build system, as an alternative to the Yocto Project offering provided directly by ST.

Today, Bootlin is happy to announce the openwrt-feed-st project, which in a similar way, provides integration of ST’s STM32MP1 platforms with the OpenWrt build system. This work was done by Bootlin’s OpenWrt expert Thomas Richard.

OpenWrt on STM32MP1This new project allows to very easily build an OpenWrt system for STM32MP1 platforms. The project provides out of the box 4 configurations:

  • STM32MP157F-DK2, a minimal configuration for ST’s STM32MP157F Discovery Kit 2 evaluation board
  • STM32MP135F-DK, a minimal configuration for ST’s STM32MP135F Discovery Kit evaluation board
  • STM32MP157F-DK2-DEMO, a more complete configuration for the STM32MP157F Discovery Kit, which most notably includes the OpenWrt Web configuration interface
  • STM32MP135F-DK-DEMO, also a more complete configuration, but for the STM32MP135F Discovery Kit

In all those configurations, this OpenWrt integration is using the Linux BSP components directly provided by ST: we are currently using TF-A v2.8-stm32mp-r1, U-Boot v2022.10-stm32mp-r1, OP-TEE 3.19.0-stm32mp-r1 and the 6.1 Linux kernel, with both the OpenWrt patches and the patches from ST as of version v6.1-stm32mp-r1. We will be regularly updating this OpenWrt integration to follow the latest BSP releases from ST.

The project page at https://github.com/bootlin/openwrt-feed-st provides step by step documentation on how to fetch the OpenWrt code, build it, flash it and test it on the ST Discovery Kits. The issue tracker can be used to report bugs or get support.

OpenWrt web configuration interface on STM32MP1

Of course, this initial release is only a first step, and we have many plans for the coming months around this OpenWrt integration:

  • Add support for the STM32MP2 platform
  • Add a Starter Package, with pre-compiled root filesystem image, packages and SDK
  • Regular upgrade to new ST BSP

Do not hesitate to contact us if you need embedded Linux support on ST platforms and/or on OpenWrt related topics!

Thomas Petazzoni

Author: Thomas Petazzoni

Thomas Petazzoni is Bootlin's co-owner and CEO. Thomas joined Bootlin in 2008 as a kernel and embedded Linux engineer, became CTO in 2013, and co-owner/CEO in 2021. More details...

Leave a Reply