[U-Boot] Warning Bad CRC

2009-09-20 Thread Rahanesh
Hi All, I am getting a warning message when i run fw_printenv on board. Warning : Bad CRC!! Using Default Environment. And it showed Few environment variables. The values of those environment variables are not that is set on my board. What might me the issue? Thanks Rahanesh _

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, September 19, 2009 12:37 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; ga...@kernel.crashing.org > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > On Fri, Sep 18, 2009 at 11:35:33AM +0800, Mingkai Hu

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Saturday, September 19, 2009 2:42 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > > + > > +#include > > +#include

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Liu Dave-R63238 > Sent: Saturday, September 19, 2009 8:01 AM > To: Kumar Gala; Hu Mingkai-B21284 > Cc: Wood Scott-B07421; u-boot@lists.denx.de > Subject: RE: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support > > > > diff --git a/cpu/mpc85xx/cpu_init_nand

[U-Boot] An error in u-boot-2009.08/cpu/arm920t/start.S

2009-09-20 Thread 雷 高
In u-boot-2009.08/cpu/arm920t/start.S, the instruction of line 158 is "ldr    r1, =0x3ff", but the effective bits in INTSUBMSK register of S3C2410 are [10...0]. So I think "0x3ff" is not right. The right value should be "0x7ff". __

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Saturday, September 19, 2009 2:41 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > > On Sep 17, 2009, at 10:35 PM,

Re: [U-Boot] [PATCH 3/6] sbc8548: use I/O accessors

2009-09-20 Thread Graeme Russ
On Mon, Sep 21, 2009 at 10:36 AM, Paul Gortmaker wrote: > Sweep throught the board specific file and replace the various > register proddings with the equivalent I/O accessors. > > Signed-off-by: Paul Gortmaker > --- > > - ecm->eedr = 0x; /* clear ecm errors */ > - ec

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, September 18, 2009 9:55 PM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > Looks good. > > Any plans on addin

[U-Boot] how to use uboot for lm3s811evb+qemu

2009-09-20 Thread Bai Shuwei
Hello, ALL: I want use u-boot for lm3s811evb which emulated by QEMU system. But I cannot file the related name from include/configs/ directory. I want to know how I can configure the u-boot. # make _config Hope someone fill the name or give me idea how to compile u-boot to support

[U-Boot] [PATCH 0/6] sbc8548 update; remaining bits for 85xx tree.

2009-09-20 Thread Paul Gortmaker
This is the remaining bits that weren't merged to 85xx, with the the requested fixes of course. Those being: sbc8548: correct local bus SDRAM size from 64M to 128M -now uses I/O accesors on BR4/OR4 sbc8548: update PCI/PCI-e support code -redone to make use of the code de-duplific

[U-Boot] [PATCH 2/6] sbc8548: remove eTSEC3/4 voltage hack

2009-09-20 Thread Paul Gortmaker
With only eTSEC1 and 2 being brought out to RJ-45 connectors, we aren't interested in the eTSEC3/4 voltage hack on this board Signed-off-by: Paul Gortmaker --- board/sbc8548/sbc8548.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/sbc8548/sbc8548.c b/board/sb

[U-Boot] [PATCH 4/6] sbc8548: correct local bus SDRAM size from 64M to 128M

2009-09-20 Thread Paul Gortmaker
The size of the LB SDRAM on this board is 128MB, spanning CS3 and CS4. It was previously only being configured for 64MB on CS3, since that was what the original codebase of the MPC8548CDS had. In addition to setting up BR4/OR4, this also adds the TLB entry for the second half of the SDRAM. Signe

[U-Boot] [PATCH 3/6] sbc8548: use I/O accessors

2009-09-20 Thread Paul Gortmaker
Sweep throught the board specific file and replace the various register proddings with the equivalent I/O accessors. Signed-off-by: Paul Gortmaker --- board/sbc8548/sbc8548.c | 91 +++ 1 files changed, 45 insertions(+), 46 deletions(-) diff --git a/

[U-Boot] [PATCH 6/6] sbc8548: allow enabling PCI via a make config option

2009-09-20 Thread Paul Gortmaker
Prior to this commit, to enable PCI, you had to go manually edit the board config header, and if you had 33MHz PCI, you had to manually change CONFIG_SYS_NS16550_CLK too, which was not real user friendly, This adds the typical PCI and clock speed make targets to the toplevel Makefile in accordance

[U-Boot] [PATCH 5/6] sbc8548: update PCI/PCI-e support code

2009-09-20 Thread Paul Gortmaker
The PCI/PCI-e support for the sbc8548 was based on an earlier version of what the MPC8548CDS board was using, and in its current state it won't even compile. This re-syncs it to match the latest codebase and makes use of the new shared PCI functions to reduce board duplication. It borrows from th

[U-Boot] [PATCH 1/6] fsl_pci: create a SET_STD_PCI_INFO() helper wrapper

2009-09-20 Thread Paul Gortmaker
Recycle the recently added PCI-e wrapper used to reduce board duplication of code by creating a similar version for plain PCI. Signed-off-by: Paul Gortmaker --- include/asm-ppc/fsl_pci.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/asm-ppc/fsl_pci.

Re: [U-Boot] [PATCH v2] MAKEALL: Add summary information

2009-09-20 Thread Peter Tyser
> > +# Print statistics when ctrl-c is pressed > > +trap "print_stats; exit " 2 > > Why only on signal 2? Usually we use "1 2 3 15" in such cases. 2's the only case I've ever used for MAKEALL, I'll add the other cases as you suggest. > Also, you might add "0" here and then... > > > @@ -932,3 +9

Re: [U-Boot] [PATCH v3] MAKEALL: Add summary information

2009-09-20 Thread Peter Tyser
On Mon, 2009-09-21 at 00:09 +0200, Wolfgang Denk wrote: > Dear Peter Tyser, > > In message <1253317683-2831-1-git-send-email-pty...@xes-inc.com> you wrote: > > > > if [ "$BUILD_NCPUS" -gt 1 ] > > then > > - JOBS=-j`expr "$BUILD_NCPUS" + 1` > > + JOBS="-j $(($BUILD_NCPUS + 1))" > > else > >

Re: [U-Boot] [PATCH v3] MAKEALL: Add summary information

2009-09-20 Thread Wolfgang Denk
Dear Peter Tyser, In message <1253317683-2831-1-git-send-email-pty...@xes-inc.com> you wrote: > > if [ "$BUILD_NCPUS" -gt 1 ] > then > - JOBS=-j`expr "$BUILD_NCPUS" + 1` > + JOBS="-j $(($BUILD_NCPUS + 1))" > else > JOBS="" > fi This is an unrelated change. I would not include it

Re: [U-Boot] [PATCH v2] MAKEALL: Add summary information

2009-09-20 Thread Wolfgang Denk
Dear Peter Tyser, In message <1253316982-20606-1-git-send-email-pty...@xes-inc.com> you wrote: > > index 1d50c34..a63d028 100755 > --- a/MAKEALL > +++ b/MAKEALL > @@ -1,5 +1,8 @@ > #!/bin/sh > > +# Print statistics when ctrl-c is pressed > +trap "print_stats; exit " 2 Why only on signal 2? Usu

Re: [U-Boot] [PATCH] MAKEALL: Add summary information

2009-09-20 Thread Wolfgang Denk
Dear Peter Tyser, In message <1253313414-6907-1-git-send-email-pty...@xes-inc.com> you wrote: > This change adds some basic summary information to the MAKEALL script. > The summary information includes how many boards were compiled, how many > boards had compile warnings or errors, and which speci

Re: [U-Boot] [PATCH v3 3/3] ppc/85xx: Clean up mpc8572DS PCI setup code

2009-09-20 Thread Paul Gortmaker
On Sat, Sep 19, 2009 at 1:08 PM, Kumar Gala wrote: > Use new fsl_pci_init_port() that reduces amount of duplicated code in the > board ports, use IO accessors and clean up printing of status info. > > Signed-off-by: Kumar Gala > --- > * Fixed set_bits32 -> setbits_be32 You got the bottom one, bu

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Dudhat Dipen-B09055
Hi Liu, I have posted the patch for the same. Have a look at the attachment. Thanks Dipen -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Liu Dave-R63238 Sent: Saturday, September 19, 2009 5:31 AM To: Kumar Gala; Hu Mingkai-B21