Commit Graph

5 Commits

Author SHA1 Message Date
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