Config.in.kernelversion 9.7 KB

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