Config.in.kernelversion 9.7 KB

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