From ff031b51e57398133214dd17ffde6a520a5e8628 Mon Sep 17 00:00:00 2001 From: Paul Wallrabe <54737071+raballew@users.noreply.github.com> Date: Mon, 30 Aug 2021 16:28:15 +0200 Subject: [PATCH 1/2] coreos-modules: add GPIO support CONFIG_GPIO_SYSFS=y so that /sys/class/gpio/... is present, and /dev/gpiomem is present --- .../sys-kernel/coreos-modules/files/commonconfig-5.10 | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 index 8ed90f89a3..f986392f5e 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 @@ -204,6 +204,7 @@ CONFIG_FUSION_SPI=m CONFIG_FW_CFG_SYSFS=m CONFIG_GACT_PROB=y CONFIG_GENEVE=m +CONFIG_GPIO_SYSFS=y CONFIG_HARDENED_USERCOPY=y CONFIG_HIDRAW=y CONFIG_HID_A4TECH=m From 262c16b427e1c33996f5afb2bc2187c660aae666 Mon Sep 17 00:00:00 2001 From: Paul Wallrabe <54737071+raballew@users.noreply.github.com> Date: Wed, 1 Sep 2021 21:23:52 +0200 Subject: [PATCH 2/2] amd64: enable missing kernel config options --- .../sys-kernel/coreos-modules/files/commonconfig-5.10 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 index f986392f5e..9607fa9574 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.10 @@ -204,6 +204,7 @@ CONFIG_FUSION_SPI=m CONFIG_FW_CFG_SYSFS=m CONFIG_GACT_PROB=y CONFIG_GENEVE=m +CONFIG_GPIOLIB=y CONFIG_GPIO_SYSFS=y CONFIG_HARDENED_USERCOPY=y CONFIG_HIDRAW=y @@ -841,6 +842,7 @@ CONFIG_STRICT_DEVMEM=y CONFIG_STRIP_ASM_SYMS=y CONFIG_SUNDANCE=m CONFIG_SUNRPC_DEBUG=y +CONFIG_SYSFS=y CONFIG_SYSVIPC=y CONFIG_TARGET_CORE=m CONFIG_TASK_IO_ACCOUNTING=y