STM32MP1 Developer Package - Linux kernel

来自百问网嵌入式Linux wiki

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.png To use this package efficiently, please read the Developer Package article relative to your STM32 microprocessors Series: Category:Developer Package

STM32MP15-Ecosystem-v2.1.0 release

  • The STM32MP1 Linux kernel is delivered through a tarball file named {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|TBC}}{{#vardefine:path|TBC}}{{#var:name}} for {{#vardefine:info|}}{{#vardefine:typ|}}{{#vardefine:info|More info green.png}}STM32MP157x-EV1{{#var:typ}} {{#var:info}} and {{#vardefine:info|}}{{#vardefine:typ|}}{{#vardefine:info|More info green.png}}STM32MP157x-DKx{{#var:typ}} {{#var:info}} boards.

  • Download and install the STM32MP1 Linux kernel

模板:SoftwareLicenseAgreement

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
[{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|TBC}}{{#vardefine:path|TBC}}{{#var:url}}/{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|TBC}}{{#vardefine:path|TBC}}{{#var:name}} {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|TBC}}{{#vardefine:path|TBC}}{{#var:name}}]

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...):
PC $> $ tar xvf {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|TBC}}{{#vardefine:path|TBC}}{{#var:name}}
PC $> $ cd {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|TBC}}{{#vardefine:path|TBC}}{{#var:path}}
PC $> $ tar xvf {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:name}}
Release note

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

25px 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)
├── {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:path}}          Linux kernel source code directory
├── {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|TBC.tar.xz}}{{#vardefine:url|}}{{#vardefine:path|TBC}}{{#var:name}}   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


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 Linux kernel

模板:SoftwareLicenseAgreement

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
[{{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://st.com/content/ccc/resource/technical/sw-updater/firmware2/group0/ac/b4/e8/db/7c/e5/49/1c/STM32cube_Standard_A7_BSP_components_kernel/files/SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7Cstm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0}}{{#var:url}}/{{#vardefine:name%7C}}{{#vardefine:url%7C}}{{#vardefine:path%7C}}{{#vardefine:name%7Cen.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url%7Chttps://st.com/content/ccc/resource/technical/sw-updater/firmware2/group0/ac/b4/e8/db/7c/e5/49/1c/STM32cube_Standard_A7_BSP_components_kernel/files/SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7Cstm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0}}{{#var:name}} {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://st.com/content/ccc/resource/technical/sw-updater/firmware2/group0/ac/b4/e8/db/7c/e5/49/1c/STM32cube_Standard_A7_BSP_components_kernel/files/SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7Cstm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0}}{{#var:name}}]

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...):
PC $> $ tar xvf {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://st.com/content/ccc/resource/technical/sw-updater/firmware2/group0/ac/b4/e8/db/7c/e5/49/1c/STM32cube_Standard_A7_BSP_components_kernel/files/SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7Cstm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0}}{{#var:name}}
PC $> $ cd {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|en.SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz}}{{#vardefine:url|https://st.com/content/ccc/resource/technical/sw-updater/firmware2/group0/ac/b4/e8/db/7c/e5/49/1c/STM32cube_Standard_A7_BSP_components_kernel/files/SOURCES-kernel-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz/_jcr_content/translations}}{{#vardefine:path%7Cstm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0}}{{#var:path}}
PC $> $ tar xvf {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|linux-5.4.31.tar.xz}}{{#vardefine:url|}}{{#vardefine:path|linux-5.4.31}}{{#var:name}}
Release note

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

25px 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)
├── {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|linux-5.4.31.tar.xz}}{{#vardefine:url|}}{{#vardefine:path|linux-5.4.31}}{{#var:path}}          Linux kernel source code directory
├── {{#vardefine:name|}}{{#vardefine:url|}}{{#vardefine:path|}}{{#vardefine:name|linux-5.4.31.tar.xz}}{{#vardefine:url|}}{{#vardefine:path|linux-5.4.31}}{{#var:name}}   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