Commit Graph

29 Commits

Author SHA1 Message Date
Christophe Priouzeau 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
Christophe Priouzeau 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
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 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
Lionel VITTE fef27aed02 ARCHIVER: Update for fip build and release information
Change-Id: I8ddd8c61ff7488ce40f87a160f603de32425386a
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
Christophe Priouzeau 02f94289c2 CLASSES: fix issue when checking packages name with "strange" characters
When package name have characters having a specific meaning in regex
(e.g. foo-c++_1.0.deb) then it will trigger a Python error.
2021-04-19 10:58:15 +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 c2ed3e416d ST-PARTITIONS-IMAGE: ensure packages are installed into the right partition
Change-Id: Ib5a5a27d0f997907a151629d6e77a1acee7b443f
Signed-off-by: Lionel VITTE <lionel.vitte@st.com>
2021-03-26 10:37:20 +01:00
Romuald JEANNE 50d2f78f50 CLASSES: unexport _PYTHON_SYSCONFIGDATA_NAME to allow devtool
On Ubuntu 20.04, devtool cannot be used in recipe inheriting
python3native. Unexport _PYTHON_SYSCONFIGDATA_NAME as a workaround.
To check if it can be revert with next bitbake releases.

Signed-off-by: Lionel VITTE <lionel.vitte@st.com>
Change-Id: I7d73d05e1a5d58dedf69b3aefb3e07c35b92800d
2021-03-26 10:37:20 +01:00
Romuald JEANNE 1398474119 CLASSES: fix wrong var dependency detection for 'UBOOT_EXTLINUX_*' var
Due to internal override mechanism, we should make sure to add explicitly
all var with their potential override name in 'vardeps' flags.

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: I3fcdbf1bf3856c043987569922c5c60fc0fc7bf9
2021-03-26 10:37:20 +01:00
Christophe Priouzeau 71eb299a1e CLASS: PARTITION: do not force size of rootfs
With core-image-minimal, some issue occurs with forced size
of rootfs.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2020-11-25 11:13:04 +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 e9e2616477 ST-PARTITIONS-IMAGE: add specific append to allow 'etc/build' file export
Allow to export build info file to DEPLOYDIR.

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Change-Id: I13801e67837f08faff3691dccdc6856905ac3b49
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 6f08519d2c GCNANO-USERLAND-BINARY: update to gcnano delivery 6.4.1
New Vivante 6.4.1

Change-Id: I65ded7e8bcb00fe243ec8c79e95343fb0a91f04d
2020-06-23 17:23:51 +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
Priouzeau Christophe 3c67c03907 CLASS: fix wrong var dependency
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
2020-02-03 14:53:38 +01:00
Bumsik Kim a081a1e3d3 Make sure disabling ST's flashlayout & partitions work as expected
The current ST's .bbclass files do not really checks if
ENABLE_PARTITIONS_IMAGE and ENABLE_FLASHLAYOUT_CONFIG are unset.
This silently breaks third-party distributions that use
their own partitions layout and root directory structures.

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>
2020-01-28 14:22:31 +01:00
Romuald JEANNE b3b820cb47 CLASSES: fix MENU BACKGROUND image path for extlinux.conf file
Change-Id: I5c029fcda1ebddd7fe18972902f308de7568ce9f
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2019-10-09 10:58:38 +02:00
Romuald JEANNE 8b4fbbadbc CLASSES: IMAGE_TYPES-STUBI: set empty UBI volume and fix
- manage empty UBI volume for multivolume UBI
Add new parameter to allow to add empty UBI volume when creating the
multivolume UBI.
User just need to provide new volume name and size.

- clean temporary file to avoid issue while deploying to image
If we keep the temporary cfg file for empty UBI volume, we have an issue
when bitbake deploy artifacts to DEPLOYDIR_IMAGE when a different image
has been already built as files have the same name.
As we're using this cfg file as a temporary step for multi-volume cfg, we
can remove them instead of deploying them.

- manage extra_space on UBI volume for bad blocks management

Change-Id: If7ef9a66fb058cdaf0d77a22ca0be70fa05fca6f
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
2019-10-09 10:58:31 +02:00
Oliver Stäbler e6ef8f0693 CLASSES: flashlayout: Find layout file in BBPATH
Instead of expecting FLASHLAYOUT_DEFAULT_SRC to be a fully qualified
path, search in BBPATCH for a matching file.
This way it is easier for 3rd party layers to use the mechanism.

Change-Id: I0bbcb52a3401e4fca2e75061719c4f1d9062bd67
2019-10-09 10:54:55 +02:00
Bumsik Kim 256eae27d9 partitions & flashlayout: Prevent accident substring match
There is a case that I bitbake my-image when INITRAMFS_IMAGE
is my-image-initramfs. In this case my-image is a substring
of my-image-initramfs, causing ST's flashlayout and partitions
classes accidentally skip adding their tasks.

This patch makes sure to use exact string match during variable
checks.

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>
2019-10-09 10:54:24 +02:00
Christophe Priouzeau 9c4581d03d Add classes
- archiver_stm32mp: help to generate archiver with sdk
- extlinuxconf-stm32mp: help to generate u-boot extlinux.conf
- flashlayout-stm32mp: help to generate layer for ST flasher
- images_types-stubi: help to customize nand image
- st-partitions-image: rules to clean images contents

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
2019-02-04 15:30:09 +01:00