Re: 82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread Heiko Schocher
Hello David, David Gibson wrote: On Wed, Jul 29, 2009 at 10:32:30AM +0200, Heiko Schocher wrote: [snip] +m...@10d40 { +device_type = mdio; Drop this device_type. Done. +compatible = fsl,cpm2-mdio-bitbang

Re: 82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread Heiko Schocher
Hello Kumar, Kumar Gala wrote: On Jul 29, 2009, at 3:32 AM, Heiko Schocher wrote: - add I2C support - add FCC1 and FCC2 support - fix bogus gpio numbering in plattformcode Signed-off-by: Heiko Schocher h...@denx.de --- - based on git://git.kernel.org/pub/scm/linux/kernel/git/benh

[PATCH v5] 83xx: add support for the kmeter1 board.

2009-06-15 Thread Heiko Schocher
, following patch series is necessary for working with this hardware: http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-April/070624.html - I2C using I2C Bus 1 from the MPC8360 cpu Signed-off-by: Heiko Schocher h...@denx.de --- changes since v1: - added comments from Kumar Gala and Scott

Re: [PATCH v2] 83xx: add support for the kmeter1 board.

2009-06-11 Thread Heiko Schocher
Hello Kumar, Kumar Gala wrote: On Apr 28, 2009, at 11:48 PM, Heiko Schocher wrote: The following series implements basic board support for the kmeter1 board from keymile, based on a MPC8360. [...] +}; +}; +}; Sorry for taking so long to review this again. No problem, we

[PATCH v3] 83xx: add support for the kmeter1 board.

2009-06-11 Thread Heiko Schocher
, following patch series is necessary for working with this hardware: http://ozlabs.org/pipermail/linuxppc-dev/2009-April/070716.html - I2C using I2C Bus 1 from the MPC8360 cpu Signed-off-by: Heiko Schocher h...@denx.de --- changes since v1: - added comments from Kumar Gala and Scott Wood - get rid

Re: [PATCH v3] 83xx: add support for the kmeter1 board.

2009-06-11 Thread Heiko Schocher
Hello Kumar, Kumar Gala wrote: On Jun 11, 2009, at 1:16 AM, Heiko Schocher wrote: The following series implements basic board support for the kmeter1 board from keymile, based on a MPC8360. This series provides the following functionality: - The board can boot with a serial console

[PATCH v4] 83xx: add support for the kmeter1 board.

2009-06-11 Thread Heiko Schocher
, following patch series is necessary for working with this hardware: http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-April/070624.html - I2C using I2C Bus 1 from the MPC8360 cpu Signed-off-by: Heiko Schocher h...@denx.de --- changes since v1: - added comments from Kumar Gala and Scott

Re: [PATCH v4] 83xx: add support for the kmeter1 board.

2009-06-11 Thread Heiko Schocher
Hello David, David Gibson wrote: On Thu, Jun 11, 2009 at 08:10:41PM +0200, Heiko Schocher wrote: The following series implements basic board support for the kmeter1 board from keymile, based on a MPC8360. [snip] +par...@1400 { +reg = 0x1400 0x100

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size

2009-05-15 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: On Wed, May 13, 2009 at 08:27:07AM +0200, Heiko Schocher wrote: Hello Wolfgang, The current device tree for the MPC8272ADS assumes a mapping of 32 MB of NOR flash at 0xFE00., while there are actually only 8 MB on the boards, mapped at 0xFF80.. When

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size

2009-05-13 Thread Heiko Schocher
Hello Wolfgang, The current device tree for the MPC8272ADS assumes a mapping of 32 MB of NOR flash at 0xFE00., while there are actually only 8 MB on the boards, mapped at 0xFF80.. When booting an uImage with such a device tree, the kernel crashes because 0xFE00. is not mapped.

Re: [PATCH] 83xx: add support for the kmeter1 board.

2009-05-07 Thread Heiko Schocher
Hello Christopher, Varlese, Christopher wrote: (FYI I working on the kmeter1) kmeter1.c reuses the same QE_ENET10 RGMII errata workaround code from mpc836x_mds.c (MPC8360EMDS eval board). In my view errata nodes in the dts is overkill. Maybe the errata code can go into a reusable

[PATCH v2] 83xx: add support for the kmeter1 board.

2009-04-29 Thread Heiko Schocher
, following patch series is necessary for working with this hardware: http://ozlabs.org/pipermail/linuxppc-dev/2009-April/070716.html - I2C using I2C Bus 1 from the MPC8360 cpu Signed-off-by: Heiko Schocher h...@denx.de --- changes since v1: - added comments from Kumar Gala and Scott Wood - get rid

Re: [PATCH] 83xx: add support for the kmeter1 board.

2009-04-28 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: On Mon, Apr 27, 2009 at 07:38:38AM +0200, Heiko Schocher wrote: 1) add in the soc node an errata node and in this errata node we can add all CPU specific errata as an example the qe_enet10 errata, which above code covers: What about errata discovered

Re: [PATCH] 83xx: add support for the kmeter1 board.

2009-04-27 Thread Heiko Schocher
Hello Kumar, Kumar Gala wrote: [...] diff --git a/arch/powerpc/platforms/83xx/kmeter1.c b/arch/powerpc/platforms/83xx/kmeter1.c new file mode 100644 index 000..99cf5c6 --- /dev/null +++ b/arch/powerpc/platforms/83xx/kmeter1.c @@ -0,0 +1,170 @@ +/* [...] +np =

[PATCH] 83xx: add support for the kmeter1 board.

2009-04-23 Thread Heiko Schocher
, following patch series is necessary for working with this hardware: http://ozlabs.org/pipermail/linuxppc-dev/2009-April/070716.html - I2C using I2C Bus 1 from the MPC8360 cpu Signed-off-by: Heiko Schocher h...@denx.de --- $ ./scripts/checkpatch.pl 0001-83xx-add-support-for-the-kmeter1-board.patch

Re: [PATCH] 83xx: add support for the kmeter1 board.

2009-04-23 Thread Heiko Schocher
file mode 100644 index 000..99cf5c6 --- /dev/null +++ b/arch/powerpc/platforms/83xx/kmeter1.c @@ -0,0 +1,170 @@ +/* + * Copyright 2008 DENX Software Engineering GmbH + * Author: Heiko Schocher h...@denx.de [...] + +np = of_find_compatible_node(NULL, network, ucc_geth); +if (np

[PATCH] [net, 83xx] ucc_geth.c: Fix upsmr setting in RMII mode

2009-04-21 Thread Heiko Schocher
If using the UCC on a MPC8360 in RMII mode, don;t set UCC_GETH_UPSMR_RPM bit in the upsmr register. Signed-off-by: Heiko Schocher h...@denx.de --- drivers/net/ucc_geth.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c

Re: eth0: Could not attach to PHY

2009-01-22 Thread Heiko Schocher
Hello wael, wael showair showair2...@yahoo.com wrote: i have a board with MPC8555 processor uboot version 1.1.6 linux kernel 2.6.19-rc5 ltib version: 6.2.2-sv gcc 3.4.3 it boots successfully i want to upgrade my linux kernel to 2.6.27 i upgraded the following: ltib version 8.1.2-sv

Re: Call Trace and scary messages on kernel 2.6.27-rc5

2008-09-09 Thread Heiko Schocher
Hello Rogerio, Rogério Brito wrote onTue Sep 9 10:47:29 EST 2008: I just compiled a new 2.6.27-rc5 kernel for my standard Kurobox (an embedded NAS that has an MPC8241 CPU, if I'm not mistaken) and upon booting, I get these scary messages and Call Traces: - - - - - - - - - - - - - - - - - - -

Re: [PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-08-16 Thread Heiko Schocher
Hello Kumar, Kumar Gala schrieb: On Jun 18, 2008, at 3:38 AM, Heiko Schocher wrote: changes since the last patch: update the Portpin initialization. [powerpc] Added support for the MPC8247 based board MGCOGE from Keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED

Re: patches for 2.6.27... (Kumar Gala)

2008-08-06 Thread Heiko Schocher
Hello Kumar, On Wed Jul 2 19:58:03 EST 2008 Heiko Schocher wrote: On Wednesday 02 July 2008, Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. Here are 2 patches that I'd like to see in 2.6.27. They haven't made

Re: patches for 2.6.27... (Kumar Gala)

2008-07-02 Thread Heiko Schocher
Hello Kumar, On Wednesday 02 July 2008, Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. Here are 2 patches that I'd like to see in 2.6.27. They haven't made into any git tree as far as I know.

Re: [PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-06-18 Thread Heiko Schocher
Hello, changes since the last patch: update the Portpin initialization. [powerpc] Added support for the MPC8247 based board MGCOGE from Keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgcoge.dts | 174 +++ arch/powerpc/configs

Re: [PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-06-17 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: On Mon, Jun 16, 2008 at 11:40:30AM +0200, Heiko Schocher wrote: The reg entry is wrong, the Flash is on CS5. Here the updated version of the patch: You need to update the ranges property as well. Sure, here the new patch: [powerpc] Added support

Re: [PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-06-16 Thread Heiko Schocher
Hello David, David Gibson wrote: On Fri, Jun 13, 2008 at 06:33:08PM +0200, Heiko Schocher wrote: Hello Scott, here comes the updated version for the mgcoge port, with your suggestions: [powerpc] Added support for the MPC8247 based board MGCOGE from Keymile. Signed-off

Re: [PATCH] [8xx] powerpc: Add support for the MPC852 based mgsuvd board from keymile.

2008-06-14 Thread Heiko Schocher
Hello Stephen, Stephen Rothwell wrote: On Fri, 13 Jun 2008 21:56:00 +0200 Heiko Schocher [EMAIL PROTECTED] wrote: +++ b/arch/powerpc/platforms/8xx/mgsuvd.c @@ -0,0 +1,93 @@ +/* arch/powerpc/platforms/8xx/mgsuvd.c We have stopped putting file names in files. +#include linux/ioport.h

Re: [PATCH] [8xx] powerpc: Add support for the MPC852 based mgsuvd board from keymile.

2008-06-13 Thread Heiko Schocher
Hello Scott, here comes the updated version for the mgsuvd port with your suggested changes: [powerpc] add support for the MPC852 based mgsuvd board from keymile to arch/powerpc. Supported SMC1 (serial console), SCC3 Ethernet (10Mbps hdx). Signed-off-by: Heiko Schocher

Re: [PATCH] [82xx] powerpc: Add support for mpc8247 based board MGCOGE from keymile.

2008-06-13 Thread Heiko Schocher
Hello Scott, here comes the updated version for the mgcoge port, with your suggestions: [powerpc] Added support for the MPC8247 based board MGCOGE from Keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgcoge.dts | 174 +++ arch/powerpc

Re: [PATCH] [8xx] powerpc: Add support for the MPC852 based mgsuvd board from keymile.

2008-06-13 Thread Heiko Schocher
Hello Scott, here the next try for the mgsuvd board: [powerpc] add support for the MPC852 based mgsuvd board from keymile to arch/powerpc. Supported SMC1 (serial console), SCC3 Ethernet (10Mbps hdx). Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot

Re: [PATCH v2] 8xx: Add support for the MPC852 based board from keymile.

2008-03-19 Thread Heiko Schocher
Hello Vitaly, Vitaly Bordug wrote: On Tue, 18 Mar 2008 09:04:14 +0100 Heiko Schocher wrote: [...] OK. Another thought about this. Shouldnt this table go in the dts? A device node like cpm_pin { pins = port pin flags; }; would be nice, or? This has been a disputable question some

Re: [PATCH v2] 8xx: Add support for the MPC852 based board from keymile.

2008-03-18 Thread Heiko Schocher
Hello Stephen, Stephen Rothwell wrote: On Fri, 14 Mar 2008 10:24:30 +0100 Heiko Schocher [EMAIL PROTECTED] wrote: [...] +struct cpm_pin { +int port, pin, flags; +}; I wish someone would consolidate all these definitions of cpm_pin. Hmm... do you mean something like, moving

Re: [PATCH v2] 8xx: Add support for the MPC852 based board from keymile.

2008-03-18 Thread Heiko Schocher
Hello Stephen, Stephen Rothwell wrote: On Tue, 18 Mar 2008 08:13:06 +0100 Heiko Schocher [EMAIL PROTECTED] wrote: Stephen Rothwell wrote: On Fri, 14 Mar 2008 10:24:30 +0100 Heiko Schocher [EMAIL PROTECTED] wrote: [...] +struct cpm_pin { + int port, pin, flags; +}; I wish someone

[PATCH v3] 8xx: Add support for the MPC852 based board from keymile.

2008-03-18 Thread Heiko Schocher
Hello, Add support for the MPC852 based mgsuvd board from keymile to arch/powerpc. Supported SMC1 (serial console), SCC3 Ethernet (10Mbps hdx) Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgsuvd.dts | 158 +++ arch/powerpc/configs/mgsuvd_defconfig | 827

[PATCH v2] 8xx: Add support for the MPC852 based board from keymile.

2008-03-14 Thread Heiko Schocher
Hello, This add support of the mgsuvd board from keymile to arch/powerpc. Supported SMC1 (serial console), SCC3 Ethernet (10Mbps hdx) Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgsuvd.dts | 158 +++ arch/powerpc/configs/mgsuvd_defconfig | 827

Re: [Patch] 8xx: MGSUVD support

2008-03-10 Thread Heiko Schocher
Hello Vitaly, Vitaly Bordug wrote: Heiko Schocher wrote: the following patch adds support for the MPC852 based mgsuvd board from keymile. Looks good overall. Please add supported/working/not working etc SoC devices state along with the patch description. Also a few really small comments

Re: [Patch] 8xx: MGSUVD support

2008-03-10 Thread Heiko Schocher
Hello Stephen, Stephen Rothwell wrote: On Sun, 09 Mar 2008 10:56:29 +0100 Heiko Schocher [EMAIL PROTECTED] wrote: +++ b/arch/powerpc/platforms/8xx/mgsuvd.c +#include asm/of_platform.h You should include linux/of_platform.h (not asm/) Ok. +static struct cpm_pin mgsuvd_pins[] = { Make

[PATCH v3] 82xx: MGCOGE support

2008-03-09 Thread Heiko Schocher
Hello, following Patch adds support for the MPC8247 based mgcoge board from keymile. changes since v2 Patch: - added JFFS2 support - added support for the second Flash on the board. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgcoge.dts | 165 +++ arch

[Patch] 8xx: MGSUVD support

2008-03-09 Thread Heiko Schocher
Hello, the following patch adds support for the MPC852 based mgsuvd board from keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgsuvd.dts | 158 +++ arch/powerpc/configs/mgsuvd_defconfig | 827 + arch/powerpc

Re: [PATCH v2] 82xx: MGCOGE support

2008-03-07 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: Heiko Schocher wrote: The following patch adds support for the mpc8247 based board MGCOGE from keymile. changes to the previous patchset: - Added the suggestions from Scott Wood: http://ozlabs.org/pipermail/linuxppc-dev/2008-January/050957.html

[PATCH v2] 82xx: MGCOGE support

2008-01-30 Thread Heiko Schocher
-January/050931.html is no longer needed. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgcoge.dts | 149 ++ arch/powerpc/configs/mgcoge_defconfig | 821 + arch/powerpc/platforms/82xx/Kconfig |9 + arch/powerpc/platforms

[PATCH 1/4] 82xx: MGCOGE support

2008-01-29 Thread Heiko Schocher
Hello, The following Patch adds basic files for supporting the MGCOGE plattform from keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/platforms/82xx/Kconfig |9 +++ arch/powerpc/platforms/82xx/Makefile |1 + arch/powerpc/platforms/82xx/mgcoge.c | 130

[PATCH 0/3] 82xx: MGCOGE support

2008-01-29 Thread Heiko Schocher
Hello, the following 4 patches adding support for the MPC8247 based board MGCOGE from keymile. The following Patch posted on this list is also needed, to get the Ethernet over SCC running. http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049681.html bye, Heiko -- DENX Software

[PATCH 2/4] 82xx: MGCOGE support

2008-01-29 Thread Heiko Schocher
Hello The following Patchs adds the defconfig file for the MGCOGE plattform from keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/configs/mgcoge_defconfig | 749 + 1 files changed, 749 insertions(+), 0 deletions(-) create mode 100644

[PATCH 3/4] 82xx: MGCOGE support

2008-01-29 Thread Heiko Schocher
Hello, The following Patch adds the DTS File for the MGCOGE plattform from keymile. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mgcoge.dts | 153 ++ 1 files changed, 153 insertions(+), 0 deletions(-) create mode 100644 arch

[PATCH 4/4] 82xx: MGCOGE support

2008-01-29 Thread Heiko Schocher
Hello, To get the serial console on the SMC2 working, the following patch is needed: Fixing serial console on a SMC on MPC82xx based board and using CONFIG_PPC_CPM_NEW_BINDING Signed-off-by: Heiko Schocher [EMAIL PROTECTED] --- drivers/serial/cpm_uart/cpm_uart_core.c | 15 +++ 1

Re: [PATCH for 2.6.24][NET] fs_enet: check for phydev existence in the ethtool handlers

2008-01-10 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: On Wed, Jan 09, 2008 at 01:58:49PM +0100, Heiko Schocher wrote: @@ -1312,6 +1312,9 @@ static int __devinit fs_enet_probe(struct of_device *ofdev, ndev-dev_addr[0], ndev-dev_addr[1], ndev-dev_addr[2], ndev-dev_addr[3], ndev-dev_addr[4

Re: [PATCH for 2.6.24][NET] fs_enet: check for phydev existence in the ethtool handlers

2008-01-10 Thread Heiko Schocher
Hello Scott, Heiko Schocher wrote: Hello Scott, [...] Will resend this fixed patch. Here it is: [POWERPC] Fix Ethernet over SCC on a CPM2, also Fix crash in fs_enet_rx_napi() Signed-off-by: Heiko Schocher [EMAIL PROTECTED] diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers

Re: [PATCH for 2.6.24][NET] fs_enet: check for phydev existence in the ethtool handlers

2008-01-10 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: Heiko Schocher wrote: diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c index f2a4d39..f432a18 100644 --- a/drivers/net/fs_enet/fs_enet-main.c +++ b/drivers/net/fs_enet/fs_enet-main.c @@ -810,6 +810,10 @@ static int

Re: [PATCH for 2.6.24][NET] fs_enet: check for phydev existence in the ethtool handlers

2008-01-09 Thread Heiko Schocher
. The following Patch solves this, also adds support for using Ethernet over SCC on a CPM2. From 62cd02d481eb772f4417e9ba17fb010d1954c330 Mon Sep 17 00:00:00 2001 From: Heiko Schocher [EMAIL PROTECTED] Date: Mon, 7 Jan 2008 09:42:09 +0100 Subject: [PATCH] [POWERPC] Fix Ethernet over SCC on a CPM2

Re: SYSFS: need a noncaching read

2007-09-12 Thread Heiko Schocher
Hello Greg Am Mittwoch, den 12.09.2007, 03:01 -0700 schrieb Greg KH: On Wed, Sep 12, 2007 at 07:32:07AM +0200, Robert Schwebel wrote: On Tue, Sep 11, 2007 at 11:43:17AM +0200, Heiko Schocher wrote: I have developed a device driver and use the sysFS to export some registers to userspace

Re: SYSFS: need a noncaching read

2007-09-12 Thread Heiko Schocher
Hello Greg, Am Mittwoch, den 12.09.2007, 04:39 -0700 schrieb Greg KH: Do an lseek back to 0 and then re-read, you will get called in your driver again. No thats not true. I thought this too, but if I make a: seek (fd, 0L, SEEK_SET); in Userspace, there is no retrigger in the

SYSFS: need a noncaching read

2007-09-11 Thread Heiko Schocher
Hello, I have developed a device driver and use the sysFS to export some registers to userspace. I opened the sysFS File for one register and did some reads from this File, but I alwas becoming the same value from the register, whats not OK, because they are changing. So I found out that the

<    1   2