Re: [PATCH] General CHRP/MPC5K2 platform support patch

2006-10-26 Thread John Rigby
* mpc5k2_bestcomm.c ( helpers): I've been in contact with others people using bestcomm and please to see the development was still active. I'm already using latest code on my board but this is not include in this patch. Indeed, it needs some changes for ARCH=powerpc. Moreover, we have a

Re: LITE5200B Powerfail

2006-12-19 Thread John Rigby
According to the Lite5200B schematic http://www.freescale.com/files/32bit/hardware_tools/schematics/lite5200BSCH.pdf PSC2_4 is tied to a signal called PWR_DN_CTL_STS via a zero ohm resistor R88. If you want to use PSC2_4 as something else you probably need to remove R88. On 12/15/06, John

[PATCH] Avoid putting cpu node twice

2007-04-06 Thread John Rigby
Call of_find_node_by_type with NULL instead of np so the cpu node does not get put twice. This was causing kref_put warnings. Signed-off-by: John Rigby [EMAIL PROTECTED] --- arch/powerpc/platforms/52xx/lite5200.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch

Re: MPC5200 ethernet communication stops unexpected

2007-05-16 Thread John Rigby
Sylvain, This is a shot in the dark but the fact that it is the last word that is wrong reminds me of your question last week about the Gen_BD_TX tasks: 2) From what I understand, this part process everything execpt the last byte : 0xd9190300, /* LCDEXT: idx2 = idx2; idx2 var12;

[PATCH] Add support for Freescale MEDIA5200 MPC5200 based platform

2006-04-04 Thread John Rigby
nobody Mon Sep 17 00:00:00 2001 From: John Rigby [EMAIL PROTECTED] Date: Tue Apr 4 14:59:18 2006 -0600 Subject: [PATCH] Add support for Freescale MEDIA5200 MPC5200 based platform. Signed-off-by: John Rigby jrigby at freescale.com --- arch/ppc/Kconfig |6 + arch/ppc/platforms

[PATCH] Add support for lite5200b board.

2006-01-24 Thread John Rigby
Sylvain, Here is an updated patch for the liteb board. John -- next part -- A non-text attachment was scrubbed... Name: liteb.patch Type: text/x-patch Size: 4151 bytes Desc: not available Url :

[PATCH] Add support for lite5200b board.

2006-01-26 Thread John Rigby
On 1/25/06, Sylvain Munaut tnt at 246tnt.com 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. I was working on getting bestcomm and fec working, but forward porting my old 2.6.10 code to

[PATCH] Add support for lite5200b board.

2006-01-30 Thread 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? On 1/29/06, Sylvain Munaut tnt at 246tnt.com wrote: John Rigby wrote: On 1/25

[PATCH] Add support for lite5200b board.

2006-01-30 Thread John Rigby
John Rigby wrote: 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? On 1/29/06, Sylvain Munaut tnt at 246tnt.com wrote

[PATCH] Add support for lite5200b board.

2006-01-30 Thread John Rigby
Ok checked out the git tree and applied the patch. The drivers/net/fec_mpc52xxx directory seems to be missing. On 1/30/06, John Rigby jcrigby at gmail.com wrote: Thanks, I had tried stripping off the http: and adding the .git but not just adding the .git. On 1/30/06, Sylvain Munaut tnt

[PATCH] Add support for lite5200b board.

2006-01-30 Thread John Rigby
and the arch/ppc/bestcomm directory as well looks like maybe you didn't do a git-update-index? On 1/30/06, John Rigby jcrigby at gmail.com wrote: Ok checked out the git tree and applied the patch. The drivers/net/fec_mpc52xxx directory seems to be missing. On 1/30/06, John Rigby jcrigby

[PATCH] Add fec support for mpc52xx

2006-02-02 Thread John Rigby
Adds fec support, requires bestcom patch. Applies to Sylvains git tree. -- next part -- A non-text attachment was scrubbed... Name: 0002-Add-fec-support-for-mpc52xx.txt Type: text/x-csrc Size: 60840 bytes Desc: not available Url :

[PATCH] Add fec support for mpc52xx

2006-02-02 Thread John Rigby
at farnsworth.org wrote: In article 43E24DA6.9 at freescale.com John Rigby wrote: Adds fec support, requires bestcom patch. Applies to Sylvains git tree. Hmm, I thought that fec support was already in Sylvain's git tree. I'm sure Sylvain intended it to be there. From http://ozlabs.org/pipermail

Stability of MPC5200 FEC

2006-02-10 Thread John Rigby
Do you have a lite5200 board that exhibits the same bad FEC behavior. If so you could try the new version on it and see if things improve. Asier Llano Palacios wrote: We are working with MPC5200 cpu. We've been using it since early 2.6 kernel versions. We're currently quite stabilished with

Stability of MPC5200 FEC

2006-02-14 Thread John Rigby
Asier, I tried copying 700MB files to my lite board with ftp on sylvain's latest kernel and was not able to reproduce the problem. One thing I did see though were lots of RX framing errors. I will investigate this further. I consulted with someone in Freescale who knows a lot more about

boot failure on lite5200b board

2006-02-24 Thread John Rigby
Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK id mach(): done MMU:enter MMU:hw init MMU:mapin MMU:setio MMU:exit setup_arch: enter setup_arch: bootmem ocp: exit arch: exit -Original Message- From: John Rigby

IMAP_ADDR on PPC 8xx

2006-05-10 Thread John Rigby
Thanks Dan for the extra info. Just to let everyone know even though this turned out to not be our problem we here at Freescale are looking at how we can make sure this does not happen in the future. We want any uboot shipped with future Freescale boards to have the correct behavior. We also

MPC5200B SPI PSC3 Problem

2006-06-08 Thread John Rigby
There seems to be a conflict between two sections of the 5200 User manual. In section 7.3 where port_config is documented the PSC3 configuration bits (20:23) defined as: = All PSC3 pins are GPIOs 0001 = USB2 on PSC3, no GPIOs available, see Note 3 001X = Reserved 0100 = UART functionality

MPC5200B SPI PSC3 Problem

2006-06-08 Thread John Rigby
Here's an include file that goes with file in the last email. On 6/8/06, John Rigby jcrigby at gmail.com wrote: There seems to be a conflict between two sections of the 5200 User manual. In section 7.3 where port_config is documented the PSC3 configuration bits (20:23) defined as:

Using bestcomm in an external module (MPC5200B to be exact)

2006-06-19 Thread John Rigby
The next LTIB bsp for 5200b will use the Sylvain's bestcomm api. On 6/19/06, Trueskew trueskew at gmail.com wrote: Hi Andrey, Thanks for the reply. I did notice that a few weeks ago and was waiting for the patch state to be changed from New to Accepted. Can you give me more details on how

Using bestcomm in an external module (MPC5200B to be exact)

2006-06-27 Thread John Rigby
and also an ac97 driver. My goal is to have the best version in the public and ltib just a copy of it. On 6/20/06, Sylvain Munaut tnt at 246tnt.com wrote: -Original Message- From: John Rigby [mailto:jcrigby at gmail.com] Sent: Monday, June 19, 2006 2:33 PM To: Trueskew Cc: Andrey

boot failure on lite5200b board

2006-03-01 Thread John Rigby
Image ... OK id mach(): done MMU:enter MMU:hw init MMU:mapin MMU:setio MMU:exit setup_arch: enter setup_arch: bootmem ocp: exit arch: exit . Regards, Jianggan LI From: John Rigby [mailto:jcrigby at gmail.com] Sent: Sat 2/25

Kernel for MPC Lite 5200 will not compile

2006-03-27 Thread John Rigby
try make lite5200_defconfig instead of copying it to .config or make oldconfig after copying ti to .config On 3/27/06, Matthias Fechner idefix at fechner.net wrote: Hi, I installed today ELDK 4.0 for the LITE5200 board (icecube). ./install -d /usr/local/eldk ppc_6xx After compiling u-boot

Kernel for MPC Lite 5200 will not compile

2006-03-28 Thread John Rigby
it. On 3/28/06, Matthias Fechner idefix at fechner.net wrote: Hello John, * John Rigby jcrigby at gmail.com [27-03-06 18:01]: try make lite5200_defconfig instead of copying it to .config or make oldconfig after copying ti to .config I tried now several combinations with: make ARCH=ppc

Kernel for MPC Lite 5200 will not compile

2006-03-30 Thread John Rigby
Sent this to Wolfgang last night. Accidently omitted Syvain and the list. The actual bestcomm microcode in Sylvain's tree is the same as the latest Freescale supported code. The linux driver code that interfaces with it is code written by Dale Farnsworth and has Montavista copyright. I don't

Kernel for MPC Lite 5200 will not compile

2006-03-30 Thread John Rigby
the experience of having done ATA. On 3/30/06, John Rigby jcrigby at gmail.com wrote: Sent this to Wolfgang last night. Accidently omitted Syvain and the list. The actual bestcomm microcode in Sylvain's tree is the same as the latest Freescale supported code. The linux driver code that interfaces

Subject: [PATCH] Add ATA bestcomm dma support for MPC5200B.

2006-03-30 Thread John Rigby
. With the right cable and the right drive you can do UDMA1. Signed-off-by: John Rigby jrigby at freescale.com --- arch/ppc/syslib/bestcomm/Makefile|1 arch/ppc/syslib/bestcomm/ata.c | 143 +++ arch/ppc/syslib/bestcomm/ata.h | 49 ++ arch/ppc/syslib/bestcomm/bestcomm.c

Resubmit munged patch -- [PATCH] Add ATA bestcomm dma support for MPC5200.

2006-03-30 Thread John Rigby
UDMA not work. MDMA should work though. Signed-off-by: John Rigby jrigby at freescale.com --- arch/ppc/syslib/bestcomm/Makefile|1 arch/ppc/syslib/bestcomm/ata.c | 143 +++ arch/ppc/syslib/bestcomm/ata.h | 49 ++ arch/ppc/syslib/bestcomm/bestcomm.c

Kernel for MPC Lite 5200 will not compile

2006-03-30 Thread John Rigby
Even if the current Freescale code were cleaned up the basic design is ugly. The C preprocessor hell it goes through along with the indirection is a high price to pay for the generalitiy it buys in terms of the task var/inc setting. On the licensing side, it has been changed to an MIT license so

Using bestcomm in an external module (MPC5200B to be exact)

2006-07-27 Thread John Rigby
Sylvain, How can I help getting the mpc5200 migrated to the powerpc tree? I should have some time to help with this. After we get it migrated we can get the bestcomm code in and the various drivers that use it. Also, did you ever get a liteb board? If not send me your address and I will try

Re: OF devices and non OF devices

2007-07-03 Thread John Rigby
One place to find binding between OF devices and non OF devices is in arch/powerpc/sysdev/fsl_soc.c The typical pattern is: if of_find_compatible_node of-device-name platform_device_register_simple platform-device-name platform_device_add_data ... On 7/3/07, Kári Davíðsson

Re: OF devices and non OF devices

2007-07-05 Thread John Rigby
and found that the i2c-mpc.c and the rtc-pcf85763.c are basically the same as what I am working with in 2.6.20+ From: John Rigby [mailto:[EMAIL PROTECTED] Sent: 3. júlí 2007 16:31 To: Kári Davíðsson Cc: linuxppc-embedded@ozlabs.org Subject: Re: OF devices and non

Re: OF devices and non OF devices

2007-07-05 Thread John Rigby
.1 to Driver fsl-i2c John On 7/5/07, John Rigby [EMAIL PROTECTED] wrote: kd, Ok, obviously It doesn't work the way I thought. Hopefully someone who does understand this will comment. John On 7/4/07, Kári Davíðsson [EMAIL PROTECTED] wrote: John, thank you for your answare. Enabling

Re: [PATCH] Add USB support to mpc8349-mitx board port

2007-07-08 Thread John Rigby
I see your point, I agree the two layers of glue is bad. But this means the double code is spread across many drivers instead of being in one place (fsl_soc.c). On 7/7/07, Grant Likely [EMAIL PROTECTED] wrote: On 7/7/07, John Rigby [EMAIL PROTECTED] wrote: This same comment probably goes

Re: [PATCH] Add USB support to mpc8349-mitx board port

2007-07-09 Thread John Rigby
is the number of drivers. John On 7/9/07, Grant Likely [EMAIL PROTECTED] wrote: On 7/8/07, John Rigby [EMAIL PROTECTED] wrote: I see your point, I agree the two layers of glue is bad. But this means the double code is spread across many drivers instead of being in one place (fsl_soc.c). ??? I

Re: [PATCH 2/2] Re-added support for FEC on MPC5121 from Freescale LTIB

2008-06-17 Thread John Rigby
new file mode 100644 index 000..b8a69d4 --- /dev/null +++ b/drivers/net/fs_enet/fec_mpc5121.h @@ -0,0 +1,120 @@ +/* + * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved. + * + * Author: John Rigby, [EMAIL PROTECTED] + * + * Modified version of drivers/net

Re: [PATCH] Added support for PRTLVT based boards (MPC5121)

2008-06-18 Thread John Rigby
to arch/powerpc/platforms/512x/mpc5121_generic.c index 50bd3a3..824ddbb 100644 --- a/arch/powerpc/platforms/512x/mpc5121_ads.c +++ b/arch/powerpc/platforms/512x/mpc5121_generic.c @@ -4,7 +4,7 @@ * Author: John Rigby, [EMAIL PROTECTED], Thur Mar 29 2007 * * Description: - * MPC5121 ADS

Re: [U-Boot-Users] mpc5121 cache coherency

2008-06-18 Thread John Rigby
Unlike other SOCs with e300 cores the 5121 is not cache coherent. The problem is an internal bridge that the processor can not snoop across. On Wed, Jun 18, 2008 at 1:29 PM, Kenneth Johansson [EMAIL PROTECTED] wrote: I have tried to speed up u-boot by turning on I/D cache during boot. It

Re: [PATCH] Added support for PRTLVT based boards (MPC5121)

2008-06-20 Thread John Rigby
June 2008 17:33:48 John Rigby wrote: Hi David, Looks like your device tree is based on the beta ltib bsp. There were some changes in release 1 that you may want to incorporate: First as a convention I changed all the interrupt numbers in the tuples to be decimal. I like this better because