Skip to contentSkip to conversation

Add support for lite5200b board.

PATCH In review John Rigby 5 participants 13 messages Jan 24, 2006 – Jan 30, 2006 PCI

lore
Share & tools
lore

John Rigby

author
#0 lore raw

PATCH 1/1 Add support for lite5200b board.

Sylvain,

Here is an updated patch for the liteb board.

John

Adds support for liteb board.

 arch/ppc/Kconfig              |    8 ++++++++
 arch/ppc/platforms/lite5200.c |   38 +++++++++++++++++++++++++++++++++++---
 arch/ppc/syslib/mpc52xx_pci.c |    3 ++-
 include/linux/pci_ids.h       |    1 +
 4 files changed, 46 insertions(+), 4 deletions(-)

3a68d4fcd6a175c7887e570b3f11af07a812bdc0

arch/ppc/Kconfig +8 -0
index 11899f0..eecb608 100644
@@ -664,6 +664,14 @@ config LITE5200
 	  much but it's only been tested on this board version. I think this
 	  board is also known as IceCube.
 
+config LITE5200B
+	bool "Freescale LITE5200B"
+	depends on LITE5200
+	help
+	  Support for the LITE5200B dev board for the MPC5200 from Freescale.
+	  This is the new board with 2 PCI slots.
+
+
 config MPC834x_SYS
 	bool "Freescale MPC834x SYS"
 	help
arch/ppc/platforms/lite5200.c +35 -3
index 7ed52dc..8cd9c67 100644
@@ -36,6 +36,7 @@
 #include <asm/mpc52xx.h>
 #include <asm/ppc_sys.h>
 #include <asm/machdep.h>
+#include <asm/pci-bridge.h>
 
 #include <syslib/mpc52xx_pci.h>
 
@@ -70,12 +71,32 @@ lite5200_show_cpuinfo(struct seq_file *m
 }
 
 #ifdef CONFIG_PCI
+#ifdef CONFIG_LITE5200B
+static int
+lite5200_map_irq(struct pci_dev *dev, unsigned char idsel,
+		    unsigned char pin)
+{
+	static char pci_irq_table[][4] =
+	/*
+	 *      PCI IDSEL/INTPIN->INTLINE
+	 *        A             B             C             D
+	 */
+	{
+		{MPC52xx_IRQ0, MPC52xx_IRQ1, MPC52xx_IRQ2, MPC52xx_IRQ3},
+		{MPC52xx_IRQ1, MPC52xx_IRQ2, MPC52xx_IRQ3, MPC52xx_IRQ0},
+	};
+
+	const long min_idsel = 24, max_idsel = 25, irqs_per_slot = 4;
+	return PCI_IRQ_TABLE_LOOKUP;
+}
+#else /* Original Lite */
 static int
 lite5200_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned char pin)
 {
 	return (pin == 1) && (idsel==24) ? MPC52xx_IRQ0 : -1;
 }
 #endif
+#endif
 
 static void __init
 lite5200_setup_cpu(void)
@@ -111,6 +132,11 @@ lite5200_setup_cpu(void)
 	/* Get port mux config */
 	port_config = in_be32(&gpio->port_config);
 
+#ifdef CONFIG_LITE5200B
+	/* turn on cs1 */
+	port_config |= 0x80000000;
+#endif
+
 	/* 48Mhz internal, pin is GPIO */
 	port_config &= ~0x00800000;
 
@@ -129,11 +155,17 @@ lite5200_setup_cpu(void)
 	out_be32(&xlb->config, in_be32(&xlb->config) | MPC52xx_XLB_CFG_SNOOP);
 	out_be32(&xlb->snoop_window, MPC52xx_PCI_TARGET_MEM | 0x1d);
 
-	/* IRQ[0-3] setup : IRQ0     - Level Active Low  */
-	/*                  IRQ[1-3] - Level Active High */
+	/* IRQ[0-3] setup */
 	intr_ctrl = in_be32(&intr->ctrl);
 	intr_ctrl &= ~0x00ff0000;
-	intr_ctrl |=  0x00c00000;
+#if CONFIG_LITE5200B
+	/* IRQ[0-3] Level Active Low */
+	intr_ctrl |=  0x00ff0000;
+#else
+	/* IRQ0 Level Active Low
+	 * IRQ[1-3] Level Active High */
+ 	intr_ctrl |=  0x00c00000;
+#endif
 	out_be32(&intr->ctrl, intr_ctrl);
 
 	/* Unmap reg zone */
arch/ppc/syslib/mpc52xx_pci.c +2 -1
index 313c96e..c5bf453 100644
@@ -227,7 +227,8 @@ mpc52xx_pci_fixup_resources(struct pci_d
 	/* The PCI Host bridge of MPC52xx has a prefetch memory resource
 	   fixed to 1Gb. Doesn't fit in the resource system so we remove it */
 	if ( (dev->vendor == PCI_VENDOR_ID_MOTOROLA) &&
-	     (dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200) ) {
+	     (dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200
+	      || dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200B) ) {
 		struct resource *res = &dev->resource[1];
 		res->start = res->end = res->flags = 0;
 	}
include/linux/pci_ids.h +1 -0
index ecc1fc1..c16cf15 100644
@@ -778,6 +778,7 @@
 #define PCI_DEVICE_ID_MOTOROLA_HAWK	0x4803
 #define PCI_DEVICE_ID_MOTOROLA_HARRIER	0x480b
 #define PCI_DEVICE_ID_MOTOROLA_MPC5200	0x5803
+#define PCI_DEVICE_ID_MOTOROLA_MPC5200B	0x5809
 
 #define PCI_VENDOR_ID_PROMISE		0x105a
 #define PCI_DEVICE_ID_PROMISE_20265	0x0d30
Signature · 1 line
1.1.3
#1 lore raw

Hi John,

Quoted 5 lines · John Rigby

Sylvain,

Here is an updated patch for the liteb board.

John

Looks good. But two comments :

* Isn't a modif to the arch/ppc/platform/Makefile missing ?
* What's the "cs-1" you turn on there :

arch/ppc/platforms/lite5200.c lite5200_setup_cpu(void) · line 138

Quoted 5 lines
arch/ppc/platforms/lite5200.c +4 -0
+#ifdef CONFIG_LITE5200B
+	/* turn on cs1 */
+	port_config |= 0x80000000;
+#endif

I couldn't find the schema / real-doc of the Lite5200b,
is this available somewhere on-line ?

Sylvain

#2 lore raw

Hi ,

Quoted 15 lines · Sylvain Munaut

Hi John,

Quoted 7 lines · John Rigby

Sylvain,

Here is an updated patch for the liteb board.

John

We have a Lite5200b and are very interesting in this point.

For wich kernel version is this patch?

Quoted 8 lines

Looks good. But two comments :

* Isn't a modif to the arch/ppc/platform/Makefile missing ?
* What's the "cs-1" you turn on there :

Quoted 1 line
Quoted 9 lines

arch/ppc/platforms/lite5200.c lite5200_setup_cpu(void) · line 138

Quoted 6 lines
arch/ppc/platforms/lite5200.c +4 -0
+#ifdef CONFIG_LITE5200B
+	/* turn on cs1 */
+	port_config |= 0x80000000;
+#endif

What fix this ?

Quoted 7 lines

I couldn't find the schema / real-doc of the Lite5200b,
is this available somewhere on-line ?

Sylvain, I don't know if there are some Lite5200b doc on line, but I have the schematics and could send to you or to anyone who want it.

Quoted 7 lines

Sylvain
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

begin:vcard
fn:Jose Maria Lopez
n:Lopez;Jose Maria
org:Fagor Automation S. Coop.
adr:;;San Andres 19. Apdo. 144;Arrasate-Mondragon;;20500;Spain email;internet:[email protected]
title:Sotware engineer
tel;work:(34) 943719200
tel;fax:(34) 943791712
x-mozilla-html:FALSE url:http://www.fagorautomation.es
version:2.1
end:vcard

#3 lore raw

Hi

Quoted 7 lines · Txema Lopez
Quoted 3 lines · Sylvain Munaut
Quoted 2 lines · John Rigby

Here is an updated patch for the liteb board.

We have a Lite5200b and are very interesting in this point.

For wich kernel version is this patch?

Should apply fine on vanilla. My suggestion for now is take vanilla, apply this patch, then the 2-3 patch from Andrey for BestComm and stuff.

I haven't gotten around setup a git tree ... anyone know a good tutorial not only on how to checkout stuff but how to well manage a remote repository for publishing ?

Quoted 8 lines
Quoted 8 lines

Looks good. But two comments :

* Isn't a modif to the arch/ppc/platform/Makefile missing ?
* What's the "cs-1" you turn on there :

Quoted 1 line
Quoted 6 lines
Quoted 5 lines

arch/ppc/platforms/lite5200.c lite5200_setup_cpu(void) · line 138

Quoted 5 lines
arch/ppc/platforms/lite5200.c +4 -0
+#ifdef CONFIG_LITE5200B
+    /* turn on cs1 */
+    port_config |= 0x80000000;
+#endif

What fix this ?

It's to activate the second bank of DDR-SDRAM. However, I find that's the job of the bootloader. Fully initializing the memory subsystem is one of the few things the kernel expects, so I probably won't include this.

My politics (at least for the 5200 stuff) is the boot loader should :
* Init memory stuff like it wants (at least boot flash & all dynamic
mem). The init of some static chipselect could be done in platform init.
* Put the pin muxes & stuff to the "safest" mode (that is for example
GPIO Input) execpt for what it requires for boot (like a console PSC and ethernet). All other pin mux (defnitive one) should be done in platform init depending on the board.

Quoted 5 lines
Quoted 3 lines

I couldn't find the schema / real-doc of the Lite5200b,
is this available somewhere on-line ?

Sylvain, I don't know if there are some Lite5200b doc on line, but I have the schematics and could send to you or to anyone who want it.

Yes, please, I'd appreciate an early copy.
John sent the link to the User Manual but the latter hasn't the full schematic.

Sylvain

#4 lore raw
Quoted 4 lines · Sylvain Munaut

I haven't gotten around setup a git tree ... anyone know a good tutorial not only on how to checkout stuff but how to well manage a remote repository for publishing ?

Try this link; I've got it bookmarked as "Git Essentials" :)
http://wellington.pm.org/archive/200510/git/

Signature · 3 lines
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761
#5 lore raw
In reply to Sylvain Munaut
Quoted 5 lines · Sylvain Munaut

Should apply fine on vanilla. My suggestion for now is take vanilla, apply this patch, then the 2-3 patch from Andrey for BestComm and stuff.

I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to current is turning out to be more difficult than I expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history. Would I find these patches in the archive?

I haven't gotten around setup a git tree ... anyone know a good tutorial

Quoted 19 lines

not only on how to checkout stuff but how to well manage a remote repository for publishing ?

Quoted 8 lines
Quoted 8 lines

Looks good. But two comments :

* Isn't a modif to the arch/ppc/platform/Makefile missing ?
* What's the "cs-1" you turn on there :

Quoted 1 line
Quoted 6 lines
Quoted 5 lines

arch/ppc/platforms/lite5200.c lite5200_setup_cpu(void) · line 138

Quoted 5 lines
arch/ppc/platforms/lite5200.c +4 -0
+#ifdef CONFIG_LITE5200B
+    /* turn on cs1 */
+    port_config |= 0x80000000;
+#endif

What fix this ?

Quoted 4 lines

It's to activate the second bank of DDR-SDRAM. However, I find that's the job of the bootloader. Fully initializing the memory subsystem is one of the few things the kernel expects, so I probably won't include this.

I agree completely.

My politics (at least for the 5200 stuff) is the boot loader should :

Quoted 26 lines

* Init memory stuff like it wants (at least boot flash & all dynamic mem). The init of some static chipselect could be done in platform init.
* Put the pin muxes & stuff to the "safest" mode (that is for example GPIO Input) execpt for what it requires for boot (like a console PSC and ethernet). All other pin mux (defnitive one) should be done in platform init depending on the board.

Quoted 5 lines
Quoted 3 lines

I couldn't find the schema / real-doc of the Lite5200b,
is this available somewhere on-line ?

Sylvain, I don't know if there are some Lite5200b doc on line, but I have the schematics and could send to you or to anyone who want it.

Yes, please, I'd appreciate an early copy.
John sent the link to the User Manual but the latter hasn't the full schematic.

Sylvain
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#6 lore raw
Quoted 10 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]>> wrote:

Should apply fine on vanilla. My suggestion for now is take vanilla, apply this patch, then the 2-3 patch from Andrey for BestComm and stuff.

Quoted 8 lines

I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to current is turning out to be more difficult than I expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history.
Would I find these patches in the archive?

Checkout (with git)

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so it's
probably gonna be in the git tree this week, under the 'bestcomm' head ;)

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain

#7 lore raw

I tried:
git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx
and got:
defaulting to local storage area
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Quoted 4 lines · Sylvain Munaut
Quoted 3 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]>> w=

rote:

Quoted 4 lines
Quoted 4 lines

Should apply fine on vanilla. My suggestion for now is take vanilla=

,

Quoted 1 line
Quoted 1 line

apply this patch, then the 2-3 patch from Andrey for BestComm and s=

tuff.

Quoted 4 lines
Quoted 4 lines

I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to current is turning out to be more difficult than =

I

Quoted 26 lines
Quoted 6 lines

expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history.
Would I find these patches in the archive?

Checkout (with git)

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so it's
probably gonna be in the git tree this week, under the 'bestcomm' head ;)

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain

#8 lore raw

Ooops,

git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx.git

(notice the previously missing .git at the end)

Sylvain

Quoted 52 lines · John Rigby

I tried:
git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx
and got:
defaulting to local storage area
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Quoted 39 lines · Sylvain Munaut
Quoted 9 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]>> wrote:

Should apply fine on vanilla. My suggestion for now is take vanilla, apply this patch, then the 2-3 patch from Andrey for BestComm and stuff.

Quoted 8 lines

I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to current is turning out to be more difficult than I expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history.
Would I find these patches in the archive?

Checkout (with git)

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so it's probably gonna be in the git tree this week, under the 'bestcomm' head ;)

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain

#9 lore raw

Thanks, I had tried stripping off the http: and adding the .git but not just adding the .git.

Quoted 25 lines · Sylvain Munaut

Ooops,

git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx.git

(notice the previously missing .git at the end)

Sylvain

Quoted 15 lines · John Rigby

I tried:
git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx
and got:
defaulting to local storage area
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Quoted 4 lines · Sylvain Munaut
Quoted 2 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]>> =

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Should apply fine on vanilla. My suggestion for now is take vanill=

a,

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

apply this patch, then the 2-3 patch from Andrey for BestComm and =

stuff.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to current is turning out to be more difficult than=

I

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history.
Would I find these patches in the archive?

Checkout (with git)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so it's probably gonna be in the git tree this week, under the 'bestcomm' head =

;)

Quoted 13 lines
Quoted 11 lines
Quoted 9 lines

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain

#10 lore raw

Ok checked out the git tree and applied the patch. The drivers/net/fec_mpc52xxx directory seems to be missing.

Quoted 24 lines · John Rigby

Thanks, I had tried stripping off the http: and adding the .git but not just adding the .git.

Quoted 19 lines · Sylvain Munaut

Ooops,

git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx.git

(notice the previously missing .git at the end)

Sylvain

Quoted 9 lines · John Rigby

I tried:
git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx
and got:
defaulting to local storage area
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Quoted 11 lines
Quoted 6 lines
Quoted 6 lines · Sylvain Munaut
Quoted 5 lines
Quoted 2 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]>=

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Should apply fine on vanilla. My suggestion for now is take vani=

lla,

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

apply this patch, then the 2-3 patch from Andrey for BestComm an=

d stuff.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I was working on getting bestcomm and fec working, but forward porti=

ng

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

my old 2.6.10 code to current is turning out to be more difficult th=

an I

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history.
Would I find these patches in the archive?

Checkout (with git)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so it=

's

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

probably gonna be in the git tree this week, under the 'bestcomm' hea=

d ;)

Quoted 14 lines
Quoted 13 lines
Quoted 11 lines
Quoted 9 lines

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain

#11 lore raw

and the arch/ppc/bestcomm directory as well

looks like maybe you didn't do a git-update-index?

Quoted 34 lines · John Rigby

Ok checked out the git tree and applied the patch. The drivers/net/fec_mpc52xxx directory seems to be missing.

Quoted 30 lines · John Rigby

Thanks, I had tried stripping off the http: and adding the .git but not just adding the .git.

Quoted 25 lines · Sylvain Munaut

Ooops,

git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx.git

(notice the previously missing .git at the end)

Sylvain

Quoted 15 lines · John Rigby

I tried:
git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx
and got:
defaulting to local storage area
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Quoted 4 lines · Sylvain Munaut
Quoted 2 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]=

Quoted 4 lines · m>> wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Should apply fine on vanilla. My suggestion for now is take va=

nilla,

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

apply this patch, then the 2-3 patch from Andrey for BestComm =

and stuff.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I was working on getting bestcomm and fec working, but forward por=

ting

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

my old 2.6.10 code to current is turning out to be more difficult =

than I

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have muc=

h

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

history.
Would I find these patches in the archive?

Checkout (with git)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so =

it's

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

probably gonna be in the git tree this week, under the 'bestcomm' h=

ead ;)

Quoted 15 lines
Quoted 14 lines
Quoted 13 lines
Quoted 11 lines
Quoted 9 lines

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain

#12 lore raw
Quoted 3 lines · John Rigby

and the arch/ppc/bestcomm directory as well

looks like maybe you didn't do a git-update-index?

Damned ... I was just passing by my laptop in a hurry when I made that post and I should have took the time to do it properly ...

I just did a cg-diff that I piped directly into the file, hoping it would work. I forgot about the new files.

Check the file again, it should be ok this time. Sorry for the delay.

Sylvain

Quoted 79 lines · John Rigby
Quoted 77 lines

Ok checked out the git tree and applied the patch. The drivers/net/fec_mpc52xxx directory seems to be missing.

Quoted 71 lines · John Rigby

Thanks, I had tried stripping off the http: and adding the .git but not just adding the .git.

Quoted 65 lines · Sylvain Munaut

Ooops,

git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx.git

(notice the previously missing .git at the end)

Sylvain

Quoted 53 lines · John Rigby

I tried:
git clone http://gitbits.246tnt.com/gitbits/linux-2.6-mpc52xx
and got:
defaulting to local storage area
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Quoted 39 lines · Sylvain Munaut
Quoted 8 lines · John Rigby

On 1/25/06, *Sylvain Munaut* <[email protected] <mailto:[email protected]>> wrote:

Should apply fine on vanilla. My suggestion for now is take vanilla, apply this patch, then the 2-3 patch from Andrey for BestComm and stuff.

Quoted 8 lines

I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to current is turning out to be more difficult than I expected.
If you already have working code then I'll stop working on them.

Where are these patches? I'm new to this list so I don't have much history.
Would I find these patches in the archive?

Checkout (with git)

http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx

then apply

http://gitbits.246tNt.com/patches/bcomm-to-split.diff

(I haven't cleanly splitted it up yet and right now I must go, so it's probably gonna be in the git tree this week, under the 'bestcomm' head ;)

Please report if it works fine on your board (both lite5200 and lite5200b reports are welcome). I only did quick tests.

Sylvain