STM32MP2 Developer Package - OpenSTLinux BSP

Revision as of 16:58, 6 December 2023 by Registered User
Applicable for STM32MP25x lines


This article aims at giving the following information:

  • How to get the latest OP-TEE, TF-A, U-Boot, Linux® kernel, gcnano-driver, SCP firmware, external device tree and debug symbols for the STM32 microprocessor series
  • Where to find the associated release note
  • Where to find the previous releases (archives)
Warning white.png Warning
To use efficiently this package, go through the Developer Package article relative to your STM32 microprocessor series: Category:Developer Package

1. STM32MPU ecosystem v5.0.2.BETA release[edit source]

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA0048). The detailed content licenses can be found here.

  • The OpenSTLinux BSP package is delivered through a tarball file named unknown revision for STM32MP257F-EV1 More info green.png boards.

  • Download and install the STM32MPU OpenSTLinux BSP package.
STM32MPU Developer Package - STM32MPU ecosystem v5.0.2.BETA release
Download
  • Go on st.com to download the STM32MPU Developer Package, unknown revision file.
Installation
 cd <working directory path>/Developer-Package
 tar xvf unknown revision
Release note

Details about the content of the OpenSTLinux BSP package are available in the associated STM32 MPU OpenSTLinux release note.

Archive box.png For information on older releases, go to Archives.

  • In the <Developer Package installation directory>/unknown revision, a tarball archive of the OpenSTLinux BSP components can be found.
  • The external device tree directory is named external-dt-<ext-dt version>:
unknown revision		external device tree installation directory
├── unknown revision	external device tree source code directory
├── unknown revision	Tarball file of the external device tree source code
└── README.HOW_TO.txt					Helper file for external device tree management: reference for external device tree usage
  • The Linux kernel installation directory is named linux-stm32mp-<kernel version>:
unknown revision	Linux kernel installation directory
├── [*].patch				ST patches to apply during the Linux kernel preparation (see next chapter)
├── fragment-[*].config			ST configuration fragments to apply during the Linux kernel configuration (see next chapter)
├── optional-fragment-[*].config	Optional ST configuration fragments to apply during the Linux kernel configuration depending on your needs (SMP or not, signature or not, ...)
├── unknown revision			Tarball file of the Linux kernel source code
├── README.HOW_TO.txt			Helper file for Linux kernel management: reference for Linux kernel build
└── series				List of all ST patches to apply
  • The gcnano driver installation directory is named gcnano-driver-stm32mp-<gcnano driver version>:
unknown revision		gcnano-driver installation directory
├── [*].patch				ST patches to apply during the gcnano driver preparation (see next chapter)
├── unknown revision	Tarball file of the gcnano-driver source code
├── README.HOW_TO.txt					Helper file for gcnano-driver management: reference for gcnano-driver  build
└── series						List of all ST patches to apply
  • The SCP firmware installation directory is named scp-firmware-<SCP firmware version>:
unknown revision			SCP-FW installation directory
├── [*].patch						ST patches to apply during the SCP firmware preparation (see next chapter)
├── unknown revision			SCP firmware source code directory
├── unknown revision			Tarball file of the SCP firmware source
└── README.HOW_TO.txt					Helper file for SCP firmware management: reference for SCP firmware build
  • The OP-TEE installation directory is named optee-os-stm32mp-<OP-TEE version>:
unknown revision			OP-TEE installation directory
├── [*].patch						ST patches to apply during the OP-TEE preparation (see next chapter)
├── unknown revision			OP-TEE source code directory
├── fonts.tar.gz					fonts for OPTEE-OS
├── Makefile.sdk					Makefile for the OP-TEE compilation
├── unknown revision	Tarball file of the OP-TEE source code
├── README.HOW_TO.txt					Helper file for OP-TEE management: reference for OP-TEE build
└── series						List of all ST patches to apply
  • The U-Boot installation directory is named u-boot-stm32mp-<U-Boot version>:
unknown revision			U-Boot installation directory
├── [*].patch						ST patches to apply during the U-Boot preparation (see next chapter)
├── unknown revision			U-Boot source code directory
├── Makefile.sdk					Makefile for the U-Boot compilation
├── README.HOW_TO.txt					Helper file for U-Boot management: reference for U-Boot build
├── series						List of all ST patches to apply
└── unknown revision	Tarball file of the U-Boot source code
  • The TF-A installation directory is named tf-a-stm32mp-<TF-A version>:
unknown revision		TF-A installation directory
├── [*].patch					ST patches to apply during the TF-A preparation (see next chapter)
├── unknown revision		TF-A source code directory
├── Makefile.sdk				Makefile for the TF-A compilation
├── README.HOW_TO.txt				Helper file for TF-A management: reference for TF-A build
├── series					List of all ST patches to apply
├── tf-a-st-ddr.tar.gz				DDR firmware
└── unknown revision	Tarball file of the TF-A source code
  • The FIP artifacts directory is named FIP_artifacts:
FIP_artifacts
├── arm-trusted-firmware
│   ├── bl31
│   │   ├── stm32mp257f-ev1-revB-bl31.dtb
│   │   ├── stm32mp257f-ev1-revB-ca35tdcid-ostl-bl31.dtb
│   │   ├── stm32mp257f-ev1-revB-ca35tdcid-ostl-m33-examples-bl31.dtb
│   │   └── tf-a-bl31-stm32mp25.bin
│   ├── ddr
│   │   └── ddr_pmu-stm32mp25[*].bin				 DDR firmware → STM32MP25 boards
│   ├── fwconfig
│   │   └── stm32mp25[*]-optee.dtb				Device tree for FW config → STM32MP25 boards
│   ├── metadata.bin						Store boot information
│   └── tf-a-stm32mp257[*].stm32				FSBL binary → STM32MP25 boards
├── fip
│   ├── fip-stm32mp257f-ev1-revB-ca35tdcid-ostl-ddr.bin
│   ├── fip-stm32mp257f-ev1-revB-ca35tdcid-ostl-m33-examples-ddr.bin
│   ├── fip-stm32mp257f-ev1-revB-ca35tdcid-ostl-m33-examples-optee.bin
│   ├── fip-stm32mp257f-ev1-revB-ca35tdcid-ostl-optee.bin
│   ├── fip-stm32mp257f-ev1-revB-ddr.bin
│   └── fip-stm32mp257f-ev1-revB-optee.bin
├── optee
│   ├── tee-header_v2-stm32mp25[*].bin				Binary file for OP-TEE OS → STM32MP25 boards
│   ├── tee-pageable_v2-stm32mp25[*].bin			Binary file for OP-TEE OS → STM32MP25 boards
│   └── tee-pager_v2-stm32mp25[*].bin				Binary file for OP-TEE OS → STM32MP25 boards
└── u-boot
    ├── u-boot-nodtb-stm32mp25.bin
    └── u-boot-stm32mp25.dtb[*]					Device tree for U-Boot → STM32MP5 boards
  • The debug symbol files are located under the <Developer Package installation directory>/unknown revision directory:
stm32mp25
├── arm-trusted-firmware
├── bl31
│   ├── debug
│   │   └── tf-a-bl31-stm32mp25-optee.elf			Debug symbol file for bl31
│   └── debug
│       ├── debug-tf-a-stm32mp257[*].stm32			Debug file for FSBL → STM32MP25 boards
│       ├── tf-a-bl2-stm32mp25-emmc.elf				Debug symbol file for TF-ATF-A for STM32MP25 for eMMC boot stage
│       ├── tf-a-bl2-stm32mp25-nor.elf				Debug symbol file for TF-ATF-A for STM32MP25 for nor boot stage
│       ├── tf-a-bl2-stm32mp25-sdcard.elf			Debug symbol file for TF-ATF-A for STM32MP25 for sdcard boot stage
│       ├── tf-a-bl2-stm32mp25-uart.elf				Debug symbol file for TF-ATF-A for STM32MP25 for UART downloading boot stage
│       └── tf-a-bl2-stm32mp25-usb.elf				Debug symbol file for TF-ATF-A for STM32MP25 for USB downloading boot stage
├── kernel
│   ├── config-6.1.28						Reference Config file for Linux kernel 
│   └── vmlinux							Image of the Linux kernel 
├── optee
│   └── debug
│       ├── tee-stm32mp257f-dk.elf				Debug symbol file for OP-TEE OS → STM32MP25 Discovery kits
│       ├── tee-stm32mp257f-ev1-ca35tdcid-ostl.elf		Debug symbol file for OP-TEE OS → STM32MP25 Evaluation boards kits
│       ├── tee-stm32mp257f-ev1-ca35tdcid-ostl-m33-examples.elf	Debug symbol file for OP-TEE OS → STM32MP25 Evaluation boards kits
│       └── tee-stm32mp257f-ev1.elf				Debug symbol file for OP-TEE OS → STM32MP25 Evaluation boards kits
└── u-boot
    └── debug
        └── u-boot-stm32mp25.elf				Debug symbol file for U-Boot → STM32MP25 Discovery kits


2. Archives Archive box.png[edit source]

This wiki is for the v5 ecosystem releases. For information about the previous ecosystem releases, go through the Wiki archives.