Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH -mm 0/4] MIPS BCM947xx CPUs support
@ 2007-08-06 15:07 Aurelien Jarno
  2007-08-07 12:55 ` Ralf Baechle
  0 siblings, 1 reply; 6+ messages in thread
From: Aurelien Jarno @ 2007-08-06 15:07 UTC (permalink / raw)
  To: Andrew Morton, linux-mips
  Cc: Michael Buesch, Waldemar Brodkorb, Felix Fietkau,
	Florian Schirmer

The following series of patches add basic support for the BCM947xx 
CPUs. CFE support still needs work and thus is not included in those 
patches, so the command line has to be included in the kernel. 
Everything else is fully functional and the resulting kernel works
fine on a Netgear WGT634U.

I am submitting those patches for inclusion into -mm as they depend
on features that are not present in the linux-mips git tree, but are
present in the -mm series, namely Sonic Silicon Backplane bus support.

Patch #1: MIPS: Detect BCM947xx CPUs
Patch #2: MIPS: BCM947xx support
Patch #3: MIPS: Add BCM947XX to Kconfig
Patch #4: MIPS: Add BCM947xx to Makefile

Cc: Michael Buesch <mb@bu3sch.de>
Cc: Waldemar Brodkorb <wbx@openwrt.org>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Florian Schirmer <jolt@tuxbox.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [PATCH -mm 0/4] MIPS BCM947xx CPUs support
  2007-08-06 15:07 [PATCH -mm 0/4] MIPS BCM947xx CPUs support Aurelien Jarno
@ 2007-08-07 12:55 ` Ralf Baechle
  2007-08-07 13:09   ` Aurelien Jarno
  2007-08-07 13:13   ` Michael Buesch
  0 siblings, 2 replies; 6+ messages in thread
From: Ralf Baechle @ 2007-08-07 12:55 UTC (permalink / raw)
  To: Aurelien Jarno
  Cc: Andrew Morton, linux-mips, Michael Buesch, Waldemar Brodkorb,
	Felix Fietkau, Florian Schirmer

On Mon, Aug 06, 2007 at 05:07:01PM +0200, Aurelien Jarno wrote:

> The following series of patches add basic support for the BCM947xx 
> CPUs. CFE support still needs work and thus is not included in those 
> patches, so the command line has to be included in the kernel. 
> Everything else is fully functional and the resulting kernel works
> fine on a Netgear WGT634U.

Any reason why not to simply share the CFE related code with what the
Broadcom Sibyte family of chips are using?

> I am submitting those patches for inclusion into -mm as they depend
> on features that are not present in the linux-mips git tree, but are
> present in the -mm series, namely Sonic Silicon Backplane bus support.

That won't fly as akpm is pulling from the MIPS tree also, so there
will be conflicts really soon.

  Ralf

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

* Re: [PATCH -mm 0/4] MIPS BCM947xx CPUs support
  2007-08-07 12:55 ` Ralf Baechle
@ 2007-08-07 13:09   ` Aurelien Jarno
  2007-08-07 13:14     ` Ralf Baechle
  2007-08-07 13:13   ` Michael Buesch
  1 sibling, 1 reply; 6+ messages in thread
From: Aurelien Jarno @ 2007-08-07 13:09 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: Andrew Morton, linux-mips, Michael Buesch, Waldemar Brodkorb,
	Felix Fietkau, Florian Schirmer

Ralf Baechle a écrit :
> On Mon, Aug 06, 2007 at 05:07:01PM +0200, Aurelien Jarno wrote:
> 
>> The following series of patches add basic support for the BCM947xx 
>> CPUs. CFE support still needs work and thus is not included in those 
>> patches, so the command line has to be included in the kernel. 
>> Everything else is fully functional and the resulting kernel works
>> fine on a Netgear WGT634U.
> 
> Any reason why not to simply share the CFE related code with what the
> Broadcom Sibyte family of chips are using?

That's actually the plan, but there is some work to do before. BCM947xx
CFE code is too BCM947xx centric, and the one in the sibyte/cfe
directory is too SiByte centric. For example the SiByte code assume that
the environment variables are in a serial EEPROM, whereas the BCM947xx
code assumes that it is in the FLASH.

Merging both will take some time, and if we accept to not get the kernel
parameters from CFE, it is possible to run BCM947xx board with these
patches.

>> I am submitting those patches for inclusion into -mm as they depend
>> on features that are not present in the linux-mips git tree, but are
>> present in the -mm series, namely Sonic Silicon Backplane bus support.
> 
> That won't fly as akpm is pulling from the MIPS tree also, so there
> will be conflicts really soon.
> 

I don't see a patch corresponding to the MIPS tree in the broken-out
directory. Anyway what other solution do you propose? I can see:
- Integrate the patches that have the most risk of conflicts (I think
patch #1) into the MIPS tree.
- Integrate all BCM947xx patches into the MIPS tree accepting that it
can compile without additional patches.
- Integrate SSB patches into the MIPS tree.

Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [PATCH -mm 0/4] MIPS BCM947xx CPUs support
  2007-08-07 12:55 ` Ralf Baechle
  2007-08-07 13:09   ` Aurelien Jarno
@ 2007-08-07 13:13   ` Michael Buesch
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Buesch @ 2007-08-07 13:13 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: Aurelien Jarno, Andrew Morton, linux-mips, Waldemar Brodkorb,
	Felix Fietkau, Florian Schirmer

On Tuesday 07 August 2007 14:55:21 Ralf Baechle wrote:
> > I am submitting those patches for inclusion into -mm as they depend
> > on features that are not present in the linux-mips git tree, but are
> > present in the -mm series, namely Sonic Silicon Backplane bus support.
> 
> That won't fly as akpm is pulling from the MIPS tree also, so there
> will be conflicts really soon.

?
I don't see why this should conflict.
The patches are in mm currently.

-- 
Greetings Michael.

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

* Re: [PATCH -mm 0/4] MIPS BCM947xx CPUs support
  2007-08-07 13:09   ` Aurelien Jarno
@ 2007-08-07 13:14     ` Ralf Baechle
  2007-08-07 13:22       ` Aurelien Jarno
  0 siblings, 1 reply; 6+ messages in thread
From: Ralf Baechle @ 2007-08-07 13:14 UTC (permalink / raw)
  To: Aurelien Jarno
  Cc: Andrew Morton, linux-mips, Michael Buesch, Waldemar Brodkorb,
	Felix Fietkau, Florian Schirmer

On Tue, Aug 07, 2007 at 03:09:50PM +0200, Aurelien Jarno wrote:

> I don't see a patch corresponding to the MIPS tree in the broken-out
> directory. Anyway what other solution do you propose? I can see:

There isn't because until -rc2 everything went straight to Linus.  The
next -mm should have a git-mips patch again.

> - Integrate the patches that have the most risk of conflicts (I think
> patch #1) into the MIPS tree.
> - Integrate all BCM947xx patches into the MIPS tree accepting that it
> can compile without additional patches.
> - Integrate SSB patches into the MIPS tree.

I can do that if Andrew is ok with it?

  Ralf

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

* Re: [PATCH -mm 0/4] MIPS BCM947xx CPUs support
  2007-08-07 13:14     ` Ralf Baechle
@ 2007-08-07 13:22       ` Aurelien Jarno
  0 siblings, 0 replies; 6+ messages in thread
From: Aurelien Jarno @ 2007-08-07 13:22 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: Andrew Morton, linux-mips, Michael Buesch, Felix Fietkau,
	Florian Schirmer

Ralf Baechle a écrit :
> On Tue, Aug 07, 2007 at 03:09:50PM +0200, Aurelien Jarno wrote:
> 
>> I don't see a patch corresponding to the MIPS tree in the broken-out
>> directory. Anyway what other solution do you propose? I can see:
> 
> There isn't because until -rc2 everything went straight to Linus.  The
> next -mm should have a git-mips patch again.
> 
>> - Integrate the patches that have the most risk of conflicts (I think
>> patch #1) into the MIPS tree.
>> - Integrate all BCM947xx patches into the MIPS tree accepting that it
>> can compile without additional patches.
>> - Integrate SSB patches into the MIPS tree.
> 
> I can do that if Andrew is ok with it?

Well that was actually three different ways to go.


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

end of thread, other threads:[~2007-08-07 13:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 15:07 [PATCH -mm 0/4] MIPS BCM947xx CPUs support Aurelien Jarno
2007-08-07 12:55 ` Ralf Baechle
2007-08-07 13:09   ` Aurelien Jarno
2007-08-07 13:14     ` Ralf Baechle
2007-08-07 13:22       ` Aurelien Jarno
2007-08-07 13:13   ` Michael Buesch

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