[PATCH][2/3] RapidIO support: ppc32

2005-06-01 Thread Matt Porter
Adds PPC32 RIO support. Init code for the MPC85xx RIO ports and glue for the STx GP3 board to use it. Signed-off-by: Matt Porter mporter at kernel.crashing.org Index: arch/ppc/Kconfig

[PATCH][3/3] RapidIO support: net driver over messaging

2005-06-01 Thread Matt Porter
Adds an Ethernet driver which sends Ethernet packets over the standard RapidIO messaging. This depends on the core RIO patch for mailbox/doorbell access. Signed-off-by: Matt Porter mporter at kernel.crashing.org Index: drivers/net/Kconfig

[PATCH][1/3] RapidIO support: core

2005-06-01 Thread Matt Porter
On Wed, Jun 01, 2005 at 11:08:36AM -0700, Matt Porter wrote: Adds a RapidIO subsystem to the kernel. RIO is a switched fabric interconnect used in higher-end embedded applications. The curious can look at the specs over at http://www.rapidio.org The core code implements enumeration/discovery

RFC: Deprecating io_block_mapping

2005-05-26 Thread Matt Porter
On Thu, May 26, 2005 at 02:00:11AM -0400, Dan Malek wrote: On May 25, 2005, at 5:44 PM, Benjamin Herrenschmidt wrote: This is a VERY BAD habit. Just set KERNELBASE to 0x8000 if you do that, an use io_block_mapping() dynamically the way I explained to alloc from the top of the

Newbie question about accessing memory in kernel space

2005-05-24 Thread Matt Porter
On Tue, May 24, 2005 at 09:19:28PM +0200, Niklaus Giger wrote: Hi I am working on a custom PPC405 board where I have a 2.6.10 kernel with RTAI patches (fusion) running. I am trying to access some custom CPLD chip hanging at 0x7D00. In my intial board (hcu3_map_io) I added a

MMUCR on ppc440 GP/GX

2005-05-24 Thread Matt Porter
On Tue, May 24, 2005 at 11:36:50AM -0700, ming lei wrote: what's the latest ppc440 linux code that I can take look at? Grab the current kernel.org 2.6 release. I suggest you use dirdiff another recent 2.4 kernel and then analyze the 2.6 stuff as it is different yet. There are countless bug

MMUCR on ppc440 GP/GX

2005-05-23 Thread Matt Porter
On Mon, May 23, 2005 at 01:55:58PM -0700, ming lei wrote: Hi, I have problem on running system with linuxppc 2.4.19(ppc440GP/GX) regarding MMU Control Register(MMUCR). I checked the code in arch/ppc/ there is no code setting or unsetting bit 12(DULXE) or bit 13(IULXE), but somehow these

DMA consistent allocation is limited to 2MB on 2.6.11 for ppc440?

2005-05-20 Thread Matt Porter
On Fri, May 20, 2005 at 11:12:54AM -0700, Shawn Jin wrote: My recommendation - don't do this. Why do you need to allocate this big chunk of consistent memory in the first place? You can do DMA _without_ allocating consistent memory. In fact, this is how virtually all devices work in Linux.

[PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 44x

2005-05-18 Thread Matt Porter
On Wed, May 18, 2005 at 11:19:15AM -0500, Kumar Gala wrote: While we wait on this I think getting Eugene's patch is worth while. It's been on my long todo list for awhile anyway. Since I added the advanced option stuff I've been aware of task size issue on 4xx. It's already been sent upstream.

problems with ppc405 on 2.6.11.8.

2005-05-13 Thread Matt Porter
On Fri, May 13, 2005 at 07:37:02PM -0400, Michael Richardson wrote: A customer of mine has a PPC405 system, which was based upon the Embedded Planet design. It runs U-boot 0.4.0, and the system currently ships with a kernel based upon Timesys 2.4.18. We are in the process of upgrading to

[PATCH 03/04] Freescale Ethernet combined driver

2005-05-10 Thread Matt Porter
On Tue, May 10, 2005 at 08:13:48AM -0400, Dan Malek wrote: On May 10, 2005, at 7:17 AM, Pantelis Antoniou wrote: This patch replace iopa use with virt_to_phys. Not gonna work . When you map uncached on 8xx you get a new vmalloc() space. The virt_to_xxx macros don't work on those

[PATCH 03/04] Freescale Ethernet combined driver

2005-05-10 Thread Matt Porter
On Tue, May 10, 2005 at 04:14:51PM +0300, Pantelis Antoniou wrote: Matt Porter wrote: On Tue, May 10, 2005 at 08:13:48AM -0400, Dan Malek wrote: On May 10, 2005, at 7:17 AM, Pantelis Antoniou wrote: This patch replace iopa use with virt_to_phys. Not gonna work . When you map

[PATCH 03/04] Freescale Ethernet combined driver

2005-05-09 Thread Matt Porter
On Mon, May 09, 2005 at 02:45:03PM +0300, Pantelis Antoniou wrote: Hi The following patch is a combined FCC/FEC ethernet driver for the Freescale line of PowerQUICCs. FECs on 8xx and FCCs on 82xx are supported. This part of the patch contains the mac drivers for FEC FCC. As mentioned

OLS 2005

2005-04-27 Thread Matt Porter
On Wed, Apr 27, 2005 at 10:23:20AM -0700, Eugene Surovegin wrote: On Wed, Apr 27, 2005 at 12:42:26PM -0400, David Ho wrote: Is anyone interested in going to the OLS this year? I've been working in Ottawa for 4 years so if you are interested I can give anyone more information about things

OLS 2005

2005-04-27 Thread Matt Porter
On Wed, Apr 27, 2005 at 01:35:32PM -0500, Kumar Gala wrote: I'm only worried about the weather. I was told it's pretty hot there in July :). Haha...come visit us in Phoenix.? Weather is definitely near perfect in Ottawa, IMHO. Agreed, I'd rather be in Ottawa in July. Which was

kernel BUG at page_alloc.c:225 on PPC440GP

2005-04-26 Thread Matt Porter
On Tue, Apr 26, 2005 at 08:28:03AM -0400, Glenn Burkhardt wrote: I know it's been a year and a half since you submitted this report to the mailing list, but was this problem ever resolved? I think I'm seeing something similar in the 2.4.23 kernel. Hi Glenn, If you are seeing an oops with

PCI Arbiter on PPC440GX?

2005-04-05 Thread Matt Porter
[This is clearly embedded stuff, redirecting to the embedded list] On Tue, Apr 05, 2005 at 05:21:22PM -0400, Sanjay Bajaj wrote: How do I enable/disable PCI Arbiter on PPC440GX? You must RTFM the PPC440GX UM in PLB-PCIX Bridge Controller chapter. In the PCI Arbiter section, it tells you how to

PCI Arbiter on PPC440GX?

2005-04-05 Thread Matt Porter
On Tue, Apr 05, 2005 at 05:20:22PM -0400, Sanjay Bajaj wrote: snip Please don't post the same message to linuxppc-dev and linuxppc-embedded. Pick one or the other based on the list description. -Matt

ASM formatting rules?

2005-03-28 Thread Matt Porter
On Mon, Mar 28, 2005 at 09:56:11AM -0700, Tom Rini wrote: On Mon, Mar 28, 2005 at 10:44:17AM -0600, Kumar Gala wrote: Guys, While this is not overly important to me, I was wondering if we had any rules related to formatting of assembly files. We seem to have code formatted with and

mtd maps

2005-03-15 Thread Matt Porter
On Tue, Mar 15, 2005 at 11:44:00AM -0700, Mark A. Greer wrote: Greg Weeks wrote: Are mtd maps still in drivers/mtd/maps or has that all moved to the platform code? I have an mtd map for the mpc8560ads but it's in mtd/maps. The mtd code has changed so that platform code can get at the

[PATCH 3/3] PPC440EP IBM EMAC support

2005-03-15 Thread Matt Porter
On Tue, Mar 15, 2005 at 11:22:16AM -0800, Eugene Surovegin wrote: On Tue, Mar 15, 2005 at 11:58:54AM -0700, Wade Farnsworth wrote: This patch adds support to the IBM EMAC ethernet driver for the 440EP. Regards, Wade Farnsworth Signed-off-by: Wade Farnsworth wfarnsworth at mvista.com

[PATCH 3/3] PPC440EP IBM EMAC support

2005-03-15 Thread Matt Porter
On Tue, Mar 15, 2005 at 11:24:24AM -0800, Eugene Surovegin wrote: On Tue, Mar 15, 2005 at 11:22:16AM -0800, Eugene Surovegin wrote: On Tue, Mar 15, 2005 at 11:58:54AM -0700, Wade Farnsworth wrote: This patch adds support to the IBM EMAC ethernet driver for the 440EP. Regards, Wade

440EP FPU patch

2005-03-15 Thread Matt Porter
On Tue, Mar 15, 2005 at 02:27:57PM -0500, McMullan, Jason wrote: This patch (against vanilla 2.4.11.3) breaks out the FPU code for PowerPC into a common .S code for all the head*.S files. Less cargo-culted code. Wade, you may want to integrate this into your 440EP patch. Hi Jason, Can

PPC 440GX with NS DP83865 phy

2005-03-10 Thread Matt Porter
On Thu, Mar 10, 2005 at 08:37:08AM +0100, Gerhard Jaeger wrote: On Wednesday 09 March 2005 18:11, Sanjay Bajaj wrote: Has anybody used PPC 440GX with NS DP83865 phy? If you have or have any information to set it up, please share. We're using this PHY on a custom 440GX board. Connected

PPC 440GX with NS DP83865 phy

2005-03-10 Thread Matt Porter
On Thu, Mar 10, 2005 at 08:03:56AM -0800, Eugene Surovegin wrote: On Thu, Mar 10, 2005 at 11:06:53AM +0100, Gerhard Jaeger wrote: the patch has been posted in October last year (wow, thought it was in december or so): http://ozlabs.org/pipermail/linuxppc-embedded/2004-October/015811.html

Lots of memory on 826x

2005-03-08 Thread Matt Porter
On Tue, Mar 08, 2005 at 12:37:33PM -0600, Rune Torgersen wrote: Ok... Got a little closer I have PCI (outbound) mapped in the area 0x8000-0x8fff (prefetch/non-prefetch and IO) IMMR of cource is at 0xf000 So I map the IO as following: /* Map IMMR region to a 256MB

Lots of memory on 826x

2005-03-08 Thread Matt Porter
On Tue, Mar 08, 2005 at 05:20:38PM -0600, Rune Torgersen wrote: -Original Message- From: Kumar Gala [mailto:kumar.gala at freescale.com] Sent: Tuesday, March 08, 2005 17:14 To: Rune Torgersen Cc: linuxppc-embedded at ozlabs.org; Matt Porter Subject: Re: Lots of memory on 826x

Lots of memory on 826x

2005-03-08 Thread Matt Porter
On Tue, Mar 08, 2005 at 05:35:19PM -0600, Rune Torgersen wrote: I can use 1GB of RAM now, if I move kernel base to 0xA000 and set lowmem size to 1GB. (No Highmem at all) Yup, that's one of many many options. Since TASK_SIZE is only 0x8000 by default on ppc32, there's no loss anyway.

Adding machine types to the kernel tree...

2005-03-07 Thread Matt Porter
the kernel with a OCP list of the devices used, but I'm unsure about the current status of OCP. Is this The Right Way to do it, or are OCP likely to be abandoned further along the 2.6 road? Matt (Porter), I've seen that you've ported this to the 2.6 kernel, what do you say? Don't tie

Building a Kernel for the AMCC PPC440EP Bamboo Board

2005-03-04 Thread Matt Porter
On Fri, Mar 04, 2005 at 12:05:41AM +0100, J?rn Engel wrote: On Thu, 3 March 2005 09:23:22 +0100, Gerhard Jaeger wrote: Could not confirm that so far! Ebony and Ocotea are working out of the box, using these defconfig files! (pristine kernel 2.6.11) With PIBS and on a bamboo? If I was

Ethernet PCI Driver

2005-03-04 Thread Matt Porter
On Fri, Mar 04, 2005 at 08:33:06AM +0100, Matthias Babylon wrote: Hi, we decided to port a 2.6.Kernel from scratch to PPC440GX based board. now i'm on search for an ethernet pci driver for the 440GX. some time ago i've found some drivers, but i forgot the linkscan somebody help me??

[PATCH] WDT Driver for Book-E [2/2] Device driver part.

2005-03-04 Thread Matt Porter
On Fri, Mar 04, 2005 at 10:02:40AM -0600, Kumar Gala wrote: Matt, Do you think this really needs a config option? Should it not be sufficient that if you enable watchdog you get this functionality on 4xx/e500? I see the 8xx example, however, there may be a case where somebody wants to

PowerPC4xx Watchdog

2005-03-03 Thread Matt Porter
On Thu, Mar 03, 2005 at 08:53:15AM -0600, Kumar Gala wrote: One thing the code needs is a general name cleanup. Its just confusing to me for e500 to have 4xx references. I suggest booke_wdt* since the Book E spec is where this feature came from. Since you already picked up the bug-fix patch,

PowerPC4xx Watchdog

2005-03-03 Thread Matt Porter
On Fri, Mar 04, 2005 at 12:21:13AM +0900, Takeharu KATO wrote: Hi Kumar, Thank you for your suggestion. Kumar Gala wrote: One thing the code needs is a general name cleanup. Its just confusing to me for e500 to have 4xx references. How about the use of booke instead of 4xx? Yes,

[PATCH] emac: filter illegal frame sizes

2005-03-02 Thread Matt Porter
On Sat, Feb 19, 2005 at 03:48:36AM -0500, Jeff Garzik wrote: Matt Porter wrote: Fix to drop frames that are too large for the current MTU. What is this fixing? You should be passing all frames up to the software stack. I was originally fixing the issue where the driver was only

[PATCH] emac: fix skb allocation for full-size jumbo frames

2005-03-02 Thread Matt Porter
Sets jumbo frame handling based on MTU and allocates rx buffers large to handle full-size jumbo frames. Signed-off-by: Matt Porter mporter at kernel.crashing.org = drivers/net/ibm_emac/ibm_emac_core.c 1.9 vs edited = --- 1.9/drivers/net/ibm_emac/ibm_emac_core.c2005-01-20 13:25:10 -07

[PATCH] ppc4xx_sgdma.c

2005-03-02 Thread Matt Porter
On Mon, Feb 28, 2005 at 02:22:46AM +0100, Roger Larsson wrote: * Dynamic list length 1. short lists will not waste a whole page 2. no limit in list length * End of Transfer termination * Residue corrected Working with hardware (some tests remaining) You might want to copy/forward to

PowerPC4xx Watchdog

2005-03-02 Thread Matt Porter
On Thu, Feb 24, 2005 at 08:36:21AM +0900, Takeharu KATO wrote: Hi Are you looking for the old ppc405 watchdog driver that simply hooked into the generic PPC heartbeat facility? Or are you looking for a driver that utilizes the 4xx/booke hardware watchdog facility? I am looking for a

[PATCH] Ebony's UBoot awareness

2005-03-01 Thread Matt Porter
On Thu, Feb 24, 2005 at 01:43:57PM -0800, Shawn Jin wrote: Hi Matt, Can you use the ocotea/luan approach and create an openbios stub in arch/ppc/boot to create the bi_enetaddr infos? The PIBS stub in arch/ppc/boot does this so we can have one path in the platform file that parses the

Problems porting to a custom PPC405GPr board using a vanilla 2.6.10 kernel

2005-02-27 Thread Matt Porter
On Sun, Feb 27, 2005 at 04:10:30PM +0100, Niklaus Giger wrote: Am Samstag, 26. Februar 2005 23.28 schrieb Niklaus Giger: Hi I would like to port Linux to a custom PPC405GPr board. Its hardware runs vxWorks fine for more than a year. I made some more progress. After adding 3 lines for

2.6 4xx GPIO OCP driver?

2005-02-25 Thread Matt Porter
On Fri, Feb 25, 2005 at 03:25:04PM -0500, Travis B. Sawyer wrote: Steven Blakeslee wrote: In 2.4 we used the drivers/char/ibm_ocp_gpio.c module. I see no such support in 2.6.10. I perused the archives, found nothing (OBTW: can someone point me to the search engine for the list?)

2.6 4xx GPIO OCP driver?

2005-02-25 Thread Matt Porter
On Fri, Feb 25, 2005 at 04:19:41PM -0500, Ralph Siemsen wrote: Matt Porter wrote: I didn't bother merging it upstream at one time. It wasn't clear if the driver had any value over just mmaping /dev/mem to bang on the couple gpio registers directly. [...] Will that work on the 440 where

[PATCH] Ebony's UBoot awareness

2005-02-24 Thread Matt Porter
On Thu, Feb 24, 2005 at 01:43:57PM -0800, Shawn Jin wrote: Hi Matt, Can you use the ocotea/luan approach and create an openbios stub in arch/ppc/boot to create the bi_enetaddr infos? The PIBS stub in arch/ppc/boot does this so we can have one path in the platform file that parses the

[PATCH] Ebony's UBoot awareness

2005-02-23 Thread Matt Porter
On Wed, Feb 23, 2005 at 10:39:34AM -0800, Shawn Jin wrote: Hi, This adds UBoot support on Ebony board and also sets emac's PHY mode explicitly during initialization as Eugene Surovegin provided. snip + if (!strncmp(__res.bi_enetaddr, \0xFF\0xFF\0xFF\0xFF\0xFF\0xFF, 6)) +

PowerPC4xx Watchdog

2005-02-23 Thread Matt Porter
On Thu, Feb 24, 2005 at 04:15:53AM +0900, Takeharu KATO wrote: Hi Sorry, I sent the mail before checking it by mistake. I meant to say as follows: I am working on developing WatchDog Driver for PowerPC4xx on Linux-2.6. Does anyone have a plan or a patch to make WatchDog Driver on

440GX interrupt

2005-02-18 Thread Matt Porter
On Thu, Feb 17, 2005 at 03:36:05PM -0800, Eugene Surovegin wrote: On Thu, Feb 17, 2005 at 02:54:14PM -0800, Eugene Surovegin wrote: Probably it's a race which cannot be avoided anyway because external IRQs are completely async, and your version of ppc4xx_pic.c just has a bug. I'll think

[PATCH][PPC32] PPC4xx ocp ide rewrite/cleanup

2005-02-17 Thread Matt Porter
On Thu, Feb 17, 2005 at 02:19:14AM +0100, Andre' Draszik wrote: Hi, Matt Porter wrote: On Mon, Feb 07, 2005 at 05:24:55AM +0100, Andre' Draszik wrote: Hi, this is a rewrite of the ibm4xx ocp ide driver. In its current state it [...] I tried applying this to current linuxppc-2.5

[PATCH][PPC32] PPC4xx ocp ide rewrite/cleanup

2005-02-16 Thread Matt Porter
On Mon, Feb 07, 2005 at 05:24:55AM +0100, Andre' Draszik wrote: Hi, this is a rewrite of the ibm4xx ocp ide driver. In its current state it doesn't compile with current 2.6 and is completely broken in many other aspects anyway. Please consider applying (or tell me how the patch should be

1000MB (GMII) ports on IBM 440GX (ocotea)

2005-02-11 Thread Matt Porter
On Fri, Feb 11, 2005 at 01:55:01PM +, emre kara wrote: Dear All; I have problems on ppc440gx ( IBM 440gx evaluatation board) gigabit ethernet ports. I have configurated and compiled linux kernel version 2.4.29 (latest) for ocotea board and it worked fine with two MII /Fast Ethernet

[PATCH] emac: fix mdio delay

2005-02-08 Thread Matt Porter
Fixes MDIO delay. Please apply. Signed-off-by: Ralph Siemsen ralphs at netwinder.org Signed-off-by: Matt Porter mporter at kernel.crashing.org --- linux-2.6.10-orig/drivers/net/ibm_emac/ibm_emac_core.c 2005-01-20 15:45:28.576226303 -0500 +++ linux-2.6.10/drivers/net/ibm_emac

U-Boot support for MPC8270

2005-02-03 Thread Matt Porter
On Thu, Feb 03, 2005 at 04:46:09PM +1100, Dmytro Bablinyuk wrote: At what stage right now support for MPC8270 in U-Boot. Based on this we are thinking whether buy or not eval board, or try to get system running already on a target. Can anybody suggest. You are confusing this list with U-Boot

[linux-cirrus] Re: Cirrus Logic MaverickCrunch support

2005-02-01 Thread Matt Porter
On Tue, Feb 01, 2005 at 04:09:57PM +0200, Bora ?ahin wrote: Hi, Torben I'm fairly sure that decoding of Torben mpeg2 video in most cases would be too slow to consider without the help Torben of some kind of graphical decoder chip. Unless you use some powered CPU. As it would require

[PATCH][PPC32] Add PPC440SP and Luan ref board support

2005-01-31 Thread Matt Porter
Adds support for the IBM/AMCC PPC440SP SoC. Also adds support for the Luan reference board that has a 440SP on it. Signed-off-by: Matt Porter mporter at kernel.crashing.org diff -Nru a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile --- a/arch/ppc/boot/simple/Makefile 2005-01

[PATCH][NET] Add PPC440SP support to IBM EMAC driver

2005-01-31 Thread Matt Porter
Configures EMAC thresholds appropriately for the EMAC on the PPC440SP. Signed-off-by: Matt Porter mporter at kernel.crashing.org = drivers/net/ibm_emac/ibm_emac.h 1.3 vs edited = --- 1.3/drivers/net/ibm_emac/ibm_emac.h 2004-08-24 12:19:41 -07:00 +++ edited/drivers/net/ibm_emac/ibm_emac.h

[PATCH][PPC32] PPC4xx DMA fixes, burst, and sg improvements

2005-01-31 Thread Matt Porter
This fixes several issues with the PPC4xx DMA library as well as adding support for bursting and some improvements to SG handling. Signed-off-by: Colin Wernham cwernham at airspan.com Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/syslib/ppc4xx_dma.c 1.10 vs edited

[PATCH][PPC32] Add platform specific machine check output handlers

2005-01-28 Thread Matt Porter
Patch adds generic way for platform port to extend MachineCheckException print-out and adds 44x bus error registers output. It also removes 40x #ifdefs from show_regs and makes 40x use this new platform extension. Signed-off-by: Eugene Surovegin ebs at ebshome.net Signed-off-by: Matt Porter

[PATCH]PPC4XX Dma fixes, burst and sg improvements

2005-01-28 Thread Matt Porter
On Thu, Jan 20, 2005 at 10:55:47AM +, Colin Wernham wrote: I have DMA fixes and improvements to the following PPC4XX files [2.6.10]: ppc4xx_dma.h ppc4xx_dma.c ppc4xx_sgdma.c The fixes/improvements are: snip Thanks for the changes. Can you resubmit such that your mailer does not

[PATCH][PPC32] STx GP3 port

2005-01-26 Thread Matt Porter
Adds support for the STx GP3 board with an MPC8560. Thanks to Dan Malek for the original 2.4 port. Please apply. Signed-off-by: Matt Porter mporter at kernel.crashing.org diff -Nru a/arch/ppc/configs/stx_gp3_defconfig b/arch/ppc/configs/stx_gp3_defconfig --- /dev/null Wed Dec 31 16:00:00

board with no RTC

2005-01-13 Thread Matt Porter
On Thu, Jan 13, 2005 at 10:14:20AM -0500, Goforth, Edward wrote: Thanks to everyone who responded. Now that a RTC is not a requirement, can anyone offer advice on what I will need to do to get the kernel (2.4.18) to play nice? Are you using the linuxppc-2.4 tree? If you want up to date 2.4

RFC: [PATCH] platform device driver model support

2005-01-12 Thread Matt Porter
On Wed, Jan 12, 2005 at 02:14:49PM -0700, Matt Porter wrote: On Wed, Jan 12, 2005 at 12:36:37AM -0800, Eugene Surovegin wrote: IMHO, ppc_soc_update_paddr - is a very confusing name, in fact, from first read I though it _changes_ paddr to the new value, not _adds_ it :) I think

board with no RTC

2005-01-12 Thread Matt Porter
On Wed, Jan 12, 2005 at 06:25:45PM -0500, Goforth, Edward wrote: We have a 440gx based custom board. I have learned that it does not have a RTC. Has anyone had any success with a board without a RTC, or is it even possible? How much of a problem will this cause? Should we get the board

[PATCH][PPC32] Fix io_remap_page_range for 36-bit phys platforms

2004-12-16 Thread Matt Porter
Fixes io_remap_page_range() to use the 32-bit address translator similar to ioremap(). Someday u64 start/end resources should make this unnecessary. Fixes set_pte() to handle a long long pte_t properly. Signed-off-by: Matt Porter mporter at kernel.crashing.org diff -Nru a/arch/ppc/Kconfig b/arch

[PATCH][PPC32] PPC4XX DMA polarity init fix

2004-12-15 Thread Matt Porter
[Clear bug fix, hopefully it can go in before 2.6.10] This patch applies to the kernel 2.6.9 and fixes the initialisation of the DMA channel polarity in the function ppc4xx_init_dma_channel() for the PPC 4XX processor. Signed-off-by: Colin P Wernham cwernham at airspan.com Signed-off-by: Matt

[PATCH][EMAC] fix ibm_emac autonegotiation result parsing

2004-12-10 Thread Matt Porter
Fix aneg result parsing in ibm_emac driver. Signed-off-by: Eugene Surovegin ebs at ebshome.net Signed-off-by: Matt Porter mporter at kernel.crashing.org = drivers/net/ibm_emac/ibm_emac_phy.c 1.1 vs edited = --- 1.1/drivers/net/ibm_emac/ibm_emac_phy.c 2004-05-22 10:13:08 -07:00

PPC4XX DMA polarity bug in linuxppc-2.6.9

2004-12-10 Thread Matt Porter
On Fri, Dec 10, 2004 at 09:09:39AM -, Colin Wernham wrote: I believe that there is a PPC4xx DMA driver bug in the following kernel, snip Cause is (I believe): /arch/ppc/syslib/ppc4xx_dma.c: On line 469 the old polarity bits in p_dma_ch are ORed in when it should be ORing in the new

Linux PCI support on Ocotea

2004-12-08 Thread Matt Porter
On Wed, Dec 08, 2004 at 05:10:54PM -0800, Chris Love wrote: Hi folks, We have an Ocotea reference board (PPC 440GX) w/256M and have tried running both stable 2.4.26 and 2.6.10-rc3 kernels from penguinppc.org. For now the bootloader is still PIBS, though we'll get U-Boot installed shortly.

[PATCH][EMAC] allow rx of the maximum sized VLAN tagged packets

2004-12-07 Thread Matt Porter
Patch enables EMAC to receive maximum sized VLAN tagged packets. Signed-off-by: Eugene Surovegin ebs at ebshome.net Signed-off-by: Matt Porter mporter at kernel.crashing.org = drivers/net/ibm_emac/ibm_emac.h 1.1 vs edited = --- 1.1/drivers/net/ibm_emac/ibm_emac.h 2004-05-22 10:13:08 -07

[PATCH][EMAC] Add netpoll support

2004-12-07 Thread Matt Porter
Add netpoll support to the EMAC driver. Signed-off-by: Matt Porter mporter at kernel.crashing.org = drivers/net/ibm_emac/ibm_emac_core.c 1.5 vs edited = --- 1.5/drivers/net/ibm_emac/ibm_emac_core.c2004-12-03 00:25:48 -07:00 +++ edited/drivers/net/ibm_emac/ibm_emac_core.c 2004-12-07

440GX MMU

2004-12-06 Thread Matt Porter
On Mon, Dec 06, 2004 at 12:39:49PM -0600, Kumar Gala wrote: The TS provides an additional bit of address space on Book-E processors (440, e500, etc). An exception automatically clears the MSR[IS, DS] fields which are used to compare against the TLB's TS field. It was the case at one point

440GX MMU problem

2004-12-03 Thread Matt Porter
On Fri, Dec 03, 2004 at 06:12:31AM -0600, Barbier, Renaud (GE Infrastructure) wrote: I am using linux 2.4.26 on a 440GX with 512MB of SDRAM. From U-boot I can see the whole memory. If I boot Linux, unless I set the boot parameter mem=256M (or less). it will not boot. Linux does not seem to

440GX MMU problem

2004-12-03 Thread Matt Porter
On Fri, Dec 03, 2004 at 11:45:25AM -0600, Barbier, Renaud (GE Infrastructure) wrote: the memory test from U-boot does not complain as well as vxWorks. I will do my own test anyway. From experience, these simple memory tests are often not sufficient...i.e. they can pass even with incorrect

[PATCH][PPC32] PPC4xx PIC rewrite/cleanup

2004-11-23 Thread Matt Porter
-off-by: Matt Porter mporter at kernel.crashing.org diff -Nru a/arch/ppc/platforms/4xx/ebony.c b/arch/ppc/platforms/4xx/ebony.c --- a/arch/ppc/platforms/4xx/ebony.c2004-11-10 23:39:19 -08:00 +++ b/arch/ppc/platforms/4xx/ebony.c2004-11-10 23:39:19 -08:00 @@ -55,73 +55,22 @@ static struct

Trouble booting uboot on 440GX (ocotea) eval board after initial power-up boot

2004-11-11 Thread Matt Porter
On Thu, Nov 11, 2004 at 06:19:02PM -0800, Howard, Marc wrote: Hi, I've built and installed U-Boot 1.1.2 on an IBM 440GX eval board (ocotea). After powering the board I can get the uboot interactive prompt. If I type 'reset' or hit the reset button it hangs. I get the same results whether

Linux port for the 440EP processor

2004-11-10 Thread Matt Porter
On Wed, Nov 10, 2004 at 11:36:44AM +0530, Mukund JB. wrote: Hi Eugene, I am need of 440EP Processor based Linux port. I have some questions for what I am not sure of the answers I have. Trying mailing support at amcc.com. Their engineers did the 440EP Linux port. They should be able to

Linux port for the 440EP processor

2004-11-10 Thread Matt Porter
On Wed, Nov 10, 2004 at 09:00:40AM -0800, Rick McBain wrote: Been there, done that. The only code they will hand out is the custom IBM OS stuff they have. I have talked to the VP of the embedded processor division, all the way on down. Bummer. But I would be happy if somebody would prove

Problems with MII mode operation on 440GP ethernet

2004-11-10 Thread Matt Porter
[Replies set to linuxppc-embedded] On Wed, Nov 10, 2004 at 11:48:31AM -0800, David Adair wrote: Turns out that the problem is that MII mode is getting enabled in the ZMII FER register for both EMAC0 and EMAC1 as a result of the PHY probe operation on EMAC1. The older versions do the PHY

mmap64/open64/pread etc on 440GX

2004-11-10 Thread Matt Porter
On Wed, Nov 10, 2004 at 01:58:29PM -, Neil Wilson wrote: Hi, I am trying to write a command line utility for our dev board (440GX,2.6.9 kernel) in order to provide support for our hardware engineers. As a test I am trying to dump the first few bytes of the U-boot header. I though

405GPr ioremap problem

2004-11-09 Thread Matt Porter
On Tue, Nov 09, 2004 at 07:27:09PM +0200, Felix Radensky wrote: Hi, folks I have a 405GPr based board with 512M of RAM. My kernel is 2.4.17 from Monta Vista Linux 2.1. I'm trying to reserve 64M on boot using mem=448M and map it later by ioremap(__pa(high_memory), 64*(120)); This

[PATCH][PPC32] Add PPC440GX L2C error handler

2004-11-05 Thread Matt Porter
at ebshome.net Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/syslib/ibm440gx_common.c 1.2 vs edited = --- 1.2/arch/ppc/syslib/ibm440gx_common.c 2004-10-18 22:26:41 -07:00 +++ edited/arch/ppc/syslib/ibm440gx_common.c2004-11-05 16:28:07 -07:00 @@ -4,7 +4,7

Linux port for the AMCC (was IBM) 440EP

2004-11-04 Thread Matt Porter
On Wed, Nov 03, 2004 at 03:17:27PM -0800, Rick McBain wrote: Does anybody have a working distribution for the 440EP? We were planning to use a Timesys port, but we've now been told it doesn't exist (after months of promises it did.). Our other option is to pay US$25K to MontaVista, but that

kgdb on 405GP walnut-like board.

2004-11-03 Thread Matt Porter
On Wed, Nov 03, 2004 at 12:41:40PM +0300, Vladimir wrote: Hello All ! When I'm trying to compile linux-2.6.8.1 kernel on ppc with kgdb support it fails with the following error: arch/ppc/kernel/ppc-stub.c:796: structure has no member named `dbcr0' Can I just replace regs-dbcr0 with

kgdb on 405GP walnut-like board.

2004-11-03 Thread Matt Porter
On Wed, Nov 03, 2004 at 05:17:55PM +0300, Vladimir wrote: On Wednesday 03 November 2004 16:56, Matt Porter wrote: No, it's not sufficient. It helps to check the archives first. http://ozlabs.org/pipermail/linuxppc-embedded/2004-October/000417.html http://ozlabs.org/pipermail/linuxppc

MVME6100 LSP?

2004-11-03 Thread Matt Porter
On Wed, Nov 03, 2004 at 07:11:24PM +0100, Jean-Christophe Dubois wrote: Is there somewhere a free MVME6100 LSP/BSP for Linux 2.6? If this is not the right place to ask sorry for the noise. Did you ask MCG? They have had a team of engineers doing Linux kernel support for some time now. -Matt

[PATCH][PPC32][2/2] 40x and Book E debug: 4xx platform support

2004-10-29 Thread Matt Porter
This patch adds support to the 40x and 44x platform code for initializing debug events and using the in-kernel kgdb stub. Signed-off-by: Matt Porter mporter at kernel.crashing.org diff -Nru a/arch/ppc/platforms/4xx/Kconfig b/arch/ppc/platforms/4xx/Kconfig --- a/arch/ppc/platforms/4xx/Kconfig

ioremap questions

2004-10-28 Thread Matt Porter
[Please fix your mailer, line length is way too big] On Thu, Oct 28, 2004 at 10:53:38PM +0200, Yoav Steinberg wrote: Hello, i'm trying to map a physical address on the 440GP's external bus to a virtual address so I can access it from kernel space. While looking at the ebony.c file under the

[PATCH][PPC32] Fix ppc4xx_progress warnings

2004-10-28 Thread Matt Porter
The patch fixes these warnings by doing two things: 1) Add the argument to the printk. 2) Rearrange the ifdef to eliminate the unused variable and function warnings. Signed-off-by: Scott Anderson sanders at mvista.com Signed-off-by: Matt Porter mporter at kernel.crashing.org --- arch

[PATCH][PPC32] Disable broken L2 cache on all 440GX revs

2004-10-26 Thread Matt Porter
Always disable L2 cache on PPC440GX. All revs/speeds of silicon have parity error problems despite errata claims to the contrary. Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/platforms

gdb on a 440GP ELDK

2004-10-22 Thread Matt Porter
On Fri, Oct 22, 2004 at 10:40:33AM +0100, Mark Powell wrote: Mark Powell wrote: Jon Masters wrote: On Thu, 21 Oct 2004 10:10:44 +0100, Mark Powell medp at primagraphics.com wrote: The system seems to basically run fine apart from the fact that gdb doesn't stop at any

gdb on a 440GP ELDK

2004-10-21 Thread Matt Porter
On Thu, Oct 21, 2004 at 10:52:08AM -0700, Eugene Surovegin wrote: On Thu, Oct 21, 2004 at 10:10:44AM +0100, Mark Powell wrote: I hope this is not a dumb question. I can't seem to use breakpoints in gdb (application debugging in userland not kernel debugging). The system is a custom 440GP

Is linux-2.5-ocp the current 2.6 4xx code base

2004-10-20 Thread Matt Porter
On Wed, Oct 20, 2004 at 09:11:48AM -0700, Eugene Surovegin wrote: On Wed, Oct 20, 2004 at 01:02:21AM -0700, Lawrence E. Bakst wrote: At 4:23 PM -0700 5/14/04, Matt Porter wrote: There is a tree, bk://source.mvista.com/linux-2.5-ocp, that has most 4xx boards working, but it's 2.6.5

[PATCH][PPC32] Remove bogus PPC44x prefetch workaround

2004-10-19 Thread Matt Porter
This patch removes the bogus workaround for dcache prefetch beyond the end of the physical memory. Signed-off-by: Eugene Surovegin ebs at ebshome.net Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/mm/44x_mmu.c 1.5 vs edited = --- 1.5/arch/ppc/mm/44x_mmu.c 2004-10

Does kmalloc on MPC82xx work correctly with GFP_DMA?

2004-10-19 Thread Matt Porter
On Mon, Oct 18, 2004 at 10:30:15AM +0100, Conor McLoughlin wrote: I have been looking at the ethernet device driver (fcc_enet) for the mpc82xx platform. This allocates buffer descriptors using kmalloc with the GFP_DMA flag. As far as I can see on my platform, this allocates GFP_DMA has no

Does kmalloc on MPC82xx work correctly with GFP_DMA?

2004-10-19 Thread Matt Porter
On Mon, Oct 18, 2004 at 11:31:12AM -0400, Dan Malek wrote: No, the kmalloc() space is not covered by BATs (but, that isn't relevant for this discussion). Dan, I think you forgot that green book PPCs get kernel lowmem (kmalloc() space) covered by BATs if possible...unless you pass in nobats.

I2C versus IIC

2004-10-13 Thread Matt Porter
On Wed, Oct 13, 2004 at 02:18:03PM -0600, VanBaren, Gerald (AGRE) wrote: Just to mess with your minds... I2C is a trademark of Philips Electronics N.V. so that is probably not the best choice from a legalistic point of view. It's been related to me several times that this is the reason why

I2C versus IIC

2004-10-13 Thread Matt Porter
On Wed, Oct 13, 2004 at 04:48:34PM -0400, Mark Chambers wrote: On Wed, Oct 13, 2004 at 02:18:03PM -0600, VanBaren, Gerald (AGRE) wrote: Just to mess with your minds... I2C is a trademark of Philips Electronics N.V. so that is probably not the best choice from a legalistic point of

I2C versus IIC

2004-10-13 Thread Matt Porter
On Wed, Oct 13, 2004 at 01:54:44PM -0700, Matt Porter wrote: On Wed, Oct 13, 2004 at 04:48:34PM -0400, Mark Chambers wrote: On Wed, Oct 13, 2004 at 02:18:03PM -0600, VanBaren, Gerald (AGRE) wrote: Just to mess with your minds... I2C is a trademark of Philips Electronics N.V. so

[PATCH][PPC32] Configure PPC440GX L2 cache based on CPU rev

2004-10-09 Thread Matt Porter
This patch enables/disables the PPC440GX L2 cache based on errata which prevents reliable operation on certain CPU revisions and speed grades. Signed-off-by: Eugene Surovegin ebs at ebshome.net Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/platforms/4xx/ocotea.c 1.7 vs

[PATCH][PPC32] Use gen550 for PPC44x progress/ppc-stub

2004-10-08 Thread Matt Porter
Use gen550 for early PPC progress messages and for the in-kernel ppc-stub.c on PPC44x. Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/platforms/4xx/Kconfig 1.10 vs edited = --- 1.10/arch/ppc/platforms/4xx/Kconfig 2004-08-07 11:05:39 -07:00 +++ edited/arch/ppc

[PATCH][PPC32] Add gen550.h

2004-10-08 Thread Matt Porter
Add a missing include file for gen550. Signed-off-by: Matt Porter mporter at kernel.crashing.org diff -Nru a/arch/ppc/syslib/gen550.h b/arch/ppc/syslib/gen550.h --- /dev/null Wed Dec 31 16:00:00 196900 +++ b/arch/ppc/syslib/gen550.h 2004-10-08 20:50:13 -07:00 @@ -0,0 +1,16 @@ +/* + * arch/ppc

[PATCH][PPC32] Move some common PPC44x code to ibm44x_common.c

2004-10-06 Thread Matt Porter
This is first part (trivial one) of the ebony.c/ocotea.c cleanup, which moves common stuff to ibm44x_common.c. Signed-off-by: Eugene Surovegin ebs at ebshome.net Signed-off-by: Matt Porter mporter at kernel.crashing.org = arch/ppc/platforms/4xx/ebony.c 1.4 vs edited = --- 1.4/arch/ppc

<    1   2   3   4   5   >