Config.in.kernelversion 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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_GIT if ADK_TARGET_ARCH_RISCV32
  15. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV64
  16. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
  17. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
  18. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
  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_16
  30. bool "4.16.12"
  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_NDS32
  36. depends on !ADK_TARGET_ARCH_RISCV32
  37. depends on !ADK_TARGET_ARCH_RISCV64
  38. config ADK_TARGET_LINUX_KERNEL_VERSION_4_14
  39. bool "4.14.44"
  40. depends on !ADK_TARGET_ARCH_AVR32
  41. depends on !ADK_TARGET_ARCH_CRIS
  42. depends on !ADK_TARGET_ARCH_CSKY
  43. depends on !ADK_TARGET_ARCH_METAG
  44. depends on !ADK_TARGET_ARCH_NDS32
  45. depends on !ADK_TARGET_ARCH_RISCV32
  46. depends on !ADK_TARGET_ARCH_RISCV64
  47. config ADK_TARGET_LINUX_KERNEL_VERSION_4_9
  48. bool "4.9.103"
  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_OR1K
  54. depends on !ADK_TARGET_ARCH_RISCV32
  55. depends on !ADK_TARGET_ARCH_RISCV64
  56. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  57. config ADK_TARGET_LINUX_KERNEL_VERSION_4_4
  58. bool "4.4.132"
  59. depends on !ADK_TARGET_ARCH_CSKY
  60. depends on !ADK_TARGET_ARCH_NDS32
  61. depends on !ADK_TARGET_ARCH_NIOS2
  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_CPU_MIPS_MIPS32R6
  66. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  67. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  68. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  69. config ADK_TARGET_LINUX_KERNEL_VERSION_4_1
  70. bool "4.1.51"
  71. depends on !ADK_TARGET_ARCH_ARC
  72. depends on !ADK_TARGET_ARCH_BFIN
  73. depends on !ADK_TARGET_ARCH_CSKY
  74. depends on !ADK_TARGET_ARCH_H8300
  75. depends on !ADK_TARGET_ARCH_NIOS2
  76. depends on !ADK_TARGET_ARCH_NDS32
  77. depends on !ADK_TARGET_ARCH_OR1K
  78. depends on !ADK_TARGET_ARCH_SPARC
  79. depends on !ADK_TARGET_ARCH_RISCV32
  80. depends on !ADK_TARGET_ARCH_RISCV64
  81. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  82. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  83. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  84. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  85. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  86. config ADK_TARGET_LINUX_KERNEL_VERSION_3_16
  87. bool "3.16.56"
  88. depends on !ADK_TARGET_ARCH_ARC
  89. depends on !ADK_TARGET_ARCH_BFIN
  90. depends on !ADK_TARGET_ARCH_CSKY
  91. depends on !ADK_TARGET_ARCH_H8300
  92. depends on !ADK_TARGET_ARCH_NDS32
  93. depends on !ADK_TARGET_ARCH_NIOS2
  94. depends on !ADK_TARGET_ARCH_OR1K
  95. depends on !ADK_TARGET_ARCH_RISCV32
  96. depends on !ADK_TARGET_ARCH_RISCV64
  97. depends on !ADK_TARGET_ARCH_SPARC
  98. depends on !ADK_TARGET_BOARD_ATH79
  99. depends on !ADK_TARGET_BOARD_BCM28XX
  100. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  101. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  102. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  103. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  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_LINUX_KERNEL_VERSION_3_10_NDS32
  109. bool "3.10-nds32"
  110. depends on ADK_TARGET_ARCH_NDS32
  111. select ADK_TARGET_LINUX_KERNEL_NO_MIRROR
  112. config ADK_TARGET_LINUX_KERNEL_VERSION_3_2
  113. bool "3.2.101"
  114. depends on !ADK_TARGET_ARCH_ARC
  115. depends on !ADK_TARGET_ARCH_BFIN
  116. depends on !ADK_TARGET_ARCH_CSKY
  117. depends on !ADK_TARGET_ARCH_H8300
  118. depends on !ADK_TARGET_ARCH_NDS32
  119. depends on !ADK_TARGET_ARCH_NIOS2
  120. depends on !ADK_TARGET_ARCH_OR1K
  121. depends on !ADK_TARGET_ARCH_RISCV32
  122. depends on !ADK_TARGET_ARCH_RISCV64
  123. depends on !ADK_TARGET_ARCH_SPARC
  124. depends on !ADK_TARGET_BOARD_ATH79
  125. depends on !ADK_TARGET_BOARD_BCM28XX
  126. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  127. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  128. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  129. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  130. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  131. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  132. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  133. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  134. config ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
  135. bool "2.6.32.70"
  136. depends on !ADK_TARGET_ARCH_ARC
  137. depends on !ADK_TARGET_ARCH_BFIN
  138. depends on !ADK_TARGET_ARCH_CSKY
  139. depends on !ADK_TARGET_ARCH_H8300
  140. depends on !ADK_TARGET_ARCH_NDS32
  141. depends on !ADK_TARGET_ARCH_NIOS2
  142. depends on !ADK_TARGET_ARCH_OR1K
  143. depends on !ADK_TARGET_ARCH_RISCV32
  144. depends on !ADK_TARGET_ARCH_RISCV64
  145. depends on !ADK_TARGET_BOARD_ATH79
  146. depends on !ADK_TARGET_BOARD_BCM28XX
  147. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  148. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  149. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  150. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  151. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  152. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  153. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  154. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  155. endchoice
  156. config ADK_TARGET_LINUX_KERNEL_GIT_REPO
  157. string "git repository"
  158. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  159. default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
  160. default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
  161. default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
  162. default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  163. default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  164. default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  165. default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  166. default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
  167. default "https://github.com/c-sky/linux-4.9.y.git" if ADK_TARGET_ARCH_CSKY
  168. default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV32
  169. default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV64
  170. default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
  171. help
  172. GIT repository to use.
  173. config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
  174. string
  175. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  176. default "csky" if ADK_TARGET_ARCH_CSKY
  177. default "lm32" if ADK_TARGET_ARCH_LM32
  178. default "riscv" if ADK_TARGET_ARCH_RISCV32
  179. default "riscv" if ADK_TARGET_ARCH_RISCV64
  180. default "rpi" if ADK_TARGET_BOARD_BCM28XX
  181. default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
  182. default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  183. default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
  184. default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  185. default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  186. default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  187. default "linus"
  188. config ADK_TARGET_LINUX_KERNEL_GIT
  189. string "git version"
  190. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  191. default "6064a9bdf48cefbccc4f6472dd04251f0dec1931" if ADK_TARGET_ARCH_CSKY
  192. default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
  193. default "865ddc1393f558198e7e7ce70928ff2e49c4f7f6" if ADK_TARGET_BOARD_BCM28XX
  194. default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
  195. default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
  196. default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  197. default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  198. default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  199. default "riscv-linux-4.15" if ADK_TARGET_ARCH_RISCV32
  200. default "riscv-linux-4.15" if ADK_TARGET_ARCH_RISCV64
  201. default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  202. config ADK_TARGET_LINUX_KERNEL_GIT_VER
  203. string "kernel version"
  204. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  205. default "4.9.56" if ADK_TARGET_ARCH_CSKY
  206. default "4.15.0" if ADK_TARGET_ARCH_RISCV32
  207. default "4.15.0" if ADK_TARGET_ARCH_RISCV64
  208. default "4.14.39" if ADK_TARGET_BOARD_BCM28XX
  209. default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  210. default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  211. default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
  212. default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  213. config ADK_TARGET_LINUX_KERNEL_GIT_TYPE
  214. string
  215. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  216. default "branch" if ADK_TARGET_ARCH_RISCV32
  217. default "branch" if ADK_TARGET_ARCH_RISCV64
  218. default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  219. default "hash"
  220. config ADK_TARGET_LINUX_KERNEL_NO_MIRROR
  221. bool
  222. help
  223. Select this if the kernel source is only available
  224. on OpenADK webserver.