Config.in.kernelversion 9.9 KB

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