Config.in.kernelversion 11 KB

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