[U-Boot] [PATCH] powerpc/p1022ds: nand: introduce the TPL based on the SPL

2013-06-08 Thread ying.zhang
From: Ying Zhang Due to the nand SPL on the board P1022DS has a size limit, it can not be more than 4K. So, the SPL cannot initialize the DDR with the SPD code. This patch introduces TPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code from the SPL. It initializes

[U-Boot] [PATCH 02/11] MIPS: bootm: optimise kernel entry call

2013-06-08 Thread Daniel Schwierzeck
Fix signature of kernel entry function. Mark the kernel entry with __noreturn for better code optimisation. Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c in

[U-Boot] [PATCH 05/11] MIPS: bootm: refactor initialisation of kernel environment

2013-06-08 Thread Daniel Schwierzeck
Move initialisation of Linux environment to separate functions. Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 69 ++- 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c inde

[U-Boot] [PATCH 10/11] MIPS: bootm: add YAMON style Linux preparation/jump code for Qemu Malta

2013-06-08 Thread Daniel Schwierzeck
Signed-off-by: Gabor Juhos Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 68b57d7..1dc4e73 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mi

[U-Boot] [PATCH 09/11] MIPS: bootm: automatically initialise kernel cmdline variables 'rd_start' and 'rd_size'

2013-06-08 Thread Daniel Schwierzeck
This replaces the passing of the location and size of an external init ramdisk via the traditional Linux environment. This is required to supporta again external init ramdisks with recent Linux kernels. Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 12 1 file changed

[U-Boot] [PATCH 11/11] MIPS: bootm: drop obsolete Qemu specific bootm implementation

2013-06-08 Thread Daniel Schwierzeck
The Qemu specific bootm implementation was intended for a special Qemu target in Linux kernel. But this target has been dropped in v2.6.25-rc1 by commit 302922e5f6901eb6f29c58539631f71b3d9746b8 Author: Ralf Baechle Date: Tue Jan 29 10:15:02 2008 + [MIPS] Qemu: Remove platform.

[U-Boot] [PATCH 06/11] MIPS: bootm: make initialisation of Linux environment optional

2013-06-08 Thread Daniel Schwierzeck
Recent linux kernels do not use that special environment variables anymore. Add an option to disable compilation of that code but keep it for compatibilty with older kernels. Signed-off-by: Daniel Schwierzeck --- README| 6 ++ arch/mips/lib/bootm.c | 9 - 2 files chan

[U-Boot] [PATCH 0/11] MIPS: bootm updates

2013-06-08 Thread Daniel Schwierzeck
- refactoring and optimization of bootm command - add support for logical memory blocks (LMB) - make external init ramdisks working again with recent kernels - add support for bootm subcommand 'cmdline' - prepare bootm for upcoming device tree support - add bootm support for newly added MIPS Malta

[U-Boot] [PATCH 07/11] MIPS: bootm: add support for generic relocation of init ramdisks

2013-06-08 Thread Daniel Schwierzeck
All linux kernels after v2.6 require a page-aligned location of an external init ramdisk. Enable CONFIG_SYS_BOOT_RAMDISK_HIGH to support this with the generic U-Boot relocation code. Signed-off-by: Daniel Schwierzeck --- arch/mips/include/asm/config.h | 1 + arch/mips/lib/bootm.c | 8 ++

[U-Boot] [PATCH 01/11] MIPS: bootm: fix checkpatch.pl warnings

2013-06-08 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index a36154a..6b38955 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -57,7 +57,7 @@ static v

[U-Boot] [PATCH 03/11] MIPS: bootm: add support for LMB

2013-06-08 Thread Daniel Schwierzeck
This is required for init ramdisk relocation and device tree support. Signed-off-by: Gabor Juhos Signed-off-by: Daniel Schwierzeck --- arch/mips/include/asm/config.h | 2 ++ arch/mips/lib/bootm.c | 21 + 2 files changed, 23 insertions(+) diff --git a/arch/mips/inc

[U-Boot] [PATCH 08/11] MIPS: bootm: automatically initialise kernel cmdline variable 'mem'

2013-06-08 Thread Daniel Schwierzeck
This replaces the passing of memory size via the traditional Linux environment. This is required for recent Linux kernels. Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 741

[U-Boot] [PATCH 04/11] MIPS: bootm: refactor initialisation of kernel cmdline

2013-06-08 Thread Daniel Schwierzeck
Move initialisation of Linux command line to separate functions. Also add support for bootm subcommand 'cmdline'. Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 130 -- 1 file changed, 84 insertions(+), 46 deletions(-) diff --git a/

Re: [U-Boot] Please pull u-boot-ti/master

2013-06-08 Thread Albert ARIBAUD
Hi Tom, On Fri, 7 Jun 2013 15:19:21 -0400, Tom Rini wrote: > Tom Rini (4): > arm: Remove OMAP2420H4 and all omap24xx support This one removes not only 2420h4 but also tnetv107x_evm. Is that normal? Amicalement, -- Albert. ___ U-Boot mailing l

[U-Boot] [GIT PULL] u-boot-mips/fixes

2013-06-08 Thread Daniel Schwierzeck
Hi Tom, please pull two fixes for MIPS. These patches and [1] are required to cleanly run 'MAKEALL -a mips' again on master. [1] http://patchwork.ozlabs.org/patch/249980/ The following changes since commit 842033e6964e9e5d34aca893c1845416dd8ac2cc: pci: introduce CONFIG_PCI_INDIRECT_BRIDGE op

[U-Boot] [PATCH] MIPS: asm/errno.h: switch to asm-generic/errno.h

2013-06-08 Thread Daniel Schwierzeck
This fixes several warnings like In file included from ./u-boot/include/linux/mtd/mtd.h:13:0, from env_onenand.c:37: ./u-boot/build/vct_platinumavc_onenand_small/include2/asm/errno.h:52:0: warning: "ENOMSG" redefined [enabled by default] Signed-off-by: Daniel Schwierzeck --- a

[U-Boot] [PATCH] mtd: nand: fix initialization of BBT options

2013-06-08 Thread Daniel Schwierzeck
commit dfe64e2c89731a3f9950d7acd8681b68df2bae03 Author: Sergey Lapin Date: Mon Jan 14 03:46:50 2013 + mtd: resync with Linux-3.7.1 changed the initialization of BBT options. Fix drivers jz4740 and s3c2410 which have not been updated yet and cause compile errors. Signed-off-by: Daniel

Re: [U-Boot] Please pull u-boot-ti/master

2013-06-08 Thread Lubomir Popov
Hi Tom, Michael, > Hello, > > The following changes since commit 3da0e5750b24a9491058df6126c7be577a276c09: > > arm: factorize relocate_code routine (2013-05-30 20:24:38 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boot-ti.git master > > for you to fetch changes up

[U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-08 Thread Steven Stallion
This patch introduces support for command line arguments to Plan 9. Plan 9 generally dedicates a small region of kernel memory (known as CONFADDR) for runtime configuration. A new environment variable named confaddr was introduced to indicate this location when copying arguments. Signed-off-by: S

Re: [U-Boot] [PATCH] cmd_bootm: Add command line arguments to Plan 9

2013-06-08 Thread Steven Stallion
On Thu, Jun 6, 2013 at 4:41 PM, Steven Stallion wrote: > This patch introduces support for command line arguments to Plan 9. > Plan 9 generally dedicates a small region of kernel memory (known > as CONFADDR) for runtime configuration. A new environment variable > named confaddr was introduced to

Re: [U-Boot] [PATCH v2 06/16] sf: Update sf to support all sizes of flashes

2013-06-08 Thread Jagan Teki
Hi Simon, On Sat, Jun 8, 2013 at 8:11 PM, Simon Glass wrote: > Hi, > > On Sat, Jun 8, 2013 at 1:22 AM, Jagan Teki wrote: >> >> Hi Simon, >> >> On Sat, Jun 8, 2013 at 4:44 AM, Simon Glass wrote: >> > Hi Jagan, >> > >> > On Fri, May 31, 2013 at 5:52 AM, Jagannadha Sutradharudu Teki >> > wrote: >

Re: [U-Boot] [PATCH v2 16/16] sf: Add Flag status register polling support

2013-06-08 Thread Jagan Teki
Hi Simon, On Sat, Jun 8, 2013 at 8:02 PM, Simon Glass wrote: > Hi Jagan, > > On Sat, Jun 8, 2013 at 1:32 AM, Jagan Teki wrote: >> >> Hi Simon, >> >> Please let know your comments. >> >> I have changed the logic, but removed spi_flash_cmd_poll_bit() use >> poll code on spi_flash_cmd_wait_ready()

Re: [U-Boot] [PATCH v2 14/16] sf: Use spi_flash_read_common() in write status poll

2013-06-08 Thread Simon Glass
Hi Jagan, On Fri, May 31, 2013 at 5:52 AM, Jagannadha Sutradharudu Teki < jagannadha.sutradharudu-t...@xilinx.com> wrote: > Instead of using spi_xfer for SPI_XFER_BEGIN and SPI_XFER_END > separatley use common read call spi_flash_read_common() which > does the same. > > Signed-off-by: Jagannadha

Re: [U-Boot] [PATCH v2 06/16] sf: Update sf to support all sizes of flashes

2013-06-08 Thread Simon Glass
Hi, On Sat, Jun 8, 2013 at 1:22 AM, Jagan Teki wrote: > Hi Simon, > > On Sat, Jun 8, 2013 at 4:44 AM, Simon Glass wrote: > > Hi Jagan, > > > > On Fri, May 31, 2013 at 5:52 AM, Jagannadha Sutradharudu Teki > > wrote: > >> > >> Updated the spi_flash framework to handle all sizes of flashes > >>

Re: [U-Boot] [PATCH v2 16/16] sf: Add Flag status register polling support

2013-06-08 Thread Simon Glass
Hi Jagan, On Sat, Jun 8, 2013 at 1:32 AM, Jagan Teki wrote: > Hi Simon, > > Please let know your comments. > > I have changed the logic, but removed spi_flash_cmd_poll_bit() use > poll code on spi_flash_cmd_wait_ready() > as no other call for spi_flash_cmd_poll_bit() this. > > And also for read_

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2013-06-08 Thread Albert ARIBAUD
Hi Stefano, On Thu, 06 Jun 2013 17:55:33 +0200, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks. > > The following changes since commit cac423a730d3506154744485af1bbc1cd3a1e6a8: > > Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2013-05-11 > 22:24:28 +02

[U-Boot] MIPS FLASH mapping

2013-06-08 Thread Drassal, Allan
Hello, I have been working for a while trying to port U-Boot over to a MIPS AR7161 SoC chip. The actual product is a Buffalo WZR-HP-AG300H router. I have been making quite a bit of successful progress, bu the two FLASH chip archetecture is throwing me off a little. There are two FLASH chips, 16M

Re: [U-Boot] [PATCH] cfi_flash: Fix detection of 8-bit bus flash devices via address shift

2013-06-08 Thread Stefan Roese
Hi Wolfgang, On 06/07/2013 03:02 PM, Jagannadha Sutradharudu Teki wrote: > We had a problem detecting 8/16bit flash devices connected only via > 8bits to the SoC for quite a while. Commit 239cb9d9 > [mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support] finally > fixed this 8-bit bus support

Re: [U-Boot] [PATCH v2 16/16] sf: Add Flag status register polling support

2013-06-08 Thread Jagan Teki
Hi Simon, Please let know your comments. I have changed the logic, but removed spi_flash_cmd_poll_bit() use poll code on spi_flash_cmd_wait_ready() as no other call for spi_flash_cmd_poll_bit() this. And also for read_status the check_status i assigned as 0,earlier it has direct 0 (w/o check_sta

Re: [U-Boot] [PATCH v2 06/16] sf: Update sf to support all sizes of flashes

2013-06-08 Thread Jagan Teki
Hi Simon, On Sat, Jun 8, 2013 at 4:44 AM, Simon Glass wrote: > Hi Jagan, > > On Fri, May 31, 2013 at 5:52 AM, Jagannadha Sutradharudu Teki > wrote: >> >> Updated the spi_flash framework to handle all sizes of flashes >> using bank/extd addr reg facility >> >> The current implementation in spi_fl