Re: [U-Boot] [PATCH] mtd: nand: omap_gpmc: fix error handling

2015-01-02 Thread Stefan Roese
On 02.01.2015 18:49, Guido Martínez wrote: "err" was an unsigned variable, causing negative error codes to turn into positive values, which are interpreted as an amount of succesfully corrected bitflips (and thus not an error). In particular, this resulted in that if the elm reports uncorrectabl

[U-Boot] [PATCH] sunxi: axp221: correct ALDO2 description for sun6i

2015-01-02 Thread Chen-Yu Tsai
ALDO2 is used to power LPDDR2 SDRAM on both the reference design and the Hummingbird A31, when this type of RAM is present. Signed-off-by: Chen-Yu Tsai --- Hi Hans, It seems I was on something when I read the board schematics, as I misread them. ALDO2 is only used for LPDDR2, which nobody seems

Re: [U-Boot] [PATCH 8/9] [v4] hash: Add function to find hash_algo struct with progressive hash

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > The hash_algo structure has some implementations in which progressive hash > API's are not defined. These are basically the hardware based implementations > of SHA. An API is added to find the algo which has progressive hash API's >

Re: [U-Boot] [PATCH 7/9] [v4] lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > Kconfig option added for devices which support RSA Verification. > 1. RSA_SOFTWARE_EXP > Enables driver for supporting RSA Modular Exponentiation in Software > 2. RSA_FREESCALE_EXP > Enables driver for supporting RSA Modular Exponen

Re: [U-Boot] [PATCH 9/9] [v4] rsa: Use checksum algorithms from struct hash_algo

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > Currently the hash functions used in RSA are called directly from the sha1 > and sha256 libraries. Change the RSA checksum library to use the progressive > hash API's registered with struct hash_algo. This will allow the checksum >

Re: [U-Boot] [PATCH 5/9] [v4] lib/rsa: Modify rsa to use DM driver

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > Modify rsa_verify to use the rsa driver of DM library .The tools > will continue to use the same RSA sw library. > > CONFIG_RSA is now dependent on CONFIG_DM. All configurations which > enable FIT based signatures have been modified

Re: [U-Boot] [PATCH 3/9] [v4] DM: crypto/rsa: Add rsa Modular Exponentiation DM driver

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > Add a new rsa uclass for performing modular exponentiation and implement > the software driver basing on this uclass. > > Signed-off-by: Ruchika Gupta > CC: Simon Glass > --- > Changes in v4: > Removed Kconfig option for DM_RSA >

Re: [U-Boot] [PATCH 1/9] [v4] rsa: Split the rsa-verify to separate the modular exponentiation

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > Public exponentiation which is required in rsa verify functionality is > tightly integrated with verification code in rsa_verify.c. The patch > splits the file into twp separating the modular exponentiation. > > 1. rsa-verify.c > -

[U-Boot] [PATCH] WIP: Use hash.c in mkimage

2015-01-02 Thread Simon Glass
This is for Ruchika only. I think it would be good to adjust the function ordering so that there is only one '#ifdef USE_HOSTCC' in each of hash.c. This could be done by moving hash_lookup_algo() up near the top of the file, above store_result(). Signed-off-by: Simon Glass --- common/hash.c |

Re: [U-Boot] [PATCH 2/9] [v4] FIT: Modify option FIT_SIGNATURE in Kconfig

2015-01-02 Thread Simon Glass
Hi Ruchika, On 30 December 2014 at 02:30, Ruchika Gupta wrote: > For FIT signature based approach to work, RSA library needs to be selected. > The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA. > Selecting RSA compiles the RSA library required for image verification. P

Re: [U-Boot] [PATCH v2] x86: ahci: Make sure interface is not busy after enabling the port

2015-01-02 Thread Simon Glass
On 31 December 2014 at 02:18, Bin Meng wrote: > > Each time U-Boot boots on Intel Crown Bay board, the displayed hard > drive information is wrong. It could be either wrong capacity or just > a 'Capacity: not available' message. After enabling the debug switch, > we can see the scsi inquiry comman

[U-Boot] [PATCH] mtd: nand: omap_gpmc: fix error handling

2015-01-02 Thread Guido Martínez
"err" was an unsigned variable, causing negative error codes to turn into positive values, which are interpreted as an amount of succesfully corrected bitflips (and thus not an error). In particular, this resulted in that if the elm reports uncorrectable errors (-EBADMSG), the MTD layer (and UBI)

[U-Boot] Fwd: Fwd: coreboot uboot qemu x86

2015-01-02 Thread Ajoy Das
-- Forwarded message -- From: Bin Meng Date: Fri, Jan 2, 2015 at 10:05 PM Subject: Re: [U-Boot] Fwd: coreboot uboot qemu x86 To: Ajoy Das Cc: U-Boot Mailing List , Simon Glass < s...@chromium.org> Hi Ajoy, On Wed, Dec 31, 2014 at 1:28 PM, Ajoy Das wrote: > -- Forwarded

Re: [U-Boot] Fwd: coreboot uboot qemu x86

2015-01-02 Thread Bin Meng
Hi Ajoy, On Wed, Dec 31, 2014 at 1:28 PM, Ajoy Das wrote: > -- Forwarded message -- > From: Ajoy Das > Date: Wed, Dec 31, 2014 at 8:51 AM > Subject: Fwd: [U-Boot] coreboot uboot qemu x86 > To: U-Boot Mailing List , Simon Glass < > s...@chromium.org> > > > > -- Forwarded m

Re: [U-Boot] [PATCH 15/17] sunxi: Ippo_q8h defconfigs: Enable the LCD panel found on these tablets.

2015-01-02 Thread Siarhei Siamashka
On Thu, 01 Jan 2015 13:36:11 +0100 Hans de Goede wrote: > Hi, > > On 01-01-15 03:35, Chen-Yu Tsai wrote: > > Hi Hans, > > > > On Wed, Dec 31, 2014 at 7:22 PM, Hans de Goede wrote: > > > > >>> I also compared the config settings from your patches with the > >>> automatically generated records