From 7954383391a8c6d3befc53ed6a1f483a69d8c73b Mon Sep 17 00:00:00 2001 From: Vicentiu Galanopulo Date: Tue, 29 Oct 2019 16:20:30 +0100 Subject: [PATCH] linux-mainline_%.bbappend: Add kernel config for configfs Customer requested i2c and UART enabled on the orange pi zero. The directory /sys/kernel/config/device-tree which is used to add overlays at runtime is not present in the file system. This patch enables configfs and generation of the needed directory. Changelog-entry: Add configs in the kernel to enable configfs Signed-off-by: Vicentiu Galanopulo --- .../recipes-kernel/linux/linux-mainline_%.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layers/meta-balena-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend b/layers/meta-balena-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend index 8ef406e..357a4a3 100644 --- a/layers/meta-balena-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend +++ b/layers/meta-balena-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend @@ -67,6 +67,16 @@ RESIN_CONFIGS[8189fs] ?= " \ CONFIG_RTL8189FS=m \ " +RESIN_CONFIGS_append = " \ + configfs \ +" + +RESIN_CONFIGS[configfs] = " \ + CONFIG_OF_CONFIGFS=y \ + CONFIG_OF_OVERLAY=y \ + CONFIG_CONFIGFS_FS=m \ +" + FILES_${PN}-fixup-scr = " \ /boot/sun8i-h3-fixup.scr \ "