Re: [PATCH] [POWERPC] add target for building .dtb files

2008-02-21 Thread Grant Erickson
On 2/21/08 11:19 AM, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Signed-off-by: Grant Likely <[EMAIL PROTECTED]> > > --- > > Josh, is this what your were looking for? > > Cheers, > g. > --- > > arch/powerpc/Makefile |2 +- > arch/powerpc/boot/Makefile |4

[PATCH] [POWERPC] 40X: Add Default Restart Machdep Method to 40X Platforms

2008-02-22 Thread Grant Erickson
, linked and tested against the AMCC Haleakala board. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- diff -rauN linux-2.6.25-rc2-git1/arch/powerpc/kernel/head_40x.S linux-2.6.25-rc2-git1.N/arch/powerpc/kernel/head_40x.S --- linux-2.6.25-rc2-git1/arch/powerpc/kernel/head_40x.S2008-01-24

[PATCH] Parameterize EMAC Multicast Match Handling

2008-06-24 Thread Grant Erickson
rom both Mac OS X 10.4.11 and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from 'haleakala.local' to those same systems in the '.local' domain via MDNS now work. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/bamboo.d

[PATCH v2] Parameterize EMAC Multicast Match Handling

2008-06-24 Thread Grant Erickson
rom both Mac OS X 10.4.11 and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from 'haleakala.local' to those same systems in the '.local' domain via MDNS now work. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/bamboo.d

Re: [PATCH v2] Parameterize EMAC Multicast Match Handling

2008-06-30 Thread Grant Erickson
On 6/24/08 5:08 PM, Grant Erickson wrote: > Various instances of the EMAC core have varying: 1) number of address > match slots, 2) width of the registers for handling address match slots, > 3) number of registers for handling address match slots and 4) base > offset for those regist

Re: [PATCH v2] Parameterize EMAC Multicast Match Handling

2008-07-01 Thread Grant Erickson
On 6/30/08 11:37 PM, Stefan Roese wrote: > On Tuesday 01 July 2008, Benjamin Herrenschmidt wrote: >>> Stefan and/or Ben: >>> >>> Any thoughts on this? >> >> I was hesitating a bit... do we really need to be -that- flexible ? >> >> That is, either that or use some new compatible entry to detect t

[PATCH v3] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-05 Thread Grant Erickson
OS X 10.4.11 and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from 'haleakala.local' to those same systems in the '.local' domain via MDNS now work. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/canyonlands.dts |8 ++--

[PATCH v4] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-05 Thread Grant Erickson
OS X 10.4.11 and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from 'haleakala.local' to those same systems in the '.local' domain via MDNS now work. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/canyonlands.dts |8 ++--

[PATCH v5] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-06 Thread Grant Erickson
OS X 10.4.11 and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from 'haleakala.local' to those same systems in the '.local' domain via MDNS now work. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/canyonlands.dts |8 +- arch/

Re: [PATCH v5] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-07 Thread Grant Erickson
On 7/7/08 12:50 PM, Valentine Barshak wrote: > Grant Erickson wrote: > > > >> -reg = ; >> +reg = ; > > Should be reg = > > > >> -reg = ; >> +reg = ; > > Should be reg =

[PATCH v6] ibm_newemac: Parameterize EMAC Multicast Match Handling

2008-07-07 Thread Grant Erickson
OS X 10.4.11 and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from 'haleakala.local' to those same systems in the '.local' domain via MDNS now work. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/canyonlands.dts |8 +- arch/

[PATCH] ibm_newemac: Add MII mode support to the EMAC RGMII bridge.

2008-07-07 Thread Grant Erickson
are wired differently, so it makes sense to allow DTS authors to specify each explicitly. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- drivers/net/ibm_newemac/rgmii.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/net/ibm_newemac/rgmii.c b/driv

Re: [PATCH] ibm_newemac: Add MII mode support to the EMAC RGMII bridge.

2008-07-07 Thread Grant Erickson
On 7/7/08 4:40 PM, Benjamin Herrenschmidt wrote: > On Mon, 2008-07-07 at 16:31 -0700, Grant Erickson wrote: >> #define RGMII_FER_GMII(idx)(0x7 << ((idx) * 4)) >> +#define RGMII_FER_MII(idx) (0x7 << ((idx) * 4)) > > Hrm... the setting of the register is ex

[PATCH v2] ibm_newemac: Add MII mode support to the EMAC RGMII bridge.

2008-07-08 Thread Grant Erickson
are wired differently, so it makes sense to allow DTS authors to specify each explicitly. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- drivers/net/ibm_newemac/rgmii.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/net/ibm_newemac/rgmii.c b/driv

Re: Help!Some memory doesn't work on PPC405Ex based board!

2009-04-14 Thread Grant Erickson
On 4/14/09 4:08 AM, SunNeo wrote: > My platform uses the MICRON MT47H256M8THN DDRII SDRAM and the DDRII SDRAM is > soldered on the board. > > As I said, my board was similar with "Kilauea" evb, so I created my > configuration header file from Kilauea's at U-Boot. In the configuration file, > regis

Reserving Early RAM Regions and Porting Denx's CONFIG_LOGBUFFER to arch/powerpc

2008-10-28 Thread Grant Erickson
I am working on attempting to migrate the Denx CONFIG_LOGBUFFER feature from arch/ppc: http://git.denx.de/?p=linux-2.6-denx.git;a=blob_plain;f=arch/ppc/mm/init.c;h b=3df65660bbfa769b10b141351b0ea10427b0b709 http://git.denx.de/?p=linux-2.6-denx.git;a=blob_plain;f=kernel/printk.c;hb=3 df65660bbfa769

[PATCH] PPC40x: Limit Allocable RAM During Early Mapping

2008-10-29 Thread Grant Erickson
" coverage with normal-sized pages (or other reasons) do not attempt to allocate outside the allowed range. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- This bug was discovered in the course of working on CONFIG_LOGBUFFER support (see http://ozlabs.org/pipermail/linuxppc-de

Re: [PATCH] PPC40x: Limit Allocable RAM During Early Mapping

2008-10-30 Thread Grant Erickson
On 10/30/08 7:03 AM, Josh Boyer wrote: > On Wed, 29 Oct 2008 14:41:14 -0700 > Grant Erickson <[EMAIL PROTECTED]> wrote: >> If the size of RAM is not an exact power of two, we may not have >> covered RAM in its entirety with large 16 and 4 MiB >> pages. Consequentl

[PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Grant Erickson
This merges support for the previously DENX-only kernel feature of specifying an alternative, "external" buffer for kernel printk messages and their associated metadata. In addition, this ports architecture support for this feature from arch/ppc to arch/powerpc. Signed-off-by: Gran

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Grant Erickson
On 11/25/08 10:55 AM, Josh Boyer wrote: > On Tue, 25 Nov 2008 12:53:12 -0600 > "Matt Sealey" <[EMAIL PROTECTED]> wrote: >> Nitpick, really.. shouldn't the logbuffer location(s) be some device tree >> property(ies), perhaps something in the >> /chosen node that U-Boot etc. can then fill out? > > I

PPC4xx ECC Configs, Defines and Source

2008-12-08 Thread Grant Erickson
Does anyone have any strong preferences on where configurations, definitions and sources for a PPC4xx ECC monitoring and reporting driver should go? Specifically, this concerns ECC handling code for the IBM DDR2 ECC controller found in the 405EX[r], 440SP, 440SPe, 460EX and 460GT. However, I'd lik

Re: PPC4xx ECC Configs, Defines and Source

2008-12-08 Thread Grant Erickson
On 12/8/08 12:21 PM, Josh Boyer wrote: > On Mon, Dec 08, 2008 at 11:28:15AM -0800, Grant Erickson wrote: >> Does anyone have any strong preferences on where configurations, definitions >> and sources for a PPC4xx ECC monitoring and reporting driver should go? >> >> Spec

Re: PPC4xx ECC Configs, Defines and Source

2008-12-08 Thread Grant Erickson
On 12/8/08 3:10 PM, Josh Boyer wrote: > On Mon, 08 Dec 2008 14:08:01 -0800 > Grant Erickson <[EMAIL PROTECTED]> wrote: > > Well, at the moment CONFIG_PPC4xx_IBM_DDR2 doesn't exist, and has no > meaning. Adding a Kconfig option for it just so you can select an ECC

Re: PPC4xx ECC Configs, Defines and Source

2008-12-08 Thread Grant Erickson
On 12/8/08 9:57 PM, Stefan Roese wrote: > On Tuesday 09 December 2008, Grant Erickson wrote: >>> Just to make sure, are you planning on just implementing a driver to >>> deal with whatever settings the bootloader configured? E.g., if ECC is >>> enabled deal with co

Indirect DCR Access

2008-12-09 Thread Grant Erickson
Josh: In working through the PPC4XX "memory-controller","ibm,sdram-4xx-ddr2" adapter driver for the EDAC MC driver, there are a substantial number of indirect DCR accesses. Ideally, I would use the address and data DCRs implied from the SDRAM0 dcr-reg device tree property; however, the mtdcri and

[PATCH] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-17 Thread Grant Erickson
Added additional information for type and compatibility strings and interrupt information to the SDRAM0 memory-controller device tree nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver. Signed-off

[PATCH] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2008-12-17 Thread Grant Erickson
This adds support for an EDAC memory controller adaptation driver for the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r]. Signed-off-by: Grant Erickson --- At present, this driver has been developed and tested against the controller realization in the AMCC

Re: [PATCH] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-17 Thread Grant Erickson
On 12/17/08 3:46 PM, David Gibson wrote: > On Wed, Dec 17, 2008 at 11:56:07AM -0800, Grant Erickson wrote: >> Added additional information for type and compatibility strings and >> interrupt information to the SDRAM0 memory-controller device tree >> nodes for AMCC PowerPC 405

[PATCH v2] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-17 Thread Grant Erickson
Added additional information for type and compatibility strings and interrupt information to the SDRAM0 memory-controller device tree nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver. Signed-off

[PATCH v2] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2008-12-17 Thread Grant Erickson
This adds support for an EDAC memory controller adaptation driver for the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r]. Signed-off-by: Grant Erickson --- At present, this driver has been developed and tested against the controller realization in the AMCC

Re: [PATCH v2] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-18 Thread Grant Erickson
On 12/18/08 9:56 AM, Josh Boyer wrote: > On Thu, Dec 18, 2008 at 09:04:23AM +0100, Stefan Roese wrote: >> On Thursday 18 December 2008, Grant Erickson wrote: >>> diff --git a/arch/powerpc/boot/dts/haleakala.dts >>> b/arch/powerpc/boot/dts/haleakala.dts index 513bc43..64

Re: [PATCH v2] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2008-12-18 Thread Grant Erickson
On 12/18/08 9:56 AM, Josh Boyer wrote: > On Wed, Dec 17, 2008 at 05:42:21PM -0800, Grant Erickson wrote: >> This adds support for an EDAC memory controller adaptation driver for >> the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC >> 405EX[

[PATCH v3] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-18 Thread Grant Erickson
Added additional information for type and compatibility strings and interrupt information to the SDRAM0 memory-controller device tree nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver. Signed-off

[PATCH v4] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-18 Thread Grant Erickson
Added additional information for type and compatibility strings and interrupt information to the SDRAM0 memory-controller device tree nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver. Signed-off

[PATCH v5] powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info

2008-12-18 Thread Grant Erickson
Added additional information for type and compatibility strings and interrupt information to the SDRAM0 memory-controller device tree nodes for AMCC PowerPC 405EX[r]-based boards to facilitate binding with the new "ibm,sdram-4xx-ddr2" EDAC memory controller adapter driver. Signed-off

Re: [PATCH v2] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2008-12-18 Thread Grant Erickson
On 12/18/08 11:13 AM, Grant Erickson wrote: > On 12/18/08 9:56 AM, Josh Boyer wrote: >> So, I am not an expert at the EDAC subsystem. Just looking at the >> number of functions that get call from this interrupt handler, I'm >> wondering if a significant amount of time

[PATCH] Const-qualify Device Node Argument to DCR Resource Extent API

2008-12-19 Thread Grant Erickson
Add const qualifier to device_node argument for dcr_resource_{start,len} as of_get_property also const-qualifies this argument. Signed-off-by: Grant Erickson --- arch/powerpc/include/asm/dcr.h |4 ++-- arch/powerpc/sysdev/dcr.c |5 +++-- 2 files changed, 5 insertions(+), 4

[PATCH v3] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2008-12-19 Thread Grant Erickson
This adds support for an EDAC memory controller adaptation driver for the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r]. Signed-off-by: Grant Erickson --- At present, this driver has been developed and tested against the controller realization in the AMCC

[PATCH v3] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2009-01-05 Thread Grant Erickson
This adds support for an EDAC memory controller adaptation driver for the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r]. Signed-off-by: Grant Erickson --- At present, this driver has been developed and tested against the controller realization in the AMCC

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2009-01-06 Thread Grant Erickson
On 1/6/09 4:04 PM, Benjamin Herrenschmidt wrote: > On Tue, 2008-11-25 at 10:34 -0800, Grant Erickson wrote: >> This merges support for the previously DENX-only kernel feature of >> specifying an alternative, "external" buffer for kernel printk >> messages and their a

[PATCH v4] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2009-01-09 Thread Grant Erickson
This adds support for an EDAC memory controller adaptation driver for the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r]. Signed-off-by: Grant Erickson --- At present, this driver has been developed and tested against the controller realization in the AMCC

Re: toolchain for building linux-2.6.27.8 or 2.6.28.1 ...

2009-01-29 Thread Grant Erickson
file to use 2.6.28.1 (and specifyin > a custom toolchain). > I've also tried to compile 2.6.27.8. I get the same error. Mike: Denx's ELDK 4.1 or 4.2 make a great "It Just Works" solution. I've used 4.1 running from 2.6.23 up to 2.6.27.11 and 4.2 fro

Re: [PATCH 1/1] edac: new ppc4xx driver module

2009-02-06 Thread Grant Erickson
On 1/30/09 2:05 PM, Andrew Morton wrote: > On Fri, 30 Jan 2009 09:54:42 -0700 dougthomp...@xmission.com wrote: >> From: Grant Erickson > > Perhaps a powerpc mailing list should have been cc'ed? The first round patch went to Doug, the BlueSmoke (EDAC) mailing list and the L

[PATCH v5] Add PPC/4xx "ibm,sdram-4xx-ddr2" EDAC MC Driver

2009-02-06 Thread Grant Erickson
This adds support for an EDAC memory controller adaptation driver for the "ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r]. Signed-off-by: Grant Erickson --- At present, this driver has been developed and tested against the controller realization in the AMCC