diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2024-01-26 14:16:31 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-10-09 15:47:23 -0700 |
commit | b20be52a4ee5867cd0a21dc9891605e189c48219 (patch) | |
tree | c6489c23e3a5098ee68c44d08a2faa9254962bd8 /meta-python/recipes-devtools/python/python3-netifaces/0001-netifaces-initialize-msghdr-in-a-portable-way.patch | |
parent | a090cd3e0ef554d7171eb84488661599d72fa3e9 (diff) | |
download | meta-openembedded-b20be52a4ee5867cd0a21dc9891605e189c48219.tar.gz |
fitimage: add support to build arbitrary FIT images
The FIT image support in OE is quite limited:
1) No support to build an arbitrary number of FIT images since the FIT
image generation is tightly coupled to the kernel image.
2) A lot of U_BOOT-specific variables which may not be necessary for
other bootloaders.
3) No usage of the meta-oe signing.bbclass for signed FIT images.
This alternative class is added to solve the above-mentioned problems:
1) The class can be inherited by an arbitrary number of
<fit-image-name>.bb recipes to generate FIT images
2) No U_BOOT-specific variables are used
3) <fit-image-name>.bb recipes can prepend the do_fitimage() to
provide the key using the signing.bbclass e.g.:
do_fitimage:prepend() {
signing_prepare
signing_use_role "${FITIMAGE_SIGNING_KEY_ROLE}"
}
Then enable and configure signing as follows:
FITIMAGE_SIGN = "1"
FITIMAGE_MKIMAGE_EXTRA_ARGS = "--engine pkcs11"
FITIMAGE_SIGN_KEYDIR = "${PKCS11_URI}
This class is inspired by the meta-phytec fitimage.bbclass [1].
[1] https://git.phytec.de/meta-phytec/tree/classes/fitimage.bbclass
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-netifaces/0001-netifaces-initialize-msghdr-in-a-portable-way.patch')
0 files changed, 0 insertions, 0 deletions