Re: [master/dunfell][PATCH v3 3/3] conf: omap-a15: fix the dtb file path for extlinux boot


Denys Dmytriyenko
 

On Mon, Oct 18, 2021 at 10:10:34PM +0000, Yogesh Siraswar via lists.yoctoproject.org wrote:
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.
Looks reasonable, but should probably be the first patch in the series for
bisectability.

Also, what's with 2 extra empty lines?


Signed-off-by: Yogesh Siraswar <yogeshs@...>
---
conf/machine/include/omap-a15.inc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
index c95b0ccc..8356c920 100644
--- a/conf/machine/include/omap-a15.inc
+++ b/conf/machine/include/omap-a15.inc
@@ -19,15 +19,19 @@ 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"
UBOOT_SUFFIX = "img"

--
2.17.1
--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964

Join meta-ti@lists.yoctoproject.org to automatically receive all group messages.