Skip to contentSkip to conversation

arm64: dts: imx: Fix imx8mm-kontron-n801x-s.dtb target

PATCH Superseded Nathan Chancellor 4 participants 7 messages Nov 8, 2020 – Nov 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx: Fix imx8mm-kontron-n801x-s.dtb target

$ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- \
INSTALL_DTBS_PATH=rootfs distclean defconfig dtbs dtbs_install
...
make[3]: *** No rule to make target
'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by
'__dtbs_install'
...

It should be .dtb, not .dts.

Fixes 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards")
---
 arch/arm64/boot/dts/freescale/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/Makefile +1 -1
index 876bf484bbe6..6f0777ee6cd6 100644
@@ -32,7 +32,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb
-dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dts
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-ddr4-evk.dtb

base-commit: 39fabe22e0f8c00334882ceac1dc70ffbd7f4871

Signature · 1 line
2.29.2
Reviewed-by on v1 1/1
#1 lore raw

On Sun, 8 Nov 2020 at 03:23, Nathan Chancellor <[email protected]> wrote:

Hi,

Thanks for the fixes.

Please mark patches with versions, this should be v2. Otherwise maintainer might apply the older one,
You also need to add versioning changelog after ---.

Quoted 2 lines
$ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- \
INSTALL_DTBS_PATH=rootfs distclean defconfig dtbs dtbs_install

All this is still irrelevant. Just: "make dtbs". Don't add unrelated details like how many processes you spawn, where do you want to install DTBS or even all other make targets.
Everyone should know how to cross compile so simple: make dtbs

Quoted 4 lines

...
make[3]: *** No rule to make target 'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by '__dtbs_install'

This should be joined with previous line. I mentioned it in your previous patch.

Quoted 1 line

...

Also not needed dots. This is small change and should go with small and accurate description. Blowing the description does not help.

Best regards,
Krzysztof

#2 lore raw

Hi Krzysztof,

Quoted 9 lines · Krzysztof Kozlowski

On Sun, 8 Nov 2020 at 03:23, Nathan Chancellor <[email protected]> wrote:

Hi,

Thanks for the fixes.

Please mark patches with versions, this should be v2. Otherwise maintainer might apply the older one,
You also need to add versioning changelog after ---.

I have only sent this one patch. It looks like Anders Roxell sent an identical patch though:

https://lore.kernel.org/linux-devicetree/[email protected]/

Quoted 7 lines
Quoted 2 lines
$ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- \
INSTALL_DTBS_PATH=rootfs distclean defconfig dtbs dtbs_install

All this is still irrelevant. Just: "make dtbs". Don't add unrelated details like how many processes you spawn, where do you want to install DTBS or even all other make targets.
Everyone should know how to cross compile so simple: make dtbs

Sure, I will update it, my apologies.

Quoted 6 lines
Quoted 4 lines

...
make[3]: *** No rule to make target 'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by '__dtbs_install'

This should be joined with previous line. I mentioned it in your previous patch.

Sure, I usually just let my editor do the auto wrapping but I will put it all onto one line!

Quoted 9 lines
Quoted 1 line

...

Also not needed dots. This is small change and should go with small and accurate description. Blowing the description does not help.

Best regards,
Krzysztof

Thank you for the review, I will sent v2 along shortly.

Cheers,
Nathan

#3 lore raw
Quoted 10 lines · Nathan Chancellor

Hi Krzysztof,

Quoted 6 lines · Krzysztof Kozlowski

On Sun, 8 Nov 2020 at 03:23, Nathan Chancellor <[email protected]> wrote:

Hi,

Thanks for the fixes.

Quoted 8 lines
Quoted 3 lines

Please mark patches with versions, this should be v2. Otherwise maintainer might apply the older one,
You also need to add versioning changelog after ---.

I have only sent this one patch. It looks like Anders Roxell sent an identical patch though:

https://lore.kernel.org/linux-devicetree/[email protected]/

Oh, damn, I didn't check the authors and got kind of confused seeing a v1. Nice timing. :)

Anyway, thanks for the patch!

Best regards,
Krzysztof

#4 lore raw

PATCH v2 1/1 arm64: dts: imx: Fix imx8mm-kontron-n801x-s.dtb target

In reply to Nathan Chancellor

While running 'make dtbs_install', the following error occurs:

make[3]: *** No rule to make target 'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by '__dtbs_install'.

It should be .dtb, not .dts.

Fixes 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards")

---

v1 -> v2:

* Simplify commit message and error (Krzysztof).
* Pick up Krzysztof's tag.

 arch/arm64/boot/dts/freescale/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/Makefile +1 -1
index 876bf484bbe6..6f0777ee6cd6 100644
@@ -32,7 +32,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb
-dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dts
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-ddr4-evk.dtb

base-commit: 39fabe22e0f8c00334882ceac1dc70ffbd7f4871

Signature · 1 line
2.29.2
Reviewed-by on v2 1/1
#5 lore raw
Quoted 9 lines · Nathan Chancellor

While running 'make dtbs_install', the following error occurs:

make[3]: *** No rule to make target 'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by '__dtbs_install'.

It should be .dtb, not .dts.

Fixes 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards")

Thanks for fixing my error!
I often use Yocto to build the kernel and it doesn't use "make dtbs", but reference single dtbs directly by its name. I probably should have tested this more properly.

Quoted 26 lines

---

v1 -> v2:

* Simplify commit message and error (Krzysztof).
* Pick up Krzysztof's tag.

  arch/arm64/boot/dts/freescale/Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/Makefile +1 -1
index 876bf484bbe6..6f0777ee6cd6 100644
@@ -32,7 +32,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb
  dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb
  dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
  dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb
-dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dts
+dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb
  dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb
  dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb
  dtb-$(CONFIG_ARCH_MXC) += imx8mn-ddr4-evk.dtb

base-commit: 39fabe22e0f8c00334882ceac1dc70ffbd7f4871

Applied
#6 lore raw
In reply to Nathan Chancellor
Quoted 9 lines · Nathan Chancellor

While running 'make dtbs_install', the following error occurs:

make[3]: *** No rule to make target 'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by '__dtbs_install'.

It should be .dtb, not .dts.

Fixes 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards")

Applied, thanks.