1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
5 prompt "Linux Kernel version" if !ADK_TARGET_CHOOSE_ARCH
6 depends on ADK_TARGET_OS_LINUX
7 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
8 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
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_CPU_ARC_ARC32
13 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_CPU_ARC_ARC64
14 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_KVX
15 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
16 default ADK_TARGET_LINUX_KERNEL_VERSION_3_4 if ADK_TARGET_SYSTEM_ANDES_AG101P
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_SYSTEM_ST_STM32F429
24 default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_SYSTEM_ST_STM32F769
25 default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_C6X
26 default ADK_TARGET_LINUX_KERNEL_VERSION_5_15 if ADK_TARGET_ARCH_NDS32
27 default ADK_TARGET_LINUX_KERNEL_VERSION_6_6
29 config ADK_TARGET_LINUX_KERNEL_VERSION_GIT
31 depends on !ADK_TARGET_ARCH_AVR32
32 depends on !ADK_TARGET_ARCH_BFIN
33 depends on !ADK_TARGET_ARCH_C6X
34 depends on !ADK_TARGET_ARCH_FRV
35 depends on !ADK_TARGET_ARCH_H8300
36 select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
37 select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
38 select ADK_HOST_NEED_LZ4 if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
39 select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
40 select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
42 config ADK_TARGET_LINUX_KERNEL_VERSION_6_11
44 depends on !ADK_TARGET_ARCH_AVR32
45 depends on !ADK_TARGET_ARCH_BFIN
46 depends on !ADK_TARGET_ARCH_C6X
47 depends on !ADK_TARGET_ARCH_CRIS
48 depends on !ADK_TARGET_ARCH_FRV
49 depends on !ADK_TARGET_ARCH_H8300
50 depends on !ADK_TARGET_ARCH_METAG
51 depends on !ADK_TARGET_ARCH_NDS32
53 config ADK_TARGET_LINUX_KERNEL_VERSION_6_6
55 depends on !ADK_TARGET_ARCH_AVR32
56 depends on !ADK_TARGET_ARCH_BFIN
57 depends on !ADK_TARGET_ARCH_C6X
58 depends on !ADK_TARGET_ARCH_CRIS
59 depends on !ADK_TARGET_ARCH_FRV
60 depends on !ADK_TARGET_ARCH_H8300
61 depends on !ADK_TARGET_ARCH_METAG
62 depends on !ADK_TARGET_ARCH_NDS32
64 config ADK_TARGET_LINUX_KERNEL_VERSION_6_1
66 depends on !ADK_TARGET_ARCH_AVR32
67 depends on !ADK_TARGET_ARCH_BFIN
68 depends on !ADK_TARGET_ARCH_C6X
69 depends on !ADK_TARGET_ARCH_CRIS
70 depends on !ADK_TARGET_ARCH_FRV
71 depends on !ADK_TARGET_ARCH_H8300
72 depends on !ADK_TARGET_ARCH_METAG
73 depends on !ADK_TARGET_ARCH_NDS32
75 config ADK_TARGET_LINUX_KERNEL_VERSION_5_15
77 depends on !ADK_TARGET_ARCH_AVR32
78 depends on !ADK_TARGET_ARCH_BFIN
79 depends on !ADK_TARGET_ARCH_C6X
80 depends on !ADK_TARGET_ARCH_CRIS
81 depends on !ADK_TARGET_ARCH_FRV
82 depends on !ADK_TARGET_ARCH_H8300
83 depends on !ADK_TARGET_ARCH_METAG
85 config ADK_TARGET_LINUX_KERNEL_VERSION_5_10
87 depends on !ADK_TARGET_ARCH_AVR32
88 depends on !ADK_TARGET_ARCH_BFIN
89 depends on !ADK_TARGET_ARCH_C6X
90 depends on !ADK_TARGET_ARCH_CRIS
91 depends on !ADK_TARGET_ARCH_FRV
92 depends on !ADK_TARGET_ARCH_H8300
93 depends on !ADK_TARGET_ARCH_METAG
94 depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
96 config ADK_TARGET_LINUX_KERNEL_VERSION_5_4
98 depends on !ADK_TARGET_ARCH_AVR32
99 depends on !ADK_TARGET_ARCH_BFIN
100 depends on !ADK_TARGET_ARCH_CRIS
101 depends on !ADK_TARGET_ARCH_FRV
102 depends on !ADK_TARGET_ARCH_H8300
103 depends on !ADK_TARGET_ARCH_METAG
104 depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
106 config ADK_TARGET_LINUX_KERNEL_VERSION_4_19
108 depends on !ADK_TARGET_ARCH_AVR32
109 depends on !ADK_TARGET_ARCH_BFIN
110 depends on !ADK_TARGET_ARCH_CRIS
111 depends on !ADK_TARGET_ARCH_CSKY
112 depends on !ADK_TARGET_ARCH_FRV
113 depends on !ADK_TARGET_ARCH_H8300
114 depends on !ADK_TARGET_ARCH_METAG
115 depends on !ADK_TARGET_ARCH_RISCV32
116 depends on !ADK_TARGET_ARCH_RISCV64
118 config ADK_TARGET_LINUX_KERNEL_VERSION_4_14
120 depends on !ADK_TARGET_ARCH_AVR32
121 depends on !ADK_TARGET_ARCH_BFIN
122 depends on !ADK_TARGET_ARCH_CRIS
123 depends on !ADK_TARGET_ARCH_CSKY
124 depends on !ADK_TARGET_ARCH_FRV
125 depends on !ADK_TARGET_ARCH_H8300
126 depends on !ADK_TARGET_ARCH_METAG
127 depends on !ADK_TARGET_ARCH_NDS32
128 depends on !ADK_TARGET_ARCH_RISCV32
129 depends on !ADK_TARGET_ARCH_RISCV64
131 config ADK_TARGET_LINUX_KERNEL_VERSION_4_9
133 depends on !ADK_TARGET_ARCH_ARC
134 depends on !ADK_TARGET_ARCH_CRIS
135 depends on !ADK_TARGET_ARCH_CSKY
136 depends on !ADK_TARGET_ARCH_H8300
137 depends on !ADK_TARGET_ARCH_METAG
138 depends on !ADK_TARGET_ARCH_NDS32
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_SYSTEM_ORANGE_PI0
144 config ADK_TARGET_LINUX_KERNEL_VERSION_4_4
146 depends on !ADK_TARGET_ARCH_ARC
147 depends on !ADK_TARGET_ARCH_CSKY
148 depends on !ADK_TARGET_ARCH_NDS32
149 depends on !ADK_TARGET_ARCH_NIOS2
150 depends on !ADK_TARGET_ARCH_OR1K
151 depends on !ADK_TARGET_ARCH_RISCV32
152 depends on !ADK_TARGET_ARCH_RISCV64
153 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
154 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
155 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
156 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
158 config ADK_TARGET_LINUX_KERNEL_VERSION_3_16
160 depends on !ADK_TARGET_ARCH_ARC
161 depends on !ADK_TARGET_ARCH_BFIN
162 depends on !ADK_TARGET_ARCH_CSKY
163 depends on !ADK_TARGET_ARCH_H8300
164 depends on !ADK_TARGET_ARCH_NDS32
165 depends on !ADK_TARGET_ARCH_NIOS2
166 depends on !ADK_TARGET_ARCH_OR1K
167 depends on !ADK_TARGET_ARCH_RISCV32
168 depends on !ADK_TARGET_ARCH_RISCV64
169 depends on !ADK_TARGET_ARCH_SPARC
170 depends on !ADK_TARGET_BOARD_ATH79
171 depends on !ADK_TARGET_BOARD_BCM28XX
172 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
173 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
174 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
175 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
176 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
177 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
178 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
179 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
181 config ADK_TARGET_LINUX_KERNEL_VERSION_3_4
183 depends on ADK_TARGET_ARCH_NDS32
185 config ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
187 depends on !ADK_TARGET_ARCH_ARC
188 depends on !ADK_TARGET_ARCH_BFIN
189 depends on !ADK_TARGET_ARCH_CSKY
190 depends on !ADK_TARGET_ARCH_H8300
191 depends on !ADK_TARGET_ARCH_NDS32
192 depends on !ADK_TARGET_ARCH_NIOS2
193 depends on !ADK_TARGET_ARCH_OR1K
194 depends on !ADK_TARGET_ARCH_RISCV32
195 depends on !ADK_TARGET_ARCH_RISCV64
196 depends on !ADK_TARGET_BOARD_ATH79
197 depends on !ADK_TARGET_BOARD_BCM28XX
198 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
199 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
200 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
201 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
202 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
203 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
204 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
205 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
209 config ADK_TARGET_LINUX_KERNEL_GIT_REPO
210 string "git repository"
211 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
212 default "https://github.com/foss-for-synopsys-dwc-arc-processors/linux.git" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
213 default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
214 default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
215 default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
216 default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
217 default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
218 default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
219 default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
220 default "https://github.com/kalray/linux_coolidge.git" if ADK_TARGET_ARCH_KVX
221 default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
222 default "https://github.com/radxa/kernel.git" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
223 default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
225 GIT repository to use.
227 config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
229 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
230 default "arc" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
231 default "kvx" if ADK_TARGET_ARCH_KVX
232 default "lm32" if ADK_TARGET_ARCH_LM32
233 default "rpi" if ADK_TARGET_BOARD_BCM28XX
234 default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
235 default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
236 default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
237 default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
238 default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
239 default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
240 default "radxa" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
243 config ADK_TARGET_LINUX_KERNEL_GIT
245 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
246 default "f6e9dab9d1dc1e8fa2acb75504bf5ff86b885b8e" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
247 default "b02c139d3608c8ae87f5398a3a29854f6df7a041" if ADK_TARGET_ARCH_KVX
248 default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
249 default "ba0f2212e0e100ee16bdde76b7efca6bb8ee9446" if ADK_TARGET_BOARD_BCM28XX
250 default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
251 default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
252 default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
253 default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
254 default "v6.6.32-ti-arm32-r7" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
255 default "stable-4.4-rockpi4" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
256 default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
258 config ADK_TARGET_LINUX_KERNEL_GIT_VER
259 string "kernel version"
260 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
261 default "6.6.47" if ADK_TARGET_BOARD_BCM28XX
262 default "5.16" if ADK_TARGET_CPU_ARC_ARC32 || ADK_TARGET_CPU_ARC_ARC64
263 default "5.10.110" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
264 default "6.6.32" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
265 default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
266 default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
267 default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
268 default "3.6.0" if ADK_TARGET_SYSTEM_QEMU_LM32
269 default "5.8.12" if ADK_TARGET_ARCH_KVX
271 config ADK_TARGET_LINUX_KERNEL_GIT_TYPE
273 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
274 default "branch" if ADK_TARGET_LINUX_ARCH_LM32
275 default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
276 default "branch" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
277 default "branch" if ADK_TARGET_SYSTEM_BEAGLEBONE_BACK
280 config ADK_TARGET_LINUX_KERNEL_NO_MIRROR
283 Select this if the kernel source is only available
284 on OpenADK webserver.