diff options
author | Yogesh Siraswar <yogeshs@ti.com> | 2021-10-18 22:10:34 +0000 |
---|---|---|
committer | Yogesh Siraswar <yogeshs@ti.com> | 2021-10-19 04:07:40 +0000 |
commit | 537ef85437beef7684f1f919d7293fb6cd85ae7c (patch) | |
tree | c8e175dae28b42af248ede7f287a0e0b36455304 /conf/machine/include | |
parent | be7b2c5824a1e5394a93a0988414598ab5cb3715 (diff) | |
download | meta-ti-537ef85437beef7684f1f919d7293fb6cd85ae7c.tar.gz |
conf: omap-a15: fix the dtb file path for extlinux boot
The uboot extlinux is using kernel device tree variable to populate the
dtb files. The error occurs if the device tree files are in ti folder
since there is no ti folder in deploy directory. Fix the kernel device
tree path before using in the uboot extlinux.
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/omap-a15.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc index c95b0ccc..923a19d3 100644 --- a/conf/machine/include/omap-a15.inc +++ b/conf/machine/include/omap-a15.inc | |||
@@ -19,13 +19,15 @@ UBOOT_ARCH = "arm" | |||
19 | UBOOT_ENTRYPOINT = "0x80008000" | 19 | UBOOT_ENTRYPOINT = "0x80008000" |
20 | UBOOT_LOADADDRESS = "0x80008000" | 20 | UBOOT_LOADADDRESS = "0x80008000" |
21 | 21 | ||
22 | DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}" | ||
23 | |||
22 | # Generate an extlinux.conf file | 24 | # Generate an extlinux.conf file |
23 | UBOOT_EXTLINUX = "1" | 25 | UBOOT_EXTLINUX = "1" |
24 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" | 26 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" |
25 | UBOOT_EXTLINUX_BOOT_FILES = " \ | 27 | UBOOT_EXTLINUX_BOOT_FILES = " \ |
26 | extlinux.conf;extlinux/extlinux.conf \ | 28 | extlinux.conf;extlinux/extlinux.conf \ |
27 | ${KERNEL_IMAGETYPE} \ | 29 | ${KERNEL_IMAGETYPE} \ |
28 | ${KERNEL_DEVICETREE} \ | 30 | ${DEVICETREE_FILE} \ |
29 | " | 31 | " |
30 | 32 | ||
31 | SPL_BINARY = "MLO" | 33 | SPL_BINARY = "MLO" |