All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
@ 2015-04-07 10:14 Baruch Siach
  2015-04-07 17:01 ` Yann E. MORIN
  2015-04-07 19:30 ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Baruch Siach @ 2015-04-07 10:14 UTC (permalink / raw)
  To: buildroot

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" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 configs/raspberrypi2_defconfig   | 2 --
 configs/raspberrypi_dt_defconfig | 2 --
 2 files changed, 4 deletions(-)

diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index 4d4944f9e3f1..814e1820e8d1 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -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
diff --git a/configs/raspberrypi_dt_defconfig b/configs/raspberrypi_dt_defconfig
index ca62084c4d9c..c727a7cdfd1f 100644
--- a/configs/raspberrypi_dt_defconfig
+++ b/configs/raspberrypi_dt_defconfig
@@ -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
-- 
2.1.4

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

* [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
  2015-04-07 10:14 [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS Baruch Siach
@ 2015-04-07 17:01 ` Yann E. MORIN
  2015-04-07 17:05   ` Yann E. MORIN
  2015-04-07 17:34   ` Baruch Siach
  2015-04-07 19:30 ` Thomas Petazzoni
  1 sibling, 2 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-04-07 17:01 UTC (permalink / raw)
  To: buildroot

Baruch, All,

On 2015-04-07 13:14 +0300, Baruch Siach spake thusly:
> 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" <yann.morin.1998@free.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

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.

> ---
>  configs/raspberrypi2_defconfig   | 2 --
>  configs/raspberrypi_dt_defconfig | 2 --
>  2 files changed, 4 deletions(-)
> 
> diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
> index 4d4944f9e3f1..814e1820e8d1 100644
> --- a/configs/raspberrypi2_defconfig
> +++ b/configs/raspberrypi2_defconfig
> @@ -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
> diff --git a/configs/raspberrypi_dt_defconfig b/configs/raspberrypi_dt_defconfig
> index ca62084c4d9c..c727a7cdfd1f 100644
> --- a/configs/raspberrypi_dt_defconfig
> +++ b/configs/raspberrypi_dt_defconfig
> @@ -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
> -- 
> 2.1.4
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
  2015-04-07 17:01 ` Yann E. MORIN
@ 2015-04-07 17:05   ` Yann E. MORIN
  2015-04-07 17:34   ` Baruch Siach
  1 sibling, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-04-07 17:05 UTC (permalink / raw)
  To: buildroot

Baruch, All,

On 2015-04-07 19:01 +0200, Yann E. MORIN spake thusly:
> On 2015-04-07 13:14 +0300, Baruch Siach spake thusly:
> > 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" <yann.morin.1998@free.fr>
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> 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.

> Otherwise, looks fine.
> 
> Regards,
> Yann E. MORIN.
> 
> > ---
> >  configs/raspberrypi2_defconfig   | 2 --
> >  configs/raspberrypi_dt_defconfig | 2 --
> >  2 files changed, 4 deletions(-)
> > 
> > diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
> > index 4d4944f9e3f1..814e1820e8d1 100644
> > --- a/configs/raspberrypi2_defconfig
> > +++ b/configs/raspberrypi2_defconfig
> > @@ -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
> > diff --git a/configs/raspberrypi_dt_defconfig b/configs/raspberrypi_dt_defconfig
> > index ca62084c4d9c..c727a7cdfd1f 100644
> > --- a/configs/raspberrypi_dt_defconfig
> > +++ b/configs/raspberrypi_dt_defconfig
> > @@ -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
> > -- 
> > 2.1.4
> > 
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  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

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
  2015-04-07 17:01 ` Yann E. MORIN
  2015-04-07 17:05   ` Yann E. MORIN
@ 2015-04-07 17:34   ` Baruch Siach
  1 sibling, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2015-04-07 17:34 UTC (permalink / raw)
  To: buildroot

Hi Yann,

On Tue, Apr 07, 2015 at 07:01:26PM +0200, Yann E. MORIN wrote:
> On 2015-04-07 13:14 +0300, Baruch Siach spake thusly:
> > 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" <yann.morin.1998@free.fr>
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> 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

-- 
     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 -

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

* [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
  2015-04-07 10:14 [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS Baruch Siach
  2015-04-07 17:01 ` Yann E. MORIN
@ 2015-04-07 19:30 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2015-04-07 19:30 UTC (permalink / raw)
  To: buildroot

Dear Baruch Siach,

On Tue,  7 Apr 2015 13:14:05 +0300, Baruch Siach wrote:
> 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" <yann.morin.1998@free.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-04-07 19:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 10:14 [Buildroot] [PATCH] configs/raspberrypi: remove BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS Baruch Siach
2015-04-07 17:01 ` Yann E. MORIN
2015-04-07 17:05   ` Yann E. MORIN
2015-04-07 17:34   ` Baruch Siach
2015-04-07 19:30 ` 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.