linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
@ 2014-07-02 12:56 Thomas Petazzoni
  2014-07-02 12:56 ` [PATCH 2/2] ARM: kirkwood: add devtmpfs to kirkwood_defconfig Thomas Petazzoni
  2014-07-02 13:46 ` [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Andrew Lunn
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2014-07-02 12:56 UTC (permalink / raw)
  To: linux-arm-kernel

Most of the Kirkwood platforms use fairly old bootloaders that don't
have Device Tree support, so it makes sense to enable appended DTB
support by default, as well as the backward compatibility with ATAGS
passed by the bootloader for those platforms. It helps having a
defconfig that works fine out of the box for most Kirkwood platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm/configs/kirkwood_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig
index b9e480c..2da96bc 100644
--- a/arch/arm/configs/kirkwood_defconfig
+++ b/arch/arm/configs/kirkwood_defconfig
@@ -30,6 +30,8 @@ CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_ARM_APPENDED_DTB=y
+CONFIG_ARM_ATAG_DTB_COMPAT=y
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_STAT_DETAILS=y
 CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
-- 
2.0.0

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

* [PATCH 2/2] ARM: kirkwood: add devtmpfs to kirkwood_defconfig
  2014-07-02 12:56 [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Thomas Petazzoni
@ 2014-07-02 12:56 ` Thomas Petazzoni
  2014-07-02 13:46 ` [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Andrew Lunn
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2014-07-02 12:56 UTC (permalink / raw)
  To: linux-arm-kernel

The devtmpfs filesystem is now widely used and generally needed to
boot Linux systems. 42 ARM defconfigs have it enabled, so it makes
sense to have it enabled as well in kirkwood_defconfig.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm/configs/kirkwood_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig
index 2da96bc..5827c5f 100644
--- a/arch/arm/configs/kirkwood_defconfig
+++ b/arch/arm/configs/kirkwood_defconfig
@@ -49,6 +49,8 @@ CONFIG_NET_PKTGEN=m
 CONFIG_CFG80211=y
 CONFIG_MAC80211=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_BLOCK=y
-- 
2.0.0

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

* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
  2014-07-02 12:56 [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Thomas Petazzoni
  2014-07-02 12:56 ` [PATCH 2/2] ARM: kirkwood: add devtmpfs to kirkwood_defconfig Thomas Petazzoni
@ 2014-07-02 13:46 ` Andrew Lunn
  2014-07-02 14:25   ` Jason Cooper
  1 sibling, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2014-07-02 13:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 02, 2014 at 02:56:17PM +0200, Thomas Petazzoni wrote:
> Most of the Kirkwood platforms use fairly old bootloaders that don't
> have Device Tree support, so it makes sense to enable appended DTB
> support by default, as well as the backward compatibility with ATAGS
> passed by the bootloader for those platforms. It helps having a
> defconfig that works fine out of the box for most Kirkwood platforms.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  arch/arm/configs/kirkwood_defconfig | 2 ++

Hi Thomas

I plan to remove mach-kirkwood this cycle. So kirkwood_defconfig will
get removed. Please could you patch mvebu_v5_defconfig instead?

Thanks
	Andrew

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

* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
  2014-07-02 13:46 ` [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Andrew Lunn
@ 2014-07-02 14:25   ` Jason Cooper
  2014-07-02 14:31     ` Andrew Lunn
  0 siblings, 1 reply; 8+ messages in thread
From: Jason Cooper @ 2014-07-02 14:25 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 02, 2014 at 03:46:55PM +0200, Andrew Lunn wrote:
> On Wed, Jul 02, 2014 at 02:56:17PM +0200, Thomas Petazzoni wrote:
> > Most of the Kirkwood platforms use fairly old bootloaders that don't
> > have Device Tree support, so it makes sense to enable appended DTB
> > support by default, as well as the backward compatibility with ATAGS
> > passed by the bootloader for those platforms. It helps having a
> > defconfig that works fine out of the box for most Kirkwood platforms.
> > 
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > ---
> >  arch/arm/configs/kirkwood_defconfig | 2 ++
> 
> Hi Thomas
> 
> I plan to remove mach-kirkwood this cycle. So kirkwood_defconfig will
> get removed. Please could you patch mvebu_v5_defconfig instead?

Do we need to?  There may be users who want to build a non-multiplatform
kernel for kirkwood, or dove...  It certainly takes less time than a
multiplatform build.

thx,

Jason.

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

* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
  2014-07-02 14:25   ` Jason Cooper
@ 2014-07-02 14:31     ` Andrew Lunn
  2014-07-02 14:39       ` Jason Cooper
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2014-07-02 14:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 02, 2014 at 10:25:10AM -0400, Jason Cooper wrote:
> On Wed, Jul 02, 2014 at 03:46:55PM +0200, Andrew Lunn wrote:
> > On Wed, Jul 02, 2014 at 02:56:17PM +0200, Thomas Petazzoni wrote:
> > > Most of the Kirkwood platforms use fairly old bootloaders that don't
> > > have Device Tree support, so it makes sense to enable appended DTB
> > > support by default, as well as the backward compatibility with ATAGS
> > > passed by the bootloader for those platforms. It helps having a
> > > defconfig that works fine out of the box for most Kirkwood platforms.
> > > 
> > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > ---
> > >  arch/arm/configs/kirkwood_defconfig | 2 ++
> > 
> > Hi Thomas
> > 
> > I plan to remove mach-kirkwood this cycle. So kirkwood_defconfig will
> > get removed. Please could you patch mvebu_v5_defconfig instead?
> 
> Do we need to?  There may be users who want to build a non-multiplatform
> kernel for kirkwood, or dove...  It certainly takes less time than a
> multiplatform build.

Hi Jason

mvebu_v5_defconfig is a single platform build, since kirkwood is the
only mvebu v5 device. In future orion5x could be added, but i don't
expect a huge build time difference.

	Andrew

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

* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
  2014-07-02 14:31     ` Andrew Lunn
@ 2014-07-02 14:39       ` Jason Cooper
  2014-07-02 14:43         ` Andrew Lunn
  0 siblings, 1 reply; 8+ messages in thread
From: Jason Cooper @ 2014-07-02 14:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 02, 2014 at 04:31:57PM +0200, Andrew Lunn wrote:
> On Wed, Jul 02, 2014 at 10:25:10AM -0400, Jason Cooper wrote:
> > On Wed, Jul 02, 2014 at 03:46:55PM +0200, Andrew Lunn wrote:
> > > On Wed, Jul 02, 2014 at 02:56:17PM +0200, Thomas Petazzoni wrote:
> > > > Most of the Kirkwood platforms use fairly old bootloaders that don't
> > > > have Device Tree support, so it makes sense to enable appended DTB
> > > > support by default, as well as the backward compatibility with ATAGS
> > > > passed by the bootloader for those platforms. It helps having a
> > > > defconfig that works fine out of the box for most Kirkwood platforms.
> > > > 
> > > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > > ---
> > > >  arch/arm/configs/kirkwood_defconfig | 2 ++
> > > 
> > > Hi Thomas
> > > 
> > > I plan to remove mach-kirkwood this cycle. So kirkwood_defconfig will
> > > get removed. Please could you patch mvebu_v5_defconfig instead?
> > 
> > Do we need to?  There may be users who want to build a non-multiplatform
> > kernel for kirkwood, or dove...  It certainly takes less time than a
> > multiplatform build.
> 
> Hi Jason
> 
> mvebu_v5_defconfig is a single platform build, since kirkwood is the
> only mvebu v5 device. In future orion5x could be added, but i don't
> expect a huge build time difference.

Ok, just make kirkwood_defconfig removal a separate patch so we can
revert it later if we want.

thx,

Jason.

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

* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
  2014-07-02 14:39       ` Jason Cooper
@ 2014-07-02 14:43         ` Andrew Lunn
  2014-07-02 15:03           ` Jason Cooper
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2014-07-02 14:43 UTC (permalink / raw)
  To: linux-arm-kernel

> Ok, just make kirkwood_defconfig removal a separate patch so we can
> revert it later if we want.

Hi Jason

How would that work exactly, without having mach-kirkwood?

    Andrew

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

* [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig
  2014-07-02 14:43         ` Andrew Lunn
@ 2014-07-02 15:03           ` Jason Cooper
  0 siblings, 0 replies; 8+ messages in thread
From: Jason Cooper @ 2014-07-02 15:03 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 02, 2014 at 04:43:40PM +0200, Andrew Lunn wrote:
> > Ok, just make kirkwood_defconfig removal a separate patch so we can
> > revert it later if we want.
> 
> Hi Jason
> 
> How would that work exactly, without having mach-kirkwood?

Set ARCH_MVEBU, MACH_KIRKWOOD, unset ARCH_MULTI_V5 and adjust the
Kconfig to allow such a scenario.

It may not be desirable right now, but having it as a separate patch
doesn't hurt anything, and it keeps the door open to the possibility in
the future.

thx,

Jason.

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

end of thread, other threads:[~2014-07-02 15:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 12:56 [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Thomas Petazzoni
2014-07-02 12:56 ` [PATCH 2/2] ARM: kirkwood: add devtmpfs to kirkwood_defconfig Thomas Petazzoni
2014-07-02 13:46 ` [PATCH 1/2] ARM: kirkwood: add appended DTB support in kirkwood_defconfig Andrew Lunn
2014-07-02 14:25   ` Jason Cooper
2014-07-02 14:31     ` Andrew Lunn
2014-07-02 14:39       ` Jason Cooper
2014-07-02 14:43         ` Andrew Lunn
2014-07-02 15:03           ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).