Commit Graph

65 Commits

Author SHA1 Message Date
adf7941883 conf: add gw201 extlinux item 2024-12-09 16:09:12 +08:00
95f7144f05 conf: disable debug trace
tf-a
u-boot
optee
2024-12-09 15:59:07 +08:00
8b3cafa19d machine: add gw135 machine
GW201
GW305
2024-12-05 19:26:21 +08:00
ca501bd7db GCNANO-USERLAND-STM32MP: 6.4.9
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I6992cb04d73cd519098e2576233e4ca64536b4c0
2022-11-17 17:34:52 +01:00
5826b67079 MACHINE: update configuration
Update board definition:
- add stm32mp157d-dk1 in extlinux
- remove stm32mp135d-dk from machine

Remove space-fixup option for UBIFS generation

Increase the flashlayout partition size for rootfs on emmc and sdcard to
leave large free space on rootfs partition.

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2022-11-17 17:19:20 +01:00
048d47e395 CONF: correct examples to used according to devicetree package
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-07-04 16:00:50 +02:00
7054e04325 CONF:WIC: align WIC file content with devicetree name
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-07-04 15:42:36 +02:00
32f6724539 CONF: add more component on sdk
The components are requested for compiling optee-os

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I7e53ca961622e0175dc2ac54549a5684240a7ce7
2022-06-23 10:47:25 +02:00
ded2a2667c GCNANO: 6.4.7
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I60d9ee20918ecf97efaa0cacb1621cf215fed3dc
2022-06-23 10:47:25 +02:00
6082bf29b5 CONF: change name of boot partition on bootfs
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Idc689b38c6b301c4eeb876a395fdee3c12356ae6
2022-06-23 10:47:25 +02:00
92d3ca61f8 CLASSES: EXTLINUX: align UBOOT_EXTLINUX_CONSOLE with yocto/poky
Add baudrate in console definition in APPEND of extlinux.conf
as it is done in openembedded-core/meta/classes/uboot-extlinux-config.bbclass
with commit 2ce3534b2011 ("uboot-extlinux-config.bbclass: Add baudrate in
console bootparam") or in poky/meta/classes/uboot-extlinux-config.bbclass
with commit 2138f47802fc ("uboot-extlinux-config.bbclass: Add
baudrate in console bootparam")

    Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Change-Id: I86afd65b7f197cacaee5b4ede3bf5331164ea840
2022-06-23 10:47:25 +02:00
71ade1be2a add fwupdate support
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I0d5a476d43c3ba3007b1bd01339496657afc5f2f
2022-06-21 10:18:09 +02:00
09836a0bee CONF: disable CHECK for MTD
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: Iced690e09893ac27692c9ccbe1847992eff269a8
2022-06-21 10:18:08 +02:00
1717b23bd1 remoev gcnano link classe
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Change-Id: I61a6e4d43295d3c858137ed14e1755b30d403342
2022-06-21 10:18:08 +02:00
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
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
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
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
483a6968fa KIRSKSTONE: overwrite syntax
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:53:28 +02:00
5e68bca87d LAYER: add kirkstone compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2022-05-02 11:43:53 +02:00
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
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
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
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
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
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
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
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
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
ce51b2def2 CONF: update OpenSTLinux compatibility
Change-Id: I7076b7082ba1dfb721eaee3e9bcf1a91dd4cde74
2021-11-16 17:56:04 +01:00
b25a2b0daa CONF: remove duplicate setting
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-05-26 12:32:05 +02:00
c44b9052ae CONF: management via SOC_NAME for u-boot config
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-04-19 11:03:51 +02:00
9c26c11570 CONF: flashlayout: use DEVICE_BOARD_ENABLE instead of full list of DT
In case of storage not present on specific devicetree we encounter
some issue at flashlayout generation.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
2021-04-19 11:00:05 +02:00
07229c80ca SDK: fix issue in PERL module for SDK 2021-04-19 10:59:20 +02:00
e854264f98 MACHINE: rework configuration to introduce FIP feature
New class is introduce 'fip-utils-stm32mp.bbclass'
New flashlayout file configuration
New features enable on machine side

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: Ifb5af81b5341ef924b8c22992df20a21bd729e3f
2021-03-26 16:55:54 +01:00
02a595fac1 LAYER: add compatibility version
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Change-Id: I6163b10943b21a4d23a805a3908e9e6a663a6e48
2021-03-26 10:37:19 +01:00
6ce6b3175d CONF: FLASHLAYOUT: add boot sequence and erase teeh partition
To manage different kind of boot sequence, add a variable which
define the boot sequence to used.

When the parition teeh are flashed only 300 bits are writed and
it's not enought to overwrite the filesystem header of bootfs in
case of trusted boot.

Change-Id: I8b9e307689aff56e30b65e3d47626e3bf2e4e36f
2020-11-05 15:46:36 +01:00
f009ad646f CONF: MACHINE: re-create gcnano link if not exist
Change-Id: I9e9409612d2853f778cdd789e4acc39a23cba704
2020-11-05 15:46:36 +01:00
e0deb8b0bd Configure extlinux.conf file generation for kernel fit image
Change-Id: I579efe79781803f383369c887b128a33cca9155b
2020-11-05 15:46:36 +01:00
af5ae28215 CLASSES/MACHINES: update for v2.0.0
Several updates integrated:
- removal of no more supported basic boot scheme
- removal of no more supported boot device (nor-nand and nor-emmc)
- rework of providers and machine features
- introduction of new board versions (a, c, d, f)
- update of extlinuxconf-stm32mp class to manage multiple board versions
- configure 'extlinux.conf' file to manage PARTUUID to select rootfs
partition
- new partition images management (easy to add or remove partition through
new PARTITIONS_CONFIG var
- specific configuration on machine side for all storage device supported

Change-Id: I7e4d3d16535a5654c7fd80f9b56296a61050def3
2020-06-23 17:23:52 +02:00
a16cd6da88 STM32WRAPPER4DBG : Add initial recipe
The tool is added is both native and nativesdk
Can be compiled for the target

Change-Id: Ibf34e7bb02e1f7ff0900c5a2a81417959fb11fe7
2020-06-23 17:23:51 +02:00
8391f7b748 M4PROJECTS-STM32MP1: rework recipe and manage compliance with python3
Align also gcc option to STM32CubeIDE ones

Change-Id: I415f79bd655e354faebff16b628537fc281e2ac4
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2020-06-23 17:23:51 +02:00
7f8392601a Integration of svd/cmsis tools
Change-Id: I260a209ae0e91e2299d65ab277c20d3a0de6d918
2020-06-23 17:23:50 +02:00
c8cb40defc add overwrite of sysdig
Due to a dependency with libb64, sysdig move on bsp layer

Change-Id: I379dcc2e77d18bd2f735145f86bbb99bff6065c4
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2020-06-23 17:23:50 +02:00
2338ba594d LAYER: compatible with dunfell
Change-Id: Ib8f5f5c51725b23cb4906ad9cbb03bf418c8c2df
2020-06-23 17:23:50 +02:00
b0b66b62f8 MACHINE: set PREFERRED_PROVIDER_u-boot to u-boot-stmp32mp
Change-Id: I3a3b1eceb238c5e6d01f3ed4ec0caf800cadb754
Suggested-by: Mirza Krak <mirza.krak@northern.tech>
https: //github.com/STMicroelectronics/meta-st-stm32mp/pull/11/
2020-06-23 17:23:50 +02:00
b87e555b44 Added removal for the most used wic types from custom images
Suggested-by: Dimitris Tassopoulos <dimtass@gmail.com>
https://github.com/STMicroelectronics/meta-st-stm32mp/pull/14

Change-Id: Ifa56129da5c76bd6181618f9f906169becff23bd
2020-06-23 17:23:50 +02:00
dfec3cadbf MACHINE: rework of extlinux variables
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-03 14:54:38 +01:00
3d078a8e66 LAYER: bump to zeus
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-03 14:53:56 +01:00
f3b13cfc0a CONF: MACHINE WIC: fix dependency and ext4 generation
A part of input are coming from PR #7

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-01-28 14:31:00 +01:00