summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYogesh Siraswar <yogeshs@ti.com>2021-11-01 15:32:55 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-11-05 23:48:09 +0000
commit665de4e0bfc3326be323b90c12c484b79072b29c (patch)
treee32164463bbde5b782f174b96ad2167449dccefa
parenta27fffffd7832b758eee5f4e508b467d641cd4f7 (diff)
downloadmeta-ti-665de4e0bfc3326be323b90c12c484b79072b29c.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> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
-rw-r--r--conf/machine/include/omap-a15.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
index ed202f5a..9a2e0044 100644
--- a/conf/machine/include/omap-a15.inc
+++ b/conf/machine/include/omap-a15.inc
@@ -19,13 +19,15 @@ UBOOT_ARCH = "arm"
19UBOOT_ENTRYPOINT = "0x80008000" 19UBOOT_ENTRYPOINT = "0x80008000"
20UBOOT_LOADADDRESS = "0x80008000" 20UBOOT_LOADADDRESS = "0x80008000"
21 21
22DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}"
23
22# Generate an extlinux.conf file 24# Generate an extlinux.conf file
23UBOOT_EXTLINUX = "1" 25UBOOT_EXTLINUX = "1"
24UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" 26UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
25UBOOT_EXTLINUX_BOOT_FILES = " \ 27UBOOT_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
31SPL_BINARY = "MLO" 33SPL_BINARY = "MLO"