Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/broadcom_northstar_defconfig: adjust DTS paths
@ 2024-01-02 10:42 Rafał Miłecki
  2024-01-02 21:14 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Rafał Miłecki @ 2024-01-02 10:42 UTC (permalink / raw)
  To: buildroot; +Cc: Rafał Miłecki

From: Rafał Miłecki <rafal@milecki.pl>

Starting with kernel release v6.5 ARM DTS files are placed in vendor
subdirectories (Linux commit 724ba6751532 ("ARM: dts: Move .dts files to
vendor sub-directories")).

This fixes:
make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dtb'.  Stop.
make[2]: *** [Makefile:1384: bcm4708-smartrg-sr400ac.dtb] Error 2
make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dtb'.  Stop.
make[2]: *** [Makefile:1384: bcm47094-luxul-xwr-3150-v1.dtb] Error 2

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 configs/broadcom_northstar_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/broadcom_northstar_defconfig b/configs/broadcom_northstar_defconfig
index 1008de168f..9ae716726d 100644
--- a/configs/broadcom_northstar_defconfig
+++ b/configs/broadcom_northstar_defconfig
@@ -5,7 +5,7 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/broadcom/northstar/linux.config"
 BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm4708-smartrg-sr400ac bcm47094-luxul-xwr-3150-v1"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm4708-smartrg-sr400ac broadcom/bcm47094-luxul-xwr-3150-v1"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ROOTFS_UBI=y
 BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048
-- 
2.35.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] configs/broadcom_northstar_defconfig: adjust DTS paths
  2024-01-02 10:42 [Buildroot] [PATCH] configs/broadcom_northstar_defconfig: adjust DTS paths Rafał Miłecki
@ 2024-01-02 21:14 ` Thomas Petazzoni via buildroot
  2024-01-02 21:16   ` Rafał Miłecki
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-02 21:14 UTC (permalink / raw)
  To: Rafał Miłecki; +Cc: Rafał Miłecki, buildroot

Hello Rafał,

On Tue,  2 Jan 2024 11:42:58 +0100
Rafał Miłecki <zajec5@gmail.com> wrote:

> From: Rafał Miłecki <rafal@milecki.pl>
> 
> Starting with kernel release v6.5 ARM DTS files are placed in vendor
> subdirectories (Linux commit 724ba6751532 ("ARM: dts: Move .dts files to
> vendor sub-directories")).
> 
> This fixes:
> make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dtb'.  Stop.
> make[2]: *** [Makefile:1384: bcm4708-smartrg-sr400ac.dtb] Error 2
> make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dtb'.  Stop.
> make[2]: *** [Makefile:1384: bcm47094-luxul-xwr-3150-v1.dtb] Error 2
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Thanks for the patch! I was wondering when it got broken, and this made
be realize that this defconfig doesn't follow a best practice that we
normally apply to all our defconfigs: the kernel version being built
should not be a moving target, but be fixed in the defconfig.

So, I've applied your patch, but could you submit a follow-up patch
that sets a fixed kernel version, just like we do in all defconfigs? It
also means the kernel headers version of the toolchain should be fixed
(again, I encourage you to look at the numerous other defconfigs we
have for examples of this).

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] configs/broadcom_northstar_defconfig: adjust DTS paths
  2024-01-02 21:14 ` Thomas Petazzoni via buildroot
@ 2024-01-02 21:16   ` Rafał Miłecki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafał Miłecki @ 2024-01-02 21:16 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Rafał Miłecki, buildroot

On 2.01.2024 22:14, Thomas Petazzoni wrote:
> On Tue,  2 Jan 2024 11:42:58 +0100
> Rafał Miłecki <zajec5@gmail.com> wrote:
> 
>> From: Rafał Miłecki <rafal@milecki.pl>
>>
>> Starting with kernel release v6.5 ARM DTS files are placed in vendor
>> subdirectories (Linux commit 724ba6751532 ("ARM: dts: Move .dts files to
>> vendor sub-directories")).
>>
>> This fixes:
>> make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dtb'.  Stop.
>> make[2]: *** [Makefile:1384: bcm4708-smartrg-sr400ac.dtb] Error 2
>> make[3]: *** No rule to make target 'arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dtb'.  Stop.
>> make[2]: *** [Makefile:1384: bcm47094-luxul-xwr-3150-v1.dtb] Error 2
>>
>> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> 
> Thanks for the patch! I was wondering when it got broken, and this made
> be realize that this defconfig doesn't follow a best practice that we
> normally apply to all our defconfigs: the kernel version being built
> should not be a moving target, but be fixed in the defconfig.
> 
> So, I've applied your patch, but could you submit a follow-up patch
> that sets a fixed kernel version, just like we do in all defconfigs? It
> also means the kernel headers version of the toolchain should be fixed
> (again, I encourage you to look at the numerous other defconfigs we
> have for examples of this).

Will do, thank you for pointing it out!

-- 
Rafał Miłecki
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-01-02 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02 10:42 [Buildroot] [PATCH] configs/broadcom_northstar_defconfig: adjust DTS paths Rafał Miłecki
2024-01-02 21:14 ` Thomas Petazzoni via buildroot
2024-01-02 21:16   ` Rafał Miłecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox