diff options
author | Ryan Eatmon <reatmon@ti.com> | 2024-04-26 14:01:34 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-04-26 16:11:12 -0500 |
commit | 5edd110f54fa79216a041c909c51fadc63321b5d (patch) | |
tree | feb9b7fecb76b60584d6b7d4fab18b5e074350be /meta-ti-bsp/conf/machine/include/ti43x.inc | |
parent | 0d757657d117b8ca2d1742fe1bfb1a8f6242e97d (diff) | |
download | meta-ti-5edd110f54fa79216a041c909c51fadc63321b5d.tar.gz |
conf: am57/am33/am43: Add/fix DEVICETREE_FILE
The new kernel directory stucture for the DTBs is causing problems when
assembing the image files. It produces errors like this:
output: install: cannot stat 'deploy-ti/images/XXXX-evm/omap/XXXX.dtb': No such file or directory
or
output: install: cannot stat 'deploy-ti/images/XXXX-evm/ti/omap/XXXX.dtb': No such file or directory
The issue comes from the UBOOT_EXTLINUX_BOOT_FILES list. am57 already
had a mechanism but it was missing the omap/ dir to remove, and am33 and
am43 were just takeing KERNEL_DEVICETREE directly. This patch fixes
both cases.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/ti43x.inc')
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti43x.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/conf/machine/include/ti43x.inc index ec4bd115..17ca5240 100644 --- a/meta-ti-bsp/conf/machine/include/ti43x.inc +++ b/meta-ti-bsp/conf/machine/include/ti43x.inc | |||
@@ -41,13 +41,15 @@ UBOOT_MACHINE = "am43xx_evm_config" | |||
41 | UBOOT_ENTRYPOINT = "0x80008000" | 41 | UBOOT_ENTRYPOINT = "0x80008000" |
42 | UBOOT_LOADADDRESS = "0x80008000" | 42 | UBOOT_LOADADDRESS = "0x80008000" |
43 | 43 | ||
44 | DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","")}" | ||
45 | |||
44 | # Generate an extlinux.conf file | 46 | # Generate an extlinux.conf file |
45 | UBOOT_EXTLINUX = "1" | 47 | UBOOT_EXTLINUX = "1" |
46 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" | 48 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" |
47 | UBOOT_EXTLINUX_BOOT_FILES = " \ | 49 | UBOOT_EXTLINUX_BOOT_FILES = " \ |
48 | extlinux.conf;extlinux/extlinux.conf \ | 50 | extlinux.conf;extlinux/extlinux.conf \ |
49 | ${KERNEL_IMAGETYPE} \ | 51 | ${KERNEL_IMAGETYPE} \ |
50 | ${KERNEL_DEVICETREE} \ | 52 | ${DEVICETREE_FILE} \ |
51 | " | 53 | " |
52 | 54 | ||
53 | SPL_BINARY = "MLO" | 55 | SPL_BINARY = "MLO" |