Registered User Tag: 2017 source edit |
Registered User mNo edit summary Tag: 2017 source edit |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ApplicableFor | |||
{{ApplicableFor | |||
|MPUs list=STM32MP13x, STM32MP25x | |MPUs list=STM32MP13x, STM32MP25x | ||
|MPUs checklist=STM32MP13x, STM32MP25x | |MPUs checklist=STM32MP13x, STM32MP25x | ||
}} | }}</noinclude>{{FlowCompatibility/X-LINUX|package=AWS}} | ||
<noinclude> | {{DISPLAYTITLE:X-LINUX-AWS Starter Package}} | ||
==Install from the OpenSTLinux X-LINUX-AWS package repository== | ==Install from the OpenSTLinux X-LINUX-AWS package repository== | ||
All the generated X-LINUX-AWS packages are available from the OpenSTLinux X-LINUX-AWS package repository service hosted at the non-browsable URL <nowiki>http://extra.packages.openstlinux.st.com/AWS</nowiki>. | |||
{{Info|The STMicroelectronics package repository service is provided for evaluation purposes only. Its content might be updated at any time without notice and is therefore not approved for use in production.}} | {{Info|The STMicroelectronics package repository service is provided for evaluation purposes only. Its content might be updated at any time without notice and is therefore not approved for use in production.}} | ||
Line 19: | Line 18: | ||
===Prerequisites=== | ===Prerequisites=== | ||
* Flash OpenSTLinux Starter Package {{EcosystemRelease | revision= | * Flash OpenSTLinux Starter Package {{EcosystemRelease | revision=6.0.0 }} on your SD card | ||
**[[ | **[[STM32MP13 Discovery kits - Starter Package]] | ||
**[[ | **[[STM32MP25 Evaluation boards - Starter Package]] | ||
**[[STM32MP25 Discovery kits - Starter Package]] | |||
* Your board has a direct (no proxy) connection to the Internet, either through the network cable or through a Wi-Fi<sup>®</sup> connection. | * Your board has a direct (no proxy) connection to the Internet, either through the network cable or through a Wi-Fi<sup>®</sup> connection. | ||
Line 29: | Line 29: | ||
Once the board is booted, execute the following command in the console to configure the X-LINUX-AWS OpenSTLinux package repository: | Once the board is booted, execute the following command in the console to configure the X-LINUX-AWS OpenSTLinux package repository: | ||
'''For {{EcosystemRelease | revision= | '''For {{EcosystemRelease | revision=6.0.0}}:''' | ||
Update the apt database: | Update the apt database: | ||
{{Board$}} apt-get update | {{Board$}}apt-get update | ||
Install the package with the apt configuration to access the X-LINUX-AWS packages | Install the package with the apt configuration to access the X-LINUX-AWS packages | ||
{{Board$}} apt-get install apt-openstlinux-x-linux-aws | {{Board$}}apt-get install apt-openstlinux-x-linux-aws | ||
Update the apt database to access the X-LINUX-AWS package repository: | Update the apt database to access the X-LINUX-AWS package repository: | ||
{{Board$}} apt-get update | {{Board$}}apt-get update | ||
===Install X-LINUX-AWS packages=== | ===Install X-LINUX-AWS packages=== | ||
Line 76: | Line 58: | ||
== How to use the X-LINUX-AWS Expansion Package == | == How to use the X-LINUX-AWS Expansion Package == | ||
Go to [[X-LINUX-AWS_Expansion_Package#X-LINUX-AWS_expansion_package_software_setup|X-LINUX- | Go to [[X-LINUX-AWS_Expansion_Package#X-LINUX-AWS_expansion_package_software_setup|X-LINUX-AWS package software setup]]. | ||
== Main software modifications == | == Main software modifications == | ||
Line 91: | Line 73: | ||
* pkcs11-provider package | * pkcs11-provider package | ||
** Installation of PKCS# | ** Installation of PKCS#11 provider for OpenSSL 3.x | ||
** Installation of OpenSSL PKCS#11 provider configuration file | ** Installation of OpenSSL PKCS#11 provider configuration file | ||
Latest revision as of 17:13, 19 December 2024
1. Install from the OpenSTLinux X-LINUX-AWS package repository[edit | edit source]
All the generated X-LINUX-AWS packages are available from the OpenSTLinux X-LINUX-AWS package repository service hosted at the non-browsable URL http://extra.packages.openstlinux.st.com/AWS.
This repository contains X-LINUX-AWS packages that can be simply installed using apt-* utilities, which are the same as those used on a Debian® system:
- The main group contains the selection of X-LINUX-AWS packages, the installation of which is automatically tested by STMicroelectronics.
- The updates group is reserved for future uses such as package revision update.
You can install them individually or by package group.
1.1. Prerequisites[edit | edit source]
- Flash OpenSTLinux Starter Package ecosystem release unknown revision 6.0.0
on your SD card
- Your board has a direct (no proxy) connection to the Internet, either through the network cable or through a Wi-Fi® connection.
1.2. Configure the X-LINUX-AWS OpenSTLinux package repository[edit | edit source]
Once the board is booted, execute the following command in the console to configure the X-LINUX-AWS OpenSTLinux package repository:
For ecosystem release unknown revision 6.0.0 :
Update the apt database:
apt-get update
Install the package with the apt configuration to access the X-LINUX-AWS packages
apt-get install apt-openstlinux-x-linux-aws
Update the apt database to access the X-LINUX-AWS package repository:
apt-get update
1.3. Install X-LINUX-AWS packages[edit | edit source]
1.3.1. Install all X-LINUX-AWS packages[edit | edit source]
Command | Description |
---|---|
apt-get install packagegroup-x-linux-aws |
Install all the X-LINUX-AWS packages (Greengrass-bin, Corretto-11, PKCS#11 implementation for OP-TEE, demonstration application) |
Then, restart the demo launcher:
systemctl restart weston-graphical-session.service
2. How to use the X-LINUX-AWS Expansion Package[edit | edit source]
Go to X-LINUX-AWS package software setup.
3. Main software modifications[edit | edit source]
Through the Starter Package, the OpenSTLinux image is changed at the user space level by bringing the necessary libraries and tools to use AWS Greengrass and OP-TEE.
List of main modifications:
- greengrass-bin package
- Installation of Greengrass core software into directory /opt/greengrass/v2/
- Installation of AmazonRootCA1 certificate
- Installation of Pkcs11Provider 2.0.6 to use (soft) Security Module at first connection
- Installation of modified configuration file
- pkcs11-provider package
- Installation of PKCS#11 provider for OpenSSL 3.x
- Installation of OpenSSL PKCS#11 provider configuration file
- demo-application-aws package
- Grant user weston the right to perform some operations
- Installation of a demonstration application to:
- Visualize current Greengrass Core Device configuration
- Show Greengrass component status
- Interact with an MQTT network by subscribing and publishing to topics