[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

[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 ++

[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 +

[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

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] U-Boot 1.3.2 crashes after interrupt_init() on PPC405EP board

2008-03-24 Thread Reto Stalder
Hi I'm setting up U-Boot 1.3.2 on a PowerPC 405EP based prototype board. The execution stops shortly after returning from 'interrupt_init()' on line 998 in 'lib_ppc/board.c'. When I comment out this function call or line 104 in 'ppc_lib/interrupts.c' (set_msr(get_msr() | MSR_EE) I get the U-Boot

[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 ---

[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

[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

[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 2/2] Freescale eLBC FCM NAND driver

2008-03-24 Thread Scott Wood
This is a driver for the Flash Control Machine of the enhanched Local Bus Controller found on some Freescale chips (such as the mpc8313 and the mpc8379). Signed-off-by: Scott Wood [EMAIL PROTECTED] --- This patch applies to the mtd-2.6.22.1 branch of the nand tree. drivers/mtd/nand/Makefile

[U-Boot-Users] [PATCH 1/1] Modified the DDR SDRAM clock control register to delay MCK/MCK_B 3/4 clock

2008-03-24 Thread Joe D'Abbraccio
From: Joe D'Abbraccio [EMAIL PROTECTED] With the original value of 1/2 clock cycle delay, the system ran relatively stable except when we run benchmarks that are intensive users of memory. When I run samba connected disk with a HDBENCH test, the system locks-up or reboots sporadically.

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

2008-03-24 Thread Anton Vorontsov
From: Li Li [EMAIL PROTECTED] This patch is based on Dave Liu`s previously sent MPC837x patches. Initial the MPC837x PCIE controller. Note that configue address bit field is not compatible with PCIE spec 10a. So, the pci command output is not reliable. Just map 16M pci configure space which

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] Add brackets to if condition in tools/setlocalversion

2008-03-24 Thread Liew Tsi Chung
Wolfgang, Please ignore Add brackets to if condition in tools/setlocalversion patch. The u-boot for ColdFire was able to build prior to version 1.3.2. Until, I merged the local with the latest update. Whenever I tried to build a u-boot for any ColdFire platforms, the error

Re: [U-Boot-Users] [PATCH] Add brackets to if condition in tools/setlocalversion

2008-03-24 Thread John Rigby
What distro are you running? Some use dash for /bin/sh instead of bash. That may be your problem. Liew Tsi Chung wrote: Wolfgang, Please ignore Add brackets to if condition in tools/setlocalversion patch. The u-boot for ColdFire was able to build prior to version 1.3.2.

[U-Boot-Users] Booting vxworks image from U-boot

2008-03-24 Thread Zvika Vered
Hello, Is it possible to boot a vxworks ELF image using 'bootvx' ? I downloaded a vxworks 6.3 ELF image using 'tftpboot' and launched 'vxboot'. U-boot crashed. The vxworks ELF image is OK. When I download it using JTAG after reset it works. What is the best way to boot vxworks ELF image from

Re: [U-Boot-Users] [PATCH] Add brackets to if condition in tools/setlocalversion

2008-03-24 Thread Liew Tsi Chung
John, Fedora 3 and Fedora 8, both are using bash. Regards, TsiChung -Original Message- From: Rigby John Sent: Monday, March 24, 2008 2:48 PM To: Liew Tsi Chung Cc: [EMAIL PROTECTED]; U-Boot-Users Subject: Re: [PATCH] Add brackets to if condition in tools/setlocalversion What

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

2008-03-24 Thread Kim Phillips
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: diff --git a/include/fdt_support.h b/include/fdt_support.h index

[U-Boot-Users] [PATCH] USB Storage, add meaningful return value

2008-03-24 Thread Aras Vaichas
This patch changes the usb storage command to return success iff it finds a USB storage device, otherwise it returns error. This enables you to check for a USB storage device before trying to access it: if usb storage; then fatload usb 0 $loadaddr $filename; fi

[U-Boot-Users] [PATCH] lwmon5 SYSMON POST: fix backlight control

2008-03-24 Thread Wolfgang Denk
From: Yuri Tikhonov [EMAIL PROTECTED] If the LWMON5 config has SYSMON POST among CONFIG_POSTs which may be run on the board, then the SYSMON POST controls the display backlight (doesn't switch backlight ON if POST FAILED, and does switch the backlight ON if PASSED). If not, then the video driver

[U-Boot-Users] [PATCH] lwmon5 SYSMON POST: fix handling of negative temperatures

2008-03-24 Thread Wolfgang Denk
From: Yuri Tikhonov [EMAIL PROTECTED] Fix errors in the LWMON5 Sysmon POST for negative temperatures. Signed-off-by: Yuri Tikhonov [EMAIL PROTECTED] --- post/board/lwmon5/dspic.c | 27 ++- post/board/lwmon5/sysmon.c | 33 ++--- 2 files

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

2008-03-24 Thread Kim Phillips
On Mon, 24 Mar 2008 21:42:37 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: +/* PCIE address map */ +#define CFG_PCIE1_BASE 0xA000 +#define CFG_PCIE1_MEM_BASE CFG_PCIE1_BASE +#define CFG_PCIE1_MEM_PHYS CFG_PCIE1_MEM_BASE +#define CFG_PCIE1_MEM_SIZE 0x1000

Re: [U-Boot-Users] [PATCH] USB Storage, add meaningful return value

2008-03-24 Thread Wolfgang Denk
Dear Aras, in message [EMAIL PROTECTED] you wrote: This patch changes the usb storage command to return success iff it finds a USB storage device, otherwise it returns error. Thanks. I appreciate your contribution, but please fix the coding style: @@ -196,9 +196,13 @@ for (i

Re: [U-Boot-Users] [PATCH] USB Storage, add meaningful return value

2008-03-24 Thread Jerry Van Baren
Wolfgang Denk wrote: Dear Aras, in message [EMAIL PROTECTED] you wrote: This patch changes the usb storage command to return success iff it finds a USB storage device, otherwise it returns error. Thanks. I appreciate your contribution, but please fix the coding style: @@ -196,9

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

2008-03-24 Thread Kim Phillips
On Mon, 24 Mar 2008 20:46:24 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: 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(-) applied 1-11.

Re: [U-Boot-Users] [PATCH 1/1] Modified the DDR SDRAM clock control register to delay MCK/MCK_B 3/4 clock

2008-03-24 Thread Kim Phillips
On Mon, 24 Mar 2008 13:00:59 -0400 Joe D'Abbraccio Joe.D'[EMAIL PROTECTED] wrote: From: Joe D'Abbraccio [EMAIL PROTECTED] With the original value of 1/2 clock cycle delay, the system ran relatively stable except when we run benchmarks that are intensive users of memory. When I run samba

Re: [U-Boot-Users] [PATCH] USB Storage, add meaningful return value

2008-03-24 Thread Aras Vaichas
Jerry Van Baren wrote: Wolfgang Denk wrote: Dear Aras, in message [EMAIL PROTECTED] you wrote: This patch changes the usb storage command to return success iff it finds a USB storage device, otherwise it returns error. Thanks. I appreciate your contribution, but please fix the coding

[U-Boot-Users] question regarding startup code

2008-03-24 Thread srinivas bakki
Hi ppl, Am a newbie to u-boot as well as arm assembly. wanted to know about the startup code. Below is the vector table pasted from the code. What i dont understand is why only the reset vector is PC relative and all others have memory allocated to hold the addresses. I mean all other

Re: [U-Boot-Users] [MIPS] Extend MIPS_MAX_CACHE_SIZE upto 64kB

2008-03-24 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED] --- cpu/mips/cache.S |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cpu/mips/cache.S b/cpu/mips/cache.S index bda9bb1..2998a3b 100644 --- a/cpu/mips/cache.S +++

Re: [U-Boot-Users] [MIPS] asm headers' updates

2008-03-24 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: Wolfgang Denk wrote: +#if 0 +#include linux/compiler.h +#endif Please don't add dead code. Instead, remove these line(s). Fixed. Thanks, Patch revised. I updated more files, and cleaned up CodingStyle issues all over the headers, [MIPS] asm

[U-Boot-Users] [MIPS] cpu/mips/Makefile: Change Makefile style

2008-03-24 Thread Shinya Kuribayashi
Split board-related objects with one line for one file. Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED] --- cpu/mips/Makefile | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/cpu/mips/Makefile b/cpu/mips/Makefile index 92dcc16..c6caf1d 100644 ---

[U-Boot-Users] [MIPS] Move gth2_config from ARM section to MIPS

2008-03-24 Thread Shinya Kuribayashi
Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED] --- Makefile | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4fde699..d68b03d 100644 --- a/Makefile +++ b/Makefile @@ -2470,11 +2470,6 @@ cm4008_config: unconfig

Re: [U-Boot-Users] [MIPS] cpu/mips/Makefile: Change Makefile style

2008-03-24 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: @@ -26,12 +26,18 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(CPU).a START= start.o -COBJS= asc_serial.o au1x00_serial.o au1x00_eth.o au1x00_usb_ohci.o \ - cpu.o interrupts.o incaip_clock.o -SOBJS= incaip_wdt.o cache.o -