Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > > User could evaluate the board function with evb_board, then develops the > product > software by using u-boot and Linux kernel to simulate the real product > behavior. > Once the user has done development process, he/she can replace the evb_loader >

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Macpaul Lin
Dear Wolfgang, 2011/1/3 Wolfgang Denk : > Dear Macpaul Lin, > > In message you > wrote: >> >> User could evaluate the board function with evb_board, then develops the >> product >> software by using u-boot and Linux kernel to simulate the real product >> behavior. >> Once the user has done dev

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > > However, according to the current design specification, AndesTech is trying to > provide a feature which made user could "warm restart" back into u-boot when > u-boot is the 2nd boot loader. What would be the benefit of such an option? > The start.S

[U-Boot] [STATUS] Happy New Year!

2011-01-03 Thread Wolfgang Denk
Hi, this is just to wish all of you a happy, peaceful and prosperous New Year. I would also like to thank all of you for all of your contributions to the U-Boot project. As you might have noticed I've spent the last 12 days mostly offline, and formally I'm still on vacation this week, but I wil

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Macpaul Lin
Dear Wolfgang, 2011/1/3 Wolfgang Denk : > Dear Macpaul Lin, > > In message you > wrote: >> >> However, according to the current design specification, AndesTech is trying >> to >> provide a feature which made user could "warm restart" back into u-boot when >> u-boot is the 2nd boot loader. > > W

[U-Boot] [PATCH] NAND: add the ability to directly write yaffs image

2011-01-03 Thread Lei Wen
This patch add addition suffix to nand write to give the uboot the power to directly burn the yaffs image to nand. Signed-off-by: Lei Wen --- common/cmd_nand.c| 12 -- drivers/mtd/nand/nand_util.c | 43 +++-- include/nand.h

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > > > What would be the benefit of such an option? > > For example, if user have did some env setting manually before booting OS, > and then he want's to drop all those previous env modification. He > just need to restart the > u-boot which is already in

[U-Boot] [PATCH 05/13] fix "depend" target in npe directory

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- arch/arm/cpu/ixp/npe/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/ixp/npe/Makefile b/arch/arm/cpu/ixp/npe/Makefile index c756a1d..14ab3c7 100644 --- a/arch/arm/cpu/ixp/npe/Makefile +++ b/arch/arm/cpu/ixp/npe/M

[U-Boot] [PATCH 09/13] update/fix AcTux3 board

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- board/actux3/actux3.c| 27 ++--- board/actux3/config.mk |7 + board/actux3/u-boot.lds | 47 - include/configs/actux3.h | 23 - 4 files changed, 63 inserti

[U-Boot] [PATCH 12/13] IXP NPE: add support for fixed-speed MII ports

2011-01-03 Thread Michael Schwingen
add support for MII ports that lack a PHY with standard PHY registers Signed-off-by: Michael Schwingen --- arch/arm/cpu/ixp/npe/npe.c | 18 +- include/configs/actux2.h |5 + include/configs/actux3.h |5 + 3 files changed, 27 insertions(+), 1 deletions(-) di

[U-Boot] [PATCH 01/13] add XScale sub architecture (IXP/PXA) to board list

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- MAINTAINERS | 46 +++--- 1 files changed, 23 insertions(+), 23 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ba83f71..5fc3de1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -552,8 +552,8 @@ Rowel Atienza

[U-Boot] [PATCH 11/13] update/fix some more IXP42x boards (only compile tested)

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- board/ixdp425/config.mk|3 ++- board/prodrive/pdnb3/config.mk |2 +- boards.cfg |2 +- include/configs/ixdp425.h | 13 ++--- include/configs/ixdpg425.h |9 ++--- include/configs/pdnb3.h

[U-Boot] [PATCH 08/13] update/fix AcTux2 board

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- board/actux2/actux2.c| 26 +--- board/actux2/config.mk |7 + board/actux2/u-boot.lds | 47 - include/configs/actux2.h | 21 +++ 4 files changed, 61 insertions

[U-Boot] IXP42x patch series - 2nd attempt

2011-01-03 Thread Michael Schwingen
Hi, here is my IXP42x patch series, which brings my IXP boards back to life after relocation was added. I hope I addressed all comments I got from the pervious patch. Notes: I added the XScale sub-architecture to the MAINTAINERS list to get a better overview which boards may still need work: [

[U-Boot] [PATCH 07/13] update/fix AcTux1 board

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- board/actux1/actux1.c| 22 +++- board/actux1/config.mk |7 + board/actux1/u-boot.lds | 42 +++ boards.cfg |5 +++- include/configs/actux1.h | 48 +++

[U-Boot] [PATCH 06/13] add wildcard to sections (for -ffunction-sections/-fdata-sections)

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- arch/arm/cpu/ixp/u-boot.lds |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/ixp/u-boot.lds b/arch/arm/cpu/ixp/u-boot.lds index a55eb8a..747a7b6 100644 --- a/arch/arm/cpu/ixp/u-boot.lds +++ b/arch/arm/cpu/ixp/u-boot

[U-Boot] [PATCH 02/13] add support for IXP42x Rev. B1 and newer

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- arch/arm/cpu/ixp/npe/npe.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/ixp/npe/npe.c b/arch/arm/cpu/ixp/npe/npe.c index 2e68689..9d1090e 100644 --- a/arch/arm/cpu/ixp/npe/npe.c +++ b/arch/arm/cpu/ixp/npe/npe.c @@ -6

[U-Boot] [PATCH 10/13] update/fix AcTux4 board

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- board/actux4/actux4.c| 12 +++- board/actux4/config.mk |6 ++ include/configs/actux4.h | 22 +- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/board/actux4/actux4.c b/board/actux4/actux4.c index

[U-Boot] [PATCH 03/13] trigger hardware watchdog in IXP42x serial driver

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- drivers/serial/serial_ixp.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/serial/serial_ixp.c b/drivers/serial/serial_ixp.c index dd26af4..5893fd2 100644 --- a/drivers/serial/serial_ixp.c +++ b/drivers/serial/serial_ix

[U-Boot] [PATCH 04/13] Fix IXP code to work after relocation was added

2011-01-03 Thread Michael Schwingen
- jump to real flash location after reset before turning off flash mirror - fix timer system to use HZ == 1000, remove broken interrupt-based code Signed-off-by: Michael Schwingen --- arch/arm/cpu/ixp/cpu.c |5 -- arch/arm/cpu/ixp/start.S | 59 ++

[U-Boot] [PATCH 13/13] add dvlhost (dLAN 200 AV Wireless G) board

2011-01-03 Thread Michael Schwingen
Signed-off-by: Michael Schwingen --- MAINTAINERS|1 + board/dvlhost/Makefile | 50 + board/dvlhost/config.mk|3 + board/dvlhost/dvlhost.c| 118 + board/dvlhost/dvlhost_hw.h | 47 + board/dvlhost/u-boot.lds | 86

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Macpaul Lin
Dear Wolfgang, 2011/1/3 Wolfgang Denk : > Dear Macpaul Lin, > > In message you > wrote: >> > > Anything else? > Thanks for your explanation about this during your vacation. I'll report this issue to suggestion the company to modify the origin spec. And also tell the customer to use the correct

[U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Lei Wen
This patch sync with newest mtd code in Linux on handling nand_scan_ident. Signed-off-by: Lei Wen --- drivers/mtd/nand/atmel_nand.c |2 +- drivers/mtd/nand/nand_base.c | 29 +++-- drivers/mtd/nand/nand_ids.c |2 +- include/linux/mtd/nand.h |6 --

Re: [U-Boot] [PATCH] Don't add symlink in srctree when using an objtree

2011-01-03 Thread Loïc Minier
On Sat, Dec 18, 2010, Loïc Minier wrote: > > Don't make it that complicated. Just change the line into > > @rm -fr$(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm > I think I had this in my first version, but had an issue with it; I > will retest This works just fine and is m

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > > Thanks for your explanation about this during your vacation. You're welcome. > I'll report this issue to suggestion the company to modify the origin spec. > And also tell the customer to use the correct command instead of their > requests. Actually

Re: [U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Mike Frysinger
On Mon, Jan 3, 2011 at 10:06 AM, Lei Wen wrote: > This patch sync with newest mtd code in Linux on handling > nand_scan_ident. is there any point to the sync ? doesnt seem like anyone is using the new option. > --- a/drivers/mtd/nand/nand_ids.c > +++ b/drivers/mtd/nand/nand_ids.c > -const struc

[U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data)

2011-01-03 Thread Loïc Minier
The eNET (x86) build fails with "invalid application of 'sizeof' to incomplete type 'struct global_data'" because x86 doesn't define struct global_data. Change sizeof(struct global_data) to sizeof(gd_t) which is always available. Cc: Graeme Russ Signed-off-by: Loïc Minier --- lib/asm-offsets.c

Re: [U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Lei Wen
Hi Mike, On Mon, Jan 3, 2011 at 11:35 PM, Mike Frysinger wrote: > On Mon, Jan 3, 2011 at 10:06 AM, Lei Wen wrote: >> This patch sync with newest mtd code in Linux on handling >> nand_scan_ident. > > is there any point to the sync ?  doesnt seem like anyone is using the > new option. This patch

Re: [U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Mike Frysinger
On Mon, Jan 3, 2011 at 10:48 AM, Lei Wen wrote: > On Mon, Jan 3, 2011 at 11:35 PM, Mike Frysinger wrote: >> On Mon, Jan 3, 2011 at 10:06 AM, Lei Wen wrote: >>> --- a/drivers/mtd/nand/nand_ids.c >>> +++ b/drivers/mtd/nand/nand_ids.c >>> -const struct nand_flash_dev nand_flash_ids[] = { >>> +struct n

Re: [U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data)

2011-01-03 Thread Mike Frysinger
On Mon, Jan 3, 2011 at 10:47 AM, Loïc Minier wrote: > The eNET (x86) build fails with "invalid application of 'sizeof' to > incomplete type 'struct global_data'" because x86 doesn't define > struct global_data.  Change sizeof(struct global_data) to sizeof(gd_t) > which is always available. why not

[U-Boot] Reminder about your invitation from fengbin dong

2011-01-03 Thread fengbin dong (LinkedIn Invitations)
LinkedIn This invitation is awaiting your response: From fengbin dong -- (c) 2010, LinkedIn Corporation___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data)

2011-01-03 Thread Wolfgang Denk
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=, In message <1294069652-9114-1-git-send-email-loic.min...@linaro.org> you wrote: > The eNET (x86) build fails with "invalid application of 'sizeof' to > incomplete type 'struct global_data'" because x86 doesn't define > struct global_data. Change sizeof(struct

Re: [U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Wolfgang Denk
Dear Lei Wen, In message you wrote: > This patch sync with David's patch on Linux. > commit 5e81e88a4c140586d9212999cea683bcd66a15c6 > Author: David Woodhouse > Date: Fri Feb 26 18:32:56 2010 + > > mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident() > > Sig

[U-Boot] [PATCH 2/2] i386: Define struct global_data as on other arches

2011-01-03 Thread Loïc Minier
The eNET (x86) build was failing to build with "invalid application of 'sizeof' to incomplete type 'struct global_data'" because x86 didn't define struct global_data. lib/asm-offsets.c was changed to use sizeof(gd_t) as gd_t is more commonly used outside of arch/*/include/asm/global_data.h, but it

Re: [U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data)

2011-01-03 Thread Loïc Minier
On Mon, Jan 03, 2011, Mike Frysinger wrote: > why not change x86's global_data.h to define the struct ? all other > arches define 'struct global_data'. We could implement both fixes; there are two reasons I preferred sending this fix instead of the one you mention: * gd_t is used across the tr

Re: [U-Boot] [PATCH] Use sizeof(gd_t), not sizeof(struct global_data)

2011-01-03 Thread Loïc Minier
On Mon, Jan 03, 2011, Wolfgang Denk wrote: > Um... I do not like this change; the resulting code is harder to read. I don't mind either way; I had asked <20101220111358.ga28...@bee.dooz.org> which one was the preferred approach, but didn't get comments on this particular point; see <2011010317

Re: [U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Scott Wood
On Mon, 3 Jan 2011 10:35:45 -0500 Mike Frysinger wrote: > On Mon, Jan 3, 2011 at 10:06 AM, Lei Wen wrote: > > This patch sync with newest mtd code in Linux on handling > > nand_scan_ident. > > is there any point to the sync ? doesnt seem like anyone is using the > new option. Even if Lei didn

[U-Boot] [PATCH 00/36] Massive x86 Update - Bring x86 in line with ARM and PPC

2011-01-03 Thread Graeme Russ
It's been a while since I've posted a patch (missed the last release cycle entirely). I've been working on bringing x86 into line with ARM and PowerPC with the init sequence running in flash. Currently, the SDRAM gets initialised in asm before jumping into C and the first thing the C code did was c

[U-Boot] [RFC][PATCH 01/36] x86 - Fix definition of global_data struct for asm-offsets.c

2011-01-03 Thread Graeme Russ
--- arch/i386/include/asm/global_data.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/i386/include/asm/global_data.h b/arch/i386/include/asm/global_data.h index e3f8a25..e9000c3 100644 --- a/arch/i386/include/asm/global_data.h +++ b/arch/i386/include/asm/global_da

[U-Boot] [RFC][PATCH 02/36] x86 - Fix mangled umlauts

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/start.S |2 +- arch/i386/lib/board.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index 829468f..ab9338a 100644 --- a/arch/i386/cpu/start.S +++ b/arch/i386/cpu/start.S @@ -1,7 +1,7 @@ /* * U-boot -

[U-Boot] [RFC][PATCH 03/36] x86 - Move config.mk options to arch/i386/config.mk

2011-01-03 Thread Graeme Russ
--- arch/i386/config.mk | 10 ++ arch/i386/cpu/config.mk |3 ++- board/eNET/config.mk|3 --- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/i386/config.mk b/arch/i386/config.mk index 8743f1a..21d1a27 100644 --- a/arch/i386/config.mk +++ b/arch/i386/co

[U-Boot] [RFC][PATCH 04/36] x86 - move linker script into arch folder

2011-01-03 Thread Graeme Russ
--- arch/i386/config.mk |2 + arch/i386/cpu/u-boot.lds | 104 ++ board/eNET/u-boot.lds| 104 -- 3 files changed, 106 insertions(+), 104 deletions(-) create mode 100644 arch/i386/cpu/u-boot.lds

[U-Boot] [RFC][PATCH 05/36] x86 - Paramatize link locations

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/config.mk |6 ++ arch/i386/cpu/u-boot.lds | 22 +++--- board/eNET/config.mk |1 + 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/arch/i386/cpu/config.mk b/arch/i386/cpu/config.mk index 99edacf..83ce73c 100644 --- a/arch/i386/cp

[U-Boot] [RFC][PATCH 06/36] x86 - Add stack dump to register dump

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/interrupts.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/i386/cpu/interrupts.c b/arch/i386/cpu/interrupts.c index e4d0868..3a83afc 100644 --- a/arch/i386/cpu/interrupts.c +++ b/arch/i386/cpu/interrupts.c @@ -29,6 +29,7 @@ #inclu

[U-Boot] [RFC][PATCH 07/36] x86 - Parametize location of Real Mode code

2011-01-03 Thread Graeme Russ
--- arch/i386/config.mk |1 + arch/i386/cpu/u-boot.lds |2 +- arch/i386/lib/realmode.c |7 +++ 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/i386/config.mk b/arch/i386/config.mk index f4689ec..7d1281b 100644 --- a/arch/i386/config.mk +++ b/arch/i386/confi

[U-Boot] [RFC][PATCH 08/36] x86 - Move Global Descriptor Table defines to processor.h

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/cpu.c |8 +--- arch/i386/include/asm/processor.h |9 ++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/i386/cpu/cpu.c b/arch/i386/cpu/cpu.c index ae40384..1dcbb98 100644 --- a/arch/i386/cpu/cpu.c +++ b/arch/i386/cpu/cpu.c @@

[U-Boot] [RFC][PATCH 09/36] x86 - Add processor flags header from linux

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/cpu.c | 13 +++- arch/i386/cpu/interrupts.c |3 +- arch/i386/cpu/sc520/sc520.c |7 ++- arch/i386/cpu/start.S |3 +- arch/i386/cpu/start16.S |5 +- arch/i386/include/asm/processor-flag

[U-Boot] [RFC][PATCH 10/36] x86 - Call early_board_init when warm booting

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/start.S | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index 460c21b..97bac8f 100644 --- a/arch/i386/cpu/start.S +++ b/arch/i386/cpu/start.S @@ -67,16 +67,16 @@ _start: /* Clear the interupt

[U-Boot] [RFC][PATCH 11/36] x86 - Make cpu init functions weak

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/cpu.c | 14 -- arch/i386/cpu/sc520/sc520.c |9 ++--- arch/i386/include/asm/u-boot-i386.h |2 ++ board/eNET/eNET.c | 22 -- 4 files changed, 16 insertions(+), 31 deletions(-) diff --git a/ar

[U-Boot] [RFC][PATCH 12/36] sc520 - Sort Makefile

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/i386/cpu/sc520/Makefile b/arch/i386/cpu/sc520/Makefile index fb47c20..b962b02 100644 --- a/arch/i386/cpu/sc520/Makefile +++ b/arch/i386/cpu/sc520/Makefile @@ -32,9 +32,9 @@ include $(TOP

[U-Boot] [RFC][PATCH 13/36] sc520 - Define MMCR address in include file

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/sc520.c |2 +- arch/i386/cpu/sc520/sc520_asm.S | 49 - arch/i386/include/asm/ic/sc520.h | 34 + board/eNET/eNET_start16.S|7 +++-- 4 files changed, 54 insertions(+), 38 deletions(-) diff

[U-Boot] [RFC][PATCH 14/36] sc520 - Move board specific settings to board init function

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/sc520.c | 19 --- board/eNET/eNET.c |9 + 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/arch/i386/cpu/sc520/sc520.c b/arch/i386/cpu/sc520/sc520.c index e75825b..c51f11b 100644 --- a/arch/i386/cpu/sc520/sc520.c +++ b/

[U-Boot] [RFC][PATCH 15/36] sc520 - Remove printf calls from cpu_init_f

2011-01-03 Thread Graeme Russ
-- In later patches, cpu_init_f will be called before console has been initialised and printf will not be legitimately available --- arch/i386/cpu/sc520/sc520.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/i386/cpu/sc520/sc520.c b/arch/i386/cpu/sc520/sc520.c index

[U-Boot] [RFC][PATCH 16/36] eNET - Remove --no-warn when compiling dlmalloc.c

2011-01-03 Thread Graeme Russ
--- board/eNET/config.mk |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/eNET/config.mk b/board/eNET/config.mk index 4e066b4..8c16ece 100644 --- a/board/eNET/config.mk +++ b/board/eNET/config.mk @@ -22,5 +22,4 @@ # CONFIG_SYS_TEXT_BASE = 0x0600 -CFLAGS_common/

[U-Boot] [RFC][PATCH 17/36] eNET - Fix eNET Interrupt Setup for Linux

2011-01-03 Thread Graeme Russ
Fix minor issues with the configuration of the hardware interrupts for Linux when booting the eNET board --- board/eNET/eNET.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index b2f349f..3b74ce9 100644 --- a/board/eNET

[U-Boot] [RFC][PATCH 18/36] eNET - Add RTC support to eNET

2011-01-03 Thread Graeme Russ
The SC520 has an inbuilt MC146818 - Enable it for the eNET board --- drivers/rtc/mc146818.c |6 ++ include/configs/eNET.h |2 ++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index ac4eb6a..155034f 100644 --- a/drivers/rt

[U-Boot] [RFC][PATCH 20/36] eNET - Define MMCR values in config.h

2011-01-03 Thread Graeme Russ
--- board/eNET/eNET.c |6 +++--- include/configs/eNET.h | 36 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 3b74ce9..fa10c6e 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -90,9

[U-Boot] [RFC][PATCH 19/36] eNET - Update board configurations

2011-01-03 Thread Graeme Russ
--- board/eNET/config.mk |1 - boards.cfg |3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/eNET/config.mk b/board/eNET/config.mk index 8c16ece..9d2dfa5 100644 --- a/board/eNET/config.mk +++ b/board/eNET/config.mk @@ -21,5 +21,4 @@ # MA 02111-1307 USA

[U-Boot] [RFC][PATCH 21/36] eNET - Define PAR settings in board configuration file

2011-01-03 Thread Graeme Russ
--- board/eNET/eNET.c | 28 ++-- board/eNET/eNET_start16.S |6 ++-- include/configs/eNET.h| 61 + 3 files changed, 78 insertions(+), 17 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index fa10c6e..b4

[U-Boot] [RFC][PATCH 22/36] eNET - Rearrange PAR assignments

2011-01-03 Thread Graeme Russ
--- board/eNET/eNET.c | 64 +-- include/configs/eNET.h | 31 +- 2 files changed, 79 insertions(+), 16 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index b4ef183..db3be5f 100644 --- a/board/eNET/eNET.c +++

[U-Boot] [RFC][PATCH 23/36] sc520 - Init SDRAM PAR early

2011-01-03 Thread Graeme Russ
--- board/eNET/eNET.c |4 +--- board/eNET/eNET_start.S | 13 - 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index db3be5f..c585771 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -118,9 +118,7 @@ static void

[U-Boot] [RFC][PATCH 24/36] x86 - Move initial gd to fixed location

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/start.S | 12 +- arch/i386/include/asm/global_data.h |7 +- arch/i386/lib/board.c | 36 +++--- include/configs/eNET.h |1 + 4 files changed, 37 insertions(+), 19 deletions(-) diff --git

[U-Boot] [RFC][PATCH 25/36] x86 - Use Cache-As-RAM for initial stack

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/Makefile|1 + arch/i386/cpu/sc520/sc520_asm.S |6 +- arch/i386/cpu/sc520/sc520_car.S | 94 +++ arch/i386/cpu/start.S | 35 +++--- include/configs/eNET.h | 18 +++ 5 files changed, 133 inser

[U-Boot] [RFC][PATCH 26/36] sc520 - Move RAM sizing code from asm to C

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/Makefile |2 +- arch/i386/cpu/sc520/sc520.c | 110 --- arch/i386/cpu/sc520/sc520_asm.S | 608 - arch/i386/cpu/sc520/sc520_sdram.c | 522 +++ arch/i386/cpu/start.S | 48 +--

[U-Boot] [RFC][PATCH 27/36] x86 - Defer setup of final stack

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/start.S | 44 +--- arch/i386/lib/board.c |6 -- 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index 95be5a2..77f0332 100644 --- a/arch/i386/cpu/start.S +++ b/arch/i3

[U-Boot] [RFC][PATCH 28/36] x86 - Move call to dram_init_f into board_init_f

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/start.S |3 --- arch/i386/lib/board.c |5 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index 77f0332..fd018bf 100644 --- a/arch/i386/cpu/start.S +++ b/arch/i386/cpu/start.S @@ -93,9 +93,6 @@ car_init_re

[U-Boot] [RFC][PATCH 29/36] x86 - Move test for cold boot into init functions

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/sc520.c |7 --- arch/i386/lib/board.c | 17 +++-- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/arch/i386/cpu/sc520/sc520.c b/arch/i386/cpu/sc520/sc520.c index 19c7100..8145f1a 100644 --- a/arch/i386/cpu/sc520/sc520.c +++ b/arc

[U-Boot] [RFC][PATCH 30/36] x86 - Move console initialisation into board_init_f

2011-01-03 Thread Graeme Russ
--- arch/i386/lib/board.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index b04367b..2b06900 100644 --- a/arch/i386/lib/board.c +++ b/arch/i386/lib/board.c @@ -162,9 +162,6 @@ init_fnc_t *init_sequence[] = {

[U-Boot] [RFC][PATCH 32/36] x86 - Split board_init_f() into init_fnc_t compatible functions

2011-01-03 Thread Graeme Russ
--- arch/i386/include/asm/global_data.h | 12 +++- arch/i386/lib/board.c | 111 +-- 2 files changed, 74 insertions(+), 49 deletions(-) diff --git a/arch/i386/include/asm/global_data.h b/arch/i386/include/asm/global_data.h index cd067f5..f8a16d6 10

[U-Boot] [RFC][PATCH 31/36] x86 - Fix incorrect usage of relocation offset

2011-01-03 Thread Graeme Russ
-- x86 has always used relocation offset in the opposite sense to the ELF standard - Fix this --- arch/i386/cpu/start.S |2 +- arch/i386/lib/board.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/i386/cpu/start.S b/arch/i386/cpu/start.S index fd018bf..00

[U-Boot] [RFC][PATCH 33/36] x86 - Rearrange function calls in board_init_f

2011-01-03 Thread Graeme Russ
--- arch/i386/lib/board.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index abd0551..35d7afd 100644 --- a/arch/i386/lib/board.c +++ b/arch/i386/lib/board.c @@ -237,6 +237,14 @@ static int do_elf_reloc_fixups(

[U-Boot] [RFC][PATCH 34/36] x86 - Convert board_init_f to use an init_sequence

2011-01-03 Thread Graeme Russ
--- arch/i386/lib/board.c | 68 +--- 1 files changed, 30 insertions(+), 38 deletions(-) diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index 35d7afd..6888d53 100644 --- a/arch/i386/lib/board.c +++ b/arch/i386/lib/board.c @@ -156,7 +156,29

[U-Boot] [RFC][PATCH 35/36] sc520 - Release CAR and enable caching

2011-01-03 Thread Graeme Russ
--- arch/i386/cpu/sc520/sc520.c | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/arch/i386/cpu/sc520/sc520.c b/arch/i386/cpu/sc520/sc520.c index 8145f1a..37015e4 100644 --- a/arch/i386/cpu/sc520/sc520.c +++ b/arch/i386/cpu/sc520/sc520.c @@ -51,14 +51,20 @@ i

[U-Boot] [RFC][PATCH 36/36] eNET - Move initial Global Data into CAR

2011-01-03 Thread Graeme Russ
--- include/configs/eNET.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/eNET.h b/include/configs/eNET.h index 36c10a6..faad327 100644 --- a/include/configs/eNET.h +++ b/include/configs/eNET.h @@ -182,7 +182,7 @@ #define CONFIG_SYS_FLASH_BASE 0

Re: [U-Boot] [PATCH v2 2/9] make the hwconfig buffer deeper

2011-01-03 Thread York Sun
On Sat, 2010-12-18 at 16:25 -0600, Wolfgang Denk wrote: > Dear York Sun, > > In message <1292630381-23022-2-git-send-email-york...@freescale.com> you > wrote: > > To temporarily fix buffer issue when running at flash, use bigger buffer > > to push down the stack deeper. > > > > Signed-off-by: Yor

Re: [U-Boot] skip relocation

2011-01-03 Thread Reinhard Meyer
Dear Marcel, > On Monday, January 03, 2011 07:57:33 pm Marcel wrote: > > Great, I've got it to boot. > > I have no idea why it suddenly works, but I guess after reviewing my config > and > changing a couple of things one of those things must have been the cause. > > CONFIG_SYS_TEXT_BASE is 0x7f300

Re: [U-Boot] [PATCH v2 2/9] make the hwconfig buffer deeper

2011-01-03 Thread Wolfgang Denk
Dear York Sun, In message <1294085287.24386.52.ca...@oslab-l1> you wrote: > > > Please explain 1) why this is needed and 2) what it has to do with > > running "at" (from?) flash? > > > > hwconfig is intended for simple h/w configurations. In which case do > > you need more than 128 characters fo

Re: [U-Boot] [PATCH v2 2/9] make the hwconfig buffer deeper

2011-01-03 Thread York Sun
On Mon, 2011-01-03 at 22:11 +0100, Wolfgang Denk wrote: > Dear York Sun, > > In message <1294085287.24386.52.ca...@oslab-l1> you wrote: > > > > > Please explain 1) why this is needed and 2) what it has to do with > > > running "at" (from?) flash? > > > > > > hwconfig is intended for simple h/w co

[U-Boot] initrd_high

2011-01-03 Thread Scott Wood
The code comment in boot_ramdisk_high() says that initrd relocation can be disabled by setting initrd_high to zero or a string such as "no". However, the README says that a value of 0x disables it (technically ~(ulong)0, causing a UI difference if there's ever a 64-bit U-Boot), and this is

Re: [U-Boot] [PATCH v2 2/9] make the hwconfig buffer deeper

2011-01-03 Thread Wolfgang Denk
Dear York Sun, In message <1294089991.24386.58.ca...@oslab-l1> you wrote: > > > Hm... I have no idea whish sort of "buggy code" you are referring to > > here, but in this case we shoul start and fix that buggy code, right? > > Making a buffer in a function's stack and make use of it out of the >

[U-Boot] [PATCH 1/2] Fix typo ("comand" instead of "command")

2011-01-03 Thread Loïc Minier
Signed-off-by: Loïc Minier --- tools/kwbimage.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 7b26920..964796e 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -33,7 +33,7 @@ * Supported commands for configuration file

[U-Boot] [PATCH 2/2] Escape minus signs in manpage

2011-01-03 Thread Loïc Minier
By default, "-" chars are interpreted as hyphens (U+2010) by groff, not as minus signs (U+002D). Since options to programs use minus signs (U+002D), this means for example in UTF-8 locales that you cannot cut and paste options, nor search for them easily. (Reported by lintian.) Signed-off-by: Loï

[U-Boot] [U-BOOT] [PATCH V2] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

2011-01-03 Thread Lei Wen
This patch sync with David's patch on Linux for handling nand_scan_ident. commit 5e81e88a4c140586d9212999cea683bcd66a15c6 Author: David Woodhouse Date: Fri Feb 26 18:32:56 2010 + mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

[U-Boot] [PATCH v2] mpq101: initial support for Mercury Computer Systems MPQ101 board

2011-01-03 Thread Alex Dubov
Mpq101 is a RapidIO development board in AMC form factor, featuring MPC8548 processor, 512MB of hardwired DDR2 RAM and 128MB of hardwired NAND flash memory. USB controller is available, but not presently enabled. Additional board information is available at: http://www.mc.com/products/boards/ensem

[U-Boot] [PATCH] Fix CONFIG_CMD_SHA1SUM

2011-01-03 Thread Alexander Holler
Only CONFIG_CMD_SHA1SUM should have been used. --- README |2 +- common/cmd_mem.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 68f5fb0..2e70b48 100644 --- a/README +++ b/README @@ -675,7 +675,7 @@ The following options need to be c

[U-Boot] net/eth.c drivers/net/rtl8019.c eth_xxx function name dunplication

2011-01-03 Thread qq
Hello,everybody,in RedHat 9.0,i compiled u-boot v2010.12-rc3 with arm-linux-tools-20070808 On link stage,print some errors: ... ... ... ... -lgcc -Map u-boot.map -o u-boot net/libnet.o: In function `eth_halt': /home/code/uboot_v2010.12-rc3/net/eth.c:375: multiple definition of `eth_halt' drivers