Skip to contentSkip to conversation

MIPS BCM947xx CPUs support

PATCH In review Aurelien Jarno 3 participants 6 messages Aug 6, 2007 – Aug 7, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

cover MIPS BCM947xx CPUs support

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 <[email protected]>
Cc Waldemar Brodkorb <[email protected]>
Cc Felix Fietkau <[email protected]>
Cc Florian Schirmer <[email protected]>
Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net
#1 lore raw
Quoted 5 lines · Aurelien Jarno

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?

Quoted 3 lines

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

#2 lore raw
Quoted 10 lines · Ralf Baechle
Quoted 5 lines · Aurelien Jarno

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.

Quoted 7 lines
Quoted 3 lines

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

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net
#3 lore raw
Quoted 2 lines · Aurelien Jarno

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.

Quoted 5 lines

- 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

#4 lore raw
Quoted 8 lines · Ralf Baechle
Quoted 2 lines · Aurelien Jarno

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.

Quoted 7 lines
Quoted 5 lines

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

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net
#5 lore raw
In reply to Ralf Baechle
Quoted 6 lines · On Tuesday 07 August 2007 14:55:21 Ralf Baechle wrote:
Quoted 3 lines

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.

Signature · 1 line
Greetings Michael.