Config.in.kernelversion 11 KB

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