summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2022-10-11 22:43:41 +0200
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-10-11 22:43:41 +0200
commitfe6128314274d707b67f80ce512b146892a06ec0 (patch)
tree489072dcdaa44aaff228c689c8e162c62e5f6fbf
parentf7475859a8b534f74d33622cd9d92cd8b7d06a28 (diff)
linux-toradex-mainline: Add systemd required imx8 kernel config
Add standard systemd requirements [0] to imx8 defconfig. [0] https://github.com/systemd/systemd/blob/main/README Related-to: ELB-4855 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/aarch64/defconfig2
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v8.config26
2 files changed, 27 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/aarch64/defconfig b/recipes-kernel/linux/linux-toradex-mainline-git/aarch64/defconfig
index faf1215..5249eb3 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/aarch64/defconfig
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/aarch64/defconfig
@@ -17,6 +17,7 @@ CONFIG_IKCONFIG_PROC=y
CONFIG_NUMA_BALANCING=y
CONFIG_MEMCG=y
CONFIG_BLK_CGROUP=y
+CONFIG_CFS_BANDWIDTH=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CPUSETS=y
@@ -233,7 +234,6 @@ CONFIG_PCI_ENDPOINT_CONFIGFS=y
CONFIG_PCI_EPF_TEST=m
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
-CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_HISILICON_LPC=y
CONFIG_TEGRA_ACONNECT=m
CONFIG_ARM_SCMI_PROTOCOL=y
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v8.config b/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v8.config
index f2463ce..c7084ac 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v8.config
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v8.config
@@ -12,6 +12,32 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
# Usefull for debugging
CONFIG_DYNAMIC_DEBUG=y
+# Systemd, https://github.com/systemd/systemd/blob/main/README
+CONFIG_DEVTMPFS=y
+CONFIG_CGROUPS=y
+CONFIG_INOTIFY_USER=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EPOLL=y
+CONFIG_UNIX=y
+CONFIG_SYSFS=y
+CONFIG_PROC_FS=y
+CONFIG_FHANDLE=y
+CONFIG_SYSFS_DEPRECATED=n
+CONFIG_UEVENT_HELPER=n
+CONFIG_FW_LOADER_USER_HELPER=n
+CONFIG_NET_NS=y
+CONFIG_NAMESPACES=y
+CONFIG_USER_NS=y
+CONFIG_CGROUP_SCHED=y
+CONFIG_FAIR_GROUP_SCHED=y
+CONFIG_CFS_BANDWIDTH=y
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_CGROUP_BPF=y
+CONFIG_RT_GROUP_SCHED=n
+
# Thermal emergency poweroff
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=10000