1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 config ADK_TARGET_LINUX_KERNEL_NEW
8 prompt "Linux Kernel version" if !ADK_TARGET_CHOOSE_ARCH
9 depends on ADK_TARGET_OS_LINUX
10 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_BOARD_BCM28XX
11 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
12 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_KINETIS_K70
13 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_ADSP_BF537
14 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_SYSTEM_PHYTEC_WEGA
15 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_CSKY
16 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
17 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV32
18 default ADK_TARGET_LINUX_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV64
19 default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
20 default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
21 default ADK_TARGET_LINUX_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
22 default ADK_TARGET_LINUX_KERNEL_VERSION_4_19 if ADK_TARGET_ARCH_ARC
23 default ADK_TARGET_LINUX_KERNEL_VERSION_4_14
25 config ADK_TARGET_LINUX_KERNEL_VERSION_GIT
27 select ADK_TARGET_LINUX_KERNEL_NEW
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_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
36 config ADK_TARGET_LINUX_KERNEL_VERSION_4_19
38 select ADK_TARGET_LINUX_KERNEL_NEW
39 depends on !ADK_TARGET_ARCH_AVR32
40 depends on !ADK_TARGET_ARCH_CRIS
41 depends on !ADK_TARGET_ARCH_CSKY
42 depends on !ADK_TARGET_ARCH_METAG
43 depends on !ADK_TARGET_ARCH_RISCV32
44 depends on !ADK_TARGET_ARCH_RISCV64
46 config ADK_TARGET_LINUX_KERNEL_VERSION_4_14
48 depends on !ADK_TARGET_ARCH_AVR32
49 depends on !ADK_TARGET_ARCH_CRIS
50 depends on !ADK_TARGET_ARCH_CSKY
51 depends on !ADK_TARGET_ARCH_METAG
52 depends on !ADK_TARGET_ARCH_NDS32
53 depends on !ADK_TARGET_ARCH_RISCV32
54 depends on !ADK_TARGET_ARCH_RISCV64
56 config ADK_TARGET_LINUX_KERNEL_VERSION_4_9
58 depends on !ADK_TARGET_ARCH_ARC
59 depends on !ADK_TARGET_ARCH_CRIS
60 depends on !ADK_TARGET_ARCH_CSKY
61 depends on !ADK_TARGET_ARCH_METAG
62 depends on !ADK_TARGET_ARCH_NDS32
63 depends on !ADK_TARGET_ARCH_OR1K
64 depends on !ADK_TARGET_ARCH_RISCV32
65 depends on !ADK_TARGET_ARCH_RISCV64
66 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
68 config ADK_TARGET_LINUX_KERNEL_VERSION_4_4
70 depends on !ADK_TARGET_ARCH_ARC
71 depends on !ADK_TARGET_ARCH_CSKY
72 depends on !ADK_TARGET_ARCH_NDS32
73 depends on !ADK_TARGET_ARCH_NIOS2
74 depends on !ADK_TARGET_ARCH_OR1K
75 depends on !ADK_TARGET_ARCH_RISCV32
76 depends on !ADK_TARGET_ARCH_RISCV64
77 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
78 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
79 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
80 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
82 config ADK_TARGET_LINUX_KERNEL_VERSION_4_1
84 depends on !ADK_TARGET_ARCH_ARC
85 depends on !ADK_TARGET_ARCH_BFIN
86 depends on !ADK_TARGET_ARCH_CSKY
87 depends on !ADK_TARGET_ARCH_H8300
88 depends on !ADK_TARGET_ARCH_NIOS2
89 depends on !ADK_TARGET_ARCH_NDS32
90 depends on !ADK_TARGET_ARCH_OR1K
91 depends on !ADK_TARGET_ARCH_SPARC
92 depends on !ADK_TARGET_ARCH_RISCV32
93 depends on !ADK_TARGET_ARCH_RISCV64
94 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
95 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
96 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
97 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
98 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
100 config ADK_TARGET_LINUX_KERNEL_VERSION_3_16
102 depends on !ADK_TARGET_ARCH_ARC
103 depends on !ADK_TARGET_ARCH_BFIN
104 depends on !ADK_TARGET_ARCH_CSKY
105 depends on !ADK_TARGET_ARCH_H8300
106 depends on !ADK_TARGET_ARCH_NDS32
107 depends on !ADK_TARGET_ARCH_NIOS2
108 depends on !ADK_TARGET_ARCH_OR1K
109 depends on !ADK_TARGET_ARCH_RISCV32
110 depends on !ADK_TARGET_ARCH_RISCV64
111 depends on !ADK_TARGET_ARCH_SPARC
112 depends on !ADK_TARGET_BOARD_ATH79
113 depends on !ADK_TARGET_BOARD_BCM28XX
114 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
115 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
116 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
117 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
118 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
119 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
120 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
121 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
123 config ADK_TARGET_LINUX_KERNEL_VERSION_3_10_NDS32
125 depends on ADK_TARGET_ARCH_NDS32
126 select ADK_TARGET_LINUX_KERNEL_NO_MIRROR
128 config ADK_TARGET_LINUX_KERNEL_VERSION_3_2
130 depends on !ADK_TARGET_ARCH_ARC
131 depends on !ADK_TARGET_ARCH_BFIN
132 depends on !ADK_TARGET_ARCH_CSKY
133 depends on !ADK_TARGET_ARCH_H8300
134 depends on !ADK_TARGET_ARCH_NDS32
135 depends on !ADK_TARGET_ARCH_NIOS2
136 depends on !ADK_TARGET_ARCH_OR1K
137 depends on !ADK_TARGET_ARCH_RISCV32
138 depends on !ADK_TARGET_ARCH_RISCV64
139 depends on !ADK_TARGET_ARCH_SPARC
140 depends on !ADK_TARGET_BOARD_ATH79
141 depends on !ADK_TARGET_BOARD_BCM28XX
142 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
143 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
144 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
145 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
146 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
147 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
148 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
149 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
151 config ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32
153 depends on !ADK_TARGET_ARCH_ARC
154 depends on !ADK_TARGET_ARCH_BFIN
155 depends on !ADK_TARGET_ARCH_CSKY
156 depends on !ADK_TARGET_ARCH_H8300
157 depends on !ADK_TARGET_ARCH_NDS32
158 depends on !ADK_TARGET_ARCH_NIOS2
159 depends on !ADK_TARGET_ARCH_OR1K
160 depends on !ADK_TARGET_ARCH_RISCV32
161 depends on !ADK_TARGET_ARCH_RISCV64
162 depends on !ADK_TARGET_BOARD_ATH79
163 depends on !ADK_TARGET_BOARD_BCM28XX
164 depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
165 depends on !ADK_TARGET_SYSTEM_KINETIS_K70
166 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
167 depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
168 depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
169 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
170 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
171 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0
175 config ADK_TARGET_LINUX_KERNEL_GIT_REPO
176 string "git repository"
177 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
178 default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_BOARD_BCM28XX
179 default "git://git.code.sf.net/p/adi-linux/code" if ADK_TARGET_SYSTEM_ADSP_BF537
180 default "https://github.com/EmcraftSystems/linux-emcraft.git" if ADK_TARGET_SYSTEM_KINETIS_K70
181 default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
182 default "https://github.com/SolidRun/linux-armada38x.git" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
183 default "https://github.com/beagleboard/linux.git" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
184 default "https://git.phytec.de/git/linux-ti.git" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
185 default "https://github.com/m-labs/linux-milkymist.git" if ADK_TARGET_ARCH_LM32
186 default "https://github.com/c-sky/linux-4.9.y.git" if ADK_TARGET_ARCH_CSKY
187 default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV32
188 default "https://github.com/riscv/riscv-linux.git" if ADK_TARGET_ARCH_RISCV64
189 default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
191 GIT repository to use.
193 config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
195 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
196 default "csky" if ADK_TARGET_ARCH_CSKY
197 default "lm32" if ADK_TARGET_ARCH_LM32
198 default "riscv" if ADK_TARGET_ARCH_RISCV32
199 default "riscv" if ADK_TARGET_ARCH_RISCV64
200 default "rpi" if ADK_TARGET_BOARD_BCM28XX
201 default "ad" if ADK_TARGET_SYSTEM_ADSP_BF537
202 default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
203 default "emcraft" if ADK_TARGET_SYSTEM_KINETIS_K70
204 default "phytec" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
205 default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
206 default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
209 config ADK_TARGET_LINUX_KERNEL_GIT
211 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
212 default "6064a9bdf48cefbccc4f6472dd04251f0dec1931" if ADK_TARGET_ARCH_CSKY
213 default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
214 default "a2092141807514666a273971cc8fa9e80f14439f" if ADK_TARGET_BOARD_BCM28XX
215 default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
216 default "e7c8afc1dda7b7c18596d90ad6a17ae886650b72" if ADK_TARGET_SYSTEM_KINETIS_K70
217 default "902739f3353150ac9eb69ad995098f3079d862a3" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
218 default "c85fbc86c61a8c8fd45ab1fe3d1bdd2df12f7962" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
219 default "8624998967676862843aed1f8ee2141e98987f81" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
220 default "riscv-linux-4.18" if ADK_TARGET_ARCH_RISCV32
221 default "riscv-linux-4.18" if ADK_TARGET_ARCH_RISCV64
222 default "v4.4.52-phy" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
224 config ADK_TARGET_LINUX_KERNEL_GIT_VER
225 string "kernel version"
226 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
227 default "4.9.56" if ADK_TARGET_ARCH_CSKY
228 default "4.18.0" if ADK_TARGET_ARCH_RISCV32
229 default "4.18.0" if ADK_TARGET_ARCH_RISCV64
230 default "4.14.43" if ADK_TARGET_BOARD_BCM28XX
231 default "4.4.37" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
232 default "4.4.52" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
233 default "2.6.33" if ADK_TARGET_SYSTEM_KINETIS_K70
234 default "3.14.79" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
236 config ADK_TARGET_LINUX_KERNEL_GIT_TYPE
238 depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
239 default "branch" if ADK_TARGET_ARCH_RISCV32
240 default "branch" if ADK_TARGET_ARCH_RISCV64
241 default "branch" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
244 config ADK_TARGET_LINUX_KERNEL_NO_MIRROR
247 Select this if the kernel source is only available
248 on OpenADK webserver.