Go to file
Marco Felsch b20be52a4e
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>
2024-10-09 15:47:23 -07:00
contrib contrib: oe-stylize: Use Python3 explicitly 2023-06-04 22:29:46 -07:00
meta-filesystems sshfs-fuse: Do not prompt for known_hosts during ptests 2024-10-05 09:37:23 -07:00
meta-gnome xdg-desktop-portal-gnome: update 46.2 -> 47.1 2024-10-04 07:30:34 -07:00
meta-initramfs non-repro-meta-initramfs: update known non-reproducible list 2024-10-01 17:56:44 -07:00
meta-multimedia libopenmpt: Upgrade to 0.7.10 2024-10-05 09:37:23 -07:00
meta-networking nftables: upgrade 1.1.0 -> 1.1.1 2024-10-07 23:18:54 -07:00
meta-oe fitimage: add support to build arbitrary FIT images 2024-10-09 15:47:23 -07:00
meta-perl layer.conf: Update to walnascar (5.2) layer/release series 2024-10-01 09:23:12 -07:00
meta-python python3-fsspec: Add support for native and nativesdk builds 2024-10-09 15:47:22 -07:00
meta-webserver netdata: Upgrade to 1.47.3 release 2024-10-04 22:45:35 -07:00
meta-xfce xfce4-vala: Drop unnecessary SRC_URI[md5sum] 2024-10-04 07:30:34 -07:00
.gitignore
COPYING.MIT
README.md layers: Move READMEs to markdown format 2023-06-17 08:30:01 -07:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories