[U-Boot] [PATCH v1 0/3] Add support for saveing env variable to SDCard

2009-09-10 Thread Mingkai Hu
[PATCH v1 1/3] Make mmc init come before env_relocate [PATCH v1 2/3] Add support for save environment variable to MMC/SD card [PATCH v1 3/3] mpc8536: Get the address of env on the SDCard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

[U-Boot] [PATCH v1 2/3] Add support for save environment variable to MMC/SD card

2009-09-10 Thread Mingkai Hu
Whether booting from MMC/SD card or not, the environment variables can be saved on it, this patch add the operation support. Signed-off-by: Mingkai Hu --- common/Makefile |1 + common/cmd_nvedit.c |3 +- common/env_sdcard.c | 135 +++

[U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-10 Thread Mingkai Hu
If the environment variables are saved on the MMC/SD card, env_relocat can't relocate env from MMC/SD card without mmc init. Signed-off-by: Mingkai Hu --- lib_ppc/board.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index e

Re: [U-Boot] [PATCH v2 3/5] NAND boot: MPC8536DS support

2009-09-10 Thread Kumar Gala
On Sep 10, 2009, at 9:53 PM, Mingkai Hu wrote: > board/freescale/mpc8536ds/u-boot-nand.lds | 140 +++ > + Do we really need a specific linker script for this? - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [PATCH v2 3/5] NAND boot: MPC8536DS support

2009-09-10 Thread Kumar Gala
On Sep 10, 2009, at 11:11 PM, Kumar Gala wrote: > > On Sep 10, 2009, at 9:53 PM, Mingkai Hu wrote: > >> board/freescale/mpc8536ds/u-boot-nand.lds | 140 +++ >> + > > Do we really need a specific linker script for this? More specifically, can we move it into cpu/mpc85xx/u

Re: [U-Boot] Why Cache flush required in some ARM Cortex boards to enable D cache?

2009-09-10 Thread akshay ts
Hi Dirk, Thanks i got some useful information. Warm Regards, Akshay --- On Thu, 10/9/09, Dirk Behme wrote: > From: Dirk Behme > Subject: Re: [U-Boot] Why Cache flush required in some ARM Cortex boards to > enable D cache? > To: "akshay ts" > Cc: u-boot@lists.denx.de > Date: Thursday, 10 Sep

Re: [U-Boot] [PATCH v2 3/5] NAND boot: MPC8536DS support

2009-09-10 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, September 11, 2009 12:21 PM > To: Gala Kumar-B11780 > Cc: Hu Mingkai-B21284; Wood Scott-B07421; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v2 3/5] NAND boot: MPC8536DS support > > > On

[U-Boot] [PATCH v3 1/5] 85xx: add boot from NAND/eSDHC/eSPI support

2009-09-10 Thread Mingkai Hu
The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us use the SPD to initialize the SDRAM. For all three bootup methods, the boot

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

2009-09-10 Thread Mingkai Hu
MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with t

<    1   2