Config.in.kernelversion 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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. choice
  4. prompt "Linux Kernel version" if !ADK_TARGET_CHOOSE_ARCH
  5. depends on ADK_TARGET_OS_LINUX
  6. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
  7. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  8. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_KINETIS_K70
  9. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_ADSP_BF537
  10. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  11. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_CPU_ARC_ARC32
  12. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_CPU_ARC_ARC64
  13. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_KVX
  14. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
  15. default ADK_TARGET_LINUX_KERNEL_VERSION_3_4 if ADK_TARGET_SYSTEM_ANDES_AG101P
  16. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
  17. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
  18. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
  19. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_AVR32
  20. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_BFIN
  21. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_FRV
  22. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_SYSTEM_ST_STM32F429
  23. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_SYSTEM_ST_STM32F769
  24. default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_C6X
  25. default ADK_TARGET_LINUX_KERNEL_VERSION_5_15 if ADK_TARGET_ARCH_NDS32
  26. default ADK_TARGET_LINUX_KERNEL_VERSION_6_6
  27. config ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  28. bool "git"
  29. depends on !ADK_TARGET_ARCH_AVR32
  30. depends on !ADK_TARGET_ARCH_BFIN
  31. depends on !ADK_TARGET_ARCH_C6X
  32. depends on !ADK_TARGET_ARCH_FRV
  33. depends on !ADK_TARGET_ARCH_H8300
  34. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  35. select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  36. select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  37. select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  38. select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  39. config ADK_TARGET_LINUX_KERNEL_VERSION_6_10
  40. bool "6.10.3"
  41. depends on !ADK_TARGET_ARCH_AVR32
  42. depends on !ADK_TARGET_ARCH_BFIN
  43. depends on !ADK_TARGET_ARCH_C6X
  44. depends on !ADK_TARGET_ARCH_CRIS
  45. depends on !ADK_TARGET_ARCH_FRV
  46. depends on !ADK_TARGET_ARCH_H8300
  47. depends on !ADK_TARGET_ARCH_METAG
  48. depends on !ADK_TARGET_ARCH_NDS32
  49. config ADK_TARGET_LINUX_KERNEL_VERSION_6_6
  50. bool "6.6.43"
  51. depends on !ADK_TARGET_ARCH_AVR32
  52. depends on !ADK_TARGET_ARCH_BFIN
  53. depends on !ADK_TARGET_ARCH_C6X
  54. depends on !ADK_TARGET_ARCH_CRIS
  55. depends on !ADK_TARGET_ARCH_FRV
  56. depends on !ADK_TARGET_ARCH_H8300
  57. depends on !ADK_TARGET_ARCH_METAG
  58. depends on !ADK_TARGET_ARCH_NDS32
  59. config ADK_TARGET_LINUX_KERNEL_VERSION_6_1
  60. bool "6.1.90"
  61. depends on !ADK_TARGET_ARCH_AVR32
  62. depends on !ADK_TARGET_ARCH_BFIN
  63. depends on !ADK_TARGET_ARCH_C6X
  64. depends on !ADK_TARGET_ARCH_CRIS
  65. depends on !ADK_TARGET_ARCH_FRV
  66. depends on !ADK_TARGET_ARCH_H8300
  67. depends on !ADK_TARGET_ARCH_METAG
  68. depends on !ADK_TARGET_ARCH_NDS32
  69. config ADK_TARGET_LINUX_KERNEL_VERSION_5_15
  70. bool "5.15.158"
  71. depends on !ADK_TARGET_ARCH_AVR32
  72. depends on !ADK_TARGET_ARCH_BFIN
  73. depends on !ADK_TARGET_ARCH_C6X
  74. depends on !ADK_TARGET_ARCH_CRIS
  75. depends on !ADK_TARGET_ARCH_FRV
  76. depends on !ADK_TARGET_ARCH_H8300
  77. depends on !ADK_TARGET_ARCH_METAG
  78. config ADK_TARGET_LINUX_KERNEL_VERSION_5_10
  79. bool "5.10.216"
  80. depends on !ADK_TARGET_ARCH_AVR32
  81. depends on !ADK_TARGET_ARCH_BFIN
  82. depends on !ADK_TARGET_ARCH_C6X
  83. depends on !ADK_TARGET_ARCH_CRIS
  84. depends on !ADK_TARGET_ARCH_FRV
  85. depends on !ADK_TARGET_ARCH_H8300
  86. depends on !ADK_TARGET_ARCH_METAG
  87. depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  88. config ADK_TARGET_LINUX_KERNEL_VERSION_5_4
  89. bool "5.4.275"
  90. depends on !ADK_TARGET_ARCH_AVR32
  91. depends on !ADK_TARGET_ARCH_BFIN
  92. depends on !ADK_TARGET_ARCH_CRIS
  93. depends on !ADK_TARGET_ARCH_FRV
  94. depends on !ADK_TARGET_ARCH_H8300
  95. depends on !ADK_TARGET_ARCH_METAG
  96. depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  97. config ADK_TARGET_LINUX_KERNEL_VERSION_4_19
  98. bool "4.19.313"
  99. depends on !ADK_TARGET_ARCH_AVR32
  100. depends on !ADK_TARGET_ARCH_BFIN
  101. depends on !ADK_TARGET_ARCH_CRIS
  102. depends on !ADK_TARGET_ARCH_CSKY
  103. depends on !ADK_TARGET_ARCH_FRV
  104. depends on !ADK_TARGET_ARCH_H8300
  105. depends on !ADK_TARGET_ARCH_METAG
  106. depends on !ADK_TARGET_ARCH_RISCV32
  107. depends on !ADK_TARGET_ARCH_RISCV64
  108. config ADK_TARGET_LINUX_KERNEL_VERSION_4_14
  109. bool "4.14.334"
  110. depends on !ADK_TARGET_ARCH_AVR32
  111. depends on !ADK_TARGET_ARCH_BFIN
  112. depends on !ADK_TARGET_ARCH_CRIS
  113. depends on !ADK_TARGET_ARCH_CSKY
  114. depends on !ADK_TARGET_ARCH_FRV
  115. depends on !ADK_TARGET_ARCH_H8300
  116. depends on !ADK_TARGET_ARCH_METAG
  117. depends on !ADK_TARGET_ARCH_NDS32
  118. depends on !ADK_TARGET_ARCH_RISCV32
  119. depends on !ADK_TARGET_ARCH_RISCV64
  120. config ADK_TARGET_LINUX_KERNEL_VERSION_4_9
  121. bool "4.9.287"
  122. depends on !ADK_TARGET_ARCH_ARC
  123. depends on !ADK_TARGET_ARCH_CRIS
  124. depends on !ADK_TARGET_ARCH_CSKY
  125. depends on !ADK_TARGET_ARCH_H8300
  126. depends on !ADK_TARGET_ARCH_METAG
  127. depends on !ADK_TARGET_ARCH_NDS32
  128. depends on !ADK_TARGET_ARCH_OR1K
  129. depends on !ADK_TARGET_ARCH_RISCV32
  130. depends on !ADK_TARGET_ARCH_RISCV64
  131. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  132. config ADK_TARGET_LINUX_KERNEL_VERSION_4_4
  133. bool "4.4.302"
  134. depends on !ADK_TARGET_ARCH_ARC
  135. depends on !ADK_TARGET_ARCH_CSKY
  136. depends on !ADK_TARGET_ARCH_NDS32
  137. depends on !ADK_TARGET_ARCH_NIOS2
  138. depends on !ADK_TARGET_ARCH_OR1K
  139. depends on !ADK_TARGET_ARCH_RISCV32
  140. depends on !ADK_TARGET_ARCH_RISCV64
  141. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  142. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  143. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  144. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  145. config ADK_TARGET_LINUX_KERNEL_VERSION_3_16
  146. bool "3.16.85"
  147. depends on !ADK_TARGET_ARCH_ARC
  148. depends on !ADK_TARGET_ARCH_BFIN
  149. depends on !ADK_TARGET_ARCH_CSKY
  150. depends on !ADK_TARGET_ARCH_H8300
  151. depends on !ADK_TARGET_ARCH_NDS32
  152. depends on !ADK_TARGET_ARCH_NIOS2
  153. depends on !ADK_TARGET_ARCH_OR1K
  154. depends on !ADK_TARGET_ARCH_RISCV32
  155. depends on !ADK_TARGET_ARCH_RISCV64
  156. depends on !ADK_TARGET_ARCH_SPARC
  157. depends on !ADK_TARGET_BOARD_ATH79
  158. depends on !ADK_TARGET_BOARD_BCM28XX
  159. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  160. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  161. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  162. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  163. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  164. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  165. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  166. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  167. config ADK_TARGET_LINUX_KERNEL_VERSION_3_4
  168. bool "3.4.112"
  169. depends on ADK_TARGET_ARCH_NDS32
  170. config ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
  171. bool "2.6.32.70"
  172. depends on !ADK_TARGET_ARCH_ARC
  173. depends on !ADK_TARGET_ARCH_BFIN
  174. depends on !ADK_TARGET_ARCH_CSKY
  175. depends on !ADK_TARGET_ARCH_H8300
  176. depends on !ADK_TARGET_ARCH_NDS32
  177. depends on !ADK_TARGET_ARCH_NIOS2
  178. depends on !ADK_TARGET_ARCH_OR1K
  179. depends on !ADK_TARGET_ARCH_RISCV32
  180. depends on !ADK_TARGET_ARCH_RISCV64
  181. depends on !ADK_TARGET_BOARD_ATH79
  182. depends on !ADK_TARGET_BOARD_BCM28XX
  183. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  184. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  185. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  186. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  187. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  188. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  189. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  190. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  191. endchoice
  192. config ADK_TARGET_LINUX_KERNEL_GIT_REPO
  193. string "git repository"
  194. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  195. default "https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
  196. default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
  197. default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
  198. default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
  199. default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  200. default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  201. default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  202. default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  203. default "https://github.com/kalray/linux_coolidge.git" if ADK_TARGET_ARCH_KVX
  204. default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
  205. default "https://github.com/radxa/kernel.git" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  206. default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
  207. help
  208. GIT repository to use.
  209. config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
  210. string
  211. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  212. default "arc" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
  213. default "kvx" if ADK_TARGET_ARCH_KVX
  214. default "lm32" if ADK_TARGET_ARCH_LM32
  215. default "rpi" if ADK_TARGET_BOARD_BCM28XX
  216. default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
  217. default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  218. default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
  219. default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  220. default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  221. default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  222. default "radxa" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  223. default "linus"
  224. config ADK_TARGET_LINUX_KERNEL_GIT
  225. string "git version"
  226. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  227. default "f6e9dab9d1dc1e8fa2acb75504bf5ff86b885b8e" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
  228. default "b02c139d3608c8ae87f5398a3a29854f6df7a041" if ADK_TARGET_ARCH_KVX
  229. default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
  230. default "d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f" if ADK_TARGET_BOARD_BCM28XX
  231. default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
  232. default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
  233. default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  234. default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  235. default "v6.6.32-ti-arm32-r7" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  236. default "stable-4.4-rockpi4" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  237. default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  238. config ADK_TARGET_LINUX_KERNEL_GIT_VER
  239. string "kernel version"
  240. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  241. default "5.16" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
  242. default "6.1.70" if ADK_TARGET_BOARD_BCM28XX
  243. default "5.10.110" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  244. default "6.6.32" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  245. default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  246. default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
  247. default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  248. default "3.6.0" if ADK_TARGET_SYSTEM_QEMU_LM32
  249. default "5.8.12" if ADK_TARGET_ARCH_KVX
  250. config ADK_TARGET_LINUX_KERNEL_GIT_TYPE
  251. string
  252. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  253. default "branch" if ADK_TARGET_LINUX_ARCH_LM32
  254. default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  255. default "branch" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  256. default "branch" if ADK_TARGET_SYSTEM_BEAGLEBONE_BACK
  257. default "hash"
  258. config ADK_TARGET_LINUX_KERNEL_NO_MIRROR
  259. bool
  260. help
  261. Select this if the kernel source is only available
  262. on OpenADK webserver.