[U-Boot] [PATCH] arm: remove unneeded symbol offsets and _TEXT_BASE

2013-10-12 Thread Albert ARIBAUD
Remove the last uses of symbol offsets in ARM U-Boot. Remove some needless uses of _TEXT_BASE. Remove all _TEXT_BASE definitions. Signed-off-by: Albert ARIBAUD --- NOTE: this is not intended for inclusion in 2013.10. :) _TEXT_BASE was only used by ARM to allow resolution of symbol offsets, thems

Re: [U-Boot] [Patch v3] cmd/gpt: Support gpt command for all devices

2013-10-12 Thread Egbert Eich
On Fri, Oct 11, 2013 at 09:13:22AM +0200, Piotr Wilczek wrote: > Dear Egbert Eich, > > > -Original Message- > > From: Egbert Eich [mailto:egbert.e...@gmail.com] > > Sent: Friday, October 04, 2013 6:53 PM > > To: u-boot@lists.denx.de > > Cc: Piotr Wilczek; Tom Rini; Egbert Eich; Egbert Eich

Re: [U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-12 Thread Lukasz Majewski
On Sat, 12 Oct 2013 15:47:14 +0800 Bo Shen wrote: > If won't pass value to dfu->r_left, it always 0, make no transfer, > the dfu-util on host side report failed. So, before starting transfer, > pass the value, then nand uploading can work. > > Signed-off-by: Bo Shen > > --- > drivers/dfu/dfu.

Re: [U-Boot] How/Where does "_start" get assigned a value ?

2013-10-12 Thread Albert ARIBAUD
Hi Djoker, On Wed, 9 Oct 2013 16:02:43 -0700, Djoker wrote: > On Wed, Oct 9, 2013 at 12:54 PM, Arvid Brodin wrote: > > On 2013-10-09 18:07, djoker wrote: > >> Hi Everyone, > >> > >> I have a armv7 board and am looking at the "_start" symbol address, using > >> the following command: > >> *nm u-

Re: [U-Boot] [PATCH v5 2/8] ARM: add secure monitor handler to switchto non-secure state

2013-10-12 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Sat, 12 Oct 2013 17:27:30 +0800, wrote: > Hi, experts: > I found Linaro engineers had pushed some secure monitor related code. > But not find these code in 2013.10.rc4 . > So, how to get these latest code? As always: by submitting them, or having someone submit th

Re: [U-Boot] [Patch v1 1/1] jffs2: change U_BOOT_CMD ls to fsls

2013-10-12 Thread Wolfgang Denk
Dear Suriyan Ramasami, In message <1381366918-17590-1-git-send-email-suriya...@gmail.com> you wrote: > multiple definitions of `_u_boot_list_2_cmd_2_ls' if CONFIG_CMD_JFFS2 > and CONFIG_CMD_FS_GENERIC are defined. > > Signed-off-by: Suriyan Ramasami > --- > common/cmd_jffs2.c |2 +- > 1 fil

[U-Boot] [PATCH] Net: FEC: Fix huge memory leak

2013-10-12 Thread Marek Vasut
The fec_halt() never free'd both RX and TX DMA descriptors that were allocated in fec_init(), nor did it free the RX buffers. Rework the FEC driver so that these descriptors and buffers are allocated only once in fec_probe(). Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic --- d

[U-Boot] [PATCH 2/3] mx28evk: Add 'nandboot' environment command

2013-10-12 Thread Otavio Salvador
This reads the kernel, ftd and boot into ubifs filesystem. While on that, the SD firmware filename definition has been moved next to the other SD related commands. Signed-off-by: Otavio Salvador --- include/configs/mx28evk.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-

[U-Boot] [PATCH 1/3] mx28evk: Use 512k for fdt partition to align it

2013-10-12 Thread Otavio Salvador
Using 512k for fdt partition allow it to be aligned with the other small partitions and 512k erase block size. Signed-off-by: Otavio Salvador --- include/configs/mx28evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h in

[U-Boot] [PATCH 3/3] mx28evk: Extend environment to easy write of NAND system

2013-10-12 Thread Otavio Salvador
This adds following new targets: - update_nand_kernel - update_nand_fdt - update_nand_filesystem and to avoid confusion, the 'update_nand_full' has been renamed to 'update_nand_firmware_full'. Signed-off-by: Otavio Salvador --- include/configs/mx28evk.h | 35

[U-Boot] [PATCH 0/3] Improved NAND support for mx28evk

2013-10-12 Thread Otavio Salvador
This patchset improves the mx28evk default environment so it is easier to use by users when testing the NAND support. It provides a set of new environment routines as: - update_nand_kernel - update_nand_fdt - update_nand_filesystem and allow for easy NAND boot using: 'run nandboot' This ha

[U-Boot] [PATCH] fsl_esdhc: Add Auto command 12 interrupt bit detecting

2013-10-12 Thread Haijun Zhang
When Auto-CMD12 is used, the corresponding interrupt and error bit should be enabled and set to reflect auto cmd 12 error. Also add other command error detecting, like command index error, CRC error etc. Without this command error bit set system will hang due to the while loop. Signed-off-by: Haij

Re: [U-Boot] [PATCH v5 2/8] ARM: add secure monitor handler to switchto non-secure state

2013-10-12 Thread TigerLiu
Hi, experts: I found Linaro engineers had pushed some secure monitor related code. But not find these code in 2013.10.rc4 . So, how to get these latest code? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/

[U-Boot] [PATCH v14 09/10] arm64: board support of vexpress_aemv8a

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: David Feng --- board/armltd/vexpress64/Makefile | 27 + board/armltd/vexpress64/vexpress64.c | 50 + boards.cfg |1 + include/configs/vexpress_aemv8a.h| 191 ++ 4 files changed

[U-Boot] [PATCH v14 06/10] arm64: Make checkarmreloc accept arm64 relocations

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: Scott Wood Signed-off-by: David Feng --- Makefile | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 86464c9..edf52f2 100644 --- a/Makefile +++ b/Makefile @@ -805,12 +805,16 @@ tools: $(VERSION_FILE) $(

[U-Boot] [PATCH v14 04/10] arm64: Add tool to statically apply RELA relocations

2013-10-12 Thread fenghua
From: David Feng ARM64 uses the newer RELA-style relocations rather than the older REL. RELA relocations have an addend in the relocation struct, rather than expecting the loader to read a value from the location to be updated. While this is beneficial for ordinary program loading, it's problema

[U-Boot] [PATCH v14 07/10] arm64: core support

2013-10-12 Thread fenghua
From: David Feng Relocation code based on a patch by Scott Wood, which is: Signed-off-by: Scott Wood Signed-off-by: David Feng --- arch/arm/config.mk |3 +- arch/arm/cpu/armv8/Makefile | 38 + arch/arm/cpu/armv8/cache.S | 130 ++

[U-Boot] [PATCH v14 05/10] arm64: Turn u-boot.bin back into an ELF file after relocate-rela

2013-10-12 Thread fenghua
From: David Feng While performing relocations on u-boot.bin should be good enough for booting on real hardware, some simulators insist on booting an ELF file (and yet don't perform ELF relocations), so convert the relocated binary back into an ELF file. This can go away in the future if we chang

[U-Boot] [PATCH v14 10/10] arm64: MAKEALL, filter armv8 boards from LIST_arm

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: David Feng --- MAKEALL | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/MAKEALL b/MAKEALL index 956f3da..cb414ca 100755 --- a/MAKEALL +++ b/MAKEALL @@ -370,6 +370,12 @@ LIST_ARM11="$(boards_by_cpu arm1136) \ LIST_ARMV7="$(

[U-Boot] [PATCH v14 02/10] cmd_pxe: remove compiling warnings

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/cmd_pxe.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index c5f4a22..1df9a8a 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -57,7 +57,7 @@ static int format_mac_pxe(

[U-Boot] [PATCH v14 08/10] arm64: generic board support

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/board_f.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 0ada1af..d821dbe 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -458,7 +458,7 @@ static

[U-Boot] [PATCH v14 01/10] fdt_support: 64bit initrd start address support

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/fdt_support.c | 66 ++ 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index b034c98..9bc5821 100644 --- a/common/fdt_support.c +++

[U-Boot] [PATCH v14 00/10] arm64 patch

2013-10-12 Thread fenghua
From: David Feng Changes for v14: - Merge rela relocation patches from Scott Wood . - Remove all CONFIG_NEED_MANUAL_RELOC and other fixups due to manual relocation. With rela relocation patches them are not needed. - Fix the bug of MEMORY_ATTRIBUTES definition due to assembl

[U-Boot] [PATCH v14 03/10] add weak entry definition

2013-10-12 Thread fenghua
From: David Feng Signed-off-by: David Feng --- include/linux/linkage.h |4 1 file changed, 4 insertions(+) diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 9ddf830..2a2848a 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -49,6 +49,10 @@

[U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-12 Thread Bo Shen
If won't pass value to dfu->r_left, it always 0, make no transfer, the dfu-util on host side report failed. So, before starting transfer, pass the value, then nand uploading can work. Signed-off-by: Bo Shen --- drivers/dfu/dfu.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dfu

Re: [U-Boot] [PATCH] Makefile: Introduce ARCH_PLATFORM_LIBGCC variable

2013-10-12 Thread Albert ARIBAUD
Hi Tom, On Fri, 11 Oct 2013 16:13:03 -0400, Tom Rini wrote: > In some cases, such as arm multi-lib hardfloat (hf) toolchains, we will > have multiple libgcc.a's available, and the arch needs to provide > additional logic to determine the right file to use > (-print-libgcc-file-name contains no C

[U-Boot] Question about dfu flash rootfs image

2013-10-12 Thread Bo Shen
Hi All, Now I am implementing DFU support on Atmel sama5d3xek board, when try to download rootfs image to NAND flash through DFU, we need to drop ffs from rootfs image. In dfu_nand.c when it call nand_write_skip_bad() with flags as 0. However, I need to call nand_write_skip_bad() with flags