Message ID | 20240731095942.20677-1-twoerner@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-rockchip] linux-torvalds-next: add rauc config | expand |
diff --git a/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/files/rauc.cfg b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/files/rauc.cfg new file mode 100644 index 000000000000..3fa86bb87186 --- /dev/null +++ b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/files/rauc.cfg @@ -0,0 +1,7 @@ +CONFIG_BLK_DEV_LOOP=y +CONFIG_SQUASHFS=y +CONFIG_MD=y +CONFIG_BLK_DEV_DM=y +CONFIG_BLK_DEV_NBD=y +CONFIG_DM_VERITY=y +CONFIG_CRYPTO_SHA256=y diff --git a/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend new file mode 100644 index 000000000000..e35f9db61fa2 --- /dev/null +++ b/dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS:prepend:rk-rauc-demo := "${THISDIR}/files:" + +inherit rk-rauc-demo-features-check + +SRC_URI:append:rk-rauc-demo = " \ + file://rauc.cfg \ + "
The kernel needs a couple configuration tweaks in order to work with RAUC, and the default upstream kernel recipes already have this built-in due to meta-rauc. The non-upstream, one-off kernel required to support the Radxa Zero 3{e|w} boards (linux-torvalds-next) needs a similar tweak. Signed-off-by: Trevor Woerner <twoerner@gmail.com> --- .../rk-rauc-demo/recipes-kernel/linux/files/rauc.cfg | 7 +++++++ .../recipes-kernel/linux/linux-torvalds-next_%.bbappend | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 dynamic-layers/rk-rauc-demo/recipes-kernel/linux/files/rauc.cfg create mode 100644 dynamic-layers/rk-rauc-demo/recipes-kernel/linux/linux-torvalds-next_%.bbappend