[U-Boot] [PATCH 3/3] Use run_command_repeatable()

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com Replace run_command() by run_command_repeatable() in places which depend on the return code to indicate repeatability. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- common/cli_simple.c |2 +- common/cmd_bedbug.c |2

[U-Boot] [PATCH 1/3] Check run_command() return code properly

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c |2 +-

[U-Boot] [PATCH 2/3] Add run_command_repeatable()

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 on success and 1 on error. However, there are some invocations which expect 0 or 1 for success (not repeatable or repeatable) and -1 for error; add run_command_repeatable() for this purpose. Signed-off-by: Thomas Betker

[U-Boot] [PATCH 0/3] Fix command repeat

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com The intent of these patches is to get command repeat to work again. The issue is that run_command() returns 0 on success, 1 on error. In order to get command repeat to work, we need a variant which returns -1 on error and 0/1

Re: [U-Boot] Unable to boot the new FIT image

2014-06-04 Thread Harsha Kiran
Hi Simon, I was able to succesfully test the Secure u-boot on the beaglebone black from the u-boot-x86 Bone git. Thanks for all the help and it was a great beaglebone_vboot.txt file ! I have some of minor things i would like to mention when i followed the procedure. 1) in the 7th step 7. Put

Re: [U-Boot] Unable to boot the new FIT image

2014-06-04 Thread Harsha Kiran
Hi Simon, On Tue, Jun 3, 2014 at 9:58 PM, Simon Glass s...@chromium.org wrote: Hi Harsha, On 3 June 2014 20:29, Harsha Kiran harshakiran...@gmail.com wrote: Hi Simon, I was able to succesfully test the Secure u-boot on the beaglebone black from the u-boot-x86 Bone git. Thanks for

[U-Boot] [PATCH] board/BuR/tseries: Add support for using 8-bit on eMMC

2014-06-04 Thread Hannes Petermaier
Cc: tr...@ti.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/tseries/mux.c |5 + 1 file changed, 5 insertions(+) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index af09bd6..210ac71 100644 --- a/board/BuR/tseries/mux.c +++ b/board/BuR/tseries/mux.c @@

[U-Boot] [PATCH] board/BuR/tseries: only run gpmc_init(...) in NAND-build

2014-06-04 Thread Hannes Petermaier
if we have no NAND-Chip, we don't need the gpmc-controller and therefore is no need to init it. Cc: tr...@ti.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/tseries/board.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/BuR/tseries/board.c

[U-Boot] [PATCH] board/BuR/common: Add CONFIG_CMD_I2C

2014-06-04 Thread Hannes Petermaier
in almost all cases we need the i2c commands within the u-boot shell. So we enable them within the common section. Cc: tr...@ti.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/bur_am335x_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [Patman Bug Report] Patman breaks git-log during git-rebase

2014-06-04 Thread Masahiro Yamada
Hi Simon, On Mon, 2 Jun 2014 20:28:48 -0600 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 2 June 2014 01:44, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, I found an odd behavior of Patman. If I run Patman during git rebase -i, Patman rewrites git-log,

[U-Boot] [PATCH] board/BuR/tseries: cosmetic changes

2014-06-04 Thread Hannes Petermaier
Cc: tr...@ti.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/tseries/mux.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 3c76e96..af09bd6 100644 --- a/board/BuR/tseries/mux.c +++

Re: [U-Boot] [PATCH 5/5] ahci: provide sunxi SATA driver using AHCI platform framework

2014-06-04 Thread Ian Campbell
On Tue, 2014-06-03 at 21:49 +0200, Hans de Goede wrote: Hi Ian, On 05/31/2014 06:36 PM, Ian Campbell wrote: This enables the necessary clocks, in AHB0 and in PLL6_CFG. This is done for sun7i only since I don't have access to any other sunxi platformsw with sata included. The PHY

[U-Boot] [PATCH] arch-am33xx: Add defines for timer0-7

2014-06-04 Thread Hannes Petermaier
For usage of timer6 within BR we need this defines to enable clock modules and clk-source. Also the 'Timer register bits' are expanded. By the way we add defines for all timers within AM335x SoC. Cc: tr...@ti.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at ---

[U-Boot] [PATCH] board/BuR/common: introduce usage of CONFIG_SYS_GENERIC_BOARD

2014-06-04 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/bur_am335x_common.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/bur_am335x_common.h b/include/configs/bur_am335x_common.h index 7dc91be..edb07b1 100644 --- a/include/configs/bur_am335x_common.h +++

Re: [U-Boot] Booting armv8 kernel on uboot

2014-06-04 Thread Sudeep Holla
On Wed, Jun 4, 2014 at 5:31 AM, Vishal Bhoj vishal.b...@linaro.org wrote: Hi, Thanks for the help. I am able to boot the kernel on foundation models but unable to boot the kernel on the FVP base models. The model itself seem to hang while booting the kernel. Here is the log:

[U-Boot] [RFC PATCH 0/2] tools: avoid including .c files in lib/ and common/

2014-06-04 Thread Masahiro Yamada
Masahiro Yamada (2): tools: refactor HOSTLOADLIBES_* options tools: avoid including .c files in lib/ or common/ tools/Makefile| 71 --- tools/common/Makefile | 18 + tools/crc32.c | 1 - tools/env_embedded.c |

[U-Boot] [RFC PATCH 1/2] tools: refactor HOSTLOADLIBES_* options

2014-06-04 Thread Masahiro Yamada
The tools mkimage, dumpimage, fit_info, fit_check_sign always have the common libraries to be linked, so HOSTLOADLIBES_* can be consolidated a little bit. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/Makefile | 19 +-- 1 file changed, 9 insertions(+), 10

[U-Boot] [RFC PATCH 2/2] tools: avoid including .c files in lib/ or common/

2014-06-04 Thread Masahiro Yamada
We have many files in tools/ which include their counterpart .c files in lib/ or common/. It seems better to directly generate .o files from lib/*.c or common/*.c. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/Makefile| 52

Re: [U-Boot] Building common/lib files in tools/

2014-06-04 Thread Masahiro Yamada
Hi Simon, On Tue, 3 Jun 2014 09:51:59 -0600 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 3 June 2014 06:02, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon, 2 Jun 2014 21:40:05 -0600 Simon Glass s...@chromium.org wrote: Hi Masahiro, I see that

[U-Boot] Zynq bug and fix by generic board

2014-06-04 Thread Michal Simek
Hi Albert and Masahiro, surprisingly I have tested zynq in Tom's repo and I am getting stuck in full u-boot. I have also tried SPL with MMC and it is hanging in the same location U-Boot SPL 2014.07-rc2-00063-g3fe1a8545b55 (Jun 04 2014 - 11:57:12) mmc boot reading system.dtb

[U-Boot] (xilinx-u-boot query) Trying to run FALCON mode on zynq-microzed board.

2014-06-04 Thread Uzair Zaidi
I am trying to run u-boot falcon mode on zynq-microzed board and i am following README-falcon. There are two methods with spl export i.e. ATAGS blob and FDT blob. I am using FDT in spl export. Is the DT blob (fdt) needs to get prepard/patched for this board (zynq-microzed)? If yes, when i run

Re: [U-Boot] [Patch v4 2/5] ARMv8: Adjust MMU setup

2014-06-04 Thread York Sun
On 06/02/2014 11:01 AM, Mark Rutland wrote: On Mon, Jun 02, 2014 at 05:06:13PM +0100, York Sun wrote: On 06/02/2014 04:34 AM, Mark Rutland wrote: On Thu, May 29, 2014 at 09:49:05PM +0100, York Sun wrote: Make MMU functions reusable. Platform code can setup its own MMU tables. What exactly

[U-Boot] [Patch v5 1/5] Added 64-bit MMIO accessors for ARMv8

2014-06-04 Thread York Sun
From: J. German Rivera german.riv...@freescale.com This is needed for accessing peripherals with 64-bit MMIO registers, from ARMv8 processors. Signed-off-by: J. German Rivera german.riv...@freescale.com --- Change log v5: no change v4: no change v3: no change arch/arm/include/asm/io.h |

[U-Boot] [Patch v5 2/5] ARMv8: Adjust MMU setup

2014-06-04 Thread York Sun
Make MMU function reusable. Platform code can setup its own MMU tables. Signed-off-by: York Sun york...@freescale.com CC: David Feng feng...@phytium.com.cn --- Change log v5: Drop the addition of inline function set_pgtable_section() from v4 It is only used twice and causes confusion. v4:

[U-Boot] [Patch v5 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-04 Thread York Sun
From: J. German Rivera german.riv...@freescale.com Adding support to load and start the Layerscape Management Complex (MC) firmware. First, the MC GCR register is set to 0 to reset all cores. MC firmware and DPL images are copied from their location in NOR flash to DDR. MC registers are updated

[U-Boot] [Patch v5 3/5] ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC

2014-06-04 Thread York Sun
Freescale LayerScape with Chassis Generation 3 is a set of SoCs with ARMv8 cores and 3rd generation of Chassis. We use different MMU setup to support memory map and cache attribute for these SoCs. MMU and cache are enabled very early to bootst performance, especially for early development on

[U-Boot] [Patch v5 5/5] ARMv8/ls2100a_emu: Add LS2100A emulator and simulator board support

2014-06-04 Thread York Sun
LS2100A is an ARMv8 implementation. This adds board support for emulator and simulator: Two DDR controllers UART2 is used as the console IFC timing is tightened for speedy booting Support DDR3 and DDR4 as separated targets Management Complex (MC) is enabled Signed-off-by: York Sun

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-04 Thread Tim Harvey
On Fri, May 30, 2014 at 12:04 AM, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Fabio Estevam wrote: On Wed, May 28, 2014 at 4:40 AM, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: I use an additional delay in imx6_add_pcie_port() as a workaround so far. How much of additional

[U-Boot] [PATCH] kbuild, tools: generate wrapper C sources automatically by Makefile

2014-06-04 Thread Masahiro Yamada
There are many source files shared between U-boot image and tools. Instead of adding a lot of dummy wrapper files that just include the corresponding file in lib/ or common/ directory, Makefile should automatically generate them. The original inspiration for this came from

Re: [U-Boot] [RFC PATCH 2/2] tools: avoid including .c files in lib/ or common/

2014-06-04 Thread Masahiro Yamada
Hi Simon, On Wed, 4 Jun 2014 19:39:14 +0900 Masahiro Yamada yamad...@jp.panasonic.com wrote: We have many files in tools/ which include their counterpart .c files in lib/ or common/. It seems better to directly generate .o files from lib/*.c or common/*.c. Signed-off-by: Masahiro

Re: [U-Boot] [PATCH 1/3] Check run_command() return code properly

2014-06-04 Thread Simon Glass
Hi Thomas, On 3 June 2014 16:00, thomas.bet...@freenet.de wrote: From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker

Re: [U-Boot] [RFC PATCH 1/2] tools: refactor HOSTLOADLIBES_* options

2014-06-04 Thread Simon Glass
On 4 June 2014 04:39, Masahiro Yamada yamad...@jp.panasonic.com wrote: The tools mkimage, dumpimage, fit_info, fit_check_sign always have the common libraries to be linked, so HOSTLOADLIBES_* can be consolidated a little bit. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com

Re: [U-Boot] [PATCH] kbuild, tools: generate wrapper C sources automatically by Makefile

2014-06-04 Thread Simon Glass
Hi Masahiro, On 4 June 2014 20:11, Masahiro Yamada yamad...@jp.panasonic.com wrote: There are many source files shared between U-boot image and tools. Instead of adding a lot of dummy wrapper files that just include the corresponding file in lib/ or common/ directory, Makefile should

[U-Boot] sdcard with messed up partition table with FAT signature on header

2014-06-04 Thread Darwin Dingel
Hi, I have a sdcard with a messed up partition table with a FAT signature on the header. This is readable under linux but not when I do a 'fatls' which results in Partition 1 not valid on device 0. Before get_device_and_partition() was introduced this was still working because reading the