Config.in.kernelversion 10 KB

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