Config.in.kernel 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_KERNEL_EXPERIMENTAL
  4. bool
  5. default y
  6. config ADK_KERNEL_STAGING
  7. bool
  8. config ADK_KERNEL_RESET_CONTROLLER
  9. bool
  10. config ADK_KERNEL_BLK_DEV_INITRD
  11. bool
  12. config ADK_KERNEL_BLK_DEV_RAM
  13. bool
  14. config ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  15. bool
  16. config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  17. bool
  18. select ADK_HOST_NEED_XZ
  19. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  20. bool
  21. select ADK_HOST_NEED_LZ4
  22. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  23. bool
  24. select ADK_HOST_NEED_LZMA
  25. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  26. bool
  27. select ADK_HOST_NEED_LZOP
  28. config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  29. bool
  30. select ADK_HOST_NEED_BZIP2
  31. config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  32. bool
  33. config ADK_KERNEL_RD_GZIP
  34. bool
  35. config ADK_KERNEL_KERNEL_GZIP
  36. bool
  37. config ADK_KERNEL_RD_BZIP2
  38. bool
  39. config ADK_KERNEL_KERNEL_BZIP2
  40. bool
  41. config ADK_KERNEL_RD_LZ4
  42. bool
  43. config ADK_KERNEL_KERNEL_LZ4
  44. bool
  45. config ADK_KERNEL_RD_LZMA
  46. bool
  47. config ADK_KERNEL_KERNEL_LZMA
  48. bool
  49. config ADK_KERNEL_RD_LZO
  50. bool
  51. config ADK_KERNEL_KERNEL_LZO
  52. bool
  53. config ADK_KERNEL_RD_XZ
  54. bool
  55. config ADK_KERNEL_KERNEL_XZ
  56. bool
  57. config ADK_KERNEL_INITRAMFS_SOURCE
  58. string
  59. default ""
  60. config ADK_KERNEL_NETWORK_FILESYSTEMS
  61. bool
  62. config ADK_KERNEL_IP_PNP
  63. bool
  64. config ADK_KERNEL_IP_PNP_DHCP
  65. bool
  66. config ADK_KERNEL_ROOT_NFS
  67. bool
  68. config ADK_KERNEL_NFS_COMMON
  69. bool
  70. config ADK_KERNEL_64BIT
  71. bool
  72. default y if ADK_LINUX_64
  73. # ARM specific
  74. config ADK_KERNEL_AEABI
  75. bool
  76. default y if ADK_TARGET_ARCH_ARM
  77. config ADK_KERNEL_ARM_THUMB
  78. bool
  79. config ADK_KERNEL_THUMB2_KERNEL
  80. bool
  81. # endianess
  82. config ADK_KERNEL_CPU_BIG_ENDIAN
  83. bool
  84. default y if ADK_TARGET_BIG_ENDIAN
  85. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  86. bool
  87. default y if ADK_TARGET_LITTLE_ENDIAN
  88. choice
  89. prompt "Kernel compression"
  90. default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  91. default ADK_KERNEL_COMP_XZ if ADK_TARGET_KERNEL_WITH_COMPRESSION
  92. default ADK_KERNEL_COMPRESS_NONE
  93. config ADK_KERNEL_COMP_XZ
  94. bool "use XZ compression"
  95. select ADK_KERNEL_RD_XZ
  96. select ADK_KERNEL_KERNEL_XZ
  97. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  98. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  99. config ADK_KERNEL_COMP_LZ4
  100. bool "use LZ4 compression"
  101. select ADK_KERNEL_RD_LZ4
  102. select ADK_KERNEL_KERNEL_LZ4
  103. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  104. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  105. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  106. config ADK_KERNEL_COMP_LZMA
  107. bool "use LZMA compression"
  108. select ADK_KERNEL_RD_LZMA
  109. select ADK_KERNEL_KERNEL_LZMA
  110. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  111. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  112. config ADK_KERNEL_COMP_LZO
  113. bool "use LZO compression"
  114. select ADK_KERNEL_RD_LZO
  115. select ADK_KERNEL_KERNEL_LZO
  116. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  117. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  118. config ADK_KERNEL_COMP_BZIP2
  119. bool "use BZIP2 compression"
  120. select ADK_KERNEL_RD_BZIP2
  121. select ADK_KERNEL_KERNEL_BZIP2
  122. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  123. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  124. config ADK_KERNEL_COMP_GZIP
  125. bool "use GZIP compression"
  126. select ADK_KERNEL_RD_GZIP
  127. select ADK_KERNEL_KERNEL_GZIP
  128. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  129. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  130. config ADK_KERNEL_COMPRESS_NONE
  131. bool "use no compression"
  132. select ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  133. endchoice
  134. menu "Kernel options"
  135. config ADK_KERNEL_DEVTMPFS
  136. bool
  137. config ADK_KERNEL_DEVTMPFS_MOUNT
  138. bool
  139. config ADK_KERNEL_UEVENT_HELPER
  140. bool
  141. depends on ADK_RUNTIME_DEV_MDEV
  142. default y if ADK_RUNTIME_DEV_MDEV
  143. config ADK_KERNEL_UEVENT_HELPER_PATH
  144. string
  145. default "/sbin/mdev"
  146. depends on ADK_RUNTIME_DEV_MDEV
  147. config ADK_KERNEL_BINFMT_ELF
  148. bool
  149. default y if ADK_TARGET_BINFMT_ELF
  150. config ADK_KERNEL_BINFMT_ELF_FDPIC
  151. bool
  152. default y if ADK_TARGET_BINFMT_FDPIC
  153. config ADK_KERNEL_BINFMT_FLAT
  154. bool
  155. default y if ADK_TARGET_BINFMT_FLAT
  156. config ADK_KERNEL_MMU
  157. bool
  158. config ADK_KERNEL_VFP
  159. bool
  160. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  161. config ADK_KERNEL_VFPv3
  162. bool
  163. select ADK_KERNEL_VFP
  164. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  165. config ADK_KERNEL_NEON
  166. bool
  167. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  168. config ADK_KERNEL_KERNEL_MODE_NEON
  169. bool
  170. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  171. choice
  172. prompt "preemptive mode"
  173. config ADK_KERNEL_PREEMPT_NONE
  174. bool "No Forced Preemption (Server)"
  175. help
  176. No Forced Preemption (Server)
  177. config ADK_KERNEL_PREEMPT_VOLUNTARY
  178. bool "Voluntary Kernel Preemption (Desktop)"
  179. select ADK_KERNEL_HIGH_RES_TIMERS
  180. help
  181. Voluntary Kernel Preemption (Desktop)
  182. config ADK_KERNEL_PREEMPT__LL
  183. bool "Preemptible Kernel (Low-Latency Desktop)"
  184. select ADK_KERNEL_HIGH_RES_TIMERS
  185. help
  186. Preemptible Kernel (Low-Latency Desktop)
  187. config ADK_KERNEL_PREEMPT_RTB
  188. bool "Preemptible Kernel (Basic RealTime)"
  189. select ADK_KERNEL_HIGH_RES_TIMERS
  190. depends on ADK_TARGET_KERNEL_VERSION_4_1
  191. help
  192. Preemptible Kernel (Basic RT)
  193. config ADK_KERNEL_PREEMPT_RT_FULL
  194. bool "Fully Preemptible Kernel (RealTime)"
  195. select ADK_KERNEL_HIGH_RES_TIMERS
  196. depends on ADK_TARGET_KERNEL_VERSION_4_1
  197. help
  198. Fully Preemptible Kernel (RealTime)
  199. https://www.kernel.org/pub/linux/kernel/projects/rt/
  200. endchoice
  201. config ADK_KERNEL_HIGH_RES_TIMERS
  202. bool "Enable high resolution timers"
  203. choice
  204. prompt "tick configuration"
  205. config ADK_KERNEL_NO_HZ_IDLE
  206. bool "no HZ IDLE, dynamic tick"
  207. config ADK_KERNEL_NO_HZ_FULL
  208. bool "no HZ FULL, dynamic tick"
  209. config ADK_KERNEL_HZ_PERIODIC
  210. bool "periodic tick"
  211. endchoice
  212. choice
  213. prompt "HZ"
  214. depends on ADK_KERNEL_HZ_PERIODIC
  215. config ADK_KERNEL_HZ_100
  216. bool "100 HZ"
  217. config ADK_KERNEL_HZ_500
  218. bool "500 HZ"
  219. config ADK_KERNEL_HZ_1000
  220. bool "1000 HZ"
  221. endchoice
  222. config ADK_TARGET_NO_CMDLINE
  223. bool "Do not builtin any kernel cmdline"
  224. help
  225. No kernel command line modifictaion is done.
  226. config ADK_KERNEL_SMP
  227. bool "Enable symmetric multi processing"
  228. depends on ADK_TARGET_WITH_SMP
  229. default y if ADK_TARGET_WITH_SMP
  230. default n
  231. help
  232. Enable symmetric multi processing support.
  233. config ADK_KERNEL_HIGHMEM
  234. bool "Enable high memory"
  235. default y if ADK_TARGET_SYSTEM_IBM_X40
  236. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  237. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  238. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  239. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  240. default n
  241. help
  242. Enable high memory support.
  243. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  244. bool "Optimize for size"
  245. # does not boot in qemu-microblaze
  246. depends on !ADK_TARGET_ARCH_MICROBLAZE
  247. default y
  248. choice
  249. prompt "Page size"
  250. depends on ADK_TARGET_ARCH_MIPS64
  251. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  252. default ADK_KERNEL_PAGE_SIZE_4KB
  253. config ADK_KERNEL_PAGE_SIZE_4KB
  254. bool "4kB"
  255. config ADK_KERNEL_PAGE_SIZE_16KB
  256. bool "16kB"
  257. config ADK_KERNEL_PAGE_SIZE_64KB
  258. bool "64kB"
  259. endchoice
  260. endmenu