Skip to contentSkip to conversation

configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS

PATCH New Baruch Siach 3 participants 5 messages Apr 7, 2015 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS

BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS became ineffective in commit a5ce7590c4b (package/rpi-firmware: bump version), and was removed in commit 4e92ffdc47cc (rpi-firmware: remove no longer used BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS). Remove it from the Pi configs.

Also, remove the now obsolete comment in these config files.

Cc "Yann E. MORIN" <[email protected]>
---
 configs/raspberrypi2_defconfig   | 2 --
 configs/raspberrypi_dt_defconfig | 2 --
 2 files changed, 4 deletions(-)
configs/raspberrypi2_defconfig +0 -2
index 4d4944f9e3f1..814e1820e8d1 100644
@@ -19,6 +19,4 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 BR2_LINUX_KERNEL_ZIMAGE=y
 
-# Install the DTB files, as the RPi2 uses the Device Tree
 BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
configs/raspberrypi_dt_defconfig +0 -2
index ca62084c4d9c..c727a7cdfd1f 100644
@@ -17,6 +17,4 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/raspberrypi/linux-3.18-rpi-dt.defconfig"
 BR2_LINUX_KERNEL_ZIMAGE=y
 
-# Install the DTB files
 BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS

Baruch, All,

On 2015-04-07 13:14 +0300, Baruch Siach spake thusly:

Quoted 9 lines

BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS became ineffective in commit a5ce7590c4b (package/rpi-firmware: bump version), and was removed in commit 4e92ffdc47cc (rpi-firmware: remove no longer used BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS). Remove it from the Pi configs.

Also, remove the now obsolete comment in these config files.

Cc "Yann E. MORIN" <[email protected]>

I basically agree on the change.

However, this means there is now no reason to have separate sdefconfig files for the RPi (version 1) as both now use a DTB.

So, we should now:
- get rid of configs/raspberrypi_defconfig
- rename configs/raspberrypi_dt_defconfig into configs/raspberrypi_defconfig

Otherwise, looks fine.

Regards,
Yann E. MORIN.

Quoted 30 lines
---
 configs/raspberrypi2_defconfig   | 2 --
 configs/raspberrypi_dt_defconfig | 2 --
 2 files changed, 4 deletions(-)
configs/raspberrypi2_defconfig +0 -2
index 4d4944f9e3f1..814e1820e8d1 100644
@@ -19,6 +19,4 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 BR2_LINUX_KERNEL_ZIMAGE=y
 
-# Install the DTB files, as the RPi2 uses the Device Tree
 BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
configs/raspberrypi_dt_defconfig +0 -2
index ca62084c4d9c..c727a7cdfd1f 100644
@@ -17,6 +17,4 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/raspberrypi/linux-3.18-rpi-dt.defconfig"
 BR2_LINUX_KERNEL_ZIMAGE=y
 
-# Install the DTB files
 BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
Signature · 1 line
2.1.4
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS

Baruch, All,

On 2015-04-07 19:01 +0200, Yann E. MORIN spake thusly:

Quoted 11 lines

On 2015-04-07 13:14 +0300, Baruch Siach spake thusly:

Quoted 9 lines

BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS became ineffective in commit a5ce7590c4b (package/rpi-firmware: bump version), and was removed in commit 4e92ffdc47cc (rpi-firmware: remove no longer used BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS). Remove it from the Pi configs.

Also, remove the now obsolete comment in these config files.

Cc "Yann E. MORIN" <[email protected]>
Quoted 8 lines

I basically agree on the change.

However, this means there is now no reason to have separate sdefconfig files for the RPi (version 1) as both now use a DTB.

So, we should now:
- get rid of configs/raspberrypi_defconfig
- rename configs/raspberrypi_dt_defconfig into configs/raspberrypi_defconfig

And of course (given your other two patches:

- update the readme to account for those changes

Can you rework all three patches, and send them in a single series, please?

Thank you! :-)

Regards,
Yann E. MORIN.

Quoted 47 lines

Otherwise, looks fine.

Regards,
Yann E. MORIN.

Quoted 30 lines
---
 configs/raspberrypi2_defconfig   | 2 --
 configs/raspberrypi_dt_defconfig | 2 --
 2 files changed, 4 deletions(-)
configs/raspberrypi2_defconfig +0 -2
index 4d4944f9e3f1..814e1820e8d1 100644
@@ -19,6 +19,4 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="23c76b7f608e51258c6fca02aebeb5d588583149"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 BR2_LINUX_KERNEL_ZIMAGE=y
 
-# Install the DTB files, as the RPi2 uses the Device Tree
 BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
configs/raspberrypi_dt_defconfig +0 -2
index ca62084c4d9c..c727a7cdfd1f 100644
@@ -17,6 +17,4 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/raspberrypi/linux-3.18-rpi-dt.defconfig"
 BR2_LINUX_KERNEL_ZIMAGE=y
 
-# Install the DTB files
 BR2_PACKAGE_RPI_FIRMWARE=y
-BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS=y
Signature · 1 line
2.1.4
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/1 configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS

In reply to Yann E. MORIN

Hi Yann,

Quoted 11 lines · Yann E. MORIN

On 2015-04-07 13:14 +0300, Baruch Siach spake thusly:

Quoted 9 lines

BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS became ineffective in commit a5ce7590c4b (package/rpi-firmware: bump version), and was removed in commit 4e92ffdc47cc (rpi-firmware: remove no longer used BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS). Remove it from the Pi configs.

Also, remove the now obsolete comment in these config files.

Cc "Yann E. MORIN" <[email protected]>
Quoted 8 lines

I basically agree on the change.

However, this means there is now no reason to have separate sdefconfig files for the RPi (version 1) as both now use a DTB.

So, we should now:
- get rid of configs/raspberrypi_defconfig
- rename configs/raspberrypi_dt_defconfig into configs/raspberrypi_defconfig

There are a few other differences between raspberrypi_defconfig and raspberrypi_dt_defconfig:

* Kernel version 3.12.28 vs 3.19

* Kernel provided config vs local config

* Toolchain with C++ support

Should the dt version take precedence on all these differences?

The readme file seems to indicate that device tree support is experimental. Is this no longer the case?

Note that I don't own the hardware, so I can't test the result.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#4 lore raw

PATCH 1/1 configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS

In reply to Baruch Siach

Dear Baruch Siach,

Quoted 9 lines · Baruch Siach

BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS became ineffective in commit a5ce7590c4b (package/rpi-firmware: bump version), and was removed in commit 4e92ffdc47cc (rpi-firmware: remove no longer used BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS). Remove it from the Pi configs.

Also, remove the now obsolete comment in these config files.

Cc "Yann E. MORIN" <[email protected]>

Applied. Note that I have seen the comments from Yann, and they seem very valid. Though I believe they can be addressed as follow-up patches, since this patch per-se isn't wrong/bad. But please work with Yann on the remaining issues.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com