Last edited 4 years ago

STM32MP1 Developer Package - Linux kernel: Difference between revisions

Registered User
Registered User
mNo edit summary
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{ArticleMainWriter | DenisH}}
{{ReviewersList | NathalieS, BernardP, RomualdJ, Jean-ChristopheT}}
{{ArticleApprovedVersion | DenisH | Jean-ChristopheT(Passed, 28Nov'18) | Jean-ChristopheT - 17Sep'18 | PhilipS - 25Jun'18 - 7985 | 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 tarball file
** Change the download URLs
** Change the link to the release note
** Change the path and the description of the installation directory
}}
This article provides the following information:
This article provides the following information:
* How to download and install the '''latest''' Linux kernel for the STM32 microprocessor Series used
* How to download and install the '''latest''' Linux kernel for the STM32 microprocessor Series used
Line 23: Line 7:
{{Warning|To use this package efficiently, please read the Developer Package article relative to your STM32 microprocessors Series: [[:Category:Developer Package]]}}
{{Warning|To use this package efficiently, please read the Developer Package article relative to your STM32 microprocessors Series: [[:Category:Developer Package]]}}


==STM32MP15-Ecosystem-v1.0.0 release==
==STM32MP15-Ecosystem-v2.1.0 release==
</noinclude>
</noinclude>
* The STM32MP1 Linux kernel is delivered through a tarball file named :
* The STM32MP1 Linux kernel is delivered through a tarball file named '''{{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel package | request=name}}''' for {{Board | type=157x-EV1 | name=short}} and {{Board | type=157x-DKx | name=short}} boards.
**'''en.SOURCES-kernel-stm32mp1-openstlinux-4.19-thud-mp1-19-02-20.tar.xz''' for STM32MP157C-EV1 and STM32MP157X-DKX boards


<span id="Download"></span>
<span id="Download"></span>
* Download and install the STM32MP1 Linux kernel
* Download and install the STM32MP1 Linux kernel
:''By downloading this software package, you agree to be bound to the terms of the [[OpenSTLinux licenses#Top Software license agreement (SLA) and third-party licences|software license agreement (SLA)]]''. ''The detailed content licenses can be found [[OpenSTLinux licenses#Kernel_partitions:|here]]''.
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Boot partition:}}
{| class="wikitable"
{| class="st-table"
|-
|-
!  !! STM32MP1 Developer Package Linux kernel - STM32MP15-Ecosystem-v1.0.0 release
!  !! style="text-align:center;"|STM32MP1 Developer Package Linux kernel - STM32MP15-Ecosystem-v2.1.0 release
|-
|-
| Download ||  
| Download ||  
You need to be logged on to ''my.st.com'' before accessing the following link <br/>
You need to be logged on to ''my.st.com'' before accessing the following link <br/>
[https://www.st.com/content/ccc/resource/technical/sw-updater/firmware2/group0/d1/01/38/fc/a8/61/4f/e9/STM32cube_Standard_A7_BSP_components_kernel/files/SOURCES-kernel-stm32mp1-openstlinux-4.19-thud-mp1-19-02-20.tar.xz/jcr:content/translations/en.SOURCES-kernel-stm32mp1-openstlinux-4.19-thud-mp1-19-02-20.tar.xz en.SOURCES-kernel-stm32mp1-openstlinux-4.19-thud-mp1-19-02-20.tar.xz]<br>
[{{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel package | request=url}}/{{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel package | request=name}} {{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel package | request=name}}]<br>
|-
|-
| Installation ||  
| Installation ||  
Line 44: Line 27:
* Download the tarball file in this directory
* Download the tarball file in this directory
* Uncompress the tarball file to get the Linux kernel (Linux kernel source code, ST patches, ST configuration fragments...):
* Uncompress the tarball file to get the Linux kernel (Linux kernel source code, ST patches, ST configuration fragments...):
<pre>
$ tar xvf en.SOURCES-kernel-stm32mp1-openstlinux-4.19-thud-mp1-19-02-20.tar.xz


$ cd stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/
{{PC$}} $ tar xvf {{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel package | request=name}}
$ tar xvf linux-4.19.9.tar.xz
{{PC$}} $ cd {{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel package | request=path}}
</pre>
{{PC$}} $ tar xvf {{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel source | request=name}}
 
|-
|-
| Release note ||
| Release note ||
Details of the content of the Linux kernel are available in the '''associated''' [[STM32MP15 OpenSTLinux release note - v1.0.0|STM32MP15 OpenSTLinux release note]].
Details of the content of the Linux kernel are available in the '''associated''' [[STM32MP15 OpenSTLinux release note - v2.1.0|STM32MP15 OpenSTLinux release note]].
 
[[File:Archive_box.png|25px|link=]] If you are interested in older releases, please have a look into the section [[STM32MP1_Developer_Package_-_Linux_kernel#Archives|Archives]].
|}
|}


* The '''Linux kernel installation directory''' is in the ''<Developer Package installation directory>/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi'' directory, and is named ''linux-stm32mp-<kernel version>'':
* The '''Linux kernel installation directory''' is in the ''<Developer Package installation directory>/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/sources/arm-ostl-linux-gnueabi'' directory, and is named ''linux-stm32mp-<kernel version>'':


  {{Green|linux-stm32mp-4.19-r0}}    {{Highlight|'''Linux kernel installation directory'''}}
  {{Green|linux-stm32mp-5.4.56-r0}}    {{Highlight|'''Linux kernel installation directory'''}}
  ├── [*].patch            {{Highlight|ST patches to apply during the Linux kernel preparation (see next chapter)}}
  ├── [*].patch            {{Highlight|ST patches to apply during the Linux kernel preparation (see next chapter)}}
  ├── fragment-[*].config  {{Highlight|ST configuration fragments to apply during the Linux kernel configuration (see next chapter)}}
  ├── fragment-[*].config  {{Highlight|ST configuration fragments to apply during the Linux kernel configuration (see next chapter)}}
  ├── {{Green|linux-4.19.9}}          {{Highlight|'''Linux kernel source code directory'''}}
  ├── {{Green|{{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel source | request=path}}}}          {{Highlight|'''Linux kernel source code directory'''}}
  ├── linux-4.19.9.tar.xz   {{Highlight|Tarball file of the Linux kernel source code}}
  ├── {{EcosystemRelease/Package | revision=2.1.0 | package=Linux kernel source | request=name}}   {{Highlight|Tarball file of the Linux kernel source code}}
  ├── README.HOW_TO.txt    {{Highlight|Helper file for Linux kernel management: '''reference''' for Linux kernel build}}
  ├── README.HOW_TO.txt    {{Highlight|Helper file for Linux kernel management: '''reference''' for Linux kernel build}}
  └── series                {{Highlight|List of all ST patches to apply}}
  └── series                {{Highlight|List of all ST patches to apply}}
<noinclude>
==Archives [[File:Archive_box.png|25px|link=]]==
{{EcosystemFlow/Archives}}
<div class="mw-collapsible mw-collapsed">
===STM32MP15-Ecosystem-v2.0.0 release===
<div class="mw-collapsible-content">
* The STM32MP1 Linux kernel is delivered through a tarball file named '''{{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel package | request=name}}''' for {{Board | type=157x-EV1 | name=short}} and {{Board | type=157x-DKx | name=short}} boards.
<span id="Download"></span>
* Download and install the STM32MP1 Linux kernel
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Boot partition:}}
{| class="st-table"
|-
!  !! style="text-align:center;"|STM32MP1 Developer Package Linux kernel - STM32MP15-Ecosystem-v2.0.0 release
|-
| Download ||
You need to be logged on to ''my.st.com'' before accessing the following link <br/>
[{{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel package | request=url}}/{{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel package | request=name}} {{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel package | request=name}}]<br>
|-
| Installation ||
* Go to the host PC directory in which you want to install the Developer Package (''<Developer Package installation directory>''); if you follow the [[Example of directory structure for Packages|proposition to organize the working directory]], this means:
$ cd <working directory path>/Developer-Package
* Download the tarball file in this directory
* Uncompress the tarball file to get the Linux kernel (Linux kernel source code, ST patches, ST configuration fragments...):
{{PC$}} $ tar xvf {{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel package | request=name}}
{{PC$}} $ cd {{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel package | request=path}}
{{PC$}} $ tar xvf {{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel source | request=name}}
|-
| Release note ||
Details of the content of the Linux kernel are available in the '''associated''' [[STM32MP15 OpenSTLinux release note - v2.0.0|STM32MP15 OpenSTLinux release note]].
[[File:Archive_box.png|25px|link=]] If you are interested in older releases, please have a look into the section [[STM32MP1_Developer_Package_-_Linux_kernel#Archives|Archives]].
|}
* The '''Linux kernel installation directory''' is in the ''<Developer Package installation directory>/stm32mp1-openstlinux-20-06-24/sources/arm-ostl-linux-gnueabi'' directory, and is named ''linux-stm32mp-<kernel version>'':
{{Green|linux-stm32mp-5.4.31-r0}}    {{Highlight|'''Linux kernel installation directory'''}}
├── [*].patch            {{Highlight|ST patches to apply during the Linux kernel preparation (see next chapter)}}
├── fragment-[*].config  {{Highlight|ST configuration fragments to apply during the Linux kernel configuration (see next chapter)}}
├── {{Green|{{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel source | request=path}}}}          {{Highlight|'''Linux kernel source code directory'''}}
├── {{EcosystemRelease/Package | revision=2.0.0 | package=Linux kernel source | request=name}}  {{Highlight|Tarball file of the Linux kernel source code}}
├── README.HOW_TO.txt    {{Highlight|Helper file for Linux kernel management: '''reference''' for Linux kernel build}}
└── series                {{Highlight|List of all ST patches to apply}}
{{NoIndex}}
[[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-v2.0.0 release")
* Make the following modifications in the first chapter
** Change the name of the tarball file
** Change the download URLs
** Change the link to the release note
** Change the path and the description of the installation directory
}}
</noinclude>

Latest revision as of 12:26, 30 October 2020

This article provides the following information:

  • How to download and install the latest Linux kernel for the STM32 microprocessor Series used
  • Where to find the associated release note
  • Where to find the previous releases (archives)
Warning white.png Warning
To use this package efficiently, please read the Developer Package article relative to your STM32 microprocessors Series: Category:Developer Package

1. STM32MP15-Ecosystem-v2.1.0 release

  • The STM32MP1 Linux kernel is delivered through a tarball file named en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12.tar.xz for STM32MP157x-EV1 More info green.png and STM32MP157x-DKx More info green.png boards.

  • Download and install the STM32MP1 Linux kernel

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

Warning white.png Warning
To download a package, it is recommended to be logged in to your "myst" account [1]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
STM32MP1 Developer Package Linux kernel - STM32MP15-Ecosystem-v2.1.0 release
Download

You need to be logged on to my.st.com before accessing the following link
en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12.tar.xz

Installation
$ cd <working directory path>/Developer-Package
  • Download the tarball file in this directory
  • Uncompress the tarball file to get the Linux kernel (Linux kernel source code, ST patches, ST configuration fragments...):
 $ tar xvf en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12.tar.xz
 $ cd stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.56-r0
 $ tar xvf linux-5.4.56.tar.xz
Release note

Details of the content of the Linux kernel are available in the associated STM32MP15 OpenSTLinux release note.

Archive box.png If you are interested in older releases, please have a look into the section Archives.

  • The Linux kernel installation directory is in the <Developer Package installation directory>/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/sources/arm-ostl-linux-gnueabi directory, and is named linux-stm32mp-<kernel version>:
linux-stm32mp-5.4.56-r0     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)
├── linux-5.4.56          Linux kernel source code directory
├── linux-5.4.56.tar.xz   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


2. Archives Archive box.png

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

2.1. STM32MP15-Ecosystem-v2.0.0 release

  • The STM32MP1 Linux kernel is delivered through a tarball file named en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz for STM32MP157x-EV1 More info green.png and STM32MP157x-DKx More info green.png boards.

  • Download and install the STM32MP1 Linux kernel

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

Warning white.png Warning
To download a package, it is recommended to be logged in to your "myst" account [2]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
STM32MP1 Developer Package Linux kernel - STM32MP15-Ecosystem-v2.0.0 release
Download

You need to be logged on to my.st.com before accessing the following link
en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz

Installation
$ cd <working directory path>/Developer-Package
  • Download the tarball file in this directory
  • Uncompress the tarball file to get the Linux kernel (Linux kernel source code, ST patches, ST configuration fragments...):
 $ tar xvf en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz
 $ cd stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0
 $ tar xvf linux-5.4.31.tar.xz
Release note

Details of the content of the Linux kernel are available in the associated STM32MP15 OpenSTLinux release note.

Archive box.png If you are interested in older releases, please have a look into the section Archives.

  • The Linux kernel installation directory is in the <Developer Package installation directory>/stm32mp1-openstlinux-20-06-24/sources/arm-ostl-linux-gnueabi directory, and is named linux-stm32mp-<kernel version>:
linux-stm32mp-5.4.31-r0     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)
├── linux-5.4.31          Linux kernel source code directory
├── linux-5.4.31.tar.xz   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