Re: [U-Boot-Users] Strange behavior in UPM

2008-07-25 Thread Anton Vorontsov
kind of chip the board is using. Thanks, -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based

Re: [U-Boot-Users] [PATCH 1/2] fdt_support: fdt_fixup_dr_usb: add support for phy_type fixups

2008-07-09 Thread Anton Vorontsov
On Tue, Jul 08, 2008 at 08:38:37PM -0400, Jerry Van Baren wrote: Anton Vorontsov wrote: Currently U-Boot can only fixup the usb dr_mode, but some boards (namely MPC8315E-RDB) can use two PHY types: ULPI (stand-alone OTG port) or UTMI (connected to the four-ports hub, usb host only

[U-Boot-Users] [PATCH 1/2] fdt_support: fdt_fixup_dr_usb: add support for phy_type fixups

2008-07-08 Thread Anton Vorontsov
through the usb_phy_type environment variable. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- common/fdt_support.c | 30 +++--- 1 files changed, 23 insertions(+), 7 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 3828228..24bbed0 100644

Re: [U-Boot-Users] [PATCH] NAND FSL UPM: driver re-write using the hwcontrol callback

2008-06-02 Thread Anton Vorontsov
on MPC8360E-RDK). Thanks! Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED] Acked-by: Anton Vorontsov [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http

Re: [U-Boot-Users] [PATCH] MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver

2008-06-02 Thread Anton Vorontsov
, of course. Anton, could you please give it a try. Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED] Acked-by: Anton Vorontsov [EMAIL PROTECTED] [...] @@ -68,5 +89,9 @@ int board_nand_init(struct nand_chip *na fun.upm.mxmr = im-lbus.mamr; fun.upm.mdr = im-lbus.mdr

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-30 Thread Anton Vorontsov
to be more universal (for old mtd subsystem), since it doesn't duplicate MTD cmdfunc, thus should work for all NAND chips... Could you prepare a patch that replacing fsl_upm_nand.c's current logic with yours (that should work for your NAND chip), and I'll test it on MPC8360E-RDK? -- Anton Vorontsov

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-29 Thread Anton Vorontsov
, -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-29 Thread Anton Vorontsov
On Thu, May 29, 2008 at 01:58:14PM +0200, Wolfgang Grandegger wrote: Anton Vorontsov wrote: On Wed, May 28, 2008 at 08:38:37PM +0200, Wolfgang Grandegger wrote: Scott Wood wrote: On Wed, May 28, 2008 at 08:12:28PM +0200, Wolfgang Grandegger wrote: This patch adds support for NAND FLASH

Re: [U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-05-29 Thread Anton Vorontsov
On Wed, May 28, 2008 at 12:23:01PM -0500, Scott Wood wrote: Anton Vorontsov wrote: This patch moves Freescale Localbus defines out of mpc83xx.h, so we could use it on MPC85xx and MPC86xx processors. Can we similarly merge lbus83xx_t with ccsr_lbc? Yes, why not. But this will need much more

Re: [U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-05-29 Thread Anton Vorontsov
On Wed, May 28, 2008 at 12:21:26PM -0500, Kim Phillips wrote: On Wed, 28 May 2008 18:20:15 +0400 Anton Vorontsov [EMAIL PROTECTED] wrote: This patch moves Freescale Localbus defines out of mpc83xx.h, so we could use it on MPC85xx and MPC86xx processors. Signed-off-by: Anton Vorontsov

Re: [U-Boot-Users] [PATCH] 86xx: mpc8610_hpcd: add support for NAND

2008-05-28 Thread Anton Vorontsov
On Tue, May 27, 2008 at 02:54:19PM -0500, Kumar Gala wrote: On May 27, 2008, at 1:24 PM, Anton Vorontsov wrote: This patch adds support for NAND on MPC8610HPCD target. We're using BAT7 and LAW4 entries for 4MB NAND mapping. MPC8610HPCD has four NAND chips in one package, bases as follows

[U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-05-28 Thread Anton Vorontsov
This patch moves Freescale Localbus defines out of mpc83xx.h, so we could use it on MPC85xx and MPC86xx processors. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/asm-ppc/fsl_lbc.h | 251 + include/mpc83xx.h | 234

[U-Boot-Users] [PATCH 2/2] 86xx: mpc8610_hpcd: add support for NAND

2008-05-28 Thread Anton Vorontsov
This patch adds support for NAND on MPC8610HPCD target. We're using BAT7 and LAW4 entries for 4MB NAND mapping. MPC8610HPCD has four NAND chips in one package, bases as follows: - 0xe840 - 0xe844 - 0xe848 - 0xe84c Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- board

[U-Boot-Users] [PATCH] 86xx: mpc8610_hpcd: add support for NAND

2008-05-27 Thread Anton Vorontsov
(straight copy from mpc83xx.h). Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- board/freescale/mpc8610hpcd/law.c |2 +- include/configs/MPC8610HPCD.h | 37 +++-- include/mpc86xx.h | 164 + 3 files changed, 196 insertions(+), 7

Re: [U-Boot-Users] [PATCH][RFC] pci: Remove CONFIG_PCI_SKIP_HOST_BRIDGE and Add check PCI class of host bridge

2008-05-07 Thread Anton Vorontsov
CONFIG_PCI_SKIP_HOST_BRIDGE I'm getting these errors from the Linux using PCI 3com driver: eth4: Host error, FIFO diagnostic register . eth4: PCI bus error, bus status 8020 eth4: setting full-duplex. [infinite times] This is MPC8315E-RDB. -- Anton Vorontsov email: [EMAIL PROTECTED] irc

Re: [U-Boot-Users] [PATCH 6/7] 83xx/fdt_support: let user specifiy FSL USB Dual-Role controller role

2008-03-25 Thread Anton Vorontsov
On Mon, Mar 24, 2008 at 06:00:49PM -0500, Kim Phillips wrote: On Mon, 24 Mar 2008 17:44:19 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 08:35:58PM -0500, Kim Phillips wrote: On Fri, 14 Mar 2008 23:20:18 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote

[U-Boot-Users] [PATCH 1/5] 83xx: nand support for MPC837XRDB boards

2008-03-24 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Rebased on top of today's u-boot-mpc83xx. include/configs/MPC837XERDB.h | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index 0d79aae

[U-Boot-Users] [PATCH 2/5] 83xx: split COBJS onto separate lines

2008-03-24 Thread Anton Vorontsov
..plus get rid of some #ifdefs in the .c files. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Rebased on top of today's u-boot-mpc83xx. cpu/mpc83xx/Makefile | 14 -- cpu/mpc83xx/fdt.c|4 cpu/mpc83xx/pci.c|2 -- cpu/mpc83xx/qe_io.c |3 --- 4 files

[U-Boot-Users] [PATCH 3/5] 83xx: serdes setup routines

2008-03-24 Thread Anton Vorontsov
This patch adds few routines to configure serdes on 837x targets. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Rebased on top of today's u-boot-mpc83xx. cpu/mpc83xx/Makefile |1 + cpu/mpc83xx/serdes.c | 145 ++ include/asm

[U-Boot-Users] [PATCH 4/5] 83xx: initialize serdes for MPC837XRDB boards

2008-03-24 Thread Anton Vorontsov
On the MPC8377ERDB: 2 SATA and 2 PCI-E. On the MPC8378ERDB: 2 PCI-E On the MPC8379ERDB: 4 SATA Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Rebased on top of today's u-boot-mpc83xx. board/freescale/mpc837xerdb/mpc837xerdb.c | 37 + include/configs

[U-Boot-Users] [PATCH 5/5] 83xx: define CONFIG_OF_STDOUT_VIA_ALIAS for the MPC837XERDB boards

2008-03-24 Thread Anton Vorontsov
This is primarily for the early console support. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Rebased on top of today's u-boot-mpc83xx. include/configs/MPC837XERDB.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC837XERDB.h b/include/configs

Re: [U-Boot-Users] [PATCH 6/7] 83xx/fdt_support: let user specifiy FSL USB Dual-Role controller role

2008-03-24 Thread Anton Vorontsov
On Wed, Mar 19, 2008 at 08:35:58PM -0500, Kim Phillips wrote: On Fri, 14 Mar 2008 23:20:18 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: diff --git a/include/fdt_support.h b/include/fdt_support.h index 7836f28..c10de8a 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h

[U-Boot-Users] [PATCH 0/11] Few MPC8360E-RDK related patches

2008-03-24 Thread Anton Vorontsov
This are few fixes and enhancements I have sitting in my rdk branch for a while now... -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 - This SF.net email is sponsored by: Microsoft Defy all

[U-Boot-Users] [PATCH 01/11] uec: add support for gbit mii status readings

2008-03-24 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/qe/uec_phy.c | 28 +++- drivers/qe/uec_phy.h |5 + 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c index a42701c..8c4a558 100644 --- a/drivers

[U-Boot-Users] [PATCH 04/11] mpc83xx: MPC8360E-RDK: use RGMII_RXID interface mode

2008-03-24 Thread Anton Vorontsov
This is needed for BCM PHYs to work on this board. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/configs/MPC8360ERDK.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/MPC8360ERDK.h b/include/configs/MPC8360ERDK.h index 27b037a..1588610

[U-Boot-Users] [PATCH 06/11] mpc83xx: MPC8360E-RDK: configure pario pins for AD7843 and FHCI

2008-03-24 Thread Anton Vorontsov
This patch adds qe pario pins configuration for AD7843 ADC/Touchscreen controller and FHCI (QE USB). Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- board/freescale/mpc8360erdk/mpc8360erdk.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/board

[U-Boot-Users] [PATCH 05/11] mpc83xx: MPC8360E-RDK: add support for NAND

2008-03-24 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- board/freescale/mpc8360erdk/Makefile |4 +- board/freescale/mpc8360erdk/nand.c | 72 ++ include/configs/MPC8360ERDK.h| 24 +++ 3 files changed, 99 insertions(+), 1 deletions(-) create

[U-Boot-Users] [PATCH 07/11] mpc83xx: MPC8360E-RDK: rework ddr setup, enable ecc

2008-03-24 Thread Anton Vorontsov
Current DDR setup easily causes memory corruption, this patch fixes it. Also fix TIMING_CFG0_MRS_CYC definition. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/configs/MPC8360ERDK.h | 48 ++-- include/mpc83xx.h |3 +- 2 files

[U-Boot-Users] [PATCH 08/11] mpc83xx: MPC8360E-RDK: add dhcp command

2008-03-24 Thread Anton Vorontsov
Plus modify environment to use it and remove bootfile env variable, it is internal and CONFIG_BOOTFILE is used for these purposes. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/configs/MPC8360ERDK.h |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git

[U-Boot-Users] [PATCH 10/11] mpc83xx: MPC8360E-RDK: use 33.3(3)MHz CLKIN/SYS_CLK

2008-03-24 Thread Anton Vorontsov
At least on the 33MHz Pilot board crystal is actually 33.3MHz. This patch fixes system time drifting problem. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/configs/MPC8360ERDK.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs

[U-Boot-Users] [PATCH 03/11] uec: add support for Broadcom BCM5481 Gigabit PHY

2008-03-24 Thread Anton Vorontsov
This patch adds basic support for Broadcom BCM5481 PHY. RXD-RXC delay quirk comes from MPC8360E-RDK BSP source, author is Peter Barada [EMAIL PROTECTED]. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/qe/uec_phy.c | 41 + 1 files changed

[U-Boot-Users] [PATCH 1/2] mpc83xx: Add MPC837x PCIE controller RC mode

2008-03-24 Thread Anton Vorontsov
] Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- cpu/mpc83xx/Makefile |1 + cpu/mpc83xx/pcie.c | 273 include/asm-ppc/immap_83xx.h | 119 +- include/asm-ppc/mpc83xx_pcie.h | 14 ++ include/configs

Re: [U-Boot-Users] [PATCH 2/2] mpc83xx: MPC837XERDB: add support for PCI-Express

2008-03-24 Thread Anton Vorontsov
On Mon, Mar 24, 2008 at 09:42:37PM +0300, Anton Vorontsov wrote: This is largely based on the MDS boards' code (patch by Tony Li [EMAIL PROTECTED]). Oops. I meant Li Li, sorry. -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2

Re: [U-Boot-Users] [PATCH 1/7] 83xx: nand support for MPC837XRDB boards

2008-03-20 Thread Anton Vorontsov
On Thu, Mar 20, 2008 at 11:26:45AM -0500, Scott Wood wrote: On Wed, Mar 19, 2008 at 08:16:45PM -0500, Kim Phillips wrote: On Tue, 18 Mar 2008 17:10:55 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: -/* VSC7385 Gigabit Switch support */ +/* + * VSC7385 Gigabit Switch

Re: [U-Boot-Users] [PATCH 1/7] 83xx: nand support for MPC837XRDB boards

2008-03-18 Thread Anton Vorontsov
On Mon, Mar 17, 2008 at 06:02:29PM -0500, Scott Wood wrote: On Fri, Mar 14, 2008 at 11:19:42PM +0300, Anton Vorontsov wrote: -#define CFG_VSC7385_BASE 0xF000 +/* + * NAND Flash on the Local Bus + */ +#define CFG_NAND_BASE 0xE060 /* 0xE060 */ +#define

[U-Boot-Users] [PATCH 1/7] 83xx: nand support for MPC837XRDB boards

2008-03-14 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/configs/MPC837XERDB.h | 24 ++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index 2da4f29..7c19d1e 100644 --- a/include/configs

[U-Boot-Users] [PATCH 6/7] 83xx/fdt_support: let user specifiy FSL USB Dual-Role controller role

2008-03-14 Thread Anton Vorontsov
Linux understands host (default), peripheral and otg (broken). Though, U-Boot doesn't restrict dr_mode variable to these values (think of renames in future). Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- board/freescale/mpc837xerdb/mpc837xerdb.c |1 + common/fdt_support.c

[U-Boot-Users] [PATCH 7/7] tsec: fix link detection for the RTL8211B PHY

2008-03-14 Thread Anton Vorontsov
RTL8211B sets link state register after autonegotiation complete, so with bootdelay=0 RTL8211B will report lack of the link. To fix this, we should wait for aneg to complete, even if the link is currently down. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/net/tsec.c |5

Re: [U-Boot-Users] [PATCH 2/3] 83xx: serdes setup routines

2008-03-13 Thread Anton Vorontsov
On Wed, Mar 12, 2008 at 11:54:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 18:07 Fri 07 Mar , Anton Vorontsov wrote: This patch adds few routines to configure serdes on 837x targets. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- cpu/mpc83xx/Makefile |2

[U-Boot-Users] [PATCH 1/3] 83xx: nand support for MPC837XRDB boards

2008-03-07 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- include/configs/MPC837XERDB.h | 24 ++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index 2da4f29..7c19d1e 100644 --- a/include/configs

[U-Boot-Users] [PATCH 2/3] 83xx: serdes setup routines

2008-03-07 Thread Anton Vorontsov
This patch adds few routines to configure serdes on 837x targets. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- cpu/mpc83xx/Makefile |2 +- cpu/mpc83xx/serdes.c | 161 ++ include/fsl_serdes.h | 25 3 files changed, 187

[U-Boot-Users] [PATCH 3/3] 83xx: initialize serdes for MPC837XRDB boards

2008-03-07 Thread Anton Vorontsov
MPC8377ERDB is special, second serdes should be configured for PEX (x1). Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Makefile |7 +++ board/freescale/mpc837xerdb/mpc837xerdb.c |2 ++ include/configs/MPC837XERDB.h | 19

Re: [U-Boot-Users] [PATCH 1/3] 83xx: nand support for MPC837XRDB boards

2008-03-07 Thread Anton Vorontsov
On Fri, Mar 07, 2008 at 10:26:09AM -0600, Scott Wood wrote: On Fri, Mar 07, 2008 at 06:04:54PM +0300, Anton Vorontsov wrote: +#define CFG_OR1_PRELIM (0x8000 | /* length 32K */ \ +OR_FCM_CSCT | \ +OR_FCM_CST

[U-Boot-Users] [PATCH] nand: fsl_upm: convert to updated MTD NAND infrastructure

2008-01-14 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/mtd/nand/fsl_upm.c | 68 +++ include/linux/mtd/fsl_upm.h |3 ++ 2 files changed, 20 insertions(+), 51 deletions(-) diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c

Re: [U-Boot-Users] [PATCH 3/5] nand: FSL UPM NAND driver

2008-01-14 Thread Anton Vorontsov
On Thu, Jan 10, 2008 at 06:31:06PM +0100, Stefan Roese wrote: On Wednesday 09 January 2008, Anton Vorontsov wrote: Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] This seems to be based on the current NAND infrastructure. You might have noticed that I'm trying right now to merge