diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-05 13:54:09 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-05 19:35:22 +0100 |
commit | 25ff0c99fa50b4e13079cf550c2b715eb630d055 (patch) | |
tree | 94e907c8e5f6fa4fe0ec87d965091eafbdc6e611 /target/linux/config | |
parent | 91c96ee1dd60781fb6990c5378e48d8e0aef1c18 (diff) |
add realtime linux preempt_rt patch
Enable Kernel options for Realtime, HZ and HighRes Timer
in menuconfig.
Diffstat (limited to 'target/linux/config')
-rw-r--r-- | target/linux/config/Config.in.addons | 14 | ||||
-rw-r--r-- | target/linux/config/Config.in.kernel | 51 |
2 files changed, 55 insertions, 10 deletions
diff --git a/target/linux/config/Config.in.addons b/target/linux/config/Config.in.addons index 1ea6b7315..23ca9b8c1 100644 --- a/target/linux/config/Config.in.addons +++ b/target/linux/config/Config.in.addons @@ -3,22 +3,26 @@ config ADK_KERNEL_ADDON_YAFFS2 default y if ADK_TARGET_WITH_NAND - boolean + bool config ADK_KERNEL_ADDON_GRSEC - boolean + bool depends on ADK_KERNEL_VERSION_3_14 config ADK_KERNEL_ADDON_MPTCP - boolean + bool depends on ADK_KERNEL_VERSION_3_14 config ADK_KERNEL_ADDON_FBLOGO - boolean + bool depends on ADK_KERNEL_VERSION_3_14 config ADK_KERNEL_ADDON_DIETNET - boolean + bool depends on ADK_KERNEL_VERSION_3_14 depends on ADK_KERNEL_VERSION_3_12 depends on ADK_KERNEL_VERSION_3_10 + +config ADK_KERNEL_ADDON_LINUXRT + bool + depends on ADK_KERNEL_VERSION_3_18 diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel index c6269056f..bba5ac246 100644 --- a/target/linux/config/Config.in.kernel +++ b/target/linux/config/Config.in.kernel @@ -227,11 +227,6 @@ config ADK_KERNEL_HIGHMEM help Enable high memory support. -config ADK_KERNEL_PREEMPT - bool "Enable preemptive kernel" - help - Enable preemptive mode. - config ADK_KERNEL_BCM2708_DT bool "Enable Devicetree support" depends on ADK_TARGET_SYSTEM_RASPBERRY_PI @@ -248,6 +243,52 @@ config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE depends on !ADK_TARGET_ARCH_MICROBLAZE default y +config ADK_KERNEL_PREEMPT + bool "Enable preemptive kernel" + help + Enable preemptive mode. + +config ADK_KERNEL_PREEMPT_RT_FULL + bool "Enable Realtime support" + select ADK_KERNEL_ADDON_LINUXRT + help + https://www.kernel.org/pub/linux/kernel/projects/rt/3.18/ + + +choice +prompt "tick configuration" + +config ADK_KERNEL_NO_HZ_IDLE + bool "no HZ IDLE, dynamic tick" + +config ADK_KERNEL_NO_HZ_FULL + bool "no HZ FULL, dynamic tick" + +config ADK_KERNEL_HZ_PERIODIC + bool "periodic tick" + +endchoice + +choice +prompt "HZ" +depends on ADK_KERNEL_HZ_PERIODIC + +config ADK_KERNEL_HZ_100 + bool "100 HZ" + +config ADK_KERNEL_HZ_500 + bool "500 HZ" + +config ADK_KERNEL_HZ_1000 + bool "1000 HZ" + +endchoice + +config ADK_KERNEL_HIGH_RES_TIMERS + bool "Enable high resolution timers" + help + + choice prompt "Page size" depends on ADK_TARGET_ARCH_MIPS64 |