Config.in.kernelversion 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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_TARGET_LINUX_KERNEL_NEW
  4. bool
  5. choice
  6. prompt "Linux Kernel version" if !ADK_TARGET_CHOOSE_ARCH
  7. depends on ADK_TARGET_OS_LINUX
  8. default ADK_TARGET_LINUX_KERNEL_VERSION_3_10_NDS32 if ADK_TARGET_ARCH_NDS32
  9. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
  10. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  11. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_KINETIS_K70
  12. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_ADSP_BF537
  13. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  14. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
  15. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV32
  16. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV64
  17. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
  18. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
  19. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
  20. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_AVR32
  21. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_BFIN
  22. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_FRV
  23. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_CPU_ARM_ARM11MPCORE
  24. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_CPU_ARM_CORTEX_A53
  25. default ADK_TARGET_LINUX_KERNEL_VERSION_4_14 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  26. default ADK_TARGET_LINUX_KERNEL_VERSION_4_19
  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_FRV
  32. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  33. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  34. select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  35. select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  36. select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  37. config ADK_TARGET_LINUX_KERNEL_VERSION_5_3
  38. bool "5.3.6"
  39. select ADK_TARGET_LINUX_KERNEL_NEW
  40. depends on !ADK_TARGET_ARCH_AVR32
  41. depends on !ADK_TARGET_ARCH_BFIN
  42. depends on !ADK_TARGET_ARCH_CRIS
  43. depends on !ADK_TARGET_ARCH_FRV
  44. depends on !ADK_TARGET_ARCH_METAG
  45. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  46. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  47. config ADK_TARGET_LINUX_KERNEL_VERSION_4_19
  48. bool "4.19.79"
  49. select ADK_TARGET_LINUX_KERNEL_NEW
  50. depends on !ADK_TARGET_ARCH_AVR32
  51. depends on !ADK_TARGET_ARCH_BFIN
  52. depends on !ADK_TARGET_ARCH_CRIS
  53. depends on !ADK_TARGET_ARCH_CSKY
  54. depends on !ADK_TARGET_ARCH_FRV
  55. depends on !ADK_TARGET_ARCH_METAG
  56. depends on !ADK_TARGET_ARCH_RISCV32
  57. depends on !ADK_TARGET_ARCH_RISCV64
  58. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  59. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  60. config ADK_TARGET_LINUX_KERNEL_VERSION_4_14
  61. bool "4.14.149"
  62. depends on !ADK_TARGET_ARCH_AVR32
  63. depends on !ADK_TARGET_ARCH_BFIN
  64. depends on !ADK_TARGET_ARCH_CRIS
  65. depends on !ADK_TARGET_ARCH_CSKY
  66. depends on !ADK_TARGET_ARCH_FRV
  67. depends on !ADK_TARGET_ARCH_METAG
  68. depends on !ADK_TARGET_ARCH_NDS32
  69. depends on !ADK_TARGET_ARCH_RISCV32
  70. depends on !ADK_TARGET_ARCH_RISCV64
  71. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  72. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  73. config ADK_TARGET_LINUX_KERNEL_VERSION_4_9
  74. bool "4.9.179"
  75. depends on !ADK_TARGET_ARCH_ARC
  76. depends on !ADK_TARGET_ARCH_CRIS
  77. depends on !ADK_TARGET_ARCH_CSKY
  78. depends on !ADK_TARGET_ARCH_METAG
  79. depends on !ADK_TARGET_ARCH_NDS32
  80. depends on !ADK_TARGET_ARCH_OR1K
  81. depends on !ADK_TARGET_ARCH_RISCV32
  82. depends on !ADK_TARGET_ARCH_RISCV64
  83. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  84. config ADK_TARGET_LINUX_KERNEL_VERSION_4_4
  85. bool "4.4.132"
  86. depends on !ADK_TARGET_ARCH_ARC
  87. depends on !ADK_TARGET_ARCH_CSKY
  88. depends on !ADK_TARGET_ARCH_NDS32
  89. depends on !ADK_TARGET_ARCH_NIOS2
  90. depends on !ADK_TARGET_ARCH_OR1K
  91. depends on !ADK_TARGET_ARCH_RISCV32
  92. depends on !ADK_TARGET_ARCH_RISCV64
  93. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  94. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  95. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  96. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  97. config ADK_TARGET_LINUX_KERNEL_VERSION_4_1
  98. bool "4.1.51"
  99. depends on !ADK_TARGET_ARCH_ARC
  100. depends on !ADK_TARGET_ARCH_BFIN
  101. depends on !ADK_TARGET_ARCH_CSKY
  102. depends on !ADK_TARGET_ARCH_H8300
  103. depends on !ADK_TARGET_ARCH_NIOS2
  104. depends on !ADK_TARGET_ARCH_NDS32
  105. depends on !ADK_TARGET_ARCH_OR1K
  106. depends on !ADK_TARGET_ARCH_SPARC
  107. depends on !ADK_TARGET_ARCH_RISCV32
  108. depends on !ADK_TARGET_ARCH_RISCV64
  109. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  110. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  111. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  112. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  113. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  114. config ADK_TARGET_LINUX_KERNEL_VERSION_3_16
  115. bool "3.16.56"
  116. depends on !ADK_TARGET_ARCH_ARC
  117. depends on !ADK_TARGET_ARCH_BFIN
  118. depends on !ADK_TARGET_ARCH_CSKY
  119. depends on !ADK_TARGET_ARCH_H8300
  120. depends on !ADK_TARGET_ARCH_NDS32
  121. depends on !ADK_TARGET_ARCH_NIOS2
  122. depends on !ADK_TARGET_ARCH_OR1K
  123. depends on !ADK_TARGET_ARCH_RISCV32
  124. depends on !ADK_TARGET_ARCH_RISCV64
  125. depends on !ADK_TARGET_ARCH_SPARC
  126. depends on !ADK_TARGET_BOARD_ATH79
  127. depends on !ADK_TARGET_BOARD_BCM28XX
  128. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  129. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  130. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  131. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  132. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  133. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  134. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  135. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  136. config ADK_TARGET_LINUX_KERNEL_VERSION_3_10_NDS32
  137. bool "3.10-nds32"
  138. depends on ADK_TARGET_ARCH_NDS32
  139. select ADK_TARGET_LINUX_KERNEL_NO_MIRROR
  140. config ADK_TARGET_LINUX_KERNEL_VERSION_3_2
  141. bool "3.2.101"
  142. depends on !ADK_TARGET_ARCH_ARC
  143. depends on !ADK_TARGET_ARCH_BFIN
  144. depends on !ADK_TARGET_ARCH_CSKY
  145. depends on !ADK_TARGET_ARCH_H8300
  146. depends on !ADK_TARGET_ARCH_NDS32
  147. depends on !ADK_TARGET_ARCH_NIOS2
  148. depends on !ADK_TARGET_ARCH_OR1K
  149. depends on !ADK_TARGET_ARCH_RISCV32
  150. depends on !ADK_TARGET_ARCH_RISCV64
  151. depends on !ADK_TARGET_ARCH_SPARC
  152. depends on !ADK_TARGET_BOARD_ATH79
  153. depends on !ADK_TARGET_BOARD_BCM28XX
  154. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  155. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  156. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  157. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  158. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  159. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  160. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  161. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  162. config ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
  163. bool "2.6.32.70"
  164. depends on !ADK_TARGET_ARCH_ARC
  165. depends on !ADK_TARGET_ARCH_BFIN
  166. depends on !ADK_TARGET_ARCH_CSKY
  167. depends on !ADK_TARGET_ARCH_H8300
  168. depends on !ADK_TARGET_ARCH_NDS32
  169. depends on !ADK_TARGET_ARCH_NIOS2
  170. depends on !ADK_TARGET_ARCH_OR1K
  171. depends on !ADK_TARGET_ARCH_RISCV32
  172. depends on !ADK_TARGET_ARCH_RISCV64
  173. depends on !ADK_TARGET_BOARD_ATH79
  174. depends on !ADK_TARGET_BOARD_BCM28XX
  175. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  176. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  177. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  178. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  179. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  180. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  181. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  182. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  183. endchoice
  184. config ADK_TARGET_LINUX_KERNEL_GIT_REPO
  185. string "git repository"
  186. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  187. default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
  188. default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
  189. default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
  190. default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  191. default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  192. default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  193. default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  194. default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
  195. default "https://github.com/c-sky/linux-4.9.y.git" if ADK_TARGET_ARCH_CSKY
  196. default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV32
  197. default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV64
  198. default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
  199. help
  200. GIT repository to use.
  201. config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
  202. string
  203. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  204. default "csky" if ADK_TARGET_ARCH_CSKY
  205. default "lm32" if ADK_TARGET_ARCH_LM32
  206. default "riscv" if ADK_TARGET_ARCH_RISCV32
  207. default "riscv" if ADK_TARGET_ARCH_RISCV64
  208. default "rpi" if ADK_TARGET_BOARD_BCM28XX
  209. default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
  210. default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  211. default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
  212. default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  213. default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  214. default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  215. default "linus"
  216. config ADK_TARGET_LINUX_KERNEL_GIT
  217. string "git version"
  218. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  219. default "6064a9bdf48cefbccc4f6472dd04251f0dec1931" if ADK_TARGET_ARCH_CSKY
  220. default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
  221. default "a2092141807514666a273971cc8fa9e80f14439f" if ADK_TARGET_BOARD_BCM28XX
  222. default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
  223. default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
  224. default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  225. default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  226. default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  227. default "riscv-linux-4.18" if ADK_TARGET_ARCH_RISCV32
  228. default "riscv-linux-4.18" if ADK_TARGET_ARCH_RISCV64
  229. default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  230. config ADK_TARGET_LINUX_KERNEL_GIT_VER
  231. string "kernel version"
  232. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  233. default "4.9.56" if ADK_TARGET_ARCH_CSKY
  234. default "4.18.0" if ADK_TARGET_ARCH_RISCV32
  235. default "4.18.0" if ADK_TARGET_ARCH_RISCV64
  236. default "4.14.43" if ADK_TARGET_BOARD_BCM28XX
  237. default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  238. default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  239. default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
  240. default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  241. default "3.1.0" if ADK_TARGET_SYSTEM_QEMU_LM32
  242. config ADK_TARGET_LINUX_KERNEL_GIT_TYPE
  243. string
  244. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  245. default "branch" if ADK_TARGET_ARCH_RISCV32
  246. default "branch" if ADK_TARGET_ARCH_RISCV64
  247. default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  248. default "hash"
  249. config ADK_TARGET_LINUX_KERNEL_NO_MIRROR
  250. bool
  251. help
  252. Select this if the kernel source is only available
  253. on OpenADK webserver.