Config.in.kernelversion 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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_KVX
  12. default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
  13. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
  14. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
  15. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
  16. default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_AVR32
  17. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_BFIN
  18. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_FRV
  19. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_SYSTEM_ST_STM32F429
  20. default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_SYSTEM_ST_STM32F769
  21. default ADK_TARGET_LINUX_KERNEL_VERSION_4_19 if ADK_TARGET_ARCH_ARC
  22. default ADK_TARGET_LINUX_KERNEL_VERSION_5_10 if ADK_TARGET_ARCH_PPC64
  23. default ADK_TARGET_LINUX_KERNEL_VERSION_5_4
  24. config ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  25. bool "git"
  26. depends on !ADK_TARGET_ARCH_AVR32
  27. depends on !ADK_TARGET_ARCH_BFIN
  28. depends on !ADK_TARGET_ARCH_FRV
  29. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  30. select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  31. select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  32. select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  33. select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  34. config ADK_TARGET_LINUX_KERNEL_VERSION_5_19
  35. bool "5.19.12"
  36. depends on !ADK_TARGET_ARCH_AVR32
  37. depends on !ADK_TARGET_ARCH_BFIN
  38. depends on !ADK_TARGET_ARCH_CRIS
  39. depends on !ADK_TARGET_ARCH_FRV
  40. depends on !ADK_TARGET_ARCH_METAG
  41. config ADK_TARGET_LINUX_KERNEL_VERSION_5_15
  42. bool "5.15.71"
  43. depends on !ADK_TARGET_ARCH_AVR32
  44. depends on !ADK_TARGET_ARCH_BFIN
  45. depends on !ADK_TARGET_ARCH_CRIS
  46. depends on !ADK_TARGET_ARCH_FRV
  47. depends on !ADK_TARGET_ARCH_METAG
  48. config ADK_TARGET_LINUX_KERNEL_VERSION_5_10
  49. bool "5.10.146"
  50. depends on !ADK_TARGET_ARCH_AVR32
  51. depends on !ADK_TARGET_ARCH_BFIN
  52. depends on !ADK_TARGET_ARCH_CRIS
  53. depends on !ADK_TARGET_ARCH_FRV
  54. depends on !ADK_TARGET_ARCH_METAG
  55. depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  56. config ADK_TARGET_LINUX_KERNEL_VERSION_5_4
  57. bool "5.4.215"
  58. depends on !ADK_TARGET_ARCH_AVR32
  59. depends on !ADK_TARGET_ARCH_BFIN
  60. depends on !ADK_TARGET_ARCH_CRIS
  61. depends on !ADK_TARGET_ARCH_FRV
  62. depends on !ADK_TARGET_ARCH_METAG
  63. depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  64. config ADK_TARGET_LINUX_KERNEL_VERSION_4_19
  65. bool "4.19.258"
  66. depends on !ADK_TARGET_ARCH_AVR32
  67. depends on !ADK_TARGET_ARCH_BFIN
  68. depends on !ADK_TARGET_ARCH_CRIS
  69. depends on !ADK_TARGET_ARCH_CSKY
  70. depends on !ADK_TARGET_ARCH_FRV
  71. depends on !ADK_TARGET_ARCH_METAG
  72. depends on !ADK_TARGET_ARCH_RISCV32
  73. depends on !ADK_TARGET_ARCH_RISCV64
  74. config ADK_TARGET_LINUX_KERNEL_VERSION_4_14
  75. bool "4.14.293"
  76. depends on !ADK_TARGET_ARCH_AVR32
  77. depends on !ADK_TARGET_ARCH_BFIN
  78. depends on !ADK_TARGET_ARCH_CRIS
  79. depends on !ADK_TARGET_ARCH_CSKY
  80. depends on !ADK_TARGET_ARCH_FRV
  81. depends on !ADK_TARGET_ARCH_METAG
  82. depends on !ADK_TARGET_ARCH_NDS32
  83. depends on !ADK_TARGET_ARCH_RISCV32
  84. depends on !ADK_TARGET_ARCH_RISCV64
  85. config ADK_TARGET_LINUX_KERNEL_VERSION_4_9
  86. bool "4.9.287"
  87. depends on !ADK_TARGET_ARCH_ARC
  88. depends on !ADK_TARGET_ARCH_CRIS
  89. depends on !ADK_TARGET_ARCH_CSKY
  90. depends on !ADK_TARGET_ARCH_METAG
  91. depends on !ADK_TARGET_ARCH_NDS32
  92. depends on !ADK_TARGET_ARCH_OR1K
  93. depends on !ADK_TARGET_ARCH_RISCV32
  94. depends on !ADK_TARGET_ARCH_RISCV64
  95. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  96. config ADK_TARGET_LINUX_KERNEL_VERSION_4_4
  97. bool "4.4.302"
  98. depends on !ADK_TARGET_ARCH_ARC
  99. depends on !ADK_TARGET_ARCH_CSKY
  100. depends on !ADK_TARGET_ARCH_NDS32
  101. depends on !ADK_TARGET_ARCH_NIOS2
  102. depends on !ADK_TARGET_ARCH_OR1K
  103. depends on !ADK_TARGET_ARCH_RISCV32
  104. depends on !ADK_TARGET_ARCH_RISCV64
  105. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  106. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  107. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  108. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  109. config ADK_TARGET_LINUX_KERNEL_VERSION_3_16
  110. bool "3.16.85"
  111. depends on !ADK_TARGET_ARCH_ARC
  112. depends on !ADK_TARGET_ARCH_BFIN
  113. depends on !ADK_TARGET_ARCH_CSKY
  114. depends on !ADK_TARGET_ARCH_H8300
  115. depends on !ADK_TARGET_ARCH_NDS32
  116. depends on !ADK_TARGET_ARCH_NIOS2
  117. depends on !ADK_TARGET_ARCH_OR1K
  118. depends on !ADK_TARGET_ARCH_RISCV32
  119. depends on !ADK_TARGET_ARCH_RISCV64
  120. depends on !ADK_TARGET_ARCH_SPARC
  121. depends on !ADK_TARGET_BOARD_ATH79
  122. depends on !ADK_TARGET_BOARD_BCM28XX
  123. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  124. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  125. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  126. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  127. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  128. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  129. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  130. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  131. config ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
  132. bool "2.6.32.70"
  133. depends on !ADK_TARGET_ARCH_ARC
  134. depends on !ADK_TARGET_ARCH_BFIN
  135. depends on !ADK_TARGET_ARCH_CSKY
  136. depends on !ADK_TARGET_ARCH_H8300
  137. depends on !ADK_TARGET_ARCH_NDS32
  138. depends on !ADK_TARGET_ARCH_NIOS2
  139. depends on !ADK_TARGET_ARCH_OR1K
  140. depends on !ADK_TARGET_ARCH_RISCV32
  141. depends on !ADK_TARGET_ARCH_RISCV64
  142. depends on !ADK_TARGET_BOARD_ATH79
  143. depends on !ADK_TARGET_BOARD_BCM28XX
  144. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  145. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  146. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  147. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  148. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  149. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  150. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  151. depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
  152. endchoice
  153. config ADK_TARGET_LINUX_KERNEL_GIT_REPO
  154. string "git repository"
  155. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  156. default "https://github.com/loongson/linux.git" if ADK_TARGET_LINUX_ARCH_LOONGARCH
  157. default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
  158. default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
  159. default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
  160. default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  161. default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  162. default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  163. default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  164. default "https://github.com/kalray/linux_coolidge.git" if ADK_TARGET_ARCH_KVX
  165. default "https://github.com/shenki/linux-lm32.git" if ADK_TARGET_ARCH_LM32
  166. default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
  167. help
  168. GIT repository to use.
  169. config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
  170. string
  171. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  172. default "loongarch" if ADK_TARGET_LINUX_ARCH_LOONGARCH
  173. default "kvx" if ADK_TARGET_ARCH_KVX
  174. default "lm32" if ADK_TARGET_ARCH_LM32
  175. default "rpi" if ADK_TARGET_BOARD_BCM28XX
  176. default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
  177. default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  178. default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
  179. default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  180. default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  181. default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  182. default "linus"
  183. config ADK_TARGET_LINUX_KERNEL_GIT
  184. string "git version"
  185. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  186. default "b02c139d3608c8ae87f5398a3a29854f6df7a041" if ADK_TARGET_ARCH_KVX
  187. default "b6a72d383cf0d4c9c448c1f4e5e8d496ea5c1fd8" if ADK_TARGET_ARCH_LM32
  188. default "8e1110a580887f4b82303b9354c25d7e2ff5860e" if ADK_TARGET_BOARD_BCM28XX
  189. default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
  190. default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
  191. default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  192. default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  193. default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  194. default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  195. default "loongarch-next" if ADK_TARGET_LINUX_ARCH_LOONGARCH
  196. config ADK_TARGET_LINUX_KERNEL_GIT_VER
  197. string "kernel version"
  198. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  199. default "5.19" if ADK_TARGET_LINUX_ARCH_LOONGARCH
  200. default "5.10.110" if ADK_TARGET_BOARD_BCM28XX
  201. default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  202. default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  203. default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
  204. default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  205. default "4.8.0" if ADK_TARGET_SYSTEM_QEMU_LM32
  206. default "5.8.12" if ADK_TARGET_ARCH_KVX
  207. config ADK_TARGET_LINUX_KERNEL_GIT_TYPE
  208. string
  209. depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  210. default "branch" if ADK_TARGET_LINUX_ARCH_LOONGARCH
  211. default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  212. default "hash"
  213. config ADK_TARGET_LINUX_KERNEL_NO_MIRROR
  214. bool
  215. help
  216. Select this if the kernel source is only available
  217. on OpenADK webserver.