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

2014-02-08 Thread Heiko Schocher
property "sign-images" is never found, fix this. Signed-off-by: Heiko Schocher Acked-by: Simon Glass --- 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 b/tools/image-host.c index 0d5c88c

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

2014-02-08 Thread Heiko Schocher
add host tool "fit_check_sign" which verifies, if a fit image is signed correct. Signed-off-by: Heiko Schocher Cc: Simon Glass --- - changes for v2: - fixed compile error for sandbox - add fit_check_sign test to test/vboot/vboot_test.sh Makefile | 1 + common/image-s

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

2014-02-08 Thread Heiko Schocher
add sha256 support to fit images Signed-off-by: Heiko Schocher Acked-by: Simon Glass --- changes for v2: - add Acked-by from Simon Glass common/image-fit.c | 5 + include/image.h| 9 + lib/sha256.c | 2 +- tools/Makefile | 3 +++ 4 files changed, 18 insertions(+), 1

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

2014-02-08 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 to

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

2014-02-08 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 --- - no changes for v2 Makefile |

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

2014-02-08 Thread Heiko Schocher
From: Hung-ying Tyan 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 Signed-off-by: Simon Glass Signed-off-by: Heiko Schocher --- changes for v2: - new in v2 common

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

2014-02-08 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 Cc: Simon Glass --- changes vor v2: - add comment from Simon Glass: - rename "fdt sign" to "fdt checksign" -> rename patch subject from "fdt: add "fdt sign" comman

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

2014-02-08 Thread Heiko Schocher
- add sha256,rsa2048 and sha256,rsa4098 support to u-boot. - add "fdt sign" 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 data

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

2014-02-08 Thread Heiko Schocher
Add support for sha256,rsa4096 signatures in u-boot. Signed-off-by: Heiko Schocher Cc: Simon Glass Cc: andr...@oetken.name --- changes for v2: - add comment from Simon Glass: - add a commit message common/image-sig.c | 23 ++ include/image.h| 1 + include/rsa-ch

[U-Boot] [PATCH v3] common: Remove invalid endianess conversion

2014-02-08 Thread Christian Eggers
do_bootm_standanlone() calls ntohl(images->ep) which is wrong because endianess conversion has already been done: do_bootm() \-do_bootm_states() +-bootm_find_os() | \-images.ep = image_get_ep(); | \-uimage_to_cpu(hdr->ih_ep); \-boot_selected_os() \-do_bootm_standanlone() Without thi

[U-Boot] i.MX6Q board with DDR3 on a DIMM slot

2014-02-08 Thread Ivan Fildichev
Hello all, I am currently working on a custom board based on i.MX6Q processor. The unusual thing about this board is that the DDR3 is replaceable - it is not soldered to the board. My problem is that I need U-Boot to initialize and calibrate this memory. Any help and suggestions are welcome!

[U-Boot] Reg: Bootloader Configuration

2014-02-08 Thread Sujith K R
I am using micrel SoC KSZ9692PB. How to configure the uboot for this SoC. Processor core is ARM922T ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] usb: ehci: fully align interrupt QHs/QTDs

2014-02-08 Thread Marek Vasut
On Friday, February 07, 2014 at 05:24:27 PM, Stephen Warren wrote: > On 02/07/2014 06:48 AM, Marek Vasut wrote: > > On Friday, February 07, 2014 at 07:48:06 AM, Stephen Warren wrote: > >> On 02/06/2014 07:53 PM, Marek Vasut wrote: > >>> On Thursday, February 06, 2014 at 09:13:06 PM, Stephen Warren

Re: [U-Boot] [PATCH 1/3] fit: Add support for SHA256 hash

2014-02-08 Thread Marek Vasut
On Thursday, February 06, 2014 at 01:17:36 PM, Wolfgang Denk wrote: > Dear Marek, > > In message <1391658426-24799-1-git-send-email-ma...@denx.de> you wrote: > > This patch adds support for SHA-256 hash into the FIT image. The usage is > > > as with the other hashing algorithms: > ... > > > -#de

Re: [U-Boot] [PATCH V2] ush: ehci: initialize altnext pointers in QH

2014-02-08 Thread Marek Vasut
On Friday, February 07, 2014 at 05:53:50 PM, Stephen Warren wrote: > From: Stephen Warren > > Section 4.10.2 "Advance Queue" of ehci-specification-for-usb.pdf > specifies how an EHCI controller loads a new QTD for processing if the > QH is not already marked as active. It states: > > = > If

Re: [U-Boot] [PATCH 2/7] fdt: add "fdt sign" command

2014-02-08 Thread Marek Vasut
On Saturday, January 25, 2014 at 07:44:24 AM, Heiko Schocher wrote: > check if a fdt is correct signed > pass an optional addr value. Contains the addr of the key blob > > Signed-off-by: Heiko Schocher > Cc: Simon Glass Should the FIT signature checking really be part of the 'fdt' command ? Sh

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

2014-02-08 Thread Marek Vasut
On Saturday, January 25, 2014 at 07:44:28 AM, Heiko Schocher wrote: > 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". > >

Re: [U-Boot] [PATCH 1/3] fit: Add support for SHA256 hash

2014-02-08 Thread Marek Vasut
On Thursday, February 06, 2014 at 06:19:11 AM, Heiko Schocher wrote: > Hello Marek, > > Am 06.02.2014 04:47, schrieb Marek Vasut: > > This patch adds support for SHA-256 hash into the FIT image. The usage is > > as with the other hashing algorithms: > > > > " > > > > hash@1 { > > > >