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_SYSTEM_PHYTEC_WEGA
13 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_CSKY
14 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
15 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV32
16 default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV64
17 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
18 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
19 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
20 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
21 default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
22 default ADK_TARGET_KERNEL_VERSION_4_14 if ADK_TARGET_SYSTEM_ORANGE_PI0
23 default ADK_TARGET_KERNEL_VERSION_4_14 if ADK_TARGET_ARCH_OR1K
24 default ADK_TARGET_KERNEL_VERSION_4_9
26 config ADK_TARGET_KERNEL_VERSION_GIT
28 depends on !ADK_TARGET_ARCH_AVR32
29 depends on !ADK_TARGET_ARCH_NDS32
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_KERNEL_VERSION_GIT
33 select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
34 select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
36 config ADK_TARGET_KERNEL_VERSION_4_14
38 depends on !ADK_TARGET_ARCH_AVR32
39 depends on !ADK_TARGET_ARCH_CRIS
40 depends on !ADK_TARGET_ARCH_CSKY
41 depends on !ADK_TARGET_ARCH_METAG
42 depends on !ADK_TARGET_ARCH_NDS32
43 depends on !ADK_TARGET_ARCH_RISCV32
44 depends on !ADK_TARGET_ARCH_RISCV64
45 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
46 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
48 config ADK_TARGET_KERNEL_VERSION_4_9
50 depends on !ADK_TARGET_ARCH_CRIS
51 depends on !ADK_TARGET_ARCH_CSKY
52 depends on !ADK_TARGET_ARCH_METAG
53 depends on !ADK_TARGET_ARCH_NDS32
54 depends on !ADK_TARGET_ARCH_OR1K
55 depends on !ADK_TARGET_ARCH_RISCV32
56 depends on !ADK_TARGET_ARCH_RISCV64
57 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
58 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
59 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
61 config ADK_TARGET_KERNEL_VERSION_4_4
63 depends on !ADK_TARGET_ARCH_CSKY
64 depends on !ADK_TARGET_ARCH_NDS32
65 depends on !ADK_TARGET_ARCH_NIOS2
66 depends on !ADK_TARGET_ARCH_OR1K
67 depends on !ADK_TARGET_ARCH_RISCV32
68 depends on !ADK_TARGET_ARCH_RISCV64
69 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
70 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
71 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
72 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
74 config ADK_TARGET_KERNEL_VERSION_4_1
76 depends on !ADK_TARGET_ARCH_ARC
77 depends on !ADK_TARGET_ARCH_BFIN
78 depends on !ADK_TARGET_ARCH_CSKY
79 depends on !ADK_TARGET_ARCH_H8300
80 depends on !ADK_TARGET_ARCH_NIOS2
81 depends on !ADK_TARGET_ARCH_NDS32
82 depends on !ADK_TARGET_ARCH_OR1K
83 depends on !ADK_TARGET_ARCH_SPARC
84 depends on !ADK_TARGET_ARCH_RISCV32
85 depends on !ADK_TARGET_ARCH_RISCV64
86 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
87 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
88 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
89 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
90 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
91 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
93 config ADK_TARGET_KERNEL_VERSION_3_16
95 depends on !ADK_TARGET_ARCH_ARC
96 depends on !ADK_TARGET_ARCH_BFIN
97 depends on !ADK_TARGET_ARCH_CSKY
98 depends on !ADK_TARGET_ARCH_H8300
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_ARCH_SPARC
105 depends on !ADK_TARGET_BOARD_ATH79
106 depends on !ADK_TARGET_BOARD_BCM28XX
107 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
108 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
109 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
110 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
111 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
112 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
113 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
114 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
115 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
117 config ADK_TARGET_KERNEL_VERSION_3_10
119 depends on !ADK_TARGET_ARCH_ARC
120 depends on !ADK_TARGET_ARCH_BFIN
121 depends on !ADK_TARGET_ARCH_CSKY
122 depends on !ADK_TARGET_ARCH_H8300
123 depends on !ADK_TARGET_ARCH_NDS32
124 depends on !ADK_TARGET_ARCH_NIOS2
125 depends on !ADK_TARGET_ARCH_OR1K
126 depends on !ADK_TARGET_ARCH_RISCV32
127 depends on !ADK_TARGET_ARCH_RISCV64
128 depends on !ADK_TARGET_ARCH_SPARC
129 depends on !ADK_TARGET_BOARD_ATH79
130 depends on !ADK_TARGET_BOARD_BCM28XX
131 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
132 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
133 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
134 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
135 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
136 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
137 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
138 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
139 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
140 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
142 config ADK_TARGET_KERNEL_VERSION_3_10_NDS32
144 depends on ADK_TARGET_ARCH_NDS32
145 select ADK_TARGET_KERNEL_NO_MIRROR
147 config ADK_TARGET_KERNEL_VERSION_3_2
149 depends on !ADK_TARGET_ARCH_ARC
150 depends on !ADK_TARGET_ARCH_BFIN
151 depends on !ADK_TARGET_ARCH_CSKY
152 depends on !ADK_TARGET_ARCH_H8300
153 depends on !ADK_TARGET_ARCH_NDS32
154 depends on !ADK_TARGET_ARCH_NIOS2
155 depends on !ADK_TARGET_ARCH_OR1K
156 depends on !ADK_TARGET_ARCH_RISCV32
157 depends on !ADK_TARGET_ARCH_RISCV64
158 depends on !ADK_TARGET_ARCH_SPARC
159 depends on !ADK_TARGET_BOARD_ATH79
160 depends on !ADK_TARGET_BOARD_BCM28XX
161 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
162 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
163 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
164 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
165 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
166 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
167 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
168 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
169 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
171 config ADK_TARGET_KERNEL_VERSION_2_6_32
173 depends on !ADK_TARGET_ARCH_ARC
174 depends on !ADK_TARGET_ARCH_BFIN
175 depends on !ADK_TARGET_ARCH_CSKY
176 depends on !ADK_TARGET_ARCH_H8300
177 depends on !ADK_TARGET_ARCH_NDS32
178 depends on !ADK_TARGET_ARCH_NIOS2
179 depends on !ADK_TARGET_ARCH_OR1K
180 depends on !ADK_TARGET_ARCH_RISCV32
181 depends on !ADK_TARGET_ARCH_RISCV64
182 depends on !ADK_TARGET_BOARD_ATH79
183 depends on !ADK_TARGET_BOARD_BCM28XX
184 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
185 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
186 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
187 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
188 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
189 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
190 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
191 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
192 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
196 config ADK_TARGET_KERNEL_GIT_REPO
197 string "git repository"
198 depends on ADK_TARGET_KERNEL_VERSION_GIT
199 default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
200 default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
201 default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
202 default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
203 default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
204 default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
205 default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
206 default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
207 default "https://github.com/c-sky/linux-4.9.y.git" if ADK_TARGET_ARCH_CSKY
208 default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
210 GIT repository to use.
212 config ADK_TARGET_KERNEL_GIT_REPO_NAME
214 depends on ADK_TARGET_KERNEL_VERSION_GIT
215 default "csky" if ADK_TARGET_ARCH_CSKY
216 default "lm32" if ADK_TARGET_ARCH_LM32
217 default "rpi" if ADK_TARGET_BOARD_BCM28XX
218 default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
219 default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
220 default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
221 default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
222 default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
223 default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
226 config ADK_TARGET_KERNEL_GIT
228 depends on ADK_TARGET_KERNEL_VERSION_GIT
229 default "6064a9bdf48cefbccc4f6472dd04251f0dec1931" if ADK_TARGET_ARCH_CSKY
230 default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
231 default "31a8651c138253007c66e1be176cdc839b416842" if ADK_TARGET_BOARD_BCM28XX
232 default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
233 default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
234 default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
235 default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
236 default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
237 default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
239 config ADK_TARGET_KERNEL_GIT_VER
240 string "kernel version"
241 depends on ADK_TARGET_KERNEL_VERSION_GIT
242 default "4.9.56" if ADK_TARGET_ARCH_CSKY
243 default "4.9.70" if ADK_TARGET_BOARD_BCM28XX
244 default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
245 default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
246 default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
247 default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
249 config ADK_TARGET_KERNEL_GIT_TYPE
251 depends on ADK_TARGET_KERNEL_VERSION_GIT
252 default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
255 config ADK_TARGET_KERNEL_NO_MIRROR
258 Select this if the kernel source is only available
259 on OpenADK webserver.