1
0

Config.in.kernel 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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. config ADK_KERNEL_CPU_MIPS64
  74. bool
  75. config ADK_KERNEL_CPU_MIPS64_R1
  76. bool
  77. config ADK_KERNEL_CPU_MIPS64_R2
  78. bool
  79. # ARM specific
  80. config ADK_KERNEL_AEABI
  81. bool
  82. default y if ADK_TARGET_ARCH_ARM
  83. config ADK_KERNEL_ARM_THUMB
  84. bool
  85. config ADK_KERNEL_THUMB2_KERNEL
  86. bool
  87. # endianess
  88. config ADK_KERNEL_CPU_BIG_ENDIAN
  89. bool
  90. default y if ADK_TARGET_BIG_ENDIAN
  91. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  92. bool
  93. default y if ADK_TARGET_LITTLE_ENDIAN
  94. choice
  95. prompt "Kernel Compression"
  96. default ADK_KERNEL_COMPRESS_NONE if ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  97. || ADK_TARGET_SYSTEM_KINETIS_K70 \
  98. || ADK_TARGET_SYSTEM_OR1K_SIM
  99. default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  100. config ADK_KERNEL_COMP_XZ
  101. bool "use XZ compression"
  102. select ADK_KERNEL_RD_XZ
  103. select ADK_KERNEL_KERNEL_XZ
  104. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  105. depends on !ADK_TARGET_UCLINUX
  106. config ADK_KERNEL_COMP_LZ4
  107. bool "use LZ4 compression"
  108. select ADK_KERNEL_RD_LZ4
  109. select ADK_KERNEL_KERNEL_LZ4
  110. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  111. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  112. depends on !ADK_TARGET_UCLINUX
  113. config ADK_KERNEL_COMP_LZMA
  114. bool "use LZMA compression"
  115. select ADK_KERNEL_RD_LZMA
  116. select ADK_KERNEL_KERNEL_LZMA
  117. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  118. depends on !ADK_TARGET_UCLINUX
  119. config ADK_KERNEL_COMP_LZO
  120. bool "use LZO compression"
  121. select ADK_KERNEL_RD_LZO
  122. select ADK_KERNEL_KERNEL_LZO
  123. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  124. depends on !ADK_TARGET_UCLINUX
  125. config ADK_KERNEL_COMP_BZIP2
  126. bool "use BZIP2 compression"
  127. select ADK_KERNEL_RD_BZIP2
  128. select ADK_KERNEL_KERNEL_BZIP2
  129. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  130. depends on !ADK_TARGET_UCLINUX
  131. config ADK_KERNEL_COMP_GZIP
  132. bool "use GZIP compression"
  133. select ADK_KERNEL_RD_GZIP
  134. select ADK_KERNEL_KERNEL_GZIP
  135. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  136. config ADK_KERNEL_COMPRESS_NONE
  137. bool "use no compression"
  138. select ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  139. endchoice
  140. menu "Kernel options"
  141. config ADK_KERNEL_DEVTMPFS
  142. bool
  143. config ADK_KERNEL_DEVTMPFS_MOUNT
  144. bool
  145. config ADK_KERNEL_UEVENT_HELPER
  146. bool
  147. depends on ADK_RUNTIME_DEV_MDEV
  148. default y if ADK_RUNTIME_DEV_MDEV
  149. config ADK_KERNEL_UEVENT_HELPER_PATH
  150. string
  151. default "/sbin/mdev"
  152. depends on ADK_RUNTIME_DEV_MDEV
  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. config ADK_TARGET_NO_CMDLINE
  172. bool "Do not builtin any kernel cmdline"
  173. help
  174. No kernel command line modifictaion is done.
  175. config ADK_KERNEL_SMP
  176. bool "Enable symmetric multi processing"
  177. depends on ADK_TARGET_WITH_SMP
  178. default y if ADK_TARGET_WITH_SMP
  179. default n
  180. help
  181. Enable symmetric multi processing support.
  182. config ADK_KERNEL_HIGHMEM
  183. bool "Enable high memory"
  184. default y if ADK_TARGET_SYSTEM_IBM_X40
  185. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  186. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  187. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  188. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  189. default n
  190. help
  191. Enable high memory support.
  192. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  193. bool "Optimize for size"
  194. # does not boot in qemu-microblaze
  195. depends on !ADK_TARGET_ARCH_MICROBLAZE
  196. default y
  197. config ADK_KERNEL_PREEMPT
  198. bool "Enable preemptive kernel"
  199. help
  200. Enable preemptive mode.
  201. choice
  202. prompt "tick configuration"
  203. config ADK_KERNEL_NO_HZ_IDLE
  204. bool "no HZ IDLE, dynamic tick"
  205. config ADK_KERNEL_NO_HZ_FULL
  206. bool "no HZ FULL, dynamic tick"
  207. config ADK_KERNEL_HZ_PERIODIC
  208. bool "periodic tick"
  209. endchoice
  210. choice
  211. prompt "HZ"
  212. depends on ADK_KERNEL_HZ_PERIODIC
  213. config ADK_KERNEL_HZ_100
  214. bool "100 HZ"
  215. config ADK_KERNEL_HZ_500
  216. bool "500 HZ"
  217. config ADK_KERNEL_HZ_1000
  218. bool "1000 HZ"
  219. endchoice
  220. config ADK_KERNEL_HIGH_RES_TIMERS
  221. bool "Enable high resolution timers"
  222. help
  223. config ADK_KERNEL_PREEMPT_RT_FULL
  224. bool "Enable Realtime support (external kernel patch)"
  225. depends on ADK_TARGET_KERNEL_VERSION_3_18 \
  226. || ADK_TARGET_KERNEL_VERSION_3_14 \
  227. || ADK_TARGET_KERNEL_VERSION_4_1
  228. help
  229. https://www.kernel.org/pub/linux/kernel/projects/rt/
  230. choice
  231. prompt "Page size"
  232. depends on ADK_TARGET_ARCH_MIPS64
  233. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  234. default ADK_KERNEL_PAGE_SIZE_4KB
  235. config ADK_KERNEL_PAGE_SIZE_4KB
  236. bool "4kB"
  237. config ADK_KERNEL_PAGE_SIZE_16KB
  238. bool "16kB"
  239. config ADK_KERNEL_PAGE_SIZE_64KB
  240. bool "64kB"
  241. endchoice
  242. endmenu