Config.in.kernelversion 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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 "Kernel version" if !ADK_TARGET_CHOOSE_ARCH
  5. depends on ADK_TARGET_OS_LINUX
  6. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
  7. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  8. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  9. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_KINETIS_K70
  10. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_ADSP_BF537
  11. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  12. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_CSKY
  13. default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
  14. default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
  15. default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
  16. default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
  17. default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  18. default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  19. default ADK_TARGET_KERNEL_VERSION_4_14 if ADK_TARGET_SYSTEM_ORANGE_PI0
  20. default ADK_TARGET_KERNEL_VERSION_4_14 if ADK_TARGET_ARCH_OR1K
  21. default ADK_TARGET_KERNEL_VERSION_4_15 if ADK_TARGET_ARCH_RISCV32
  22. default ADK_TARGET_KERNEL_VERSION_4_15 if ADK_TARGET_ARCH_RISCV64
  23. default ADK_TARGET_KERNEL_VERSION_4_9
  24. config ADK_TARGET_KERNEL_VERSION_GIT
  25. bool "git"
  26. depends on !ADK_TARGET_ARCH_AVR32
  27. depends on !ADK_TARGET_ARCH_NDS32
  28. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  29. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  30. select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_KERNEL_VERSION_GIT
  31. select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  32. select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  33. config ADK_TARGET_KERNEL_VERSION_4_15
  34. bool "4.15"
  35. depends on !ADK_TARGET_ARCH_AVR32
  36. depends on !ADK_TARGET_ARCH_CRIS
  37. depends on !ADK_TARGET_ARCH_CSKY
  38. depends on !ADK_TARGET_ARCH_METAG
  39. depends on !ADK_TARGET_ARCH_NDS32
  40. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  41. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  42. config ADK_TARGET_KERNEL_VERSION_4_14
  43. bool "4.14.8"
  44. depends on !ADK_TARGET_ARCH_AVR32
  45. depends on !ADK_TARGET_ARCH_CRIS
  46. depends on !ADK_TARGET_ARCH_CSKY
  47. depends on !ADK_TARGET_ARCH_METAG
  48. depends on !ADK_TARGET_ARCH_NDS32
  49. depends on !ADK_TARGET_ARCH_RISCV32
  50. depends on !ADK_TARGET_ARCH_RISCV64
  51. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  52. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  53. config ADK_TARGET_KERNEL_VERSION_4_9
  54. bool "4.9.77"
  55. depends on !ADK_TARGET_ARCH_CRIS
  56. depends on !ADK_TARGET_ARCH_CSKY
  57. depends on !ADK_TARGET_ARCH_METAG
  58. depends on !ADK_TARGET_ARCH_NDS32
  59. depends on !ADK_TARGET_ARCH_OR1K
  60. depends on !ADK_TARGET_ARCH_RISCV32
  61. depends on !ADK_TARGET_ARCH_RISCV64
  62. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  63. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  64. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  65. config ADK_TARGET_KERNEL_VERSION_4_4
  66. bool "4.4.112"
  67. depends on !ADK_TARGET_ARCH_CSKY
  68. depends on !ADK_TARGET_ARCH_NDS32
  69. depends on !ADK_TARGET_ARCH_NIOS2
  70. depends on !ADK_TARGET_ARCH_OR1K
  71. depends on !ADK_TARGET_ARCH_RISCV32
  72. depends on !ADK_TARGET_ARCH_RISCV64
  73. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  74. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  75. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  76. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  77. config ADK_TARGET_KERNEL_VERSION_4_1
  78. bool "4.1.45"
  79. depends on !ADK_TARGET_ARCH_ARC
  80. depends on !ADK_TARGET_ARCH_BFIN
  81. depends on !ADK_TARGET_ARCH_CSKY
  82. depends on !ADK_TARGET_ARCH_H8300
  83. depends on !ADK_TARGET_ARCH_NIOS2
  84. depends on !ADK_TARGET_ARCH_NDS32
  85. depends on !ADK_TARGET_ARCH_OR1K
  86. depends on !ADK_TARGET_ARCH_SPARC
  87. depends on !ADK_TARGET_ARCH_RISCV32
  88. depends on !ADK_TARGET_ARCH_RISCV64
  89. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  90. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  91. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  92. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  93. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  94. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  95. config ADK_TARGET_KERNEL_VERSION_3_16
  96. bool "3.16.49"
  97. depends on !ADK_TARGET_ARCH_ARC
  98. depends on !ADK_TARGET_ARCH_BFIN
  99. depends on !ADK_TARGET_ARCH_CSKY
  100. depends on !ADK_TARGET_ARCH_H8300
  101. depends on !ADK_TARGET_ARCH_NDS32
  102. depends on !ADK_TARGET_ARCH_NIOS2
  103. depends on !ADK_TARGET_ARCH_OR1K
  104. depends on !ADK_TARGET_ARCH_RISCV32
  105. depends on !ADK_TARGET_ARCH_RISCV64
  106. depends on !ADK_TARGET_ARCH_SPARC
  107. depends on !ADK_TARGET_BOARD_ATH79
  108. depends on !ADK_TARGET_BOARD_BCM28XX
  109. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  110. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  111. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  112. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  113. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  114. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  115. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  116. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  117. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  118. config ADK_TARGET_KERNEL_VERSION_3_10
  119. bool "3.10.107"
  120. depends on !ADK_TARGET_ARCH_ARC
  121. depends on !ADK_TARGET_ARCH_BFIN
  122. depends on !ADK_TARGET_ARCH_CSKY
  123. depends on !ADK_TARGET_ARCH_H8300
  124. depends on !ADK_TARGET_ARCH_NDS32
  125. depends on !ADK_TARGET_ARCH_NIOS2
  126. depends on !ADK_TARGET_ARCH_OR1K
  127. depends on !ADK_TARGET_ARCH_RISCV32
  128. depends on !ADK_TARGET_ARCH_RISCV64
  129. depends on !ADK_TARGET_ARCH_SPARC
  130. depends on !ADK_TARGET_BOARD_ATH79
  131. depends on !ADK_TARGET_BOARD_BCM28XX
  132. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  133. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  134. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  135. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  136. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  137. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  138. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  139. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  140. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  141. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  142. config ADK_TARGET_KERNEL_VERSION_3_10_NDS32
  143. bool "3.10-nds32"
  144. depends on ADK_TARGET_ARCH_NDS32
  145. select ADK_TARGET_KERNEL_NO_MIRROR
  146. config ADK_TARGET_KERNEL_VERSION_3_2
  147. bool "3.2.94"
  148. depends on !ADK_TARGET_ARCH_ARC
  149. depends on !ADK_TARGET_ARCH_BFIN
  150. depends on !ADK_TARGET_ARCH_CSKY
  151. depends on !ADK_TARGET_ARCH_H8300
  152. depends on !ADK_TARGET_ARCH_NDS32
  153. depends on !ADK_TARGET_ARCH_NIOS2
  154. depends on !ADK_TARGET_ARCH_OR1K
  155. depends on !ADK_TARGET_ARCH_RISCV32
  156. depends on !ADK_TARGET_ARCH_RISCV64
  157. depends on !ADK_TARGET_ARCH_SPARC
  158. depends on !ADK_TARGET_BOARD_ATH79
  159. depends on !ADK_TARGET_BOARD_BCM28XX
  160. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  161. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  162. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  163. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  164. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  165. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  166. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  167. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  168. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  169. config ADK_TARGET_KERNEL_VERSION_2_6_32
  170. bool "2.6.32.70"
  171. depends on !ADK_TARGET_ARCH_ARC
  172. depends on !ADK_TARGET_ARCH_BFIN
  173. depends on !ADK_TARGET_ARCH_CSKY
  174. depends on !ADK_TARGET_ARCH_H8300
  175. depends on !ADK_TARGET_ARCH_NDS32
  176. depends on !ADK_TARGET_ARCH_NIOS2
  177. depends on !ADK_TARGET_ARCH_OR1K
  178. depends on !ADK_TARGET_ARCH_RISCV32
  179. depends on !ADK_TARGET_ARCH_RISCV64
  180. depends on !ADK_TARGET_BOARD_ATH79
  181. depends on !ADK_TARGET_BOARD_BCM28XX
  182. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  183. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  184. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  185. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  186. depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
  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_KERNEL_GIT_REPO
  193. string "git repository"
  194. depends on ADK_TARGET_KERNEL_VERSION_GIT
  195. default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
  196. default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
  197. default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
  198. default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  199. default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  200. default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  201. default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  202. default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
  203. default "https://github.com/c-sky/linux-4.9.y.git" if ADK_TARGET_ARCH_CSKY
  204. default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
  205. help
  206. GIT repository to use.
  207. config ADK_TARGET_KERNEL_GIT_REPO_NAME
  208. string
  209. depends on ADK_TARGET_KERNEL_VERSION_GIT
  210. default "csky" if ADK_TARGET_ARCH_CSKY
  211. default "lm32" if ADK_TARGET_ARCH_LM32
  212. default "rpi" if ADK_TARGET_BOARD_BCM28XX
  213. default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
  214. default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  215. default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
  216. default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  217. default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  218. default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  219. default "linus"
  220. config ADK_TARGET_KERNEL_GIT
  221. string "git version"
  222. depends on ADK_TARGET_KERNEL_VERSION_GIT
  223. default "6064a9bdf48cefbccc4f6472dd04251f0dec1931" if ADK_TARGET_ARCH_CSKY
  224. default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
  225. default "31a8651c138253007c66e1be176cdc839b416842" if ADK_TARGET_BOARD_BCM28XX
  226. default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
  227. default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
  228. default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  229. default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  230. default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  231. default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  232. config ADK_TARGET_KERNEL_GIT_VER
  233. string "kernel version"
  234. depends on ADK_TARGET_KERNEL_VERSION_GIT
  235. default "4.9.56" if ADK_TARGET_ARCH_CSKY
  236. default "4.9.70" 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. config ADK_TARGET_KERNEL_GIT_TYPE
  242. string
  243. depends on ADK_TARGET_KERNEL_VERSION_GIT
  244. default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  245. default "hash"
  246. config ADK_TARGET_KERNEL_NO_MIRROR
  247. bool
  248. help
  249. Select this if the kernel source is only available
  250. on OpenADK webserver.