STM32MP1 Developer Package - SDK

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年11月3日 (二) 11:31的版本 (创建页面,内容为“<noinclude> This article aims to give the following information: * How to download and install the '''latest''' SDK for the STM32 microprocessor Series * Where to fi…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This article aims to give the following information:

  • How to download and install the latest SDK for the STM32 microprocessor Series
  • Where to find the associated release note
  • Where to find the previous releases (archives)
Warning.png To use efficiently this SDK, please go through the Developer Package article relative to your STM32 microprocessor Series: Category:Developer Package

STM32MP15-Ecosystem-v2.1.0 release

  • The STM32MP1 SDK is delivered through a tarball file named : {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC}}{{#vardefine:url|TBC}}{{#vardefine:path|}}{{#var:name}}

  • Download and install the STM32MP1 SDK.

模板:SoftwareLicenseAgreement

STM32MP1 Developer Package SDK - STM32MP15-Ecosystem-v2.1.0 release
Download

You need to be logged on my.st.com before accessing the following link:
[{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC}}{{#vardefine:url|TBC}}{{#vardefine:path|}}{{#var:url}}/{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC}}{{#vardefine:url|TBC}}{{#vardefine:path|}}{{#var:name}} {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC}}{{#vardefine:url|TBC}}{{#vardefine:path|}}{{#var:name}}]

Installation
  • Uncompress the tarball file to get the SDK installation script
tar xvf {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC}}{{#vardefine:url|TBC}}{{#vardefine:path|}}{{#var:name}}
  • If needed, change the permissions on the SDK installation script so that it is executable
$ chmod +x {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.sh}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:path}}/{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.sh}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:name}}
  • Run the SDK installation script
    • Use the -d <SDK installation directory absolute path> option to specify the absolute path to the directory in which you want to install the SDK (<SDK installation directory>)
    • If you follow the proposition to organize the working directory, it means:
$ ./{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.sh}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:path}}/{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.sh}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:name}} -d <working directory absolute path>/Developer-Package/SDK
  • A successful installation outputs the following log:
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 3.1-openstlinux-5-4-dunfell-mp1-20-11-12
===========================================================================================
You are about to install the SDK to "<working directory absolute path>/Developer-Package/SDK". Proceed [Y/n]? 
Extracting SDK................................................................................................................................................................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
 $ . <working directory absolute path>/Developer-Package/SDK/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
Release note

Details about the content of the SDK are available in the associated STM32MP15 ecosystem release note.

25px If you are interested in older releases, please have a look into the section Archives.

  • The SDK is in the <SDK installation directory>:
<SDK installation directory>                                                    SDK for OpenSTLinux distribution: details in Standard SDK directory structure article
├── environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi  Environment setup script for Developer Package
├── site-config-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
├── sysroots
│   ├── cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi                Target sysroot (libraries, headers, and symbols)
│   │   └── [...]
│   └── x86_64-ostl_sdk-linux                                     Native sysroot (libraries, headers, and symbols)
│       └── [...]
└── version-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi


Archives 25px

{{#vardefine:link|unknown flow}}This wiki is for the v2 ecosystem releases. For information about the previous ecosystem releases, please go through the Wiki archives.

STM32MP15-Ecosystem-v2.0.0 release

  • Download and install the STM32MP1 SDK.

模板:SoftwareLicenseAgreement

STM32MP1 Developer Package SDK - STM32MP15-Ecosystem-v2.0.0 release
Download

You need to be logged on my.st.com before accessing the following link:
[{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group0/6f/5f/e6/0a/4c/c3/45/a9/stm32mp1dev_yocto_sdk/files/SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7C}}{{#var:url}}/{{#vardefine:name%7C}}{{#vardefine:url%7C}}{{#vardefine:path%7C}}{{#vardefine:name%7Cen.SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url%7Chttps://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group0/6f/5f/e6/0a/4c/c3/45/a9/stm32mp1dev_yocto_sdk/files/SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7C}}{{#var:name}} {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group0/6f/5f/e6/0a/4c/c3/45/a9/stm32mp1dev_yocto_sdk/files/SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7C}}{{#var:name}}]

Installation
  • Uncompress the tarball file to get the SDK installation script
tar xvf {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group0/6f/5f/e6/0a/4c/c3/45/a9/stm32mp1dev_yocto_sdk/files/SDK-x86_64-stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7C}}{{#var:name}}
  • If needed, change the permissions on the SDK installation script so that it is executable
$ chmod +x {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-06-24.sh}}{{#vardefine:url|}}{{#vardefine:path|stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sdk}}{{#var:path}}/{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-06-24.sh}}{{#vardefine:url|}}{{#vardefine:path|stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sdk}}{{#var:name}}
  • Run the SDK installation script
    • Use the -d <SDK installation directory absolute path> option to specify the absolute path to the directory in which you want to install the SDK (<SDK installation directory>)
    • If you follow the proposition to organize the working directory, it means:
$ ./{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-06-24.sh}}{{#vardefine:url|}}{{#vardefine:path|stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sdk}}{{#var:path}}/{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-06-24.sh}}{{#vardefine:url|}}{{#vardefine:path|stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sdk}}{{#var:name}} -d <working directory absolute path>/Developer-Package/SDK
  • A successful installation outputs the following log:
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 3.1-snapshot
===========================================================================================
You are about to install the SDK to "<working directory absolute path>/Developer-Package/SDK". Proceed [Y/n]? 
Extracting SDK................................................................................................................................................................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
 $ . <working directory absolute path>/Developer-Package/SDK/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
Release note

Details about the content of the SDK are available in the associated STM32MP15 ecosystem release note.

25px If you are interested in older releases, please have a look into the section Archives.

  • The SDK is in the <SDK installation directory>:
<SDK installation directory>                                                    SDK for OpenSTLinux distribution: details in Standard SDK directory structure article
├── environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi  Environment setup script for Developer Package
├── site-config-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
├── sysroots
│   ├── cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi                Target sysroot (libraries, headers, and symbols)
│   │   └── [...]
│   └── x86_64-ostl_sdk-linux                                     Native sysroot (libraries, headers, and symbols)
│       └── [...]
└── version-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi