[U-Boot] [PATCH V3] hush: fix some quoted variable expansion issues

2014-03-03 Thread Stephen Warren
The following shell command fails: if test -z $x; then echo zero; else echo non-zero; fi (assuming $x does not exist, it prints non-zero rather than zero). ... since $x expands to nothing, and the argument is completely dropped, causing too few to be passed to -z, causing cmd_test() to error

[U-Boot] [PATCH] unit-test: make test -e test independent of $CWD

2014-03-03 Thread Stephen Warren
The unit-test for hush's test -e currently relies upon being run in the U-Boot build directory, because it tests for the existence of a file that exists in that directory. Fix this by explicitly creating the file we use for the existence test, and deleting it afterwards so that multiple

Re: [U-Boot] [PATCH v4 3/3] usb: tegra: combine header file

2014-03-03 Thread Stefan Agner
Am 2014-02-24 19:43, schrieb Stephen Warren: Are you planning on sending a later patch which removes arch/arm/include/asm/arch-tegra124/usb.h too? I did not noticed that file, I created the patch on top of upstream U-Boot. In which branch/repo can I find this file? git.denx.de seems to be down

Re: [U-Boot] [PATCH v2 4/4] kbuild: improve Kbuild speed

2014-03-03 Thread Simon Glass
On 27 February 2014 21:23, Masahiro Yamada yamad...@jp.panasonic.comwrote: Kbuild brought about many advantages for us but a significant performance regression was reported by Simon Glass. After some discussions and analysis, it turned out its main cause is in $(call cc-option,...).

Re: [U-Boot] [PATCH v4 3/3] usb: tegra: combine header file

2014-03-03 Thread Stephen Warren
On 03/01/2014 10:30 AM, Stefan Agner wrote: Am 2014-02-24 19:43, schrieb Stephen Warren: Are you planning on sending a later patch which removes arch/arm/include/asm/arch-tegra124/usb.h too? I did not noticed that file, I created the patch on top of upstream U-Boot. In which branch/repo can

Re: [U-Boot] [PATCH V2] hush: fix some quoted variable expansion issues

2014-03-03 Thread Stephen Warren
On 03/01/2014 05:10 PM, Simon Glass wrote: Hi Stephen, On 27 February 2014 22:00, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: The following shell command fails: if test -z $x; then echo zero; else echo non-zero; fi (assuming $x does not exist,

Re: [U-Boot] [PATCH] unit-test: clean up evironment after Hush tests

2014-03-03 Thread Simon Glass
On 27 February 2014 22:01, Stephen Warren swar...@wwwdotorg.org wrote: Delete the temporary variables that are used to save unit-test results from the environment after running the test. This prevents polluting the environment, or growing it too much. Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCH V2] hush: fix some quoted variable expansion issues

2014-03-03 Thread Simon Glass
Hi Stephen, On 1 March 2014 17:10, Simon Glass s...@chromium.org wrote: Hi Stephen, On 27 February 2014 22:00, Stephen Warren swar...@wwwdotorg.org wrote: The following shell command fails: if test -z $x; then echo zero; else echo non-zero; fi (assuming $x does not exist, it prints

Re: [U-Boot] [PATCH V2] hush: fix some quoted variable expansion issues

2014-03-03 Thread Simon Glass
Hi Stephen, On 27 February 2014 22:00, Stephen Warren swar...@wwwdotorg.org wrote: The following shell command fails: if test -z $x; then echo zero; else echo non-zero; fi (assuming $x does not exist, it prints non-zero rather than zero). ... since $x expands to nothing, and the argument

Re: [U-Boot] [PATCH] kbuild: consolidate PLATFORM_LIBS

2014-03-03 Thread Simon Glass
On 27 February 2014 07:30, Tom Rini tr...@ti.com wrote: On Thu, Feb 27, 2014 at 10:40:34PM +0900, Masahiro Yamada wrote: We had switched to Kbuild so now we can specify PLATFORM_LIBS/PLATFORM_LIBGCC with relative path. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by:

Re: [U-Boot] [PATCH] powerpc/t2080rdb: Add T2080PCIe-RDB board support

2014-03-03 Thread shengzhou....@freescale.com
-Original Message- From: Sun York-R58495 Sent: Saturday, March 01, 2014 12:48 AM To: Liu Shengzhou-B36685; u-boot@lists.denx.de Subject: Re: [PATCH] powerpc/t2080rdb: Add T2080PCIe-RDB board support On 02/28/2014 02:21 AM, Shengzhou Liu wrote: Shengzhou, I have said with

[U-Boot] [PATCH v2 0/3] arm: atmel: sama5d3: add spi and nand spl boot support

2014-03-03 Thread Bo Shen
This patch enable spi and nand spl boot support on sama5d3xek Changes in v2: - Address the comments from Scott Wood Bo Shen (3): arm: atmel: sama5d3: add spi spl boot support mtd: nand: atmel: prepare for nand spl boot support arm: atmel: sama5d3: add nand spl boot support

[U-Boot] [PATCH v2 3/3] arm: atmel: sama5d3: add nand spl boot support

2014-03-03 Thread Bo Shen
Add NAND SPL boot support with hardware PMECC. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - NONE arch/arm/cpu/at91-common/spl.c | 2 ++ arch/arm/include/asm/arch-at91/spl.h | 2 ++ board/atmel/sama5d3xek/sama5d3xek.c | 2 ++ include/configs/sama5d3xek.h |

[U-Boot] [PATCH v2 1/3] arm: atmel: sama5d3: add spi spl boot support

2014-03-03 Thread Bo Shen
Add SPI SPL boot support for sama5d3xek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - NONE arch/arm/cpu/at91-common/spl.c | 2 ++ arch/arm/include/asm/arch-at91/spl.h | 2 ++ board/atmel/sama5d3xek/sama5d3xek.c | 2 ++ include/configs/sama5d3xek.h |

[U-Boot] [PATCH v2 2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-03 Thread Bo Shen
Prepare for nand spl boot support. It supports nand software ECC and hardware PMECC. This patch is take drivers/mtd/nand/nand_spl_simple.c as reference. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Address the comments from Scott Wood drivers/mtd/nand/atmel_nand.c | 208

Re: [U-Boot] [PATCH] spi: oc_tiny_spi: Refactor to simplify spi_xfer implementation

2014-03-03 Thread Jagan Teki
Hi Axel, Any testing on this patch? On Fri, Jan 10, 2014 at 1:38 PM, Axel Lin axel@ingics.com wrote: Currently we have similar code for (txp rxp), (txp !rxp), (!rxp txp), and (!txp !rxp) cases. This patch refactors the code a bit to avoid duplicate similar code. Signed-off-by: Axel

Re: [U-Boot] [PATCH 2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-03 Thread Bo Shen
Hi Scott, On 03/03/2014 10:41 AM, Bo Shen wrote: +#ifdef CONFIG_SPL_NAND_SOFTECC This symbol needs to be documented (I realize it isn't new). OK, I will document it. I see in README file, it uses CONFIG_SPL_NAND_ECC for software ecc selection. So, I will use this one while not add new

Re: [U-Boot] [PATCH 2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-03 Thread Bo Shen
Hi Scott, On 02/28/2014 08:35 AM, Scott Wood wrote: On Mon, 2013-12-02 at 11:24 +0800, Bo Shen wrote: Prepare for nand spl boot support. It supports nand software ECC and hardware PMECC. This patch is take drivers/mtd/nand/nand_spl_simple.c as reference. Signed-off-by: Bo Shen

[U-Boot] [PATCH 2/2] kbuild: add cross_tools target to build tools for the target

2014-03-03 Thread Masahiro Yamada
Programs in tools/ directory are usually built for the host. But some of them (mkimage, dumpimge, gen_eth_addr, etc.) are useful on the target OS too. Actually, prior to Kbuild, U-Boot could build tools for the target like follows: $ make target_board_config $ export

[U-Boot] [PATCH v5 2/3] usb: tegra: fix PHY configuration

2014-03-03 Thread Stefan Agner
On Tegra30 and later, the PTS (parallel transceiver select) and STS (serial transceiver select) are part of the HOSTPC1_DEVLC_0 register rather than PORTSC1_0 register. Since the reset configuration usually matches the intended configuration, this error did not show up on Tegra30 devices. Also

[U-Boot] [PATCH v5 0/3] ubs: tegra: two fixes and cleanup

2014-03-03 Thread Stefan Agner
Only patch 1 is an actual issue while the second patch is something I stumbled upon, and the third is more about housekeeping. I descieded to ifdef the driver, I think that this is easier to read and does not mix register access style. The function ehci_get_port_speed however don't get a pointer

[U-Boot] [PATCH v5 3/3] usb: tegra: combine header file

2014-03-03 Thread Stefan Agner
Combine the Tegra USB header file into one header file for all SoCs. Use ifdef to account for the difference, especially Tegra20 is quite different from newer SoCs. This avoids duplication, mainly for Tegra30 and newer devices. Reviewed-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan

[U-Boot] [PATCH v5 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-03-03 Thread Stefan Agner
Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Acked-by: Stephen Warren swar...@nvidia.com Signed-off-by: Stefan Agner ste...@agner.ch ---

[U-Boot] [PATCH] fsl_i2c: Add write-then-read transaction interface for I2C slave

2014-03-03 Thread Shaveta Leekha
Most of the I2C slaves support accesses in the typical style viz.read/write series of bytes at particular address offset. These transactions are currently supportd in the i2c driver using i2c_read and i2c_write APIs. I2C EEPROMs, RTC, etc fall in this category. The transactions look like:

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Andreas Färber
Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas, On Sun, 02 Mar 2014 18:57:14 +0100, Andreas Färber afaer...@suse.de wrote: Hi Albert, Am 22.02.2014 14:27, schrieb Albert ARIBAUD: On Thu, 13 Feb 2014 12:39:07 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote:

[U-Boot] logo part Makefile doesn't work as expected

2014-03-03 Thread Bo Shen
Hi Masahiro Yamada, Today, I tested with u-boot master branch, I found the u-boot logo is not set as we expected. The following line's do not executed as expected, as the BOARD and VENDOR parameter value is not passed to tools/Makefile. So, if not define LOGO_BMP, it always take the first

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Albert ARIBAUD
Hi Andreas, (seems an answer from me yesterday didn't make it out of the NSA interceptors...) On Sun, 02 Mar 2014 23:00:19 +0100, Andreas Färber afaer...@suse.de wrote: Am 02.03.2014 21:57, schrieb Andreas Färber: Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas,

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Andreas Färber
Hi Albert, Am 22.02.2014 14:27, schrieb Albert ARIBAUD: Hi Albert, On Thu, 13 Feb 2014 12:39:07 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Andreas, On Mon, 27 Jan 2014 19:46:03 +0100, Andreas Färber afaer...@suse.de wrote: Hello, Am 27.01.2014 15:24, schrieb Wolfgang

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/02/2014 05:00 PM, Andreas Färber wrote: Am 02.03.2014 21:57, schrieb Andreas Färber: Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas, On Sun, 02 Mar 2014 18:57:14 +0100, Andreas Färber afaer...@suse.de wrote: Hi

[U-Boot] [PATCH 0/2]

2014-03-03 Thread Masahiro Yamada
Kbuild: fix tools build Masahiro Yamada (2): kbuild: fix tools-all target kbuild: add cross_tools target to build tools for the target Makefile | 5 - tools/Makefile | 12 2 files changed, 16 insertions(+), 1 deletion(-) -- 1.8.3.2

[U-Boot] [PATCH 1/2] kbuild: fix tools-all target

2014-03-03 Thread Masahiro Yamada
The top Makefile must export HOST_TOOLS_ALL to use it in tools/Makefile. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e49a240..3647804 100644 --- a/Makefile +++ b/Makefile @@

[U-Boot] [PATCH] kbuild: tools: fix a bug that always builds Denx logo

2014-03-03 Thread Masahiro Yamada
LOGO_BMP was never overwritten by board-specific or vendor-specific logos. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reported-by: Bo Shen voice.s...@atmel.com --- tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Andreas Färber
Am 02.03.2014 21:57, schrieb Andreas Färber: Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas, On Sun, 02 Mar 2014 18:57:14 +0100, Andreas Färber afaer...@suse.de wrote: Hi Albert, Am 22.02.2014 14:27, schrieb Albert ARIBAUD: On Thu, 13 Feb 2014 12:39:07 +0100,

Re: [U-Boot] logo part Makefile doesn't work as expected

2014-03-03 Thread Masahiro Yamada
Hello Bo, On Mon, 3 Mar 2014 17:09:03 +0800 Bo Shen voice.s...@atmel.com wrote: Hi Masahiro Yamada, Today, I tested with u-boot master branch, I found the u-boot logo is not set as we expected. The following line's do not executed as expected, as the BOARD and VENDOR parameter value is

[U-Boot] [PATCH 1/2] kbuild: allow empty board directories

2014-03-03 Thread Masahiro Yamada
U-Boot has compelled all boards to have board/${BOARD}/ or board/${VENDOR}/${BOARD}/ directory. Sometimes it does not seem suitable for some boards, for example Sandbox. (Is it a board?) And arcangel4 board has nothing to compile under the board directory. This commit makes the build system

[U-Boot] [PATCH 0/2] Allow empty board dir and fix build error of arcangel4 boards

2014-03-03 Thread Masahiro Yamada
Currently arcangel4 and arcangel4-be boards are broken. $ make CROSS_COMPILE=arc-buildroot-linux-uclibc- arcangel4_config all Configuring for arcangel4 board... GEN include/autoconf.mk.dep GEN include/autoconf.mk CHK include/config/uboot.release [snip] LDS

[U-Boot] [PATCH 2/2] arc: arcangel4: set board entry none to fix a build error

2014-03-03 Thread Masahiro Yamada
There are no source files in board/synopsys/arcangel4/ directory. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Alexey Brodkin alexey.brod...@synopsys.com --- board/synopsys/arcangel4/Makefile | 11 --- boards.cfg| 4 ++-- 2 files changed, 2

Re: [U-Boot] [PATCH] kbuild: tools: fix a bug that always builds Denx logo

2014-03-03 Thread Bo Shen
Hi Masahiro Yamada, On 03/03/2014 05:40 PM, Masahiro Yamada wrote: LOGO_BMP was never overwritten by board-specific or vendor-specific logos. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reported-by: Bo Shen voice.s...@atmel.com --- tools/Makefile | 4 ++-- 1 file changed, 2

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Richard Biener
On Sun, 2 Mar 2014, Andreas Färber wrote: Am 02.03.2014 21:57, schrieb Andreas Färber: Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas, On Sun, 02 Mar 2014 18:57:14 +0100, Andreas Färber afaer...@suse.de wrote: Hi Albert, Am 22.02.2014 14:27, schrieb

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Albert ARIBAUD
Hi Andreas, On Sun, 02 Mar 2014 18:57:14 +0100, Andreas Färber afaer...@suse.de wrote: Hi Albert, Am 22.02.2014 14:27, schrieb Albert ARIBAUD: Hi Albert, On Thu, 13 Feb 2014 12:39:07 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Andreas, On Mon, 27 Jan 2014

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Albert ARIBAUD
Hi Andreas, (seems an answer from me yesterday didn't make it out of the NSA interceptors...) On Sun, 02 Mar 2014 23:00:19 +0100, Andreas Färber afaer...@suse.de wrote: Am 02.03.2014 21:57, schrieb Andreas Färber: Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas,

Re: [U-Boot] [PATCH 1/2] kbuild: fix tools-all target

2014-03-03 Thread Heiko Schocher
Hello Masahiro, Am 03.03.2014 03:06, schrieb Masahiro Yamada: The top Makefile must export HOST_TOOLS_ALL to use it in tools/Makefile. Signed-off-by: Masahiro Yamadayamad...@jp.panasonic.com --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Tested-by: Heiko Schocher

Re: [U-Boot] [PATCH 2/2] kbuild: add cross_tools target to build tools for the target

2014-03-03 Thread Heiko Schocher
Hello Masahiro, Am 03.03.2014 03:06, schrieb Masahiro Yamada: Programs in tools/ directory are usually built for the host. But some of them (mkimage, dumpimge, gen_eth_addr, etc.) are useful on the target OS too. Actually, prior to Kbuild, U-Boot could build tools for the target like follows:

Re: [U-Boot] [RFC] mmc: Remove ops from struct mmc and put in mmc_ops

2014-03-03 Thread Marek Vasut
On Wednesday, February 26, 2014 at 06:52:24 PM, Pantelis Antoniou wrote: Remove the in-structure ops and put them in mmc_ops with a constant pointer to it. This makes the mmc structure smaller as well as conserving code space (in theory). All in-tree drivers are converted as well; this is

[U-Boot] [PATCH v3 3/8] fit: add sha256 support

2014-03-03 Thread Heiko Schocher
add sha256 support to fit images Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Simon Glass s...@chromium.org --- changes for v2: - add Acked-by from Simon Glass changes for v3: - add comment from Simon Glass: - remove const attribute - do not remove IMAGE_ENABLE_SHA256, as we have

[U-Boot] [PATCH v3 1/8] tools/image-host: fix sign-images bug

2014-03-03 Thread Heiko Schocher
property sign-images is never found, fix this. Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Simon Glass s...@chromium.org --- changes for v2: - add Acked-by from Simon Glass --- tools/image-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image-host.c

[U-Boot] [PATCH v3 0/8] common, fit, rsa: enhancements

2014-03-03 Thread Heiko Schocher
- add sha256,rsa2048 and sha256,rsa4098 support to u-boot. - add fdt checksign command to u-boot cmdshell. This command checks, if a fdt is correct signed. - add hosttool fit_info which prints the offset and the len of a property from in a fdt file. This values can be used, to extract the

[U-Boot] [PATCH v3 2/8] fdt: add fdt checksign command

2014-03-03 Thread Heiko Schocher
check if a fdt is correct signed pass an optional addr value. Contains the addr of the key blob Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Simon Glass s...@chromium.org --- changes vor v2: - add comment from Simon Glass: - rename fdt sign to fdt checksign - rename patch subject

[U-Boot] [PATCH v3 6/8] gen: Add progressive hash API

2014-03-03 Thread Heiko Schocher
From: Hung-ying Tyan ty...@chromium.org Add hash_init(), hash_update() and hash_finish() to the hash_algo struct. Add hash_lookup_algo() to look up the struct given an algorithm name. Signed-off-by: Hung-ying Tyan ty...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Signed-off-by:

[U-Boot] [PATCH v3 7/8] tools, fit: add fit_info host command

2014-03-03 Thread Heiko Schocher
add fit_info command to the host tools. This command prints the name, offset and the len from a property from a node in a fit file. This info can be used to extract a properties data with linux tools, for example dd. Signed-off-by: Heiko Schocher h...@denx.de --- - no changes for v2 - changes

[U-Boot] [PATCH v3 8/8] tools, fit_check_sign: verify a signed fit image

2014-03-03 Thread Heiko Schocher
add host tool fit_check_sign which verifies, if a fit image is signed correct. Signed-off-by: Heiko Schocher h...@denx.de Cc: Simon Glass s...@chromium.org --- - changes for v2: - fixed compile error for sandbox - add fit_check_sign test to test/vboot/vboot_test.sh - changes for v3: - add

[U-Boot] [PATCH v3 4/8] rsa: add sha256-rsa2048 algorithm

2014-03-03 Thread Heiko Schocher
based on patch from andr...@oetken.name: http://patchwork.ozlabs.org/patch/294318/ commit message: I currently need support for rsa-sha256 signatures in u-boot and found out that the code for signatures is not very generic. Thus adding of different hash-algorithms for rsa-signatures is not easy

[U-Boot] [PATCH v3 5/8] rsa: add sha256,rsa4096 algorithm

2014-03-03 Thread Heiko Schocher
Add support for sha256,rsa4096 signatures in u-boot. Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Simon Glass s...@chromium.org Cc: andr...@oetken.name --- changes for v2: - add comment from Simon Glass: - add a commit message changes for v3: add Acked-by from Simon Glass ---

[U-Boot] LPC3250 NAND settings

2014-03-03 Thread Abdullah Yıldız
I use a board based on LPC3250 which is supported by u-boot 1.3.3. u-boot, kernel, and rootfs reside in NAND FLASH memory. I want to improve boot time. u-boot utilizes NAND memory by setting the timing parameters as SLCNAND-slc_tac = (SLCTAC_WDR(14) | SLCTAC_WWIDTH(9) |

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-03-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 03:41 AM, Richard Biener wrote: On Sun, 2 Mar 2014, Andreas Färber wrote: Am 02.03.2014 21:57, schrieb Andreas Färber: Hi Albert, Am 02.03.2014 20:15, schrieb Albert ARIBAUD: Hi Andreas, On Sun, 02 Mar 2014 18:57:14 +0100,

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Przemyslaw Marczak
Hello again, On 02/28/2014 06:03 PM, Stephen Warren wrote: On 02/28/2014 08:18 AM, Przemyslaw Marczak wrote: Changes: - randomly generate each partition uuid if undefined - print info about generated uuid - save environment on gpt write success - update doc/README.gpt diff --git

Re: [U-Boot] [PATCH 1/2] lib: uuid: add function to generate UUID version 4

2014-03-03 Thread Przemyslaw Marczak
Hello Stephen, Thank you for review. On 02/28/2014 05:55 PM, Stephen Warren wrote: On 02/28/2014 08:18 AM, Przemyslaw Marczak wrote: lib/uuid.c: Add get_uuid_str() - this function returns 36 character hexadecimal ASCII string representation of a 128-bit (16 octets) UUID (Universally Unique

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 08:45 AM, Przemyslaw Marczak wrote: [snip] Actually automatically generated uuids was the main purpose of this patches. Setting each env variable in this place was the most easy way to make this without a lot of duplicated code.

Re: [U-Boot] [PATCH] net: asix: don't pad odd-length TX packets

2014-03-03 Thread Gerhard Sittig
On Fri, Feb 28, 2014 at 11:54 +0100, Marek Vasut wrote: On Thursday, February 27, 2014 at 09:38:48 PM, Simon Glass wrote: Hi Stephen, On 27 February 2014 13:27, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com For Ethernet/USB RX packets, the

Re: [U-Boot] [PATCH 2/3] lib: rand: add call to hw_rand() - hardware random number generator

2014-03-03 Thread Przemyslaw Marczak
Hello Michael, Thank you for reply. On 02/28/2014 06:02 PM, Michael Walle wrote: Am Freitag, 28. Februar 2014, 17:30:54 schrieb Przemyslaw Marczak: Changes: - lib/rand.c: add call to hw_rand() (depends on CONFIG_RAND_HW_ACCEL) - include/common.h: add hw_rand() declaration. Signed-off-by:

Re: [U-Boot] [PATCH] net: asix: don't pad odd-length TX packets

2014-03-03 Thread Marek Vasut
On Monday, March 03, 2014 at 03:14:34 PM, Gerhard Sittig wrote: On Fri, Feb 28, 2014 at 11:54 +0100, Marek Vasut wrote: On Thursday, February 27, 2014 at 09:38:48 PM, Simon Glass wrote: Hi Stephen, On 27 February 2014 13:27, Stephen Warren swar...@wwwdotorg.org wrote: From:

Re: [U-Boot] [PATCH V2] hush: fix some quoted variable expansion issues

2014-03-03 Thread Tom Rini
On Sat, Mar 01, 2014 at 09:26:26PM -0700, Stephen Warren wrote: On 03/01/2014 05:10 PM, Simon Glass wrote: Hi Stephen, On 27 February 2014 22:00, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: The following shell command fails: if test -z $x;

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Przemyslaw Marczak
Hello Tom, On 03/03/2014 03:13 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 08:45 AM, Przemyslaw Marczak wrote: [snip] Actually automatically generated uuids was the main purpose of this patches. Setting each env variable in this place was the most easy way

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Tom Rini
On Mon, Mar 03, 2014 at 04:31:35PM +0100, Przemyslaw Marczak wrote: Hello Tom, On 03/03/2014 03:13 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 08:45 AM, Przemyslaw Marczak wrote: [snip] Actually automatically generated uuids was the main purpose of

Re: [U-Boot] [PATCH] powerpc/t2080rdb: Add T2080PCIe-RDB board support

2014-03-03 Thread York Sun
On 03/03/2014 12:41 AM, Liu Shengzhou-B36685 wrote: -Original Message- From: Sun York-R58495 Sent: Saturday, March 01, 2014 12:48 AM To: Liu Shengzhou-B36685; u-boot@lists.denx.de Subject: Re: [PATCH] powerpc/t2080rdb: Add T2080PCIe-RDB board support On 02/28/2014 02:21 AM,

Re: [U-Boot] [PATCH v5 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-03-03 Thread Stephen Warren
On 03/02/2014 11:46 AM, Stefan Agner wrote: Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. The series, Tested-by: Stephen Warren

Re: [U-Boot] [PATCH 2/2] env export fix: compute the CRC on the real lenght of the exported variables.

2014-03-03 Thread Pierre AUBERT
Dear Tom Rini Le 26/02/2014 21:02, Tom Rini a écrit : [ Catching up on some old emails ] On Fri, Nov 15, 2013 at 08:20:09AM +0100, Pierre AUBERT wrote: Dear Wolfgang Denk, Le 14/11/2013 18:24, Wolfgang Denk a écrit : Dear Pierre Aubert, In message

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Przemyslaw Marczak
On 03/03/2014 05:46 PM, Tom Rini wrote: On Mon, Mar 03, 2014 at 04:31:35PM +0100, Przemyslaw Marczak wrote: Hello Tom, On 03/03/2014 03:13 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 08:45 AM, Przemyslaw Marczak wrote: [snip] Actually automatically

Re: [U-Boot] [PATCH 2/2] env export fix: compute the CRC on the real lenght of the exported variables.

2014-03-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 12:14 PM, Pierre AUBERT wrote: Dear Tom Rini Le 26/02/2014 21:02, Tom Rini a écrit : [ Catching up on some old emails ] On Fri, Nov 15, 2013 at 08:20:09AM +0100, Pierre AUBERT wrote: Dear Wolfgang Denk, Le 14/11/2013 18:24,

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 12:23 PM, Przemyslaw Marczak wrote: On 03/03/2014 05:46 PM, Tom Rini wrote: On Mon, Mar 03, 2014 at 04:31:35PM +0100, Przemyslaw Marczak wrote: Hello Tom, On 03/03/2014 03:13 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE-

Re: [U-Boot] [PATCH 1/2] lib: uuid: add function to generate UUID version 4

2014-03-03 Thread Stephen Warren
On 03/03/2014 06:44 AM, Przemyslaw Marczak wrote: Hello Stephen, Thank you for review. On 02/28/2014 05:55 PM, Stephen Warren wrote: On 02/28/2014 08:18 AM, Przemyslaw Marczak wrote: lib/uuid.c: Add get_uuid_str() - this function returns 36 character hexadecimal ASCII string

Re: [U-Boot] [PATCH 2/2] cmd:gpt: randomly generate each partition uuid if undefined

2014-03-03 Thread Przemyslaw Marczak
On 03/03/2014 06:35 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 12:23 PM, Przemyslaw Marczak wrote: On 03/03/2014 05:46 PM, Tom Rini wrote: On Mon, Mar 03, 2014 at 04:31:35PM +0100, Przemyslaw Marczak wrote: Hello Tom, On 03/03/2014 03:13 PM, Tom Rini

Re: [U-Boot] [U-Boot PATCH v2 08/12] k2hk: add support for k2hk SOC and EVM

2014-03-03 Thread Murali Karicheri
diff --git a/Makefile b/Makefile index 47a03e3..ea2a387 100644 --- a/Makefile +++ b/Makefile @@ -491,6 +491,23 @@ $(obj)u-boot.spr: $(obj)u-boot.img $(obj)spl/u-boot-spl.bin --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff $@ cat $(obj)u-boot.img $@

Re: [U-Boot] [U-Boot PATCH v2 08/12] k2hk: add support for k2hk SOC and EVM

2014-03-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2014 01:20 PM, Murali Karicheri wrote: diff --git a/Makefile b/Makefile index 47a03e3..ea2a387 100644 --- a/Makefile +++ b/Makefile @@ -491,6 +491,23 @@ $(obj)u-boot.spr:$(obj)u-boot.img $(obj)spl/u-boot-spl.bin

Re: [U-Boot] [PATCH v2] socfpga: Adding Clock Manager driver

2014-03-03 Thread Pavel Machek
Hi! Clock Manager driver will be called to reconfigure all the clocks setting based on user input. The input are passed to Preloader through handoff files Signed-off-by: Chin Liang See cl...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang

Re: [U-Boot] [PATCH v6] socfpga: Adding Scan Manager driver

2014-03-03 Thread Pavel Machek
Hi! Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Tom Rini

[U-Boot] Dove / Cubox support patch series (was: Re: [PATCH v4 05/10] SPI: Add Dove SPI driver)

2014-03-03 Thread Sascha Silbe
Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Any update on this. The Wandboard Quad is working well for my purposes and much easier to work with (schematics and very extensive data sheets available, mainline support in both U-Boot and Linux). As a result, I'm focusing my limited

Re: [U-Boot] Dove / Cubox support patch series (was: Re: [PATCH v4 05/10] SPI: Add Dove SPI driver)

2014-03-03 Thread Otavio Salvador
On Mon, Mar 3, 2014 at 7:43 PM, Sascha Silbe t-ub...@infra-silbe.de wrote: Jagan Teki jagannadh.t...@gmail.com writes: Any update on this. The Wandboard Quad is working well for my purposes and much easier to work with (schematics and very extensive data sheets available, mainline support

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-03-03 Thread Scott Wood
On Fri, 2014-02-21 at 14:51 -0600, Chin Liang See wrote: To add the Denali NAND driver support into U-Boot. It required information such as register base address from configuration header file within include/configs folder. Signed-off-by: Chin Liang See cl...@altera.com Cc: Artem

Re: [U-Boot] [U-Boot, v8] nand: add Faraday FTNANDC021 NAND controller support

2014-03-03 Thread Scott Wood
On Thu, Nov 28, 2013 at 10:48:51AM +0800, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTNANDC021 is an integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example: Issuing a command 0x10 to

Re: [U-Boot] [U-Boot, v3] nand/denali: Adding Denali NAND driver support

2014-03-03 Thread Scott Wood
On Thu, Feb 27, 2014 at 11:05:06AM -0600, Chin Liang See wrote: To add the Denali NAND driver support into U-Boot. It required information such as register base address from configuration header file within include/configs folder. Signed-off-by: Chin Liang See cl...@altera.com Cc: Artem

[U-Boot] [PATCH] xilinx: delete meaningless .gitignore files

2014-03-03 Thread Masahiro Yamada
config.tmp is never generated Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Michal Simek michal.si...@xilinx.com Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Hi Michal, This patch is here because as far as I tested, config.tmp file were never generated. If I am

[U-Boot] [PATCH] xilinx: delete meaningless .gitignore files

2014-03-03 Thread Masahiro Yamada
config.tmp is never generated Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Michal Simek michal.si...@xilinx.com --- Hi Michal, This patch is here because as far as I tested, config.tmp file were never generated. If I am doing a wrong thing, please stop me. Makefile

Re: [U-Boot] [PATCH] xilinx: delete meaningless .gitignore files

2014-03-03 Thread Masahiro Yamada
On Tue, 4 Mar 2014 11:26:57 +0900 Masahiro Yamada yamad...@jp.panasonic.com wrote: config.tmp is never generated Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Michal Simek michal.si...@xilinx.com Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com I have reposted this

Re: [U-Boot] [U-Boot, v8] nand: add Faraday FTNANDC021 NAND controller support

2014-03-03 Thread Kuo-Jung Su
Got it, thanks, and sorry for the mess I made. I'll send out the unsplit patch after the Faraday platform patches got commited. 2014-03-04 10:17 GMT+08:00 Scott Wood scottw...@freescale.com: On Thu, Nov 28, 2013 at 10:48:51AM +0800, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com

Re: [U-Boot] [PATCH] xilinx: delete meaningless .gitignore files

2014-03-03 Thread Michal Simek
Hi Masahiro, On 03/04/2014 03:36 AM, Masahiro Yamada wrote: config.tmp is never generated Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Michal Simek michal.si...@xilinx.com --- Hi Michal, This patch is here because as far as I tested, config.tmp file were never