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 "Kernel version" if !ADK_TARGET_CHOOSE_ARCH
6 depends on ADK_TARGET_OS_LINUX
7 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
8 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
9 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
10 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_KINETIS_K70
11 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_ADSP_BF537
12 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_CSKY
13 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
14 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV32
15 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV64
16 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
17 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
18 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
19 default ADK_TARGET_KERNEL_VERSION_4_13 if ADK_TARGET_SYSTEM_ORANGE_PI0
20 default ADK_TARGET_KERNEL_VERSION_4_9
22 config ADK_TARGET_KERNEL_VERSION_GIT
24 depends on !ADK_TARGET_ARCH_AVR32
25 depends on !ADK_TARGET_ARCH_NDS32
26 select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
27 select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
28 select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
29 select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
31 config ADK_TARGET_KERNEL_VERSION_4_13
33 depends on !ADK_TARGET_ARCH_AVR32
34 depends on !ADK_TARGET_ARCH_CRIS
35 depends on !ADK_TARGET_ARCH_CSKY
36 depends on !ADK_TARGET_ARCH_METAG
37 depends on !ADK_TARGET_ARCH_NDS32
38 depends on !ADK_TARGET_ARCH_RISCV32
39 depends on !ADK_TARGET_ARCH_RISCV64
40 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
42 config ADK_TARGET_KERNEL_VERSION_4_9
44 depends on !ADK_TARGET_ARCH_CRIS
45 depends on !ADK_TARGET_ARCH_CSKY
46 depends on !ADK_TARGET_ARCH_METAG
47 depends on !ADK_TARGET_ARCH_NDS32
48 depends on !ADK_TARGET_ARCH_RISCV32
49 depends on !ADK_TARGET_ARCH_RISCV64
50 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
51 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
53 config ADK_TARGET_KERNEL_VERSION_4_4
55 depends on !ADK_TARGET_ARCH_CSKY
56 depends on !ADK_TARGET_ARCH_NDS32
57 depends on !ADK_TARGET_ARCH_NIOS2
58 depends on !ADK_TARGET_ARCH_OR1K
59 depends on !ADK_TARGET_ARCH_RISCV32
60 depends on !ADK_TARGET_ARCH_RISCV64
61 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
62 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
63 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
64 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
66 config ADK_TARGET_KERNEL_VERSION_4_1
68 depends on !ADK_TARGET_ARCH_ARC
69 depends on !ADK_TARGET_ARCH_BFIN
70 depends on !ADK_TARGET_ARCH_CSKY
71 depends on !ADK_TARGET_ARCH_H8300
72 depends on !ADK_TARGET_ARCH_NIOS2
73 depends on !ADK_TARGET_ARCH_NDS32
74 depends on !ADK_TARGET_ARCH_OR1K
75 depends on !ADK_TARGET_ARCH_SPARC
76 depends on !ADK_TARGET_ARCH_RISCV32
77 depends on !ADK_TARGET_ARCH_RISCV64
78 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
79 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
80 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
81 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
82 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
83 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
85 config ADK_TARGET_KERNEL_VERSION_3_16
87 depends on !ADK_TARGET_ARCH_ARC
88 depends on !ADK_TARGET_ARCH_BFIN
89 depends on !ADK_TARGET_ARCH_CSKY
90 depends on !ADK_TARGET_ARCH_H8300
91 depends on !ADK_TARGET_ARCH_NDS32
92 depends on !ADK_TARGET_ARCH_NIOS2
93 depends on !ADK_TARGET_ARCH_OR1K
94 depends on !ADK_TARGET_ARCH_RISCV32
95 depends on !ADK_TARGET_ARCH_RISCV64
96 depends on !ADK_TARGET_ARCH_SPARC
97 depends on !ADK_TARGET_BOARD_ATH79
98 depends on !ADK_TARGET_BOARD_BCM28XX
99 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
100 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
101 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
102 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
103 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
104 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
105 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
106 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
107 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
109 config ADK_TARGET_KERNEL_VERSION_3_10
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_BEAGLEBONE_BLACK
124 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
125 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
126 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
127 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
128 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
129 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
130 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
131 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
132 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
134 config ADK_TARGET_KERNEL_VERSION_3_4
136 depends on !ADK_TARGET_ARCH_ARC
137 depends on !ADK_TARGET_ARCH_BFIN
138 depends on !ADK_TARGET_ARCH_CSKY
139 depends on !ADK_TARGET_ARCH_H8300
140 depends on !ADK_TARGET_ARCH_NDS32
141 depends on !ADK_TARGET_ARCH_NIOS2
142 depends on !ADK_TARGET_ARCH_OR1K
143 depends on !ADK_TARGET_ARCH_RISCV32
144 depends on !ADK_TARGET_ARCH_RISCV64
145 depends on !ADK_TARGET_ARCH_SPARC
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_QEMU_ARM_VERSATILEPB_NOMMU
153 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
154 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
155 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
156 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
158 config ADK_TARGET_KERNEL_VERSION_3_4_NDS32
160 depends on ADK_TARGET_ARCH_NDS32
161 select ADK_TARGET_KERNEL_NO_MIRROR
163 config ADK_TARGET_KERNEL_VERSION_3_2
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_ARCH_SPARC
175 depends on !ADK_TARGET_BOARD_ATH79
176 depends on !ADK_TARGET_BOARD_BCM28XX
177 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
178 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
179 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
180 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
181 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
182 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
183 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
184 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
185 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
187 config ADK_TARGET_KERNEL_VERSION_2_6_32
189 depends on !ADK_TARGET_ARCH_ARC
190 depends on !ADK_TARGET_ARCH_BFIN
191 depends on !ADK_TARGET_ARCH_CSKY
192 depends on !ADK_TARGET_ARCH_H8300
193 depends on !ADK_TARGET_ARCH_NDS32
194 depends on !ADK_TARGET_ARCH_NIOS2
195 depends on !ADK_TARGET_ARCH_OR1K
196 depends on !ADK_TARGET_ARCH_RISCV32
197 depends on !ADK_TARGET_ARCH_RISCV64
198 depends on !ADK_TARGET_BOARD_ATH79
199 depends on !ADK_TARGET_BOARD_BCM28XX
200 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
201 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
202 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
203 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
204 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
205 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
206 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
207 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
208 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
212 config ADK_TARGET_KERNEL_GIT_REPO
213 string "git repository"
214 depends on ADK_TARGET_KERNEL_VERSION_GIT
215 default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
216 default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
217 default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
218 default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
219 default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
220 default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
221 default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
222 default "https://github.com/c-sky/linux-4.9.y.git" if ADK_TARGET_ARCH_CSKY
223 default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
224 default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
226 GIT repository to use.
228 config ADK_TARGET_KERNEL_GIT_REPO_NAME
230 depends on ADK_TARGET_KERNEL_VERSION_GIT
231 default "rpi" if ADK_TARGET_BOARD_BCM28XX
232 default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
233 default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
234 default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
235 default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
236 default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
237 default "lm32" if ADK_TARGET_ARCH_LM32
238 default "csky" if ADK_TARGET_ARCH_CSKY
239 default "riscv" if ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
242 config ADK_TARGET_KERNEL_GIT
244 depends on ADK_TARGET_KERNEL_VERSION_GIT
245 default "cfa29b46af94d83e31aa000dbaee553f9c4d670c" if ADK_TARGET_BOARD_BCM28XX
246 default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
247 default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
248 default "314c498ddc8c43a66ca96ff3af7da98e10fa1cc6" if ADK_TARGET_ARCH_CSKY
249 default "1cd2e072bbd1a518e11b551435be0ad84a2c52af" if ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
250 default "1d008423ab5fd12459f53342e4d17585ec63cfe4" if ADK_TARGET_SYSTEM_KINETIS_K70
251 default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
252 default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
253 default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
255 config ADK_TARGET_KERNEL_GIT_VER
256 string "kernel version"
257 depends on ADK_TARGET_KERNEL_VERSION_GIT
258 default "4.9.13" if ADK_TARGET_ARCH_CSKY
259 default "4.9.37" if ADK_TARGET_BOARD_BCM28XX
260 default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
261 default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
262 default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
264 config ADK_TARGET_KERNEL_GIT_TYPE
266 depends on ADK_TARGET_KERNEL_VERSION_GIT
269 config ADK_TARGET_KERNEL_NO_MIRROR
272 Select this if the kernel source is only available
273 on OpenADK webserver.