Skip to contentSkip to conversation

apalis/colibri_imx6: add device trees to makefile

PATCH New Marcel Ziswiler 3 participants 3 messages Mar 25, 2019 – Mar 29, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apalis/colibri_imx6: add device trees to makefile

From: Marcel Ziswiler <[email protected]>

Add device trees to Makefile to avoid newly introduced error:

Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument

make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1
make: *** [Makefile:1009: dts/dt.dtb] Error 2

---

 arch/arm/dts/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/Makefile +4 -0
index e261c5936b..7b7ccfd204 100644
@@ -481,6 +481,10 @@ dtb-$(CONFIG_MX6UL) += \
 
 dtb-$(CONFIG_MX6ULL) += imx6ull-14x14-evk.dtb
 
+dtb-$(CONFIG_ARCH_MX6) += \
+	imx6-apalis.dtb \
+	imx6-colibri.dtb
+
 dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
 	imx7d-sdb-qspi.dtb
 
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 apalis/colibri_imx6: add device trees to makefile

Hi Marcel,

Could you please provide steps to reproduce this issue? I've double checked on the latest master of u-boot-imx, and can sucessfully build U-boot for Colibri iMX6DL (as an example).

Thanks

Quoted 41 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add device trees to Makefile to avoid newly introduced error:

Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument

make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1
make: *** [Makefile:1009: dts/dt.dtb] Error 2

---

 arch/arm/dts/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/Makefile +4 -1
index e261c5936b..7b7ccfd204 100644
@@ -481,6 +481,10 @@ dtb-$(CONFIG_MX6UL) += \
 
 dtb-$(CONFIG_MX6ULL) += imx6ull-14x14-evk.dtb
 
+dtb-$(CONFIG_ARCH_MX6) += \
+       imx6-apalis.dtb \
+       imx6-colibri.dtb
+
 dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
        imx7d-sdb-qspi.dtb
 
--

2.20.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

#2 lore raw

PATCH 1/1 apalis/colibri_imx6: add device trees to makefile

Hi Igor

Quoted 5 lines · Igor Opaniuk

Hi Marcel,

Could you please provide steps to reproduce this issue? I've double checked on the latest master of u-boot-imx, and can sucessfully build U-boot for Colibri iMX6DL (as an example).

To be honest I don't remember exactly and can also no longer reproduce what happened. Just back when it happened this fixed it. However, at one point, I remember the discussion about having to add all device trees to the Makefile concluded in not requiring this. So we may also drop this patch then.

Quoted 1 line

Thanks

Thank you.

Cheers

Marcel

Quoted 43 lines
Quoted 41 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add device trees to Makefile to avoid newly introduced error:

Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=<device_tree>' argument

make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1
make: *** [Makefile:1009: dts/dt.dtb] Error 2

---

 arch/arm/dts/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/Makefile +4 -1
index e261c5936b..7b7ccfd204 100644
@@ -481,6 +481,10 @@ dtb-$(CONFIG_MX6UL) += \
 
 dtb-$(CONFIG_MX6ULL) += imx6ull-14x14-evk.dtb
 
+dtb-$(CONFIG_ARCH_MX6) += \
+       imx6-apalis.dtb \
+       imx6-colibri.dtb
+
 dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
        imx7d-sdb-qspi.dtb
 
--

2.20.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot