1
0

Config.in.kernelversion 11 KB

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