Commit Graph

51 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 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
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 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
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
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
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
Romuald JEANNE b25a2b0daa CONF: remove duplicate setting
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2021-05-26 12:32:05 +02:00
Christophe Priouzeau 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
Christophe Priouzeau 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
Christophe Priouzeau 07229c80ca SDK: fix issue in PERL module for SDK 2021-04-19 10:59:20 +02:00
Romuald JEANNE 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
Romuald JEANNE 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
Christophe Priouzeau 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
Christophe Priouzeau f009ad646f CONF: MACHINE: re-create gcnano link if not exist
Change-Id: I9e9409612d2853f778cdd789e4acc39a23cba704
2020-11-05 15:46:36 +01:00
Christophe Priouzeau e0deb8b0bd Configure extlinux.conf file generation for kernel fit image
Change-Id: I579efe79781803f383369c887b128a33cca9155b
2020-11-05 15:46:36 +01:00
Romuald JEANNE 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
Romuald JEANNE 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
Romuald JEANNE 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
Romuald JEANNE 7f8392601a Integration of svd/cmsis tools
Change-Id: I260a209ae0e91e2299d65ab277c20d3a0de6d918
2020-06-23 17:23:50 +02:00
Christophe Priouzeau 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
Romuald JEANNE 2338ba594d LAYER: compatible with dunfell
Change-Id: Ib8f5f5c51725b23cb4906ad9cbb03bf418c8c2df
2020-06-23 17:23:50 +02:00
Christophe Priouzeau 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
Lionel VITTE 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
Priouzeau Christophe dfec3cadbf MACHINE: rework of extlinux variables
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-03 14:54:38 +01:00
Priouzeau Christophe 3d078a8e66 LAYER: bump to zeus
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-03 14:53:56 +01:00
Priouzeau Christophe 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
Christophe Priouzeau 947a77ca93 MACHINE: v1.1.0 updates
- fix typo issue for comment on Vivante libraries
- force virtual/bootloader to u-boot-stm32mp
2019-10-09 11:21:37 +02:00
Oliver Stäbler e17ba2e4bc MACHINE: Move LOADADDR into include
Move the setting of the default LOADADDR into an include instead of
setting this in each machine.
2019-10-09 10:56:36 +02:00
Christophe Priouzeau 81761d5b75 CONF: add watchdog MACHINE_FEATURES
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-05-02 10:57:17 +02:00
Christophe Priouzeau e34bff682c CONF: add warrior compatibility
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-04-23 14:02:15 +02:00
christophe montaud 7371f14c6e FLASHLAYOUT: Fix to be able to flash nor+nand 2019-04-16 10:04:14 +02:00
christophe montaud e392566017 MACHINE: Update for config with no distro when we are using ST envsetup.sh 2019-04-16 10:04:09 +02:00
Christophe Priouzeau 11c00b65f9 CONF: add more layer dependencies
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-03-13 11:04:38 +01:00
Christophe Priouzeau 516e0d61e3 FSTYPES: use the shorthand operator
Coming from github pull-request: #1

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-03-13 11:04:02 +01:00
Bernard PUEL dcc955d699 SDK and recipes update
README improvments

Change-Id: Ib1f1a70f63e57b34f9db27bd7ed31cbd4e552df9
2019-02-08 14:46:28 +01:00
Christophe Priouzeau 170847c448 LAYER: add layer dependency for optee
Optee ask to have pycrypto as dependency which are provided
via meta-openembedded/meta-python layer.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-07 13:39:35 +01:00
Christophe Priouzeau a786e11150 MACHINE: add eval and disco machine
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-05 11:25:39 +01:00
Christophe Priouzeau c5fda24713 MACHINE: add support of stm32mp1
stm32mp1 machine are a machine which support several board.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-04 15:26:53 +01:00
Christophe Priouzeau 2c397423da Add EULA information on layer.conf
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-04 15:26:53 +01:00
Christophe Priouzeau 223d0be61d Add ST EULA
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-04 15:26:53 +01:00