Skip to contentSkip to conversation

ReIntroduce missing

PATCH In review Yogesh Siraswar 2 participants 6 messages Oct 18, 2021 – Oct 19, 2021

lore
Share & tools
lore
#0 lore raw

v3 cover ReIntroduce missing

Added new patch to fix the compile issue with dtb* in ti folder

Yogesh Siraswar (3):
conf: dra7xx-evm: ReIntroduce existent dtb* for 5.10
conf: am57xx-evm: ReIntroduce existent dtb* for 5.10
conf: omap-a15: fix the dtb file path for extlinux boot

 conf/machine/am57xx-evm.conf      | 6 +++++-
 conf/machine/dra7xx-evm.conf      | 8 ++++++++
 conf/machine/include/omap-a15.inc | 6 +++++-
 3 files changed, 18 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v3 1/3 conf: dra7xx-evm: ReIntroduce existent dtb* for 5.10

This reverts commit 8bdfe1413c00e0c55132989dafcf8d91827999c3. Introduces existent dtb and dtbo for dra7x

---
 conf/machine/dra7xx-evm.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
conf/machine/dra7xx-evm.conf +8 -0
index ad4b0263..db4a5e1c 100644
@@ -10,10 +10,18 @@ SERIAL_CONSOLES = "115200;ttyS0"
 
 KERNEL_DEVICETREE = " \
     dra7-evm.dtb \
+    ti/dra7x-evm-osd-lcd-common.dtbo \
     dra71-evm.dtb \
+    dra71-evm-nand.dtb \
+    ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
     dra72-evm.dtb \
     dra72-evm-revc.dtb \
+    ti/dra72-evm-touchscreen.dtbo \
+    ti/dra74-evm-touchscreen.dtbo \
     dra76-evm.dtb \
+    ti/dra76-evm-tfp410.dtbo \
+    ti/lcd-osd101t2045.dtbo \
+    ti/lcd-osd101t2587.dtbo \
 "
 
 UBOOT_MACHINE = "dra7xx_evm_config"
Signature · 1 line
2.17.1
#2 lore raw

PATCH v3 2/3 conf: am57xx-evm: ReIntroduce existent dtb* for 5.10

In reply to Yogesh Siraswar

This reverts commit 43bf0f36a3ac62cc3378688358ba704a27b501ce. Added dtb and dtbo for am57xx

---
 conf/machine/am57xx-evm.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
conf/machine/am57xx-evm.conf +5 -1
index 78e730ca..7441e80e 100644
@@ -14,10 +14,14 @@ KERNEL_DEVICETREE = " \
     am57xx-beagle-x15-revc.dtb \
     am5729-beagleboneai.dtb \
     am57xx-evm.dtb \
-    am57xx-evm-reva3.dtb \
+    ti/am57xx-evm-common.dtbo \
+    ti/am57xx-evm-reva3.dtbo \
     am571x-idk.dtb \
+    ti/am571x-idk-touchscreen.dtbo \
     am572x-idk.dtb \
     am574x-idk.dtb \
+    ti/am57xx-idk-osd-lcd-common.dtbo \
+    ti/am572x-idk-touchscreen.dtbo \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
Signature · 1 line
2.17.1
#3 lore raw

PATCH v3 3/3 conf: omap-a15: fix the dtb file path for extlinux boot

In reply to Yogesh Siraswar

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.

---
 conf/machine/include/omap-a15.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
conf/machine/include/omap-a15.inc +5 -1
index c95b0ccc..8356c920 100644
@@ -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"
 
Signature · 1 line
2.17.1
#4 lore raw

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

Quoted 4 lines · Yogesh Siraswar via lists.yoctoproject.org

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?

Quoted 33 lines
---
 conf/machine/include/omap-a15.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
conf/machine/include/omap-a15.inc +5 -1
index c95b0ccc..8356c920 100644
@@ -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"
 
Signature · 1 line
2.17.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#5 lore raw

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

Quoted 9 lines · Denys Dmytriyenko
Quoted 4 lines · Yogesh Siraswar via lists.yoctoproject.org

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.

Will apply in the right order.

Quoted 2 lines

Also, what's with 2 extra empty lines?

Will fix it while applying,

Quoted 35 lines
Quoted 34 lines
---
  conf/machine/include/omap-a15.inc | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
conf/machine/include/omap-a15.inc +5 -1
index c95b0ccc..8356c920 100644
@@ -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"
 
Signature · 1 line
2.17.1