summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorYogesh Siraswar <yogeshs@ti.com>2021-10-18 22:10:34 +0000
committerYogesh Siraswar <yogeshs@ti.com>2021-10-19 04:07:40 +0000
commit537ef85437beef7684f1f919d7293fb6cd85ae7c (patch)
treec8e175dae28b42af248ede7f287a0e0b36455304 /conf
parentbe7b2c5824a1e5394a93a0988414598ab5cb3715 (diff)
downloadmeta-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')
-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 c95b0ccc..923a19d3 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"