All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump
@ 2019-09-14 12:05 Peter Korsgaard
  2019-09-14 12:05 ` [Buildroot] [PATCH 2/2] configs/raspberrypi0: use dedicated rpi0 dts file Peter Korsgaard
  2019-09-15 12:56 ` [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-09-14 12:05 UTC (permalink / raw)
  To: buildroot

Fixes #12816

Commit 42d22f3bdba41da ({configs/raspberrypi,package/rpi-firmware}: bump
kernel/firmware to 20190819 version) updated the kernel version but failed
to take into consideration that the rpi0w dts file has been renamed:

https://github.com/raspberrypi/linux/commit/6f91b5dbfdb62a434571a73f2dc15181963e3bea

Fix it by renaming the dts/dtb file referenced from the kernel build and
genimage.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/raspberrypi/genimage-raspberrypi0w.cfg | 2 +-
 configs/raspberrypi0w_defconfig              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/raspberrypi/genimage-raspberrypi0w.cfg b/board/raspberrypi/genimage-raspberrypi0w.cfg
index 3aafd9b6fc..f76256ef8a 100644
--- a/board/raspberrypi/genimage-raspberrypi0w.cfg
+++ b/board/raspberrypi/genimage-raspberrypi0w.cfg
@@ -1,7 +1,7 @@
 image boot.vfat {
   vfat {
     files = {
-      "bcm2708-rpi-0-w.dtb",
+      "bcm2708-rpi-zero-w.dtb",
       "rpi-firmware/bootcode.bin",
       "rpi-firmware/cmdline.txt",
       "rpi-firmware/config.txt",
diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig
index 2a567cbb03..57276aa8f7 100644
--- a/configs/raspberrypi0w_defconfig
+++ b/configs/raspberrypi0w_defconfig
@@ -12,7 +12,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,raspberrypi-kernel_1.20190819-1)/linux-raspberrypi-kernel_1.20190819-1.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-0-w"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 
 BR2_PACKAGE_RPI_FIRMWARE=y
-- 
2.20.1

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

* [Buildroot] [PATCH 2/2] configs/raspberrypi0: use dedicated rpi0 dts file
  2019-09-14 12:05 [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump Peter Korsgaard
@ 2019-09-14 12:05 ` Peter Korsgaard
  2019-09-15 12:56 ` [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-09-14 12:05 UTC (permalink / raw)
  To: buildroot

Since the bump to the 20190819 snapshot there is now a dedicated dts file
for the rpi0, so use that rather than the rpi-b-plus one:

https://github.com/raspberrypi/linux/commit/bd1336d8b6544ce5c7ddb197c3d8c539082dac66

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/raspberrypi/genimage-raspberrypi0.cfg | 2 +-
 configs/raspberrypi0_defconfig              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/raspberrypi/genimage-raspberrypi0.cfg b/board/raspberrypi/genimage-raspberrypi0.cfg
index a9d4c4501f..f21a52f31e 100644
--- a/board/raspberrypi/genimage-raspberrypi0.cfg
+++ b/board/raspberrypi/genimage-raspberrypi0.cfg
@@ -1,7 +1,7 @@
 image boot.vfat {
   vfat {
     files = {
-      "bcm2708-rpi-b-plus.dtb",
+      "bcm2708-rpi-zero.dtb",
       "rpi-firmware/bootcode.bin",
       "rpi-firmware/cmdline.txt",
       "rpi-firmware/config.txt",
diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig
index 6c0dd20f6e..7255f8d067 100644
--- a/configs/raspberrypi0_defconfig
+++ b/configs/raspberrypi0_defconfig
@@ -15,7 +15,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 # Build the DTBs for A/B from the kernel sources: the zero is the same
 # as the A+ model, just in a different form-factor
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b-plus"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero"
 
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 
-- 
2.20.1

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

* [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump
  2019-09-14 12:05 [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump Peter Korsgaard
  2019-09-14 12:05 ` [Buildroot] [PATCH 2/2] configs/raspberrypi0: use dedicated rpi0 dts file Peter Korsgaard
@ 2019-09-15 12:56 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-09-15 12:56 UTC (permalink / raw)
  To: buildroot

On Sat, 14 Sep 2019 14:05:28 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:

> Fixes #12816
> 
> Commit 42d22f3bdba41da ({configs/raspberrypi,package/rpi-firmware}: bump
> kernel/firmware to 20190819 version) updated the kernel version but failed
> to take into consideration that the rpi0w dts file has been renamed:
> 
> https://github.com/raspberrypi/linux/commit/6f91b5dbfdb62a434571a73f2dc15181963e3bea
> 
> Fix it by renaming the dts/dtb file referenced from the kernel build and
> genimage.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  board/raspberrypi/genimage-raspberrypi0w.cfg | 2 +-
>  configs/raspberrypi0w_defconfig              | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Both applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-09-15 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-14 12:05 [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump Peter Korsgaard
2019-09-14 12:05 ` [Buildroot] [PATCH 2/2] configs/raspberrypi0: use dedicated rpi0 dts file Peter Korsgaard
2019-09-15 12:56 ` [Buildroot] [PATCH 1/2] configs/raspberrypi0w: fix dts file name after kernel bump Thomas Petazzoni

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.