{"id":48503981,"url":"https://github.com/bootlin/buildroot-external-st","last_synced_at":"2026-04-07T15:37:17.412Z","repository":{"id":39997244,"uuid":"375719655","full_name":"bootlin/buildroot-external-st","owner":"bootlin","description":"External Buildroot tree for STMicroelectronics boards configurations","archived":false,"fork":false,"pushed_at":"2026-01-14T10:53:43.000Z","size":11311,"stargazers_count":79,"open_issues_count":1,"forks_count":44,"subscribers_count":14,"default_branch":"st/2025.02.5","last_synced_at":"2026-01-14T14:35:47.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bootlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-10T14:07:46.000Z","updated_at":"2026-01-06T05:48:29.000Z","dependencies_parsed_at":"2023-02-01T07:16:30.568Z","dependency_job_id":"aa07d169-0167-4a10-bddd-f241bb655f83","html_url":"https://github.com/bootlin/buildroot-external-st","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/bootlin/buildroot-external-st","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fbuildroot-external-st","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fbuildroot-external-st/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fbuildroot-external-st/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fbuildroot-external-st/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootlin","download_url":"https://codeload.github.com/bootlin/buildroot-external-st/tar.gz/refs/heads/st/2025.02.5","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootlin%2Fbuildroot-external-st/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-07T15:37:16.704Z","updated_at":"2026-04-07T15:37:17.395Z","avatar_url":"https://github.com/bootlin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STM32MPU Buildroot external tree\n\nThis repository is a Buildroot `BR2_EXTERNAL` tree dedicated to\nsupporting the [STMicroelectronics](https://www.st.com)\n[STM32MP1](https://www.st.com/en/microcontrollers-microprocessors/stm32mp1-series.html)\nand [STM32MP2](https://www.st.com/en/microcontrollers-microprocessors/stm32mp2-series.html)\nplatforms. Using this project is not strictly necessary as Buildroot\nitself has support for STM32MPU, but this `BR2_EXTERNAL` tree provides\nexample configurations demonstrating how to use the different features\nof the STM32MPU platforms.\n\n## Available configurations\n\nThis `BR2_EXTERNAL` tree provides eight example Buildroot\nconfigurations:\n\n1. `st_stm32mp157d_dk1_defconfig`, which is a minimal configuration to\n   support the [STM32MP157D Discovery Kit\n   1](https://www.st.com/en/evaluation-tools/stm32mp157d-dk1.html)\n   board. It builds the TF-A firmware, U-Boot bootloader, Linux kernel\n   and a minimal user-space composed of just BusyBox.\n\n2. `st_stm32mp157d_dk1_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP157D-DK1 Discovery Kit\n   1](https://www.st.com/en/evaluation-tools/stm32mp157d-dk1.html)\n   board. It includes support for OpenGL and Qt5 for graphics, for OP-TEE\n   as a Trusted Execution Environment, for RAUC for Over-The-Air (OTA)\n   updates. Additionally, it demonstrates how Device Tree files generated\n   by CubeMX can be integrated into a Buildroot configuration.\n\n3. `st_stm32mp157f_dk2_defconfig`, which is a minimal configuration to\n   support the [STM32MP157F-DK2 Discovery Kit\n   2](https://www.st.com/en/evaluation-tools/stm32mp157f-dk2.html)\n   board. It builds the TF-A firmware, U-Boot bootloader, Linux kernel\n   and a minimal user-space composed of just BusyBox.\n\n4. `st_stm32mp157f_dk2_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP157F-DK2 Discovery Kit\n   2](https://www.st.com/en/evaluation-tools/stm32mp157f-dk2.html)\n   board. It includes support for OpenGL and Qt5 for graphics, for OP-TEE\n   as a Trusted Execution Environment, for WIFI, for Bluetooth, for RAUC\n   for Over-The-Air (OTA) updates. Additionally, it demonstrates how\n   Device Tree files generated by CubeMX can be integrated into a\n   Buildroot configuration.\n\n5. `st_stm32mp135f_dk_defconfig`, which is a minimal configuration to\n   support the [STM32MP135F Discovery Kit](https://www.st.com/en/evaluation-tools/stm32mp135f-dk.html)\n   board. It builds the TF-A firmware, U-Boot bootloader, Linux kernel\n   and a minimal user-space composed of just BusyBox.\n\n6. `st_stm32mp135f_dk_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP135F Discovery Kit](https://www.st.com/en/evaluation-tools/stm32mp135f-dk.html)\n   board. It includes support for OpenGL and Qt5 for graphics, for OP-TEE\n   as a Trusted Execution Environment, for WIFI, for Bluetooth, for RAUC\n   for Over-The-Air (OTA) updates, for camera. Additionally, it\n   demonstrates how Device Tree files generated by CubeMX can be\n   integrated into a Buildroot configuration.\n\n7. `st_stm32mp257f_ev1_defconfig`, which is a minimal configuration to\n   support the [STM32MP257F Evaluation board](https://www.st.com/en/evaluation-tools/stm32mp257f-ev1.html)\n   board. It builds the TF-A firmware, U-Boot bootloader, Linux kernel\n   and a minimal user-space composed of just BusyBox.\n\n8. `st_stm32mp257f_ev1_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP257F Evaluation board](https://www.st.com/en/evaluation-tools/stm32mp257f-ev1.html)\n   board. It includes support for OpenGL and Qt5 for graphics, for OP-TEE\n   as a Trusted Execution Environment, for RAUC for Over-The-Air (OTA)\n   updates, for camera, for Ethernet Switch.\n   Additionally, it demonstrates how Device Tree files generated by\n   CubeMX can be integrated into a Buildroot configuration.\n\n9. `st_stm32mp257f_dk_defconfig`, which is a minimal configuration to\n   support the [STM32MP257F Discovery Kit](https://www.st.com/en/evaluation-tools/stm32mp257f-dk.html)\n   board. It builds the TF-A firmware, U-Boot bootloader, Linux kernel\n   and a minimal user-space composed of just BusyBox.\n\n10. `st_stm32mp257f_dk_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP257F Discovery Kit](https://www.st.com/en/evaluation-tools/stm32mp257f-dk.html)\n   board. It includes support for OpenGL and Qt5 for graphics, for OP-TEE\n   as a Trusted Execution Environment, for WIFI, for Bluetooth, for RAUC\n   for Over-The-Air (OTA) updates, for camera. Additionally, it\n   demonstrates how Device Tree files generated by CubeMX can be\n   integrated into a Buildroot configuration.\n\n11. `st_stm32mp235f_dk_defconfig`, which is a minimal configuration to\n   support the [STM32MP235F Discovery Kit](https://www.st.com/en/microcontrollers-microprocessors/stm32mp235f.html)\n   Although this board does not physically exist, it enables users to\n   emulate the behavior of an STM32MP235 system using the\n   [STM32MP257F Discovery Kit](https://www.st.com/en/evaluation-tools/stm32mp257f-dk.html)\n   Since the STM32MP235 implements a subset of the STM32MP257 features,\n   this configuration allows developers to evaluate the STM32MP235 SoC.\n   The configuration builds the TF-A firmware, U-Boot bootloader,\n   Linux kernel and a minimal user-space composed of just BusyBox.\n\n12. `st_stm32mp235f_dk_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP235F Discovery Kit](https://www.st.com/en/microcontrollers-microprocessors/stm32mp235f.html)\n   Although this board does not physically exist, it enables users to\n   emulate the behavior of an STM32MP235 system using the\n   [STM32MP257F Discovery Kit](https://www.st.com/en/evaluation-tools/stm32mp257f-dk.html)\n   Since the STM32MP235 implements a subset of the STM32MP257 features,\n   this configuration allows developers to evaluate the STM32MP235 SoC.\n   The configuration includes support for OpenGL and Qt5 for graphics,\n   for OP-TEE as a Trusted Execution Environment, for WIFI, for Bluetooth,\n   for RAUC for Over-The-Air (OTA) updates, for camera.\n\n13. `st_stm32mp215f_dk_defconfig`, which is a minimal configuration to\n   support the [STM32MP215F Discovery Kit](https://wiki.st.com/stm32mpu/wiki/STM32MP215x-DKx_-_hardware_description)\n   board. It builds the TF-A firmware, U-Boot bootloader, Linux kernel\n   and a minimal user-space composed of just BusyBox.\n\n14. `st_stm32mp215f_dk_demo_defconfig`, which is a more feature-ful\n   configuration to support the [STM32MP215F Discovery Kit](https://wiki.st.com/stm32mpu/wiki/STM32MP215x-DKx_-_hardware_description)\n   board. It includes support for Qt5 for graphics, for OP-TEE\n   as a Trusted Execution Environment, for RAUC, for Over-The-Air (OTA)\n   updates, for camera. Additionally, it demonstrates how Device Tree\n   files generated by CubeMX can be integrated into a Buildroot configuration.\n\n| Feature | st_stm32mp157d_dk1 | st_stm32mp157f_dk2 | st_stm32mp157d_dk1_demo | st_stm32mp157f_dk2_demo | st_stm32mp135f_dk | st_stm32mp135f_dk_demo | st_stm32mp257f_ev1 | st_stm32mp257f_ev1_demo | st_stm32mp257f_dk | st_stm32mp257f_dk_demo | st_stm32mp235f_dk | st_stm32mp235f_dk_demo | st_stm32mp215f_dk | st_stm32mp215f_dk_demo |\n| ------- | ------------------ | ------------------ | ----------------------- | ----------------------- | ----------------- | ---------------------- | ------------------ | ----------------------- | ----------------- | ---------------------- | ----------------- | ---------------------- | ----------------- | ---------------------- |\n| TF-A    | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 | v2.10-stm32mp-r2 |\n| U-Boot  | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 | v2023.10-stm32mp-r2 |\n| Linux   | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 | v6.6-stm32mp-r2 |\n| OP-TEE  | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 | 4.0.0-stm32mp-r2 |\n| NOR + eMMC boot | N/A | N/A | N/A | N/A | N/A | N/A | No | Yes | N/A | N/A | N/A | N/A | N/A | N/A |\n| Qt5     | No | No | Yes | Yes | No | Yes | No | Yes | No | Yes | No | Yes | No | Yes |\n| OpenGL  | No | No | Yes | Yes | N/A | N/A | No | Yes | No | Yes | No | Yes | N/A | N/A |\n| WiFi    | N/A | No | N/A | Yes | No | Yes | N/A | N/A | No | Yes | No | Yes | N/A | N/A |\n| Bluetooth | N/A | No | N/A | Yes | No | Yes | N/A | N/A | No | Yes | No | Yes | N/A | N/A |\n| Audio    | No | No | Yes | Yes | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |\n| Video    | N/A | N/A | N/A | N/A | No | Yes | No | Yes | No | Yes | No | Yes | No | Yes |\n| Switch   | N/A | N/A | N/A | N/A | N/A | N/A | No | Yes | N/A | N/A | N/A | N/A | N/A | N/A |\n| CubeMX v6.15.0 Device Tree | No | No | Yes | Yes | No | Yes | No | Yes | No | Yes | No | No | No | Yes |\n| Cortex M Firmware examples | No | No | Yes Cortex M4 | Yes Cortex M4 | N/A | N/A | No | Yes Cortex M33 | No | Yes Cortex M33 | No | Yes Cortex M33 | No | No |\n| RAUC OTA | No | No | Yes | Yes | No | Yes | No | Yes | No | Yes | No | Yes | No | Yes |\n\nNote that upstream Buildroot also contains pre-defined configurations\nfor STM32MPU platforms, but they use the upstream versions of TF-A,\nU-Boot and Linux, while the configurations in this `BR2_EXTERNAL` tree\nuse the versions provided and supported by ST.\n\n## Starter package\n\nIf you want to use Buildroot on STM32MPU platforms without building\neverything yourself from source, we provide below a *Starter\nPackage*. For each release and each Buildroot configuration, we\nprovide:\n\n* A README file that documents how the *Starter Package* has been\n  built\n\n* A pre-built image, ready to flash on an SD card, together with a\n  *Block map* (which can be used with `bmaptool` to optimize the\n  flashing process). This image contains a fully working system, with\n  bootloaders, Linux kernel and root filesystem. Refer to the [flash\n  and boot section](#Flashing-and-booting-the-system) to learn how to\n  use the pre-built images.\n\n* A Software Development Kit (SDK) that contains a cross-compiler and\n  set of libraries that allow you to build applications for the\n  target. See the Buildroot [advanced usage\n  documentation](https://buildroot.org/downloads/manual/manual.html#_advanced_usage)\n  to learn how to use the SDK.\n\n* The complete list of open-source licenses and complete source code\n  of all software components included in the pre-built image, for\n  license compliance.\n\nThe following table provides links to all these artifacts,\ncompiled with the latest\n`openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11` release:\n\n| Configuration | README | Image | Block map | SDK | Licences | Sources |\n| ------------- | ------ | ----- | --------- | --- | -------- | ------- |\n| st_stm32mp157d_dk1 | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp157d_dk1) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157d_dk1.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157d_dk1.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp157d_dk1.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp157d_dk1.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp157d_dk1.tar.gz) |\n| st_stm32mp157d_dk1_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp157d_dk1_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157d_dk1_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157d_dk1_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp157d_dk1_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp157d_dk1_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp157d_dk1_demo.tar.gz) |\n| st_stm32mp157f_dk2 | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp157f_dk2) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157f_dk2.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157f_dk2.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp157f_dk2.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp157f_dk2.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp157f_dk2.tar.gz) |\n| st_stm32mp157f_dk2_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp157f_dk2_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157f_dk2_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp157f_dk2_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp157f_dk2_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp157f_dk2_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp157f_dk2_demo.tar.gz) |\n| st_stm32mp135f_dk | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp135f_dk) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp135f_dk.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp135f_dk.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp135f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp135f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp135f_dk.tar.gz) |\n| st_stm32mp135f_dk_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp135f_dk_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp135f_dk_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp135f_dk_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp135f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp135f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp135f_dk_demo.tar.gz) |\n| st_stm32mp257f_ev1 | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp257f_ev1) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_ev1.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_ev1.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp257f_ev1.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp257f_ev1.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp257f_ev1.tar.gz) |\n| st_stm32mp257f_ev1_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp257f_ev1_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_ev1_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_ev1_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp257f_ev1_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp257f_ev1_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp257f_ev1_demo.tar.gz) |\n| st_stm32mp257f_dk | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp257f_dk) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_dk.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_dk.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp257f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp257f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp257f_dk.tar.gz) |\n| st_stm32mp257f_dk_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp257f_dk_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_dk_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp257f_dk_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp257f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp257f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp257f_dk_demo.tar.gz) |\n| st_stm32mp235f_dk | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp235f_dk) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp235f_dk.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp235f_dk.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp235f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp235f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp235f_dk.tar.gz) |\n| st_stm32mp235f_dk_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp235f_dk_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp235f_dk_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp235f_dk_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp235f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp235f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp235f_dk_demo.tar.gz) |\n| st_stm32mp215f_dk | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp215f_dk) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp215f_dk.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp215f_dk.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp215f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp215f_dk.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp215f_dk.tar.gz) |\n| st_stm32mp215f_dk_demo | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/README-st_stm32mp215f_dk_demo) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp215f_dk_demo.img.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sdcard-st_stm32mp215f_dk_demo.img.bmap) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/arm-buildroot-linux-gnueabihf_sdk-st_stm32mp215f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/licenses-st_stm32mp215f_dk_demo.tar.gz) | [URL](https://bootlin.com/pub/buildroot-st/openstlinux-6.6-buildroot-2025.02.5-mpu-v25.06.11/sources-st_stm32mp215f_dk_demo.tar.gz) |\n\n## Building Buildroot from source\n\n### Pre-requisites\n\nIn order to use [Buildroot](https://www.buildroot.org), you need to\nhave a Linux distribution installed on your workstation. Any\nreasonably recent Linux distribution (Ubuntu, Debian, Fedora, Redhat,\nOpenSuse, etc.) will work fine.\n\nThen, you need to install a small set of packages, as described in the\n[Buildroot manual System requirements\nsection](https://buildroot.org/downloads/manual/manual.html#requirement).\n\nFor Debian/Ubuntu distributions, the following command allows to\ninstall the necessary packages:\n\n```bash\n$ sudo apt install debianutils sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc git\n```\n\nThere are also optional dependencies if you want to use Buildroot features\nlike interface configuration, legal information or documentation.\nPlease see the [corresponding manual section](https://buildroot.org/downloads/manual/manual.html#requirement-optional).\n\n### Getting the code\n\nThis `BR2_EXTERNAL` tree is designed to work with the `2025.02.x` LTS\nversion of Buildroot. However, we needed a few changes on top of\nupstream Buildroot, so you need to use our own Buildroot fork together\nwith this `BR2_EXTERNAL` tree, and more precisely its `st/2025.02.5`\nbranch.\n\n```bash\n$ git clone -b st/2025.02.5 https://github.com/bootlin/buildroot.git\n```\n\nSee our documentation on [internal details](docs/internals.md) for more\ninformation about the changes we have compared to upstream Buildroot.\n\nNow, clone the matching branch of the `BR2_EXTERNAL` tree:\n\n```bash\n$ git clone -b st/2025.02.5 https://github.com/bootlin/buildroot-external-st.git\n```\n\nYou now have side-by-side a `buildroot` directory and a\n`buildroot-external-st` directory.\n\n### Configure and build\n\nGo to the Buildroot directory:\n\n```bash\n$ cd buildroot/\n```\n\nAnd then, configure the system you want to build by using one of the 14\n*defconfigs* provided in this `BR2_EXTERNAL` tree. For example:\n\n```bash\nbuildroot/ $ make BR2_EXTERNAL=../buildroot-external-st st_stm32mp157f_dk2_defconfig\n```\n\nWe are passing two informations to `make`:\n\n1. The path to `BR2_EXTERNAL` tree, which we have cloned side-by-side\nto the Buildroot repository\n\n2. The name of the Buildroot configuration we want to build.\n\nIf you want to further customize the Buildroot configuration, you can\nnow run `make menuconfig`, but for your first build, we recommend you\nto keep the configuration unchanged so that you can verify that\neverything is working for you.\n\nStart the build:\n\n```bash\nbuildroot/ $ make\n```\n\nThis will automaticaly download and build the entire Linux system for\nyour STM32MPU platform: cross-compilation toolchain, firmware,\nbootloader, Linux kernel, root filesystem. It might take between 30\nand 60 minutes depending on the configuration you have chosen and how\npowerful your machine is.\n\n## Flashing and booting the system\n\nThe Buildroot configurations generate a compressed ready-to-use SD card\nimage, available as `output/images/sdcard.img.gz`. You can also use the\nprebuilt images downloaded from the [starter package section](#Starter-package).\n\nFlash this image on a SD card:\n\n```bash\nbuildroot/ $ gzip -dc sdcard.img.gz | dd of=/dev/sdX bs=1M\n```\n\nYou can also use the block map image file to accelerate the flashing\nprocess. The block map image is available as\n`output/images/sdcard.img.bmap` or can be downloaded from the\n[starter package section](#Starter-package). Both the block map file and\nthe SD card image has to be in the same directory.\n\nNote: bmaptool will not erase empty partition like the U-boot environment\npartition.\n\n```bash\nbuildroot/ $ bmaptool copy sdcard.img.gz /dev/sdbX\n```\n\n(Note: this assumes your SD card appears as `/dev/sdX` on your system.)\n\nThen:\n\n1. Insert the microSD card\n   - STM32MP157: connector CN15\n   - STM32MP135: connector CN3\n   - STM32MP257-EV1: connector CN1\n   - STM32MP257-DK and STM32MP235-DK: connector CN6\n   - STM32MP215-DK: connector CN7\n\n2. Configure the SW1 switch to boot on SD card\n   - STM32MP157: BOOT0 and BOOT2 to ON\n   - STM32MP135: BOOT0 to ON, BOOT1 to OPEN, BOOT2 to ON\n   - STM32MP257, STM32MP235 STM32MP215: BOOT0 to ON, BOOT1 and BOOT2 and BOOT3 to OPEN\n\n3. For STM32MP1 plug a micro-USB cable and run your serial\n   communication program on /dev/ttyACM0.\n   - STM32MP157: connector CN11\n   - STM32MP135: connector CN10\n\n   For STM32MP257F_EV1 the board can be either powered through the barrel\n   connector CN20 or through USB-C CN21 depending on the\n   [Power Jumper state](https://wiki.st.com/stm32mpu/wiki/STM32MP257x-EV1_-_hardware_description#Power_jumper).\n   If the board is powered through barrel plug the USB-C cable on connector\n   CN21 for serial communication.\n\n   For STM32MP215F_DK plug an USB to serial adapter on connector CN2.\n   See [connector pinout](https://wiki.st.com/stm32mpu/wiki/STM32MP215x-DKx_-_hardware_description#Connecting_USB_to_TTL_serial_cables)\n   Run serial communication program on /dev/ttyUSB0\n\n4. Plug a USB-C cable or Barrel cable for STM32MP257F_EV1 to power-up the board.\n   Run your serial communication program on /dev/ttyACM0 if that was not\n   already the case.\n   - STM32MP157: connector CN6\n   - STM32MP135: connector CN12\n   - STM32MP257F_EV1: connector CN20 (barrel) or connector CN21 (USB-C with serial)\n   - STM32MP257F_DK: connector CN21 (USB-C with serial)\n   - STM32MP235: connector CN21 (USB-C with serial)\n   - STM32MP215: connector CN20\n\n\n5. The system will start, with the console on UART. You can log-in as\n`root` with no password for the minimal configuration, or with `root`\nas the password for the demo configurations.\n\nNote: it is also possible to flash the SD card while leaving it into\nthe board, by using the STM32 Cube Programmer. See our [Using the\nSTM32 Cube Programmer](docs/stm32cubeprogrammer.md) page for more\ndetails.\n\n# Going further\n\n* [Using the STM32 Cube Programmer](docs/stm32cubeprogrammer.md)\n* [Using Device Tree files generated by STM32 CubeMX](docs/stm32cubemx.md)\n* [Using the Firmware examples for the Cortex M](docs/cortexm.md)\n* [Booting from NOR + eMMC memory](docs/nor_emmc_boot.md)\n* [Testing display support](docs/display.md)\n* [Testing Suspend-to-RAM](docs/suspend-to-ram.md)\n* [Using WiFi](docs/wifi.md)\n* [Using Bluetooth](docs/bluetooth.md)\n* [Using Audio](docs/audio.md)\n* [Using Camera](docs/camera.md)\n* [Using Qt5 demos](docs/qt5.md)\n* [Using OP-TEE](docs/optee.md)\n* [Using OTA with RAUC](docs/ota.md)\n* [Using the switch](docs/switch.md)\n* [Internal details](docs/internals.md) on this `BR2_EXTERNAL` tree\n* [Release notes](docs/release-notes.md)\n\n# References\n\n* [Buildroot](https://buildroot.org/)\n* [Buildroot reference manual](https://buildroot.org/downloads/manual/manual.html)\n* [Buildroot system development training\n  course](https://bootlin.com/training/buildroot/), with freely\n  available training materials\n\n# Support\n\nYou can contact Bootlin at info@bootlin.com for commercial support on\nusing Buildroot on STM32MP1 and STM32MP2 platforms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootlin%2Fbuildroot-external-st","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootlin%2Fbuildroot-external-st","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootlin%2Fbuildroot-external-st/lists"}