[PATCH] CPM2 cleanups

2005-03-22 Thread Kumar Gala
Some additional comments: * Did you actually try setting CPM_IRQ_OFFSET to a non-zero value? I'm guessing this doesnt work since you are not offset the irq passed into the other functions. For example, if CPM_IRQ_OFFSET is 64, will cpm2_mask_irq() work? * what is SA_NOTHREAD all about? - ku

[PATCH] CPM2 cleanups

2005-03-22 Thread Kumar Gala
Jason, why did you bother to implement these functions, they dont provide any value for us? It looks like startup() & shutdown() are only used in IRQ probing code or code in which enable/disable will be used instead. - kumar On Mar 22, 2005, at 3:18 PM, Wolfgang Denk wrote: > In message <

[PATCH] CPM2 cleanups

2005-03-22 Thread Wolfgang Denk
In message <523269.2987.58.camel at ad.doubleclick.net> you wrote: > ... > +static unsigned int cpm2_startup_irq(unsigned int irq) > +{ > + cpm2_unmask_irq(irq); > + return 0; > +} > + > +static void cpm2_shutdown_irq(unsigned int irq) > +{ > + cpm2_mask_irq(irq); > +} Why

Linux 2.6.x on 8xx status

2005-03-22 Thread Dan Malek
On Mar 22, 2005, at 12:58 PM, Marcelo Tosatti wrote: > Newbie question: What prevents the initial kernel map (tuple of 8Mbyte > I/D-TLB entries) > and the IMMR 8Mbyte D-TLB entry from getting unmapped by translation > pressure, > in case CONFIG_PIN_TLB is disabled ? Nothing. In fact, they are

[PATCH] MPC85xx CDS - Time Of Day, Cache settings, CPM IRQs

2005-03-22 Thread Kumar Gala
Some feedback on the patches: * I'm not going to accept the printing of caches enabled, etc. If you want to do this add sysfs attributes to the CPU. That is more useful going forward and we dont have to do it for every board then. (Plus we can add other attributes) * TODC should already exi

[PATCH] Updated: CPM2 I2C (SDMA and BitBang)

2005-03-22 Thread Jason McMullan
was scrubbed... Name: driver-i2c-cpm.patch Type: text/x-patch Size: 24409 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050322/1468ffae/attachment.bin -- next part -- A non-text attachment was scrubbed... Name: not available

Linux 2.6.x on 8xx status

2005-03-22 Thread Dan Malek
On Mar 22, 2005, at 8:04 AM, Marcelo Tosatti wrote: > I'm quite puzzled. Why v2.6 calls the "tlbie" instruction 100-or-so > less times than v2.4 ? Oh my ... I'm more worried about the high number of TLB misses in 2.6 compared to 2.4. That's really bad. How did you instrument the tlbie measure

[PATCH] MPC85xx CDS - Time Of Day, Cache settings, CPM IRQs

2005-03-22 Thread Jason McMullan
... Name: board-ppc-mpc85xx-cds.patch Type: text/x-patch Size: 7872 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050322/1e7df1f6/attachment.bin -- next part -- A non-text attachment was scrubbed... Name: not available Type

[PATCH] MPC85xx FCC and I2C platform device support

2005-03-22 Thread Jason McMullan
: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050322/603aa5f9/attachment.bin -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http

"Viosoft adds adds Abatron JTAG debug probe, PowerPC to toolsuite"

2005-03-22 Thread Robert P. J. Day
disclaimer: i have no connection with the company above, i just thought some folks might want to know about this. http://linuxdevices.com/news/NS3861500285.html rday

Need help.

2005-03-22 Thread Kumar Gala
While I can specify a place for you to get precompiled binaries for MPC7448, I can suggest grabbing crosstool from: http://www.kegel.com/crosstool/ There is a 7450 config which will work for MPC7448. - kumar On Mar 21, 2005, at 11:15 PM, Naveen Kumar Atmakuri wrote: > Hi everybody, > ? >

[PATCH] CPM2 I2C (SDMA and Bit-Banger)

2005-03-22 Thread Jason McMullan
ext/x-patch Size: 24305 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050322/81f8ec8d/attachment.bin -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc:

[PATCH] CPM2 cleanups

2005-03-22 Thread Jason McMullan
: 11744 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050322/4ec5be50/attachment.bin -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a

Linux 2.6.x on 8xx status

2005-03-22 Thread Marcelo Tosatti
On Tue, Mar 22, 2005 at 03:57:08PM -0500, Dan Malek wrote: > > On Mar 22, 2005, at 8:04 AM, Marcelo Tosatti wrote: > > >I'm quite puzzled. Why v2.6 calls the "tlbie" instruction 100-or-so > >less times than v2.4 ? That was rather a _factor_ of "100-or-so" less. > Oh my ... I'm more worried abo

Help Regarding DEVFS

2005-03-22 Thread Vijesh VH
Hi, I faced a problem when i was doing Netboot on linux 2.4.29 on IBM PowerPC 4xx Processor. I am using filesystem develped for 2.4.18. Can anyone help me to sort out the problem. * IP-Config: Got BOOTP answer from

Need help.

2005-03-22 Thread Naveen Kumar Atmakuri
p; Thanks, A.Naveen Kumar, Design Engineer, Mistral Software Pvt Ltd. -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050322/bbf5f84f/attachment.htm

Linux 2.6.x on 8xx status

2005-03-22 Thread Marcelo Tosatti
On Mon, Mar 21, 2005 at 04:45:21PM -0500, Guillaume Autran wrote: > Hi, > > Was there any progress made about this issue or is it still pending ? That one is still pending. There are other issues in 8xx which are probably related to it, as follows. > I'm running 2.6.11 and still see the probl

[PATCH 0/6] [RFC] Change MPC52xx to platform bus / ppc_sys model

2005-03-22 Thread Sylvain Munaut
Hi Kumar, Kumar Gala wrote: > Took a quick glance at the patches and they look good. Do you have a bk > tree available with all these changes in them? > > I think a might have a few minor comments, but might be easier to see > the bk tree. Sure, bk://tnt.bkbits.net/linux-2.5-mpc52xx-pending

[PATCH 6/6] ppc32: Adds necessary cpu init to use USB on LITE5200 Platform

2005-03-22 Thread Sylvain Munaut
ppc32: Adds necessary cpu init to use USB on LITE5200 Platform To use external peripheral on MPC5200, some clocking registers and port-muxing must be done. Since this is platform specific, it's placed the platform support file. This particular patch is for USB support on the LITE5200. Signed-off

[PATCH 5/6] serial: Update mpc52xx_uart.c to use platform bus

2005-03-22 Thread Sylvain Munaut
serial: Update mpc52xx_uart.c to use platform bus All Freescale MPC52xx related code now use new constants and the platform bus for it's driver. This patch makes this driver make use of that. Signed-off-by: Sylvain Munaut --- diff -Nru a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_ua

[PATCH 4/6] ppc32: Add platform bus / ppc_sys model to Freescale MPC52xx

2005-03-22 Thread Sylvain Munaut
ppc32: Add platform bus / ppc_sys model to Freescale MPC52xx This patch makes all platform based around the Freescale MPC52xx use the platform bus and more precisly the ppc_sys model put in place by Kumar Gala. Signed-off-by: Sylvain Munaut --- diff -Nru a/arch/ppc/platforms/lite5200.c b/arch/p

[PATCH 3/6] ppc32: Change constants style in Freescale MPC52xx related code

2005-03-22 Thread Sylvain Munaut
ppc32: Change constants style in Freescale MPC52xx related code This patch changes the way the constants used for register block address are defined/used. This is a preparation for the use of the platform bus / ppc_sys model. Signed-off-by: Sylvain Munaut --- diff -Nru a/arch/ppc/boot/simple/m

[PATCH 2/6] ppc32: Remove the OCP system from the Freescale MPC52xx support

2005-03-22 Thread Sylvain Munaut
ppc32: Remove the OCP system from the Freescale MPC52xx support We remove all usage of the OCP system as preparation to switch to the platform bus model / ppc_sys model. This is only for 'generic' support, drivers are adapted separatly, afterwards. Signed-off-by: Sylvain Munaut --- diff -Nru a/

[PATCH 1/6] ppc32: Remove unnecessary test in MPC52xx reset code

2005-03-22 Thread Sylvain Munaut
ppc32: Remove unnecessary test in MPC52xx reset code That test is part of an old version of the code and erroneously made it to mainstream. Signed-off-by: Sylvain Munaut --- diff -Nru a/arch/ppc/syslib/mpc52xx_setup.c b/arch/ppc/syslib/mpc52xx_setup.c --- a/arch/ppc/syslib/mpc52xx_setup.c 200

[PATCH 0/6] [RFC] Change MPC52xx to platform bus / ppc_sys model

2005-03-22 Thread Sylvain Munaut
Hi all, This series of patch changes all the MPC52xx related code to use platform bus and ppc_sys instead of OCP. It's divided in several patches that represents "steps" in the conversion. However the intermediate states might not be functionnal. This is the first try, comments and suggestions ar