Commit Graph

253 Commits

Author SHA1 Message Date
Christophe Priouzeau 6c19d25a73 Add stm32mp13 machine support
Rename stm32mp1-disco and stm32mp1-eval on
stm32mp15-disco and stm32mp15-eval

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Id28971e6d1fc895e39440b229d9cbe8d5a1af162
2022-06-21 10:18:08 +02:00
Christophe Priouzeau 2a2c5d495a KIRKSTONE: adapt to kirkstone
License syntax, SRC_URI syntax, overwrite

Change-Id: I37ccaf76e6d8558ecb3aa4cf9e0fbbec1a95b0a5
2022-06-21 10:18:08 +02:00
Christophe Priouzeau 40264726e7 CONF: add compatibility version
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Ibefcd7a6d5f98a03d571249e9101a12311cc9b96
2022-06-21 10:18:08 +02:00
Christophe Priouzeau f270dda746 GCC: baremetal: bump to gcc 10
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I7dc66fef706beeb2aea5ff8a48f5e654e75dec24
2022-06-21 10:18:08 +02:00
Christophe Priouzeau dc6510b1a9 SDK: extend recipes
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Ibec017d55c94d9dece5c456bd671f751785522bc
2022-06-21 10:18:08 +02:00
Christophe Priouzeau 2b3bc71727 PULSEAUDIO: adapt to pulseaudio 15
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Id54548348742967dd3722d58e384de8d93cf5456
2022-06-21 10:18:08 +02:00
Erwan SZYMANSKI 4648c44d73 Image format WIC made for stm32mp15 eval board and delivered to Qt client. This version does not use FIP partition
Signed-off-by: Erwan SZYMANSKI <erwan.szymanski@st.com>
Change-Id: I664f4c89ebe591c909dee978a6f9afe69179a130
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/meta-st/+/237611
Reviewed-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Reviewed-by: Romuald JEANNE <romuald.jeanne@st.com>
Tested-by: Romuald JEANNE <romuald.jeanne@st.com>
2022-06-21 10:18:08 +02:00
Christophe Priouzeau 89ec4a320b HIDAPI: bump to 0.10.1
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 12:00:03 +02:00
Christophe Priouzeau ea02b7ab35 BOOTFS: rename extlinux package
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:59:46 +02:00
Christophe Priouzeau 99414cdd9a OPTEE: add OPENSSL_MODULES environment variable
Due to the openssl update to 3.0, libcrypto request to have
OPENSSL_MODULES variables set on cross-compilation.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:59:22 +02:00
Christophe Priouzeau f53ee4e24c OPTEE: remote old depdendency
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:58:22 +02:00
Christophe Priouzeau ebda72c49e PULSEAUDIO: adapt to new version of KIRKSTONE
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:57:52 +02:00
Christophe Priouzeau 53c63ca90e DRM: bump to 2.4.110
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:57:43 +02:00
Christophe Priouzeau c71ef8c31c Add RPM dependency to lua
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:57:26 +02:00
Christophe Priouzeau a3425ad76b BUSYBOX: adapt to new version of KIRKSTONE
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:57:09 +02:00
Christophe Priouzeau 5a6099a634 EXTLINUX: rename recipes
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:57:00 +02:00
Christophe Priouzeau 5f28cda969 TF-A: correct bad detection of DTC version
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:56:46 +02:00
Christophe Priouzeau 059efa455b ALSA-LIB: adapt to new version of KIRKSTONE
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:56:19 +02:00
Christophe Priouzeau a62a284e99 KIRKSTONE: SRC_URI compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:55:52 +02:00
Christophe Priouzeau 473cfb3d92 KIRKSTONE: license compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:55:00 +02:00
Christophe Priouzeau 5c921566ab MACHINE: adapt to change of machine path
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:53:35 +02:00
Christophe Priouzeau 483a6968fa KIRSKSTONE: overwrite syntax
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:53:28 +02:00
Christophe Priouzeau 5e68bca87d LAYER: add kirkstone compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:43:53 +02:00
Christophe Priouzeau 58f52ac426 LINUX-STM32MP: update to v5.10-stm32mp-r2
In case of addition of defconfig file on SRC_URI, the official
do_configure override the st configuration (defconfig+fragment).

Change-Id: Ibd73d49caafabbd3f58b0a213f6f1fec5dc81670
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Lionel VITTE 6a533bb262 OPTEE-OS-STM32MP: update to 3.12.0-stm32mp-r2
Change-Id: I1d89f5a83206c113324d6b0805a0ea80fdb0d586
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau e5f63e6e86 U-BOOT-STM32MP: update to v2020.10-stm32mp-r2
Change-Id: I4e58162aafc5f6dcd94793dae7018bc03ae136e9
2021-11-16 17:56:04 +01:00
Lionel VITTE fe84eb5c3c TF-A-STM32MP: update to v2.4-stm32mp-r2
Change-Id: I8ff248b82c8f4da0f5905d381176402e16e096ff
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau 0e297b657a M4PROJECTS: Update to v1.5.0
Change-Id: I7be93ef3835391c0b9e4809654db019c913aa8c4
2021-11-16 17:56:04 +01:00
Christophe Priouzeau fce5882c96 U-BOOT-STM32MP-SPLASH: add portrait and landscape splash screen
Change-Id: Ic6963533ad372e1354ab948717ef82650debfe50
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Cedric VINCENT c38662e3bc OPTEE-SDK: Add to SDK environment-setup the variables required to build OP-TEE TA.
Change-Id: I13a6e1f85f785ca4ce9cbb34dc2e46a16e4ca273
Signed-off-by: Cedric VINCENT <cedric.vincent@foss.st.com>
2021-11-16 17:56:04 +01:00
Lionel VITTE 36c8cd454e GCNANO-USERLAND: GCNano 6.4.3 Update Release "20210726"
GCnano userland 6.4.3: symbol not exported by eglGetProcAddress()

Change-Id: I739306248076f018ccba52638830350c47c54032
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Romuald JEANNE af9ec1ddf8 TF-A-STM32MP: add file type for deploying image
When a compilation a made for TF-a with 'all' target, several binaries are generated
and have the same name on several kind of build but generated with different
compilation switch. In some case (like arm64 bits) the bl2 need to generate a
bl31 binary but without the specific option requested by the generation of official bl31,
which can generate an issue when you deploy the file because it's the binary of
last build which are used but it's not in all case the binary with compilation
option desired.
For solving this king of issue, a flag <file type> which can be : bl31 b32 bl2 fwconfig
are added on the TF_A_CONFIG to specify which kind of binary we need to export.

Change-Id: Ibd484ae2e285bf70e3e0790e020d2ea595506a3c
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Patrick Delaunay f724e2f9e7 UBOOT-STM32MP-EXTLINUX: fix boot.cmd for overlay
By default U-Boot reserve overlay sizee with 4KB padding, sometime it is
not enought and it is normal.

The caller NEED to reserved enought memory before to apply overlay
by usisng the <extrasize> parameter.

fdt resize [<extrasize>]
- Resize fdt to size + padding to 4k addr + some optional <extrasize> if needed

A correct value cannot be proposed (it is depending of the overlay size)
but at least you must reserved the size of the loaded overlay dtbo file
=> ${filesize} (this variable automatically updated after a load command)

Change-Id: Ib37f2778bd843436b0baddb67a7a4fd5c799b749
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-11-16 17:56:04 +01:00
Lionel VITTE e89318bdd6 STM32WRAPPER4DBG: rework recipes to use only one
Change-Id: I902877afcb384a721ee7db0c2b18503827c51f68
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau e3c7e01a15 CLASSES: EXTLINUX: add support of several splash screen
The splashscreen name are defined compared to socname
UBOOT_EXTLINUX_SPLASH_<socname> = "<path and name of splash>"

Change-Id: I8b3e3efe79fa436bbb2d35bceade7f6edd51844e
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Romuald JEANNE 3b85be592e CLASSES: FIP-UTILS-STM32MP: align FIP_CONFIG on TFA_CONFIG management way
FIP: adapt signature to key by socname
Implement BL32_CONF and DT_CONFIG management from FIP_CONFIG

Change-Id: I8f86cf40b2db480c5c0d2be5c3cf9fcc0ad4c964
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Romuald JEANNE 0099ab3811 Revert "CLASSES: unexport _PYTHON_SYSCONFIGDATA_NAME to allow devtool"
Change-Id: Ibe63ed1f269896fadfbd44c7b15867aef93bf5d0
2021-11-16 17:56:04 +01:00
Lionel VITTE 5df595134e MACHINE: set partition configuration specific to fstype
- Allow specific partition image configuration between 'ext4' and 'ubifs'.
 - In case ubifs created is larger than max-leb-cnt allocated, mkfs.ubi raise
an error that make bitbake exit on error: add test to avoid this unexpected exit.

Change-Id: Ib386e703cfb1d0434ea17c279abb31f705514019
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Romuald JEANNE 5245abf2c7 MACHINE: rework INITRD configuration
Change-Id: Id5028c42d5add160982b4657b6e486e4510a0f45
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Lionel Vitte 197f0c1a3c MACHINE: implement boot from NOR memory device
Change-Id: Ia00f81068e90654f4e13db6524f804c15d18941b
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Romuald JEANNE e729aee437 CONF: enable kernel config file deploy
Change-Id: Ife1bc682b42d8669a8ce8f275a41a9c4a690de0b
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-11-16 17:56:04 +01:00
Lionel VITTE 46b422655b CONF: put DEBUG and trace under flags
Global flags: ST_DEBUG_TRACE
if ST_DEBUG_TRACE = 1, the debug and trace are activated on all
boot stage
Specific boot stage debug and trace flags:
ST_CMD_LINE_DEBUG_TRACE: addons for remove trace on kernel
ST_UBOOT_DEBUG_TRACE: activate/deactivate silent mode on u-boot
ST_TF_A_DEBUG_TRACE: activate/deactivate trace and debug on TF-A
ST_OPTEE_DEBUG_TRACE: activate/deactivate trace and debug on optee

Change-Id: I09a0c528fcef18f466f0e2b7b46715e2e43c8cf8
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau 4dfdc829f8 CONF: rename stm32mp1-disco and stm32mp1-eval
Change-Id: I4ef52513c4e9ff1359750b25f6495405f75fe715
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau ce51b2def2 CONF: update OpenSTLinux compatibility
Change-Id: I7076b7082ba1dfb721eaee3e9bcf1a91dd4cde74
2021-11-16 17:56:04 +01:00
Lionel VITTE fef27aed02 ARCHIVER: Update for fip build and release information
Change-Id: I8ddd8c61ff7488ce40f87a160f603de32425386a
2021-11-16 17:56:04 +01:00
Andrei Gherzan cc43f8cd6e st-image-partitions.inc: Avoid noisy warning for empty partitions
Partitions like vendorfs can be in many cases empty due to not deploying
package targeting that specific partition - see
gcnano-userland-multi-binary-stm32mp as an example. Having a warning for
use-cases that are both common but also valid, would just result in
build noise. This change switches to build notes for flagging an empty
partition.

Change-Id: Iade087b9171dabfaebd498aa13672d2e2f497349
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau 911fedb819 WIC: add uuid for sdcard
Change-Id: Idd45614c75e9001520fe289ffb709ef39d5dcac5
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-11-16 17:56:04 +01:00
Christophe Priouzeau 816fd629ab FIT: fit syntax have changed
With Yocto 3.1.9,
Syntax have changed for fit management,
usage of '-' instead of '@'

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-07-21 11:04:43 +02:00
Ricardo Salveti 4bf96d789e wic: use part-name fip for fip (instead of ssbl)
Use fip as part-name for fip otherwise tf-a is unable to find the fip
partition:

ERROR:   Could NOT find the fip partition!
ERROR:   BL2: Failure in pre image load handling (-2)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-07-06 09:26:19 +02:00
Romuald JEANNE b25a2b0daa CONF: remove duplicate setting
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-05-26 12:32:05 +02:00