Difference between revisions of "STM32MP1 Distribution Package - OpenSTLinux distribution"

[quality revision] [quality revision]
m
 

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)
Warning.png For more specific information, go through the Distribution Package article relative to your STM32 microprocessors Series: Category:Distribution Package

1 STM32MP15-Ecosystem-v1.1.0 release[edit]

  • The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision (openstlinux-4.19-thud-mp1-19-10-09).
  • 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-v1.1.0 release
Installation
$ cd <working directory path>/Distribution-Package

  • Create the OpenSTLinux distribution installation sub-directory:

$ mkdir openstlinux-4.19-thud-mp1-19-10-09 
$ cd openstlinux-4.19-thud-mp1-19-10-09

  • Initialize repo in the current directory (More details on 'repo init' here).

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-10-09

Note: "ERROR 404" may appear during "repo init" command without any impact on the process

  • Synchronize the local project directories with the remote repositories specified in the manifest (more details on 'repo sync' here)

$ repo sync

Note: Distribution package needs around 140MB to be installed (and around 25GB once distribution package is compiled).

Release note

Details about the content of this software package are available in the associated STM32MP15 ecosystem release note.

Archive box.png If interested in previous releases, go through the archives of the ecosystem release note.

  • The OpenSTLinux distribution installation directory is in the <Distribution Package installation directory>, and is named openstlinux-4.19-thud-mp1-19-10-09:
openstlinux-4.19-thud-mp1-19-10-09  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
│    │       └── [...]
│    ├── meta-timesys                     Timesys layer for OpenEmbedded (standard)
│    └── openembedded-core                Core metadata for current versions of OpenEmbedded (standard)



2 Archives Archive box.png[edit]

2.1 STM32MP15-Ecosystem-v1.0.0 release[edit]

  • The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision (openstlinux-4.19-thud-mp1-19-02-20).
  • 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-v1.0.0 release
Installation
$ cd <working directory path>/Distribution-Package

  • Create the OpenSTLinux distribution installation sub-directory:

$ mkdir openstlinux-4.19-thud-mp1-19-02-20 
$ cd openstlinux-4.19-thud-mp1-19-02-20

  • Initialize repo in the current directory.

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-02-20

Note: "ERROR 404" may appear during "repo init" command without any impact on the process

  • Synchronize the local project directories with the remote repositories specified in the manifest

$ repo sync

Release note

Details about the content of this software package are available in the associated STM32MP15 ecosystem release note.

If interested in previous releases, go through the archives of the ecosystem release note.

  • The OpenSTLinux distribution installation directory is in the <Distribution Package installation directory>, and is named openstlinux-4.19-thud-mp1-19-02-20:
openstlinux-4.19-thud-mp1-19-02-20  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
│    │   │   │   ├── m4projects           Recipes for STM32Cube MPU Package within the OpenSTLinux distribution
│    │   │   │   └── stlink               Recipes for STLink
│    │   │   ├── 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
│    │       └── [...]
│    ├── meta-timesys                     Timesys layer for OpenEmbedded (standard)
│    └── openembedded-core                Core metadata for current versions of OpenEmbedded (standard)


<noinclude>

{{ArticleMainWriter | DenisH}}
{{ReviewersList | NathalieS, BernardP, RomualdJ, Jean-ChristopheT}}
{{ArticleApprovedVersion | DenisH | Jean-ChristopheT(Passed, 29Nov'18) | Jean-ChristopheT - 17Sep'18 | BrunoB - 04Jul'18 - 8080 | 05Dec'18}}

[[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
}}

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)

{{Warning|For more specific information, go through the Distribution Package article relative to your STM32 microprocessors Series: [[:Category:Distribution Package]]}}

==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)

{{Warning|For more specific information, go through the Distribution Package article relative to your STM32 microprocessors Series: [[:Category:Distribution Package]]}}

==STM32MP15-Ecosystem-v1.1.0 release==<onlyinclude>

* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''openstlinux-4.19-thud-mp1-19-10-09''').
* 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
{| class="st-table"
|-
!  !! style="text-align:center;" |STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v1.1.0 release
|-
| 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]]:
 $ cd <working directory path>/Distribution-Package

* Create the OpenSTLinux distribution installation sub-directory:<pre>

$ mkdir openstlinux-4.19-thud-mp1-19-10-09 
$ cd openstlinux-4.19-thud-mp1-19-10-09</pre>


* Initialize repo in the current directory (More details on 'repo init' [https://source.android.com/setup/develop/repo#init here]).<pre>

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-10-09</pre>


'''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>
<pre>

$ repo sync</pre>


'''Note:''' ''Distribution package'' needs  around 140MB to be installed (and around 25GB once ''distribution package'' is compiled).<br>


|-
| Release note ||
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v1.1.0|STM32MP15 ecosystem release note]].

[[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 ''openstlinux-4.19-thud-mp1-19-10-09'':

 {{Green|openstlinux-4.19-thud-mp1-19-10-09}}  {{Highlight|OpenSTLinux distribution}}
 ├── {{Green|layers}} 
 │    ├── {{Green|meta-openembedded}}                {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}}
 │    ├── {{Green|meta-qt5}}                         {{Highlight|QT5 layer for OpenEmbedded (standard)}}
 │    ├── {{Green|meta-st}}
 │    │   ├── {{Green|meta-st-openstlinux}}          {{Highlight|STMicroelectronics layer that contains the frameworks and images settings for the OpenSTLinux distribution}}
 │    │   ├── {{Green|meta-st-stm32mp}}              {{Highlight|STMicroelectronics layer that contains the description of the BSP for the STM32 MPU devices}}
 │    │   │   ├── {{Green|recipes-bsp}}
 │    │   │   │   ├── {{Green|alsa}}                 {{Highlight|Recipes for ALSA control configuration}}
 │    │   │   │   ├── {{Green|drivers}}              {{Highlight|Recipes for Vivante GCNANO GPU kernel drivers}}
 │    │   │   │   ├── {{Green|trusted-firmware-a}}   {{Highlight|Recipes for TF-A}}
 │    │   │   │   └── {{Green|u-boot}}               {{Highlight|Recipes for U-Boot}}
 │    │   │   ├── {{Green|recipes-extended}}
 │    │   │   │   ├── {{Green|linux-examples}}       {{Highlight|Recipes for Linux examples for STM32 MPU devices}}
 │    │   │   │   ├── {{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|gcnano-userland}}      {{Highlight|Recipes for Vivante libraries OpenGL ES, OpenVG and EGL (multi backend)}}
 │    │   │   │   └── [...]
 │    │   │   ├── {{Green|recipes-kernel}}
 │    │   │   │   ├── {{Green|linux}}                {{Highlight|Recipes for Linux kernel}}
 │    │   │   │   └── {{Green|linux-firmware}}       {{Highlight|Recipes for Linux firmwares (example, Bluetooth firmware)}}
 │    │   │   ├── {{Green|recipes-security}}
 │    │   │   │   └── {{Green|optee}}                {{Highlight|Recipes for OPTEE}}
 │    │   │   ├── {{Green|recipes-st}}
 │    │   │   │   └── {{Green|images}}               {{Highlight|Recipes for the ''bootfs'' and ''userfs'' partitions binaries}}
 │    │   │   └── [...]
 │    │   ├── {{Green|meta-st-stm32mp-addons}}       {{Highlight|STMicroelectronics layer that helps managing the STM32CubeMX integration}}
 │    │   └── {{Green|scripts}}
 │    │       ├── envsetup.sh              {{Highlight|'''Environment setup script''' for Distribution Package}}
 │    │       └── [...]
 │    ├── {{Green|meta-timesys}}                     {{Highlight|Timesys layer for OpenEmbedded (standard)}}
 │    └── {{Green|openembedded-core}}                {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}}

{{InternalInfo| Additional layer for internal usage
└── st-hands-on  STMicroelectronics layer that contains the reference source code for the hands-on
}}</onlyinclude>


==Archives [[File:Archive_box.png|25px|link=]]==<div class="mw-collapsible mw-collapsed">

===STM32MP15-Ecosystem-v1.0.0 release==
</noinclude>=<div class="mw-collapsible-content">

* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''openstlinux-4.19-thud-mp1-19-02-20''').
* 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
{| class="wikitable"
|-
!  !! st-table"
|-
!  !! style="text-align:center;" |STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v1.0.0 release
|-
| 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]]:
 $ cd <working directory path>/Distribution-Package

* Create the OpenSTLinux distribution installation sub-directory:<pre>

$ mkdir openstlinux-4.19-thud-mp1-19-02-20 
$ cd openstlinux-4.19-thud-mp1-19-02-20</pre>


* Initialize repo in the current directory. <div class="NavFrame collapsed">
<div class="NavHead">Details:</div>
<div class="NavContent">

The below command downloads (in the ''.repo'' directory) the latest repo source code and a manifest file (''default.xml'')) that describes the directory structure of the repositories for OpenSTLinux.

The ''-u'' option specifies the manifest repository location, while the ''-b'' option specifies its branch.</div>
</div>
<pre>

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-02-20</pre>


'''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<div class="NavFrame collapsed">
<div class="NavHead">Details:</div>
<div class="NavContent">

If a local project does not yet exist, the command clones a new local directory from the remote repository and sets up tracking branches as specified in the manifest.

If the local project already exists, the command updates the remote branches and rebases any new local changes on top of the new remote changes.{{ReviewsComments| W911.1 RJE: I'm not sure that 'repo sync' automatically rebases any local changes.}}
 </div>
</div>
<pre>

$ repo sync</pre>

|-
| Release note ||
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v1.0.0|STM32MP15 ecosystem release note]].

If interested in previous releases, go through the [[STM32MP15 ecosystem release note#Archives| archives]] of the ecosystem release note.
||}

* The '''OpenSTLinux distribution installation directory''' is in the ''<Distribution Package installation directory>, and is named ''openstlinux-4.19-thud-mp1-19-02-20'':

 {{Green|openstlinux-4.19-thud-mp1-19-02-20}}  {{Highlight|OpenSTLinux distribution}}
 ├── {{Green|layers}} 
 │    ├── {{Green|meta-openembedded}}                {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}}
 │    ├── {{Green|meta-qt5}}                         {{Highlight|QT5 layer for OpenEmbedded (standard)}}
 │    ├── {{Green|meta-st}}
 │    │   ├── {{Green|meta-st-openstlinux}}          {{Highlight|STMicroelectronics layer that contains the frameworks and images settings for the OpenSTLinux distribution}}
 │    │   ├── {{Green|meta-st-stm32mp}}              {{Highlight|STMicroelectronics layer that contains the description of the BSP for the STM32 MPU devices}}
 │    │   │   ├── {{Green|recipes-bsp}}
 │    │   │   │   ├── {{Green|alsa}}                 {{Highlight|Recipes for ALSA control configuration}}
 │    │   │   │   ├── {{Green|drivers}}              {{Highlight|Recipes for Vivante GCNANO GPU kernel drivers}}
 │    │   │   │   ├── {{Green|trusted-firmware-a}}   {{Highlight|Recipes for TF-A}}
 │    │   │   │   └── {{Green|u-boot}}               {{Highlight|Recipes for U-Boot}}
 │    │   │   ├── {{Green|recipes-extended}}
 │    │   │   │   ├── {{Green|m4projects}}           {{Highlight|Recipes for STM32Cube MPU Package within the OpenSTLinux distribution}}
 │    │   │   │   └── {{Green|stlink}}               {{Highlight|Recipes for STLink}}
 │    │   │   ├── {{Green|recipes-graphics}}
 │    │   │   │   ├── {{Green|gcnano-userland}}      {{Highlight|Recipes for Vivante libraries OpenGL ES, OpenVG and EGL (multi backend)}}
 │    │   │   │   └── [...]
 │    │   │   ├── {{Green|recipes-kernel}}
 │    │   │   │   ├── {{Green|linux}}                {{Highlight|Recipes for Linux kernel}}
 │    │   │   │   └── {{Green|linux-firmware}}       {{Highlight|Recipes for Linux firmwares (example, Bluetooth firmware)}}
 │    │   │   ├── {{Green|recipes-security}}
 │    │   │   │   └── {{Green|optee}}                {{Highlight|Recipes for OPTEE}}
 │    │   │   ├── {{Green|recipes-st}}
 │    │   │   │   └── {{Green|images}}               {{Highlight|Recipes for the ''bootfs'' and ''userfs'' partitions binaries}}
 │    │   │   └── [...]
 │    │   ├── {{Green|meta-st-stm32mp-addons}}       {{Highlight|STMicroelectronics layer that helps managing the STM32CubeMX integration}}
 │    │   └── {{Green|scripts}}
 │    │       ├── envsetup.sh              {{Highlight|'''Environment setup script''' for Distribution Package}}
 │    │       └── [...]
 │    ├── {{Green|meta-timesys}}                     {{Highlight|Timesys layer for OpenEmbedded (standard)}}
 │    └── {{Green|openembedded-core}}                {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}}

{{InternalInfo| Additional layer for internal usage
└── st-hands-on  STMicroelectronics layer that contains the reference source code for the hands-on
}}
</div></div>


[[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
}}
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
 
{{ArticleMainWriter | DenisH}}
 
{{ReviewersList | NathalieS, BernardP, RomualdJ, Jean-ChristopheT}}
 
{{ArticleApprovedVersion | DenisH | Jean-ChristopheT(Passed, 29Nov'18) | Jean-ChristopheT - 17Sep'18 | BrunoB - 04Jul'18 - 8080 | 05Dec'18}}
 
 
[[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
 
}}
 
 
 
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 22: 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-v1.0.0 release==
+
==STM32MP15-Ecosystem-v1.1.0 release==
</noinclude>
+
<onlyinclude>
  +
* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''openstlinux-4.19-thud-mp1-19-10-09''').
  +
* 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
  +
{| class="st-table"
  +
|-
  +
!  !! style="text-align:center;" |STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v1.1.0 release
  +
|-
  +
| 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]]:
  +
$ cd <working directory path>/Distribution-Package
  +
 
  +
* Create the OpenSTLinux distribution installation sub-directory:
  +
<pre>
  +
$ mkdir openstlinux-4.19-thud-mp1-19-10-09
  +
$ cd openstlinux-4.19-thud-mp1-19-10-09
  +
</pre>
  +
 
  +
* Initialize repo in the current directory (More details on 'repo init' [https://source.android.com/setup/develop/repo#init here]).
  +
<pre>
  +
$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-4.19-thud-mp1-19-10-09
  +
</pre>
  +
 
  +
'''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>
  +
<pre>
  +
$ repo sync
  +
</pre>
  +
 
  +
'''Note:''' ''Distribution package'' needs  around 140MB to be installed (and around 25GB once ''distribution package'' is compiled).<br>
  +
 
  +
|-
  +
| Release note ||
  +
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v1.1.0|STM32MP15 ecosystem release note]].
  +
 
  +
[[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 ''openstlinux-4.19-thud-mp1-19-10-09'':
  +
 
  +
{{Green|openstlinux-4.19-thud-mp1-19-10-09}}  {{Highlight|OpenSTLinux distribution}}
  +
├── {{Green|layers}}
  +
│    ├── {{Green|meta-openembedded}}                {{Highlight|Collection of layers for the OpenEmbedded-Core universe ([[OpenEmbedded]] standard)}}
  +
│    ├── {{Green|meta-qt5}}                        {{Highlight|QT5 layer for OpenEmbedded (standard)}}
  +
│    ├── {{Green|meta-st}}
  +
│    │  ├── {{Green|meta-st-openstlinux}}          {{Highlight|STMicroelectronics layer that contains the frameworks and images settings for the OpenSTLinux distribution}}
  +
│    │  ├── {{Green|meta-st-stm32mp}}              {{Highlight|STMicroelectronics layer that contains the description of the BSP for the STM32 MPU devices}}
  +
│    │  │  ├── {{Green|recipes-bsp}}
  +
│    │  │  │  ├── {{Green|alsa}}                {{Highlight|Recipes for ALSA control configuration}}
  +
│    │  │  │  ├── {{Green|drivers}}              {{Highlight|Recipes for Vivante GCNANO GPU kernel drivers}}
  +
│    │  │  │  ├── {{Green|trusted-firmware-a}}  {{Highlight|Recipes for TF-A}}
  +
│    │  │  │  └── {{Green|u-boot}}              {{Highlight|Recipes for U-Boot}}
  +
│    │  │  ├── {{Green|recipes-extended}}
  +
│    │  │  │  ├── {{Green|linux-examples}}      {{Highlight|Recipes for Linux examples for STM32 MPU devices}}
  +
│    │  │  │  ├── {{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|gcnano-userland}}      {{Highlight|Recipes for Vivante libraries OpenGL ES, OpenVG and EGL (multi backend)}}
  +
│    │  │  │  └── [...]
  +
│    │  │  ├── {{Green|recipes-kernel}}
  +
│    │  │  │  ├── {{Green|linux}}                {{Highlight|Recipes for Linux kernel}}
  +
│    │  │  │  └── {{Green|linux-firmware}}      {{Highlight|Recipes for Linux firmwares (example, Bluetooth firmware)}}
  +
│    │  │  ├── {{Green|recipes-security}}
  +
│    │  │  │  └── {{Green|optee}}                {{Highlight|Recipes for OPTEE}}
  +
│    │  │  ├── {{Green|recipes-st}}
  +
│    │  │  │  └── {{Green|images}}              {{Highlight|Recipes for the ''bootfs'' and ''userfs'' partitions binaries}}
  +
│    │  │  └── [...]
  +
│    │  ├── {{Green|meta-st-stm32mp-addons}}      {{Highlight|STMicroelectronics layer that helps managing the STM32CubeMX integration}}
  +
│    │  └── {{Green|scripts}}
  +
│    │      ├── envsetup.sh              {{Highlight|'''Environment setup script''' for Distribution Package}}
  +
│    │      └── [...]
  +
│    ├── {{Green|meta-timesys}}                    {{Highlight|Timesys layer for OpenEmbedded (standard)}}
  +
│    └── {{Green|openembedded-core}}                {{Highlight|Core metadata for current versions of [[OpenEmbedded]] (standard)}}
  +
 
  +
{{InternalInfo| Additional layer for internal usage
  +
└── st-hands-on  STMicroelectronics layer that contains the reference source code for the hands-on
  +
}}
  +
</onlyinclude>
  +
 
  +
==Archives [[File:Archive_box.png|25px|link=]]==
  +
<div class="mw-collapsible mw-collapsed">
  +
===STM32MP15-Ecosystem-v1.0.0 release===
  +
<div class="mw-collapsible-content">
 
* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''openstlinux-4.19-thud-mp1-19-02-20''').
 
* The STM32MP1 OpenSTLinux distribution is delivered through a manifest repository location and a manifest revision ('''openstlinux-4.19-thud-mp1-19-02-20''').
 
* 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 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.
Line 29: Line 98:
   
 
* Install the STM32MP1 OpenSTLinux distribution
 
* Install the STM32MP1 OpenSTLinux distribution
{| class="wikitable"
+
{| class="st-table"
 
|-
 
|-
!  !! STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v1.0.0 release
+
!  !! style="text-align:center;" |STM32MP1 Distribution Package OpenSTLinux distribution - STM32MP15-Ecosystem-v1.0.0 release
 
|-
 
|-
 
| Installation || <span id="Download"></span>
 
| Installation || <span id="Download"></span>
Line 65: Line 134:
   
 
If the local project already exists, the command updates the remote branches and rebases any new local changes on top of the new remote changes.
 
If the local project already exists, the command updates the remote branches and rebases any new local changes on top of the new remote changes.
 
{{ReviewsComments| W911.1 RJE: I'm not sure that 'repo sync' automatically rebases any local changes.}}
 
 
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 76: Line 142:
 
| Release note ||
 
| Release note ||
 
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v1.0.0|STM32MP15 ecosystem release note]].
 
Details about the content of this software package are available in the '''associated''' [[STM32MP15 ecosystem release note - v1.0.0|STM32MP15 ecosystem release note]].
 
If interested in previous releases, go through the [[STM32MP15 ecosystem release note#Archives| archives]] of the ecosystem release note.
 
 
|}
 
|}
   
Line 117: Line 181:
 
{{InternalInfo| Additional layer for internal usage
 
{{InternalInfo| Additional layer for internal usage
 
└── st-hands-on  STMicroelectronics layer that contains the reference source code for the hands-on
 
└── st-hands-on  STMicroelectronics layer that contains the reference source code for the hands-on
  +
}}
  +
</div></div>
  +
  +
[[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
 
}}
 
}}

Attachments

Discussions