Release Notes STM32MP2 OpenSTLinux Yocto BSP:
=============================================

BSP-Yocto-OpenSTLinux-STM32MP2-ALPHA1 2025-12-03
================================================
- Linux ST Vendor Kernel v6.6.78
  * Tag v6.6-phy2
- U-boot ST Vendor v2023.10
  * Tag v2023.10-phy2
- TF-A ST Vendor v2.10 (LTS tag lts-v2.10.13)
  * Tag v2.10-phy2
- OP-TEE ST Vendor 4.0.0
  * Tag 4.0.0-phy2

- Linux integration from STM32MPU-ecosystem-v6.1.1: "openstlinux-6.6-yocto-scarthgap-mpu-v25.08.27"
  (based on Yocto Scarthgap)

Tested Yocto Images:
--------------------
- st-image-weston (DISTRO=openstlinux-weston) on:
  * stm32mp25x-phyflex-libra-rdk-1
  * stm32mp25x-phyflex-libra-rdk-2

- st-image-core (DISTRO=openstlinux-weston) on:
  * stm32mp25x-phyflex-libra-rdk-1

Build Environment:
------------------
- Ubuntu 22.04 64-bit

Features:
---------
- The BSP features are provided by OpenSTLinux v6.1.1:
  For more details on the features, please refer to the following ST relase notes:
       * STM32MPU-ecosystem-v6.1.0: https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ecosystem_release_note_-_v6.1.0
       * OpenSTLinux v6.1.0: https://wiki.st.com/stm32mpu/wiki/STM32_MPU_OpenSTLinux_release_note_-_v6.1.0

- Features provided by PHYTEC BSP adaptation:

  * Boot support:
    * Boot from SD-card / eMMC

  * Flash devices support:
    * eMMC (u-boot/kernel)
    * SD-card (u-boot/kernel)

  * Libra carrier board addons support:
    * AC209 LVDS display support (1280x800 LVDS 10" PH128800T-006-ZHC01 with USB touch)
    * PEB-AV-10 (Audio/Video-LVDS Adapter)
    * PEB-AV-12 (MIPI DSI to LVDS Adaper)
    * phyCAM-M (MIPI CSI) VM-016 BW & COL
    * KSP-0221-0 (M.2 Key-E WiFi/Bluetooth Murata Type 2AE - Wi-Fi® 11a/b/g/n/ac + Bluetooth 5.2)

  * Peripherals support:
    * USB Host 2.0 (kernel)
    * USB 2.0/3.0 Dual Role (kernel) (forced 2.0 peripheral on u-boot)
    * Dual LVDS display interface (kernel)
    * MIPI DSI dsiplay interface  (kernel)
    * MIPI CSI camera interface (kernel)
    * Ethernet on SOM - 1Gpbs (u-boot/kernel)
    * Ethernet on Libra board - 1Gpbs (kernel)
    * PCIe (kernel)
    * CAN FD (kernel)
    * SPI (kernel)
    * SDIO (u-boot/kernel)
    * I2C (u-boot/kernel)
    * UARTs (u-boot/kernel) - RS232/RS485 support
    * GPIOs (u-boot/kernel)
    * PWM (kernel)
    * ADC (kernel)
    * MCP3208 SPI ADC (kernel)
    * TLV320AIC3007 Audio codec support throught SAI on PEB-AV-10 (kernel)
    * I2C RGB leds support (kernel)
    * EEPROMs on Libra board (kernel)
    * QSPI NOR on Libra board (kernel)
    * TPM SLB 9670 (kernel driver only - TPM2 software stack not installed)

Known Issues/Limitations:
-------------------------
- The STM32MP2 PMIC driver is secure only (managed by OP-TEE), so I2C7 bus which drive the PMIC on SOM is secured (not accessible from Linux).
  By conseqence all other SOM devices on this bus (RTC, EEPROM, Temp sensor) are not currently usable under Linux.

- With "st-image-weston", following errors appears at the end of the boot on Libra board when PEB-AV-10 is used:

    [xxx] st,stm32-sai-sub 402a0024.audio-controller: ASoC: error at snd_soc_dai_hw_params on 402a0024.audio-controller: -22
    [xxx] 402a0024.audio-controller-tlv320aic3x-hifi: ASoC: error at __soc_pcm_hw_params on 402a0024.audio-controller-tlv320aic3x-hifi: -22
    [xxx] st,stm32-sai-sub 402a0024.audio-controller: Data size 32 larger than slot width

    Those errors appears several time when "wireplumber" is starting but sound is working correctly.
    On "st-image-core", there is no issue as "pipewire" and "wireplumber" are not part of the image (only ALSA).

-  TF-M for Arm® Cortex®-M33 (issue from STM32 MPU ecosystem release note):
   A real time application running on Arm Cortex®-M33 can be disturbed an by Arm® Cortex®-A35 resource request.
   The customer has to handle the task priority in its application.
