Commit Graph

8 Commits

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