aboutsummaryrefslogtreecommitdiffstats
path: root/conf
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 /conf
parenta27fffffd7832b758eee5f4e508b467d641cd4f7 (diff)
downloadmeta-ti-665de4e0bfc3326be323b90c12c484b79072b29c.tar.gz
meta-ti-665de4e0bfc3326be323b90c12c484b79072b29c.tar.bz2
meta-ti-665de4e0bfc3326be323b90c12c484b79072b29c.zip
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>
Diffstat (limited to 'conf')
-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"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
+DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}"
+
# Generate an extlinux.conf file
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
${KERNEL_IMAGETYPE} \
- ${KERNEL_DEVICETREE} \
+ ${DEVICETREE_FILE} \
"
SPL_BINARY = "MLO"