Registered User No edit summary |
Registered User mNo edit summary |
||
(24 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
This article aims to give the following information: | This article aims to give the following information: | ||
* How to download and install the '''latest''' OpenSTLinux distribution for the STM32 microprocessors Series | * How to download and install the '''latest''' OpenSTLinux distribution for the STM32 microprocessors Series | ||
Line 16: | Line 6: | ||
{{Warning|For more specific information, go through the Distribution Package article relative to your STM32 microprocessors Series: [[:Category:Distribution Package]]}} | {{Warning|For more specific information, go through the Distribution Package article relative to your STM32 microprocessors Series: [[:Category:Distribution Package]]}} | ||
==STM32MP15-Ecosystem- | ==STM32MP15-Ecosystem-v3.1.0 release== | ||
<onlyinclude> | <onlyinclude> | ||
* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision (''' | * The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''{{EcosystemRelease/Package | revision=3.1.0 | package=OpenSTLinux distribution | request=name}}'''). | ||
* The installation relies on the ''repo'' command. In case the Repo tool (a Google-built repository management tool that runs on top of | * The installation relies on the ''repo'' command. In case the Repo tool (a Google-built repository management tool that runs on top of git) is not yet installed and configured on the host PC, refer to the [[PC prerequisites]] article. | ||
* The OpenSTLinux distribution is massively using open source software (OSS) packages that are downloaded from a variety of open source repositories; so it is required that the IT infrastructure proxies do not forbid such accesses. If some proxy-related issues are suspected, refer to the [[How to avoid proxy issues]] article. | * The OpenSTLinux distribution is massively using open source software (OSS) packages that are downloaded from a variety of open source repositories; so it is required that the IT infrastructure proxies do not forbid such accesses. If some proxy-related issues are suspected, refer to the [[How to avoid proxy issues]] article. | ||
* Install the STM32MP1 OpenSTLinux distribution | * Install the STM32MP1 OpenSTLinux distribution | ||
{| class=" | {| class="st-table" | ||
|- | |- | ||
! !! STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem- | ! !! style="text-align:center;" |STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v3.1.0 release | ||
|- | |- | ||
| Installation || <span id="Download"></span> | | Installation || <span id="Download"></span> | ||
* Go to the host PC directory where to install the Distribution Package (''<Distribution Package installation directory>''). Example, if following the [[Example of directory structure for Packages|proposition to organize the working directory]]: | * Go to the host PC directory where to install the Distribution Package (''<Distribution Package installation directory>''). Example, if following the [[Example of directory structure for Packages|proposition to organize the working directory]]: | ||
$ cd <working directory path>/Distribution-Package | {{PC$}} cd {{HighlightParam|''<working directory path>''}}/Distribution-Package | ||
* Create the OpenSTLinux distribution installation sub-directory: | * Create the OpenSTLinux distribution installation sub-directory: | ||
{{PC$}} mkdir {{EcosystemRelease/Package | revision=3.1.0 | package=OpenSTLinux distribution | request=name}} | |||
$ mkdir | {{PC$}} cd {{EcosystemRelease/Package | revision=3.1.0 | package=OpenSTLinux distribution | request=name}} | ||
$ cd | |||
* Initialize repo in the current directory (More details on 'repo init' [https://source.android.com/setup/develop/repo#init here]). | * Initialize repo in the current directory (More details on 'repo init' [https://source.android.com/setup/develop/repo#init here]). | ||
{{PC$}} repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/{{EcosystemRelease/Package | revision=3.1.0 | package=OpenSTLinux distribution | request=name}} | |||
$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/ | |||
'''Note:''' "ERROR 404" may appear during "repo init" command without any impact on the process <br> | '''Note:''' "ERROR 404" may appear during "repo init" command without any impact on the process <br> | ||
* Synchronize the local project directories with the remote repositories specified in the manifest (more details on 'repo sync' [https://source.android.com/setup/develop/repo#sync here])<br> | * Synchronize the local project directories with the remote repositories specified in the manifest (more details on 'repo sync' [https://source.android.com/setup/develop/repo#sync here])<br> | ||
{{PC$}} repo sync | |||
$ repo sync | |||
'''Note:''' ''Distribution package'' needs | '''Note:''' ''Distribution package'' needs around 140MB to be installed (and around 25GB once ''distribution package'' is compiled).<br> | ||
|- | |- | ||
| Release note || | | Release note || | ||
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - | Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v3.1.0|STM32MP15 ecosystem release note]]. | ||
If interested in previous releases, go through the [[ | [[File:Archive_box.png|25px|link=]] If interested in previous releases, go through the [[STM32MP1_Distribution_Package_-_OpenSTLinux_distribution#Archives| archives]] of the ecosystem release note. | ||
|} | |} | ||
* The '''OpenSTLinux distribution installation directory''' is in the ''<Distribution Package installation directory>, and is named '' | * The '''OpenSTLinux distribution installation directory''' is in the ''<Distribution Package installation directory>, and is named ''{{EcosystemRelease/Package | revision=3.1.0 | package=OpenSTLinux distribution | request=name}}'': | ||
{{Green| | {{Green|{{EcosystemRelease/Package | revision=3.1.0 | package=OpenSTLinux distribution | request=name}}}} {{Highlight|OpenSTLinux distribution}} | ||
├── {{Green|layers}} | ├── {{Green|layers}} | ||
│ ├── {{Green|meta-openembedded}} {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}} | │ ├── {{Green|meta-openembedded}} {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}} | ||
Line 91: | Line 77: | ||
│ │ ├── envsetup.sh {{Highlight|'''Environment setup script''' for Distribution Package}} | │ │ ├── envsetup.sh {{Highlight|'''Environment setup script''' for Distribution Package}} | ||
│ │ └── [...] | │ │ └── [...] | ||
│ └── {{Green|openembedded-core}} {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}} | │ └── {{Green|openembedded-core}} {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}} | ||
Line 99: | Line 84: | ||
</onlyinclude> | </onlyinclude> | ||
==Archives== | ==Archives [[File:Archive_box.png|25px|link=]]== | ||
{{EcosystemFlow/Archives}} | |||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> | ||
===STM32MP15-Ecosystem- | ===STM32MP15-Ecosystem-v3.0.0 release=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision (''' | * The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''{{EcosystemRelease/Package | revision=3.0.0 | package=OpenSTLinux distribution | request=name}}'''). | ||
* The installation relies on the ''repo'' command. In case the Repo tool (a Google-built repository management tool that runs on top of | * The installation relies on the ''repo'' command. In case the Repo tool (a Google-built repository management tool that runs on top of git) is not yet installed and configured on the host PC, refer to the [[PC prerequisites]] article. | ||
* The OpenSTLinux distribution is massively using open source software (OSS) packages that are downloaded from a variety of open source repositories; so it is required that the IT infrastructure proxies do not forbid such accesses. If some proxy-related issues are suspected, refer to the [[How to avoid proxy issues]] article. | * The OpenSTLinux distribution is massively using open source software (OSS) packages that are downloaded from a variety of open source repositories; so it is required that the IT infrastructure proxies do not forbid such accesses. If some proxy-related issues are suspected, refer to the [[How to avoid proxy issues]] article. | ||
* Install the STM32MP1 OpenSTLinux distribution | * Install the STM32MP1 OpenSTLinux distribution | ||
{| class=" | {| class="st-table" | ||
|- | |- | ||
! !! STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem- | ! !! style="text-align:center;" |STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v3.0.0 release | ||
|- | |- | ||
| Installation || <span id="Download"></span> | | Installation || <span id="Download"></span> | ||
* Go to the host PC directory where to install the Distribution Package (''<Distribution Package installation directory>''). Example, if following the [[Example of directory structure for Packages|proposition to organize the working directory]]: | * Go to the host PC directory where to install the Distribution Package (''<Distribution Package installation directory>''). Example, if following the [[Example of directory structure for Packages|proposition to organize the working directory]]: | ||
$ cd <working directory path>/Distribution-Package | {{PC$}} cd {{HighlightParam|''<working directory path>''}}/Distribution-Package | ||
* Create the OpenSTLinux distribution installation sub-directory: | * Create the OpenSTLinux distribution installation sub-directory: | ||
{{PC$}} mkdir {{EcosystemRelease/Package | revision=3.0.0 | package=OpenSTLinux distribution | request=name}} | |||
$ mkdir | {{PC$}} cd {{EcosystemRelease/Package | revision=3.0.0 | package=OpenSTLinux distribution | request=name}} | ||
$ cd | |||
* Initialize repo in the current directory | * Initialize repo in the current directory (More details on 'repo init' [https://source.android.com/setup/develop/repo#init here]). | ||
{{PC$}} repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/{{EcosystemRelease/Package | revision=3.0.0 | package=OpenSTLinux distribution | request=name}} | |||
'''Note:''' "ERROR 404" may appear during "repo init" command without any impact on the process <br> | '''Note:''' "ERROR 404" may appear during "repo init" command without any impact on the process <br> | ||
* Synchronize the local project directories with the remote repositories specified in the manifest | * Synchronize the local project directories with the remote repositories specified in the manifest (more details on 'repo sync' [https://source.android.com/setup/develop/repo#sync here])<br> | ||
< | {{PC$}} repo sync | ||
'''Note:''' ''Distribution package'' needs around 140MB to be installed (and around 25GB once ''distribution package'' is compiled).<br> | |||
|- | |- | ||
| Release note || | | Release note || | ||
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - | Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v3.0.0|STM32MP15 ecosystem release note]]. | ||
If interested in previous releases, go through the [[ | [[File:Archive_box.png|25px|link=]] If interested in previous releases, go through the [[STM32MP1_Distribution_Package_-_OpenSTLinux_distribution#Archives| archives]] of the ecosystem release note. | ||
|} | |} | ||
* The '''OpenSTLinux distribution installation directory''' is in the ''<Distribution Package installation directory>, and is named '' | * The '''OpenSTLinux distribution installation directory''' is in the ''<Distribution Package installation directory>, and is named ''{{EcosystemRelease/Package | revision=3.0.0 | package=OpenSTLinux distribution | request=name}}'': | ||
{{Green| | {{Green|{{EcosystemRelease/Package | revision=3.0.0 | package=OpenSTLinux distribution | request=name}}}} {{Highlight|OpenSTLinux distribution}} | ||
├── {{Green|layers}} | ├── {{Green|layers}} | ||
│ ├── {{Green|meta-openembedded}} {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}} | │ ├── {{Green|meta-openembedded}} {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}} | ||
Line 171: | Line 141: | ||
│ │ │ │ └── {{Green|u-boot}} {{Highlight|Recipes for U-Boot}} | │ │ │ │ └── {{Green|u-boot}} {{Highlight|Recipes for U-Boot}} | ||
│ │ │ ├── {{Green|recipes-extended}} | │ │ │ ├── {{Green|recipes-extended}} | ||
│ │ │ │ ├── {{Green| | │ │ │ │ ├── {{Green|linux-examples}} {{Highlight|Recipes for Linux examples for STM32 MPU devices}} | ||
│ │ │ │ └── {{Green| | │ │ │ │ ├── {{Green|m4coredump}} {{Highlight|Recipes for script to manage coredump of cortexM4}} | ||
│ │ │ │ └── {{Green|m4projects}} {{Highlight|Recipes for firmware examples for Cortex M4}} | |||
│ │ │ ├── {{Green|recipes-graphics}} | │ │ │ ├── {{Green|recipes-graphics}} | ||
│ │ │ │ ├── {{Green|gcnano-userland}} {{Highlight|Recipes for Vivante libraries OpenGL ES, OpenVG and EGL (multi backend)}} | │ │ │ │ ├── {{Green|gcnano-userland}} {{Highlight|Recipes for Vivante libraries OpenGL ES, OpenVG and EGL (multi backend)}} | ||
Line 188: | Line 159: | ||
│ │ ├── envsetup.sh {{Highlight|'''Environment setup script''' for Distribution Package}} | │ │ ├── envsetup.sh {{Highlight|'''Environment setup script''' for Distribution Package}} | ||
│ │ └── [...] | │ │ └── [...] | ||
│ └── {{Green|openembedded-core}} {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}} | │ └── {{Green|openembedded-core}} {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}} | ||
Line 196: | Line 166: | ||
</div></div> | </div></div> | ||
{{NoIndex}} | |||
[[Category:Sub-articles]] | [[Category:Sub-articles]] | ||
{{UpdateNeededForNewRelease| | |||
* Copy the current release (first chapter) in the "Archives" chapter | |||
* Make the following modifications in this copy: | |||
** Change the "Download" span id to "Download <name of the old release>" (example: "Download STM32MP15-Ecosystem-v1.0.0 release") | |||
* Make the following modifications in the first chapter: | |||
** Change the name of the manifest file | |||
** Change the link to the release note | |||
** Change the path and the description of the installation directory | |||
}} |
Latest revision as of 12:41, 16 November 2021
This article aims to give the following information:
- How to download and install the latest OpenSTLinux distribution for the STM32 microprocessors Series
- Where to find the associated release note
- Where to find the previous releases (archives)
1. STM32MP15-Ecosystem-v3.1.0 release[edit source]
- The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision (openstlinux-5.10-dunfell-mp1-21-11-17).
- The installation relies on the repo command. In case the Repo tool (a Google-built repository management tool that runs on top of git) is not yet installed and configured on the host PC, refer to the PC prerequisites article.
- The OpenSTLinux distribution is massively using open source software (OSS) packages that are downloaded from a variety of open source repositories; so it is required that the IT infrastructure proxies do not forbid such accesses. If some proxy-related issues are suspected, refer to the How to avoid proxy issues article.
- Install the STM32MP1 OpenSTLinux distribution
STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v3.1.0 release | |
---|---|
Installation |
<working directory path>/Distribution-Packagecd
mkdir openstlinux-5.10-dunfell-mp1-21-11-17
cd openstlinux-5.10-dunfell-mp1-21-11-17
https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.10-dunfell-mp1-21-11-17repo init -u
repo sync
|
Release note |
Details about the content of this software package are available in the associated STM32MP15 ecosystem release note.
|
- The OpenSTLinux distribution installation directory is in the <Distribution Package installation directory>, and is named openstlinux-5.10-dunfell-mp1-21-11-17:
openstlinux-5.10-dunfell-mp1-21-11-17 OpenSTLinux distribution ├── layers │ ├── meta-openembedded Collection of layers for the OpenEmbedded-Core universe (OpenEmbedded standard) │ ├── meta-qt5 QT5 layer for OpenEmbedded (standard) │ ├── meta-st │ │ ├── meta-st-openstlinux STMicroelectronics layer that contains the frameworks and images settings for the OpenSTLinux distribution │ │ ├── meta-st-stm32mp STMicroelectronics layer that contains the description of the BSP for the STM32 MPU devices │ │ │ ├── recipes-bsp │ │ │ │ ├── alsa Recipes for ALSA control configuration │ │ │ │ ├── drivers Recipes for Vivante GCNANO GPU kernel drivers │ │ │ │ ├── trusted-firmware-a Recipes for TF-A │ │ │ │ └── u-boot Recipes for U-Boot │ │ │ ├── recipes-extended │ │ │ │ ├── linux-examples Recipes for Linux examples for STM32 MPU devices │ │ │ │ ├── m4coredump Recipes for script to manage coredump of cortexM4 │ │ │ │ └── m4projects Recipes for firmware examples for Cortex M4 │ │ │ ├── recipes-graphics │ │ │ │ ├── gcnano-userland Recipes for Vivante libraries OpenGL ES, OpenVG and EGL (multi backend) │ │ │ │ └── [...] │ │ │ ├── recipes-kernel │ │ │ │ ├── linux Recipes for Linux kernel │ │ │ │ └── linux-firmware Recipes for Linux firmwares (example, Bluetooth firmware) │ │ │ ├── recipes-security │ │ │ │ └── optee Recipes for OPTEE │ │ │ ├── recipes-st │ │ │ │ └── images Recipes for the bootfs and userfs partitions binaries │ │ │ └── [...] │ │ ├── meta-st-stm32mp-addons STMicroelectronics layer that helps managing the STM32CubeMX integration │ │ └── scripts │ │ ├── envsetup.sh Environment setup script for Distribution Package │ │ └── [...] │ └── openembedded-core Core metadata for current versions of OpenEmbedded (standard)
2. Archives
[edit source]
This wiki is for the v3 ecosystem releases. For information about the previous ecosystem releases, go through the Wiki archives.