Commit ca01910
committed
ODROID-COMMON: fix to load device tree files matches to kernel version
Boot directory in Linux system may contains multiple kernel versions
with dedicated device tree files, but boot loader does not know about
kernel version to start if not given by 'fk_kvers'. So this patch is to
gather 'fk_kvers' from 'config.ini' if set via 'fk_kvers=...' or if
there is a symbolic link file 'dtb' that points to the device tree file
under 'dtbs/<kernel version/rockchip/<device tree file>.
Signed-off-by: Dongjin Kim <[email protected]>
Change-Id: I576f6f40690a3552c334289b078a9efceea757c81 parent 9fbb701 commit ca01910
File tree
2 files changed
+64
-28
lines changed- board/hardkernel/odroid-common
- fs/ext4
2 files changed
+64
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
250 | 279 | | |
251 | 280 | | |
252 | 281 | | |
253 | 282 | | |
254 | 283 | | |
255 | 284 | | |
256 | 285 | | |
257 | | - | |
| 286 | + | |
258 | 287 | | |
| 288 | + | |
| 289 | + | |
259 | 290 | | |
260 | 291 | | |
261 | 292 | | |
262 | 293 | | |
263 | 294 | | |
264 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
265 | 316 | | |
266 | 317 | | |
267 | 318 | | |
268 | 319 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | 320 | | |
292 | | - | |
| 321 | + | |
293 | 322 | | |
294 | 323 | | |
295 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | | - | |
2245 | 2244 | | |
2246 | 2245 | | |
2247 | 2246 | | |
| |||
2251 | 2250 | | |
2252 | 2251 | | |
2253 | 2252 | | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2254 | 2261 | | |
2255 | 2262 | | |
2256 | 2263 | | |
| |||
0 commit comments