Config.in.kernelversion 11 KB

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