All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fix ARAGO_BRAND=mainline builds
@ 2022-08-13 19:36 Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 1/3] conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline Drew Fustini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Drew Fustini @ 2022-08-13 19:36 UTC (permalink / raw)
  To: meta-ti, Denys Dmytriyenko, Ryan Eatmon; +Cc: Drew Fustini

Builds for ARAGO_BRAND=mainline are failing for the following machines:

  - dra7xx-evm
  - am57xx-evm
  - am437x-evm

This is beause the above machine configurations include files in their 
KERNEL_DEVICETREE variable that do not exist upstream. Therefore the
image creation task fails when it tries to copy device tree files that
do not exist.

This series of patches use '@oe.utils.conditional' to avoid adding those
device tree files to KERNEL_DEVICETREE when virtual/kernel is
linux-ti-mainline.  The image create task is then able to complete
successfully regardless of which kernel recipe is being used.

v2 changes:
- Denys suggested switching the conditional test from ARAGO_BRAND to
virtual/kernel

Drew Fustini (3):
  conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline
  conf: am57xx-evm: avoid missing dtb files for linux-ti-mainline
  conf: am43: avoid missing dtb files for linux-ti-mainline

 conf/machine/am57xx-evm.conf   | 6 +++---
 conf/machine/dra7xx-evm.conf   | 2 +-
 conf/machine/include/ti43x.inc | 6 ++++--
 3 files changed, 8 insertions(+), 6 deletions(-)

-- 
2.32.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/3] conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline
  2022-08-13 19:36 [PATCH v2 0/3] fix ARAGO_BRAND=mainline builds Drew Fustini
@ 2022-08-13 19:36 ` Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 2/3] conf: am57xx-evm: " Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 3/3] conf: am43: " Drew Fustini
  2 siblings, 0 replies; 4+ messages in thread
From: Drew Fustini @ 2022-08-13 19:36 UTC (permalink / raw)
  To: meta-ti, Denys Dmytriyenko, Ryan Eatmon; +Cc: Drew Fustini

Avoid the inclusion of device tree files that do not exist upstream
when virtual/kernel is linux-ti-mainline for the dra7xx-evm MACHINE.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
---
 conf/machine/dra7xx-evm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf
index db4a5e1ca5fe..6ab7a18796c0 100644
--- a/conf/machine/dra7xx-evm.conf
+++ b/conf/machine/dra7xx-evm.conf
@@ -12,7 +12,7 @@ KERNEL_DEVICETREE = " \
     dra7-evm.dtb \
     ti/dra7x-evm-osd-lcd-common.dtbo \
     dra71-evm.dtb \
-    dra71-evm-nand.dtb \
+    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'dra71-evm-nand.dtb', d)} \
     ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
     dra72-evm.dtb \
     dra72-evm-revc.dtb \
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/3] conf: am57xx-evm: avoid missing dtb files for linux-ti-mainline
  2022-08-13 19:36 [PATCH v2 0/3] fix ARAGO_BRAND=mainline builds Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 1/3] conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline Drew Fustini
@ 2022-08-13 19:36 ` Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 3/3] conf: am43: " Drew Fustini
  2 siblings, 0 replies; 4+ messages in thread
From: Drew Fustini @ 2022-08-13 19:36 UTC (permalink / raw)
  To: meta-ti, Denys Dmytriyenko, Ryan Eatmon; +Cc: Drew Fustini

Avoid the inclusion of device tree files that do not exist upstream
when virtual/kernel is linux-ti-mainline for the am57xx-evm MACHINE.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
---
 conf/machine/am57xx-evm.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf
index afcfbb4318ad..e27dffd0c286 100644
--- a/conf/machine/am57xx-evm.conf
+++ b/conf/machine/am57xx-evm.conf
@@ -13,9 +13,9 @@ KERNEL_DEVICETREE = " \
     am57xx-beagle-x15-revb1.dtb \
     am57xx-beagle-x15-revc.dtb \
     am5729-beagleboneai.dtb \
-    am57xx-evm.dtb \
+    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm.dtb', d)} \
     ti/am57xx-evm-common.dtbo \
-    am57xx-evm-reva3.dtb \
+    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm-reva3.dtb', d)} \
     ti/am57xx-evm-reva3.dtbo \
     am571x-idk.dtb \
     ti/am571x-idk-touchscreen.dtbo \
@@ -25,7 +25,7 @@ KERNEL_DEVICETREE = " \
     ti/am572x-idk-touchscreen.dtbo \
     ti/lcd-osd101t2587.dtbo \
     ti/lcd-osd101t2045.dtbo \
-    ti/ov10635.dtbo \
+    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'ti/ov10635.dtbo', d)} \
 "
 
 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)}"
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 3/3] conf: am43: avoid missing dtb files for linux-ti-mainline
  2022-08-13 19:36 [PATCH v2 0/3] fix ARAGO_BRAND=mainline builds Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 1/3] conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline Drew Fustini
  2022-08-13 19:36 ` [PATCH v2 2/3] conf: am57xx-evm: " Drew Fustini
@ 2022-08-13 19:36 ` Drew Fustini
  2 siblings, 0 replies; 4+ messages in thread
From: Drew Fustini @ 2022-08-13 19:36 UTC (permalink / raw)
  To: meta-ti, Denys Dmytriyenko, Ryan Eatmon; +Cc: Drew Fustini

Avoid the inclusion of device tree files that do not exist upstream
when virtual/kernel is linux-ti-mainline for the am43xx machines.

Signed-off-by: Drew Fustini <dfustini@baylibre.com>
---
 conf/machine/include/ti43x.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc
index fc9af94921c4..ace46b89046e 100644
--- a/conf/machine/include/ti43x.inc
+++ b/conf/machine/include/ti43x.inc
@@ -27,9 +27,11 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 KERNEL_IMAGETYPE = "zImage"
 
 KERNEL_DEVICETREE = " \
-    am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb \
+    am437x-gp-evm.dtb \
+    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am437x-gp-evm-hdmi.dtb', d)} \
     am437x-sk-evm.dtb am437x-idk-evm.dtb \
-    am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb \
+    am43x-epos-evm.dtb \
+    ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am43x-epos-evm-hdmi.dtb', d)} \
 "
 
 KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
-- 
2.32.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-13 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-13 19:36 [PATCH v2 0/3] fix ARAGO_BRAND=mainline builds Drew Fustini
2022-08-13 19:36 ` [PATCH v2 1/3] conf: dra7xx-evm: avoid missing dtb files for linux-ti-mainline Drew Fustini
2022-08-13 19:36 ` [PATCH v2 2/3] conf: am57xx-evm: " Drew Fustini
2022-08-13 19:36 ` [PATCH v2 3/3] conf: am43: " Drew Fustini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.