Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Josh Wu
Hi, Stephen On 6/13/2014 12:07 PM, Stephen Warren wrote: On 06/12/2014 09:33 PM, Josh Wu wrote: Dear Wolfgang On 6/12/2014 4:52 PM, Wolfgang Denk wrote: Dear Josh Wu, In message <53995100.9080...@atmel.com> you wrote: In U-Boot when we access a partition of a device, we use 'ifname dev:part

Re: [U-Boot] Non-secure switch in U-boot

2014-06-12 Thread Shabbir Khan
Hi Tim, Thanks for reply. Yes. FSBL is encrypted and is used to start u-boot. My problem is, by default since cortex-a9 is trustzone compliant it boots in secure state, but i want to switch dynamically to non-secure state by calling smc #0 in start.S of my u-boot. Since I have successfully set up

Re: [U-Boot] [PATCH v3 0/2] Introduction of new board Peach-Pit

2014-06-12 Thread Minkyu Kang
Hello, On 09/06/14 19:22, Akshay Saraswat wrote: > Hi Minkyu, > > Please review this patch set. > >> This board is based on Exynos5420 and is similar to SMDK5420 board. >> Adding new and refactoring existing DT and config files to support >> both SMDK5420 and Peach-Pit. >> >> Changes since v

[U-Boot] [PATCH] mx6: soc: Update the comments of set_ldo_voltage()

2014-06-12 Thread Fabio Estevam
From: Fabio Estevam Commit 3d622b78 (mx6: soc: Introduce set_ldo_voltage()) introduces set_ldo_voltage() function that can be used to set the voltages of any of the three LDO regulators controlled by the PMU_REG_CORE register. Prior to this commit there was a single set_vddsoc() which only conf

Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Wolfgang Denk
Dear Josh Wu, In message <539a70ff.4080...@atmel.com> you wrote: > > > Don;t we also support plain "ifname dev", i. e. without partition > > specification? > > The problem is we only support "ifname dev" on command line mode or the > filesystem call which calls get_device_and_partition(). > > F

Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Stephen Warren
On 06/12/2014 09:33 PM, Josh Wu wrote: > Dear Wolfgang > > On 6/12/2014 4:52 PM, Wolfgang Denk wrote: >> Dear Josh Wu, >> >> In message <53995100.9080...@atmel.com> you wrote: >>> In U-Boot when we access a partition of a device, we use 'ifname >>> dev:part' format. >>> For instance: 'mmc 0:1' mea

[U-Boot] [PATCH] fix: CONFIG_NETCONSOLE start/handle this stuff only outside SPL

2014-06-12 Thread Hannes Petermaier
SPL stage does not support various networking things, and therefore CONFIG_NETCONSOLE cannot be built within SPL. Signed-off-by: Hannes Petermaier --- net/net.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/net.c b/net/net.c index f7cc29f..0f7625f 100644 --- a/ne

Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Josh Wu
Dear Wolfgang On 6/12/2014 4:52 PM, Wolfgang Denk wrote: Dear Josh Wu, In message <53995100.9080...@atmel.com> you wrote: In U-Boot when we access a partition of a device, we use 'ifname dev:part' format. For instance: 'mmc 0:1' means the MMC card's #1 partition of the device #0. Don;t we als

Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-12 Thread Prabhakar Kushwaha
Hi Roy, On 6/13/2014 1:19 AM, Roy Zang wrote: Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confusion. The link status can check from host side eventually. Signed-off-by:

Re: [U-Boot] [PATCH 1/4] Reactivate the tracing feature

2014-06-12 Thread Masahiro Yamada
Hi Simon, On Wed, 11 Jun 2014 23:50:48 -0400 Simon Glass wrote: > Hi Masahiro, > > On 11 June 2014 23:42, Simon Glass wrote: > > Hi Masahiro, > > > > Yes I should remove this otherwise it will at best bloat the code for > > SPL. I think it is probably best just to revert that part of the > >

Re: [U-Boot] [PATCH 1/4] Reactivate the tracing feature

2014-06-12 Thread Masahiro Yamada
Hi Simon On Wed, 11 Jun 2014 23:42:25 -0400 Simon Glass wrote: > Hi Masahiro, > > On 10 June 2014 00:47, Masahiro Yamada wrote: > > Hi Simon, > > > > > > On Thu, 5 Jun 2014 12:27:49 -0600 > > Simon Glass wrote: > > > >> This was lost sometime in the Kbuild conversion. Add it back. > > > > N

Re: [U-Boot] [PATCH] mxs: fixed battery boot on imx233-olinuxino-micro

2014-06-12 Thread Marek Vasut
On Friday, June 06, 2014 at 12:18:09 AM, Marek Vasut wrote: > On Wednesday, May 21, 2014 at 04:01:55 AM, Peter Schumann wrote: > > This patch makes it possible to boot from battery on olinuxino Boards > > from Olimex. > > > > We should not set DOUBLE_FETS in HW_POWER_MINPWR, it makes my system > >

Re: [U-Boot] Driver Model and DTS Parsing

2014-06-12 Thread Stephen Warren
On 06/11/2014 10:55 PM, Simon Glass wrote: ... > Tegra doesn't have much in the device tree for GPIOs - it seems to be > all hard-coded in the software. So I ended up with the code you saw > which just iterates over a known number of banks, creating a device > for each. That still sounds wrong. Te

Re: [U-Boot] [PATCH 1/5] usb: ehci: mxs: Add board-specific callbacks

2014-06-12 Thread Marek Vasut
On Monday, April 28, 2014 at 03:38:39 AM, Marek Vasut wrote: > Add board-specific callbacks for enabling/disabling port power > into the MXS EHCI controller driver. This is in-line with the > names of callbacks on other systems. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic Do you mind pic

Re: [U-Boot] [PATCH 2/2] arm: mx5: Enable CONFIG_SYS_GENERIC_BOARD on M53EVK

2014-06-12 Thread Marek Vasut
On Thursday, April 03, 2014 at 07:12:37 PM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > --- > include/configs/m53evk.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h > index 16546c2..496f046 100644 > --- a/include/configs/m53evk

[U-Boot] [RFC] kbuild.h: workaround for llvm IAS

2014-06-12 Thread Jeroen Hofstee
KBuild (ab)uses the asm statement to write to a file and llvm integrated as chokes about these invalid asm statements. Workaround it by making it look like valid asm code. Signed-off-by: Jeroen Hofstee --- Kbuild | 3 ++- include/linux/kbuild.h | 6 +++--- 2 files changed, 5 inse

Re: [U-Boot] [PATCH v2] sandbox: change local_irq_save() to macro

2014-06-12 Thread Jeroen Hofstee
On do, 2014-06-12 at 12:26 +0900, Masahiro Yamada wrote: > local_irq_save() should be a macro, not a function > because local_irq_save() saves flag to the given argument. > > GCC is silent about this issue, but Clang warns: > > In file included from lib/asm-offsets.c:15: > In file included from i

Re: [U-Boot] unsigned int for gpio

2014-06-12 Thread Jeroen Hofstee
Hello Simon, On wo, 2014-06-11 at 17:12 -0600, Simon Glass wrote: > Hi Jeroen, > > On 11 June 2014 15:37, Jeroen Hofstee wrote: > > Hello Simon, > > > > in commit 95a260a9 > > > > > > dm: Enable gpio command to support driver model > > > > Now that named GPIO banks are supported, along with a wa

Re: [U-Boot] FIT: how to store MACs in a DTB

2014-06-12 Thread Wolfgang Denk
Dear Yegor Yefremov, In message you wrote: > AFAIK one can store MACs in a DTB from u-boot via loading DTB in RAM > and changing nodes values. How should this work with a FIT image? Is > there any howto? DTB handling and image format are indepenent from each other, so this has nothing to do wit

Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-12 Thread Wolfgang Denk
Dear Roy Zang, In message <1402602563-26705-1-git-send-email-tie-fei.z...@freescale.com> you wrote: > Even u-boot boots up, the pcie link may not setup correctly when > Freescale SOC acts as endpoint. > So change the link status from 'no link' to 'undetermined' to > reduce the confusion. > The li

Re: [U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 03:53:47 PM, Lukasz Dalek wrote: > Enable 'generic board init' for H2200 palmtop. > > Signed-off-by: Lukasz Dalek Acked-by: Marek Vasut Albert, can you please pick this one up directly ? Best regards, Marek Vasut ___ U-

[U-Boot] [PATCH] sf: Stop leaking memory

2014-06-12 Thread Marek Vasut
It's usually a common pattern to free() the memory that we allocated. Implement this here to stop leaking memory. Also, add a debug output when BAR configuration fails to follow suit. Signed-off-by: Marek Vasut Cc: Michal Simek Cc: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/sf_ops.c | 7

[U-Boot] [PATCH] includes: move openssl headers to include/u-boot

2014-06-12 Thread Jeroen Hofstee
commit 18b06652cd "tools: include u-boot version of sha256.h" unconditionally forced the sha256.h from u-boot to be used for tools instead of the host version. This is fragile though as it will also include the host version. Therefore move it to include/u-boot to join u-boot/md5.h etc which were re

[U-Boot] FIT: how to store MACs in a DTB

2014-06-12 Thread Yegor Yefremov
AFAIK one can store MACs in a DTB from u-boot via loading DTB in RAM and changing nodes values. How should this work with a FIT image? Is there any howto? System: am335x Yegor ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

[U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-12 Thread Roy Zang
Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confusion. The link status can check from host side eventually. Signed-off-by: Roy Zang --- drivers/pci/fsl_pci_init.c | 10

[U-Boot] [PATCH] avr32: migrate cache functions

2014-06-12 Thread Andreas Bießmann
Unfortunately the avr32 cache implementation has another API than the one described in common.h. Migrate the flush/invalidate dcache functions to the common API to be usable in device drivers. Signed-off-by: Andreas Bießmann CC: Josh Wu --- This patch is required to apply 'net: macb: enable dcac

Re: [U-Boot] [PATCH V3] sandbox: restore ability to access host fs through standard commands

2014-06-12 Thread Simon Glass
On 12 June 2014 10:28, Stephen Warren wrote: > From: Stephen Warren > > Commit 95fac6ab4589 "sandbox: Use os functions to read host device tree" > removed the ability for get_device_and_partition() to handle the "host" > device type, and redirect accesses to it to the host filesystem. This > brok

Re: [U-Boot] [PATCH] test: vboot: explicitly request bash

2014-06-12 Thread Simon Glass
On 12 June 2014 10:27, Stephen Warren wrote: > From: Stephen Warren > > vboot_test.sh uses Bashisms. Explicitly use #!/bin/bash so the script > doesn't fail if /bin/sh isn't Bash. > > Signed-off-by: Stephen Warren Acked-by: Simon Glass ___ U-Boot mai

Re: [U-Boot] [PATCH] arm: bcm281xx: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Steve Rae
On 14-06-10 04:20 AM, Albert ARIBAUD wrote: Hi Steve, On Wed, 14 May 2014 14:18:09 -0700, Steve Rae wrote: convert to generic board Signed-off-by: Steve Rae --- include/configs/bcm28155_ap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/bcm28155_ap.h b/include/co

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Stephen Warren
On 06/12/2014 11:30 AM, Marek Vasut wrote: > On Thursday, June 12, 2014 at 05:55:40 PM, Stephen Warren wrote: > [...] I'm slightly confused by this log. Do you have 2 boards running U-Boot, one running the USB controller in device mode, and this is the log from some other board that'

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 05:55:40 PM, Stephen Warren wrote: [...] > >> I'm slightly confused by this log. Do you have 2 boards running U-Boot, > >> one running the USB controller in device mode, and this is the log from > >> some other board that's talking to that first board? > > > > I have

Re: [U-Boot] [PATCH 1/4] dfu:cmd: get the default command arguments from environment

2014-06-12 Thread Stephen Warren
On 06/12/2014 08:25 AM, Przemyslaw Marczak wrote: > This change adds support to store the default DFU cmd line > arguments in the environment. > > This is useful for users who usually use the same arguments > for dfu command and do the upgrade frequently. > > DFU command use cases: > - dfu[]

Re: [U-Boot] [PATCH] tegra20: display: fix checking of return value

2014-06-12 Thread Stephen Warren
On 06/11/2014 03:12 PM, Jeroen Hofstee wrote: > The calling code seems a bit in doubt about the return > value of fdtdec_lookup_phandle. Since it returns a negative > value on error (and fdt_node_offset_by_phandle as well), > check for that. Tested-by: Stephen Warren (On Seaboard/Springbank; boo

[U-Boot] [PATCH V3] sandbox: restore ability to access host fs through standard commands

2014-06-12 Thread Stephen Warren
From: Stephen Warren Commit 95fac6ab4589 "sandbox: Use os functions to read host device tree" removed the ability for get_device_and_partition() to handle the "host" device type, and redirect accesses to it to the host filesystem. This broke some unit tests that use this feature. So, revert that

[U-Boot] [PATCH] test: vboot: explicitly request bash

2014-06-12 Thread Stephen Warren
From: Stephen Warren vboot_test.sh uses Bashisms. Explicitly use #!/bin/bash so the script doesn't fail if /bin/sh isn't Bash. Signed-off-by: Stephen Warren --- test/vboot/vboot_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vboot/vboot_test.sh b/test/vboot/vb

Re: [U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On Jun 12, 2014, at 7:19 PM, Stephen Warren wrote: > On 06/12/2014 05:31 AM, Pantelis Antoniou wrote: >> On May 23, 2014, at 10:24 PM, Stephen Warren wrote: >>> Currently, U-Boot behaves as follows: >>> >>> - Begin with no SD card inserted in "mmc 1" >>> - Execute: mmc dev 1 >>> - Th

Re: [U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-06-12 Thread Stephen Warren
On 06/12/2014 05:31 AM, Pantelis Antoniou wrote: > On May 23, 2014, at 10:24 PM, Stephen Warren wrote: >> Currently, U-Boot behaves as follows: >> >> - Begin with no SD card inserted in "mmc 1" >> - Execute: mmc dev 1 >> - This fails, since there is no card >> - User plugs in an SD card >> - Execut

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Stephen Warren
On 06/12/2014 02:36 AM, Jörg Krause wrote: > > On 06/10/2014 09:34 PM, Stephen Warren wrote: >> On 06/02/2014 05:02 PM, Jörg Krause wrote: >>> Sorry, my previous post was not shown correctly. The raw text was missing. I >>> removed the annotation. >>> >>> Since this commit my Ethernet Gadget on a

Re: [U-Boot] [RFC, PATCH v3 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-12 Thread Tom Rini
On Wed, Jun 11, 2014 at 09:20:10AM +0200, Heiko Schocher wrote: > resync mtd, ubi and ubifs subsystem with linux: > > commit 455c6fdbd219161bd09b1165f11699d6d73de11c > Author: Linus Torvalds > Date: Sun Mar 30 20:40:15 2014 -0700 > > Linux 3.14 > > Main reason for this sync is, we now ha

[U-Boot] [PATCH] arm: ethernut5: convert to generic board

2014-06-12 Thread Tim Schendekehl
Enable CONFIG_SYS_GENERIC_BOARD for the Ethernut 5 board. Signed-off-by: Tim Schendekehl --- include/configs/ethernut5.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index c81fc44..4c69af6 100644 --- a/include/configs/ethernu

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-12 Thread Stephen Warren
On 06/12/2014 03:51 AM, Lukasz Majewski wrote: > Hi Stephen, > >> From: Stephen Warren >> >> Various misc enhancements to dfu_gadget_test.sh: >> >> * After every write (download), perform a write to a different file >> with different data. This ensures that the DFU buffer's content is >> repl

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-12 Thread Stephen Warren
On 06/12/2014 01:17 AM, Lukasz Majewski wrote: > Stephen Warren wrote: ... >> Here's how I'd love to see the dfu command work. It would take a bit >> of refactoring of the code, and a change to the format of the >> dfu_alt_info variable and "dfu" command parameters. Perhaps we could >> have an opti

Re: [U-Boot] Non-secure switch in U-boot

2014-06-12 Thread Thomas . Betker
Hello Shabir: > I am working on Xilinx's zynq zc702 board on which i am trying to boot > U-boot in Non-secure state, but unfortunately i am not making it boot, > through ARM DS-5 debugger, i traced the code flow, once booting process > enters into NS world abort is taking place. Do i need to set u

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-12 Thread Stephen Warren
On 06/11/2014 10:10 PM, Masahiro Yamada wrote: ... > Tegra uses different CPU for SPL and Normal U-boot. > That's why Tegra directories are sprinkled under arch/arm/: > > arch/arm/cpu/arm720t/tegra-common/ > arch/arm/cpu/arm720t/tegra20/ > arch/arm/cpu/arm720t/tegra30/ > arch/arm/cpu/arm720t/tegr

Re: [U-Boot] [PATCH 2/3] env_mmc: support env partition setup in runtime

2014-06-12 Thread Pantelis Antoniou
Hi Dmitry, I took a good look at the patch and there's a problem. On Apr 27, 2014, at 1:18 PM, Dmitry Lifshitz wrote: > Add callback with __weak annotation to allow setup of environment > partition number in runtime from a board file. > > Signed-off-by: Dmitry Lifshitz > Signed-off-by: Igor Gr

[U-Boot] [PATCH 2/4] thor:cmd: get the default command arguments from environment

2014-06-12 Thread Przemyslaw Marczak
This change adds support to getting the default DFU cmd line arguments from the environment. DFU and THOR uses the same command line arguments, so the DFU command environment setup can be used also with THOR. Signed-off-by: Przemyslaw Marczak Cc: Lukasz Majewski Cc: Marek Vasut --- common/cmd

[U-Boot] [PATCH 4/4] trats:config: add default dfu device environment setup

2014-06-12 Thread Przemyslaw Marczak
This change allows using DFU and THOR commands without passing command line arguments. Signed-off-by: Przemyslaw Marczak Cc: Lukasz Majewski Cc: Minkyu Kang --- include/configs/trats.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/trats.h b/include/configs/trats.h inde

[U-Boot] [PATCH 1/4] dfu:cmd: get the default command arguments from environment

2014-06-12 Thread Przemyslaw Marczak
This change adds support to store the default DFU cmd line arguments in the environment. This is useful for users who usually use the same arguments for dfu command and do the upgrade frequently. DFU command use cases: - dfu[] - use command line args - dfu [] - take the default command line a

[U-Boot] [PATCH 3/4] trats2:config: add default dfu device environment setup

2014-06-12 Thread Przemyslaw Marczak
This change allows using DFU and THOR commands without passing command line arguments. Signed-off-by: Przemyslaw Marczak Cc: Piotr Wilczek Cc: Minkyu Kang --- include/configs/trats2.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/trats2.h b/include/configs/trats2.h ind

Re: [U-Boot] [i2c] Pull request

2014-06-12 Thread Tom Rini
On Thu, Jun 12, 2014 at 11:44:32AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git: > > The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: > > common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 > -0400) > > are av

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Tom Rini
On Thu, Jun 12, 2014 at 03:41:21PM +0300, Pantelis Antoniou wrote: > Hi Tom, > > The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: > > common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 > -0400) > > are available in the git repository at: > >

[U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Lukasz Dalek
Enable 'generic board init' for H2200 palmtop. Signed-off-by: Lukasz Dalek --- include/configs/h2200.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/h2200.h b/include/configs/h2200.h index d026484..5d0b85e 100644 --- a/include/configs/h2200.h +++ b/include/configs/h2200.h @

[U-Boot] Non-secure switch in U-boot

2014-06-12 Thread Shabbir Khan
Hi, I am working on Xilinx's zynq zc702 board on which i am trying to boot U-boot in Non-secure state, but unfortunately i am not making it boot, through ARM DS-5 debugger, i traced the code flow, once booting process enters into NS world abort is taking place. Do i need to set up any stacks for N

Re: [U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Łukasz Dałek
On 12.06.2014 14:58, Marek Vasut wrote: On Thursday, June 12, 2014 at 12:46:53 AM, Lukasz Dalek wrote: Signed-off-by: Lukasz Dalek A commit message would be nice. btw. do you think this would work on other PXA boards ? No idea. Best regards, Marek Vasut Lukasz D.

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-12 Thread Simon Glass
+Masahiro Hi, On 10 June 2014 13:01, Stefan Roese wrote: > Hi Tom! > > > On 10.06.2014 18:14, Tom Rini wrote: >> >> I've pushed v2014.07-rc3 out to the repository and tarballs should exist >> soon. >> >> We're getting better on the syncing up of things out of patchwork and I >> know there's stil

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Igor Grinberg
On 06/12/14 16:13, Pantelis Antoniou wrote: > Hi Igor, > > On Jun 12, 2014, at 4:10 PM, Igor Grinberg wrote: > >> Hi Pantelis, >> >> On 06/12/14 15:41, Pantelis Antoniou wrote: >>> Hi Tom, >>> >>> The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: >>> >>> common/xyzMode

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 10:36:55 AM, Jörg Krause wrote: > On 06/10/2014 09:34 PM, Stephen Warren wrote: > > On 06/02/2014 05:02 PM, Jörg Krause wrote: > >> Sorry, my previous post was not shown correctly. The raw text was > >> missing. I removed the annotation. > >> > >> Since this commit my

Re: [U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 12:46:53 AM, Lukasz Dalek wrote: > Signed-off-by: Lukasz Dalek A commit message would be nice. btw. do you think this would work on other PXA boards ? Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2 13/14] Enhance fit_check_sign to check all images

2014-06-12 Thread Simon Glass
At present this tool only checks the configuration signing. Have it also look at each of the images in the configuration and confirm that they verify. Signed-off-by: Simon Glass Acked-by: Heiko Schocher (v1) --- Changes in v2: - Update test output in signature.txt common/bootm.c

Re: [U-Boot] [PATCH v2] test:dfu: Add test scripts for testing DFU regression

2014-06-12 Thread Simon Glass
Hi Lukasz, On 12 June 2014 05:00, Lukasz Majewski wrote: [snip] >> > +COLOR_RED="\33[31m" >> > +COLOR_GREEN="\33[32m" >> > +COLOR_DEFAULT="\33[0m" >> >> Which side of the pond are you? :-) I think it should be COLOUR in >> U-Boot. > > This script is run on the host. Could you be more specific.

[U-Boot] [PATCH v2 12/14] bootm: Move decompression code into its own function

2014-06-12 Thread Simon Glass
This makes it possible to decompress an image without it being a kernel and without intending to boot it (as it needed for host tools, for example). Signed-off-by: Simon Glass --- Changes in v2: None common/bootm.c | 75 +- 1 file changed

[U-Boot] [PATCH v2 07/14] image: Remove the fit_load_image() property parameter

2014-06-12 Thread Simon Glass
This can be obtained by looking up the image type, so is redundant. It is better to centralise this lookup to avoid errors. Signed-off-by: Simon Glass --- Changes in v2: None common/bootm.c | 3 +-- common/image-fdt.c | 1 - common/image-fit.c | 29 - common/i

[U-Boot] [PATCH v2 03/14] fdt: Rename the DEV_TREE_BIN Makefile flag to to EXT_DTB

2014-06-12 Thread Simon Glass
This seems like a better name. This is a patch-up to the earlier commit 63b4b5b, and also removes a redundant Makefile change. Signed-off-by: Simon Glass --- Changes in v2: None Makefile | 2 +- doc/README.fdt-control | 4 ++-- dts/Makefile | 4 ++-- 3 files changed, 5

[U-Boot] [PATCH v2 0/14] Enhance fit_check_sign add beaglebone black vboot docs

2014-06-12 Thread Simon Glass
The fit_check_sign tool checks that the configuration is correct, but does not check each image within that configuration. This series adds that feature, at least for uncompressed images. In order to arrange this, cmd_bootm.c is split up into three files, one for the command processing, one for th

[U-Boot] [PATCH v2 14/14] Add documentation for verified boot on Beaglebone Black

2014-06-12 Thread Simon Glass
As an example of an end-to-end process for using verified boot in U-Boot, add a detailed description of the steps to be used for a Beaglebone Black. Signed-off-by: Simon Glass --- Changes in v2: None doc/uImage.FIT/beaglebone_vboot.txt | 608 1 file changed

[U-Boot] [PATCH v2 02/14] mkimage: Automatically expand FDT in more cases

2014-06-12 Thread Simon Glass
The original code did not cover every case and there was a missing negative sign in one case. Expand the coverage and fix the bug. Signed-off-by: Simon Glass mkimage: Automatically make space in FDT when full When adding hashes or signatures, the target FDT may be full. Detect this and automatic

[U-Boot] [PATCH v2 04/14] tools: Check arguments in fit_check_sign/fit_info

2014-06-12 Thread Simon Glass
These tools crash if no arguments are provided. Add checks to avoid this. Signed-off-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v2: None tools/fit_check_sign.c | 9 + tools/fit_info.c | 12 2 files changed, 21 insertions(+) diff --git a/tools/fit_che

[U-Boot] [PATCH v2 10/14] Avoid including config.h in command.h

2014-06-12 Thread Simon Glass
This is not necessary and prevents using this header when building tools. Signed-off-by: Simon Glass --- Changes in v2: None include/command.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/command.h b/include/command.h index d3f700f..6f06db1 100644 --- a/include/command.h +++ b/in

[U-Boot] [PATCH v2 01/14] hash: Use uint8_t in preference to u8

2014-06-12 Thread Simon Glass
This type is more readily available on the host compiler, so use it instead. Signed-off-by: Simon Glass --- Changes in v2: None common/hash.c | 12 ++-- include/hash.h | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/hash.c b/common/hash.c index 237bd04.

[U-Boot] [PATCH v2 05/14] Reverse the meaning of the fit_config_verify() return code

2014-06-12 Thread Simon Glass
It is more common to have 0 mean OK, and -ve mean error. Change this function to work the same way to avoid confusion. Signed-off-by: Simon Glass --- Changes in v2: None common/cmd_fdt.c | 2 +- common/image-fit.c | 2 +- common/image-sig.c | 4 ++-- tools/fit_check_sign.c | 3 +-

[U-Boot] [PATCH v2 11/14] Allow compiling common/bootm.c on with HOSTCC

2014-06-12 Thread Simon Glass
We want to use some of the functionality in this file, so make it build on the host. Signed-off-by: Simon Glass --- Changes in v2: None common/bootm.c | 18 ++ tools/Makefile | 1 + 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/common/bootm.c b/common/bootm.c

[U-Boot] [PATCH v2 09/14] Fix small 'case' typo in image-fit.c

2014-06-12 Thread Simon Glass
This typo makes the comment confusing. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index c0d7b8c..83fac9a 100644 --- a/common/image-fit.c +++ b/common/i

[U-Boot] [PATCH v2 08/14] bootm: Support android boot on sandbox

2014-06-12 Thread Simon Glass
A small change allows this to operate on sandbox. Signed-off-by: Simon Glass --- Changes in v2: None common/bootm.c| 2 +- include/configs/sandbox.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/bootm.c b/common/bootm.c index 338f647..1e66929 100644 --

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Pantelis Antoniou
Hi Igor, On Jun 12, 2014, at 4:10 PM, Igor Grinberg wrote: > Hi Pantelis, > > On 06/12/14 15:41, Pantelis Antoniou wrote: >> Hi Tom, >> >> The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: >> >> common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:0

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Igor Grinberg
Hi Pantelis, On 06/12/14 15:41, Pantelis Antoniou wrote: > Hi Tom, > > The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: > > common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 > -0400) > > are available in the git repository at: > > git://g

[U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Pantelis Antoniou
Hi Tom, The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to 3d6a5a4dfca25

Re: [U-Boot] [PATCH] mmc: free allocated memory on initialization errors

2014-06-12 Thread Pantelis Antoniou
Hi Darwin On May 26, 2014, at 11:31 PM, Darwin Rambo wrote: > Cleanup to balance malloc/free calls. > > Signed-off-by: Darwin Rambo > Reviewed-by: Steve Rae > --- > > drivers/mmc/kona_sdhci.c |8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/kona

Re: [U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: > From: Stephen Warren > > Currently, U-Boot behaves as follows: > > - Begin with no SD card inserted in "mmc 1" > - Execute: mmc dev 1 > - This fails, since there is no card > - User plugs in an SD card > - Execute: mmc dev 1 > -

Re: [U-Boot] [PATCH 2/3] cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: > From: Stephen Warren > > The body of init_mmc_device() is now identical to that of do_mmc_rescan() > except for the error codes returned. Modify do_mmc_rescan() to simply > call init_mmc_device() and convert the error codes, to a

Re: [U-Boot] [PATCH 1/3] cmd_mmc: add force_init parameter to init_mmc_device()

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: > From: Stephen Warren > > This allows callers to inject mmc->has_init = 0 between finding the > MMC device, and calling mmc_init(), which forces mmc_init() to rescan > the HW. Future changes will use this feature. > > Signed-off-

Re: [U-Boot] [PATCH 2/2] disk: default to HW partition 0 if not specified

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:48 PM, Stephen Warren wrote: > From: Stephen Warren > > Currently, get_device()/get_dev_hwpart() for MMC devices does not select > an explicit HW partition unless the user explicitly requests one, i.e. by > requesting device "mmc 0.0" rather than just "mmc 0".

Re: [U-Boot] [PATCH 1/2] cmd_mmc: default to HW partition 0 if not specified

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:48 PM, Stephen Warren wrote: > From: Stephen Warren > > Currently, "mmc dev 0" does not change the selected HW partition. I > think it makes more sense if "mmc dev 0" is an alias for "mmc dev 0 0", > i.e. that HW partition 0 (main data area) is always selected

Re: [U-Boot] [PATCH V2] cmd_mmc.c: check mmc_init() during mmc dev

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:59 PM, Stephen Warren wrote: > On 05/20/2014 10:57 AM, Stephen Warren wrote: >> From: Bryan Wu >> >> mmc dev ${devnum} will return 0 as success even if there is no card >> inserted. Booting script like tegra-common-post.h will call mmc dev >> ${devnum} to check

Re: [U-Boot] [RFC, PATCH v3 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-12 Thread Heiko Schocher
Hello all, Am 11.06.2014 09:20, schrieb Heiko Schocher: resync mtd, ubi and ubifs subsystem with linux: The patches in this patchserie are not marked as RFC , which is correct, so this cover-letter patch 0/3 shouldn't have been marked as RFC, so please ignore this, sorry for that. bye, Heiko

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-12 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > Various misc enhancements to dfu_gadget_test.sh: > > * After every write (download), perform a write to a different file > with different data. This ensures that the DFU buffer's content is > replaced, so that if the read (upload) succeeds, we know tha

Re: [U-Boot] error when building env

2014-06-12 Thread Luka Perkov
Hi Masahiro, On Mon, Jun 09, 2014 at 10:39:27PM +0900, Masahiro Yamada wrote: > On Thu, 5 Jun 2014 14:25:47 -0400 Tom Rini wrote: > > On Mon, May 19, 2014 at 02:14:03PM +0200, Luka Perkov wrote: > > > On Fri, May 16, 2014 at 01:58:05PM -0400, Tom Rini wrote: > > > > On Fri, May 16, 2014 at 07:26:

[U-Boot] [PATCH] mmc: sdhci: Fixed timeout for sdhci_send_command()

2014-06-12 Thread Eli Billauer
The current wait loop just reads the status 1 times, which makes the actual timeout period platform-dependent. The udelay() call within the loop makes the new timeout ~100 ms. Signed-off-by: Eli Billauer --- drivers/mmc/sdhci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[U-Boot] [PATCH v2 04/11] drivers:dfu: new feature: separated bootloader alt setting

2014-06-12 Thread Przemyslaw Marczak
This patch introduces new feature: initialization of the dfu bootloader entity from a separate environmental variable which can be set on a boot time. By default, DFU always check environmental variable: $dfu_alt_info. Changes: - DFU will also look for environmental variable: $dfu_alt_bootloader

[U-Boot] [PATCH v2 10/11] odroid: add odroid U3/X2 device tree description

2014-06-12 Thread Przemyslaw Marczak
This is a standard description for Odroid boards. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang Cc: Tom Rini --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos4412-odroid.dts | 70 ++ 2 files changed, 72 insertions(+), 1 deletion(-) cre

[U-Boot] [PATCH v2 11/11] odroid: add odroid_config

2014-06-12 Thread Przemyslaw Marczak
This config is valid for two devices: - Odroid X2, - Odroid U3. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang Cc: Tom Rini --- Changes v2: - odroid config: add CONFIG_DFU_ALT_BOOTLOADER - odroid config: change name of CONFIG_DFU_BOOT_ALT_* to CONFIG_DFU_ALT_BOOT_* --- boards.cfg

[U-Boot] [PATCH v2 08/11] samsung: board: checkboard: call get_board_type() for CONFIG_BOARD_TYPES

2014-06-12 Thread Przemyslaw Marczak
For support of multiple board types in a one config - it is welcome to display the current board model. This is what get_board_type() should return. Signed-off-by: Przemyslaw Marczak Cc: Piotr Wilczek Cc: Minkyu Kang --- board/samsung/common/board.c | 5 - include/samsung/misc.h | 1

[U-Boot] [PATCH] Timeout for SDHCI commands

2014-06-12 Thread Eli Billauer
The patch in the following mail is a result of a problem I had using an eMMC device on a Xilinx Zynq ARM processor. It turned out that the waiting for a certain response from the SDIO interface was made with a plain loop, with no absolute time measurement. Since I'm using a relatively fast processo

[U-Boot] [PATCH v2 09/11] odroid: add board file for Odroid X2/U3 based on Samsung Exynos4412

2014-06-12 Thread Przemyslaw Marczak
This board file supports standard features of Odroid X2 and U3 boards: - Exynos4412 core clock set to 1000MHz and MPLL peripherial clock set to 800MHz, - MAX77686 power regulator, - USB PHY, - enable XCL205 - power for board peripherials - check board type: U3 or X2. - enable Odroid U3 FAN cooler

[U-Boot] [PATCH v2 07/11] samsung: misc: set_board_info: check the board type to set fdt file name

2014-06-12 Thread Przemyslaw Marczak
This change adds a call to the get_board_type_fdt() function before setting the "fdtfile" environment variable. For CONFIG_BOARD_TYPES below function is called: - const char *get_board_type_fdt(void) - should return a pointer to the board type string. This is useful in case of run many boards w

[U-Boot] [PATCH v2 03/11] board:samsung: check the mmc boot device and init the right mmc driver.

2014-06-12 Thread Przemyslaw Marczak
It is possible to boot from a few media devices, especially using a micro SD or eMMC slots. In this situation, boot device should be registered as block device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV_DEV is usually set to "0" in the most config cases. Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH v2 05/11] samsung: misc: set the dfu bootloader setting at boot time

2014-06-12 Thread Przemyslaw Marczak
This change adds new function: - set_dfu_boot_alt(bootmode) - where bootmode is the value of Exynos ompin[5:1] with proper bitmask using BOOT_MODE(x) macro. This change is useful for devices with more than one boot device, e.g. with a separated SD and eMMC slots. Dif

[U-Boot] [PATCH v2 06/11] arm:reset: call the reset_misc() before the cpu reset

2014-06-12 Thread Przemyslaw Marczak
On an Odroid U3 board, the SOC is unable to reset an eMMC card in the DWMMC mode by the cpu software reset. Manual reset of the card by switching proper gpio pin - fixes this issue. Such solution needs to add a call to pre reset function. This is done by the reset_misc() function, which is called

[U-Boot] [PATCH v2 02/11] exynos: pinmux: fix the gpio names for exynos4x12 mmc

2014-06-12 Thread Przemyslaw Marczak
This change fixes the bad gpio configuration for the exynos dwmmc. Signed-off-by: Przemyslaw Marczak Cc: Beomho Seo Cc: Minkyu Kang Cc: Jaehoon Chung --- arch/arm/cpu/armv7/exynos/pinmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/pinmux

[U-Boot] [PATCH v2 01/11] samsung: misc: fix soc revision setting in the set_board_info()

2014-06-12 Thread Przemyslaw Marczak
The byte order of soc revision was inverted, now it is fixed. Signed-off-by: Przemyslaw Marczak Cc: Piotr Wilczek Cc: Minkyu Kang --- board/samsung/common/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c in

[U-Boot] [i2c] Pull request

2014-06-12 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git: The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for yo

  1   2   >