Re: [U-Boot] [UBOOT][PATCH 5/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-02 Thread Jagan Teki
Hi Sourav, On Thu, Apr 3, 2014 at 11:46 AM, Sourav Poddar wrote: > On Thursday 03 April 2014 11:30 AM, Jagan Teki wrote: >> >> Hi Sourav, >> >> On Wednesday 02 April 2014 04:06 PM, Sourav Poddar wrote: >>> >>> Bulk erase is not happening properly on dra7 due to erase timing >>> constraints, >>> a

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2014-04-02 Thread Albert ARIBAUD
On Wed, 2 Apr 2014 20:00:07 +0200, Albert ARIBAUD wrote: > Hi Stefano, > > On Wed, 02 Apr 2014 18:54:14 +0200, Stefano Babic > wrote: > > > Hi Albert, > > > > please pull from u-boot-imx, thanks ! > > > > > > The following changes since commit 81a1d6173cd255c5c04c332ed69498c6e173515f: > >

Re: [U-Boot] [UBOOT][PATCH 3/5] configs: dra7-evm: Add mtd parts info for qspi.

2014-04-02 Thread Sourav Poddar
On Thursday 03 April 2014 11:59 AM, Jagan Teki wrote: On Wed, Apr 2, 2014 at 4:06 PM, Sourav Poddar wrote: Add MTD partition info for qspi on dra7 evm Signed-off-by: Sourav Poddar --- include/configs/dra7xx_evm.h | 46 ++ 1 file changed, 46 insertio

Re: [U-Boot] [UBOOT][PATCH 3/5] configs: dra7-evm: Add mtd parts info for qspi.

2014-04-02 Thread Jagan Teki
On Wed, Apr 2, 2014 at 4:06 PM, Sourav Poddar wrote: > Add MTD partition info for qspi on dra7 evm > > Signed-off-by: Sourav Poddar > --- > include/configs/dra7xx_evm.h | 46 > ++ > 1 file changed, 46 insertions(+) > > diff --git a/include/configs/dra7x

Re: [U-Boot] [UBOOT][PATCH 5/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-02 Thread Sourav Poddar
On Thursday 03 April 2014 11:30 AM, Jagan Teki wrote: Hi Sourav, On Wednesday 02 April 2014 04:06 PM, Sourav Poddar wrote: Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar

[U-Boot] [PATCH 06/11] MX6: add struct for sharing data between SPL and uboot

2014-04-02 Thread Tim Harvey
This can be used to pass info between the SPL and u-boot. Signed-off-by: Tim Harvey --- arch/arm/include/asm/arch-mx6/sys_proto.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 38851a1..f43e09c

[U-Boot] [PATCH 11/11] ventana: switch to SPL

2014-04-02 Thread Tim Harvey
Switch to an SPL image. The SPL for Ventana does the following: - setup i2c and read the factory programmed EEPROM to obtain DRAM config and model for board-specific calibration data - configure DRAM per CPU/size/layout/devices/calibration - load u-boot.img from NAND and jump to it This allo

[U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-02 Thread Tim Harvey
This is an attempt at using a macro to allow mx6dl-ddr.h and mx6q-ddr.h registers to be used together which is needed for an SPL bootloader that can run on either CPU's and must configure MMDC iomux dynamically. I am trying to come up with a solution similar to Eric's approach with the similar iss

[U-Boot] [PATCH 09/11] IMX: add additional function for pinmux using an array

2014-04-02 Thread Tim Harvey
Add new function that can take an array of iomux configs, an index, and a stride to allow a multi-dimentional array of pinmux values to be used to define pinmux values per cpu-type. This takes a different approach to previously proposed solutions which used multiple arrays of pad lists. The goal i

[U-Boot] [PATCH 10/11] ventana: auto-configure for IMX6Q vs IMX6DL

2014-04-02 Thread Tim Harvey
use the new iomux function and a macro to create a multi-dimensional array of iomux values without duplicating the defintions. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 497 1 file changed, 316 insertions(+), 181 deletions(-) diff -

[U-Boot] [PATCH 08/11] MX6: add mmdc configuration for MX6Q/MX6DL

2014-04-02 Thread Tim Harvey
- add mmdc iomux structs and defines - add mmdc ddr3 structs and defines - add function for configuring iomux based on board-specific regs - add function for configuring mmdc based on board-specific and chip-specific data The purpose of these structures and functions is to dynamically configure

[U-Boot] [PATCH 04/11] MX6: add common SPL configuration

2014-04-02 Thread Tim Harvey
Add a common header which can hopefully be shared among imx6 SPL users Signed-off-by: Tim Harvey --- include/configs/imx6_spl.h | 64 ++ 1 file changed, 64 insertions(+) create mode 100644 include/configs/imx6_spl.h diff --git a/include/configs/imx6_

[U-Boot] [PATCH 05/11] MX6: add boot device support SPL

2014-04-02 Thread Tim Harvey
Add enums, #defines, and helper functions needed for SPL images to describe and detect IMX6 boot device. Signed-off-by: Tim Harvey --- arch/arm/cpu/armv7/mx6/soc.c| 56 + arch/arm/include/asm/arch-mx6/spl.h | 26 ++ arch/arm/include

[U-Boot] [PATCH 03/11] MX6: provide linker script for SPL

2014-04-02 Thread Tim Harvey
Signed-off-by: Tim Harvey --- arch/arm/cpu/armv7/mx6/u-boot-spl.lds | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 arch/arm/cpu/armv7/mx6/u-boot-spl.lds diff --git a/arch/arm/cpu/armv7/mx6/u-boot-spl.lds b/arch/arm/cpu/armv7/mx6/u-boot-spl.lds new

[U-Boot] [PATCH 01/11] SPL: NAND: remove CONFIG_SYS_NAND_PAGE_SIZE

2014-04-02 Thread Tim Harvey
We only need to read in the size of struct image_header and thus don't need to know the page size of the nand device. Signed-off-by: Tim Harvey --- common/spl/spl_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl_nand.c b/common/spl/spl_nand.c index 9da021

[U-Boot] [PATCH 00/11] MX6: SPL NAND support

2014-04-02 Thread Tim Harvey
Here is a stab at adding SPL NAND support for i.MX6. I tried to take into account comments from previous attempts by others but there is still some work to be done and in particular I need some help with the issue of dealing with IMX6Q vs IMX6DL iomux in a way where the current defines can be share

[U-Boot] [PATCH 02/11] SPL: NAND: add support for mxs nand

2014-04-02 Thread Tim Harvey
This utilizes existing nand support, including the mtd layer to provide a a method to load an image off nand for SPL. It is somewhat bulky but avoids duplicating code. This will need to be split out and re-based on top of Tom's recent patch to add MTD NAND support which is needed here. Signed-off

Re: [U-Boot] [UBOOT][PATCH 5/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-02 Thread Jagan Teki
Hi Sourav, On Wednesday 02 April 2014 04:06 PM, Sourav Poddar wrote: Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar Tested-by: Yebio Mesfin --- drivers/spi/ti_qspi.c |

[U-Boot] [PATCH] ventana: remove redundant include

2014-04-02 Thread Tim Harvey
Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index c130e2c..2113740 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gatew

[U-Boot] [PATCH 8/8] arm: rmobile: keolsch: Add support ES2 revision of R8A7791

2014-04-02 Thread Nobuhiro Iwamatsu
There is koelsch where ES2 revision of R8A7791 was put on. This is different in Qos setting. This adds Qos setting for ES2 revision of R8A7791. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/koelsch/qos.c | 169 +--- 1 file changed, 129 insertions(+),

[U-Boot] [PATCH 4/8] arm: rmobile: Add prototype for function to get the CPU information to rmobile.h

2014-04-02 Thread Nobuhiro Iwamatsu
These functions are defined but has no prototype declaration. Add them. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/rmobile.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/rmobile.h b/arch/arm/include/asm/arch-rmobile/rmob

[U-Boot] [PATCH 7/8] arm: rmobile: r8a7791: Add support ES2 revision

2014-04-02 Thread Nobuhiro Iwamatsu
There is ES2 is a new revision to R8A7791. This adds support this revision. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/r8a7791.h | 4 arch/arm/include/asm/arch-rmobile/rcar-base.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/in

[U-Boot] [PATCH 6/8] arm: rmobile: r8a7790: Add support ES2 revision

2014-04-02 Thread Nobuhiro Iwamatsu
There is ES2 is a new revision to R8A7790. This adds support this revision. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/r8a7790.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/r8a7790.h b/arch/arm/include/asm/arch-rmobile/r8

[U-Boot] [PATCH 5/8] arm: rmobile: Update print_cpuinfo function

2014-04-02 Thread Nobuhiro Iwamatsu
The print_cpuinfo fucntion has same code. It has a code of many common. This adds a table of CPU information, duplicate using for-loop. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/cpu_info.c | 49 --- 1 file changed, 22 insertions(+), 27 delet

[U-Boot] [PATCH 3/8] arm: rmobile: Add rmobile_get_cpu_rev_fraction() for R-Car SoCs

2014-04-02 Thread Nobuhiro Iwamatsu
This adds rmobile_get_cpu_rev_fraction to get fraction revision for R-Car SoCs. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/cpu_info-rcar.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/rmobile/cpu_info-rcar.c b/arch/arm/cpu/armv7/rmobile/cpu_in

[U-Boot] [PATCH 1/8] arm: rmobile: Merge functions to get the CPU information of R8A7790 and R8A7791

2014-04-02 Thread Nobuhiro Iwamatsu
Functions to get the CPU information of R8A7790 and R8A7791 are common. This merges these as cpu_info-rcar.c. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Makefile | 4 ++-- arch/arm/cpu/armv7/rmobile/cpu_info-r8a7790.c | 22 arch/arm/cpu/armv7/

[U-Boot] [PATCH 2/8] arm: rmobile: Add 1 to value of the CPU revision in rmobile_get_cpu_rev_integer()

2014-04-02 Thread Nobuhiro Iwamatsu
Value that can be obtained in the rmobile_get_cpu_rev_integer() starts at 0. However, revisions to start from 1, which adds 1. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/cpu_info-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/rm

[U-Boot] [PATCH] ventana: fixed comments in eeprom header

2014-04-02 Thread Tim Harvey
Fix several invalid comments regarding the EEPROM structure used by Gateworks Ventana boards. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/ventana_eeprom.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/board/gateworks/gw_ventana/ventana_eeprom.h

[U-Boot] [PATCH] usb: ehci: rmobile: Add support ehci host driver of rmobile SoCs

2014-04-02 Thread Nobuhiro Iwamatsu
The rmobile SoC has usb host controller. This supports USB controllers listed in the R8A7790, R8A7791 and R8A7740. Signed-off-by: Nobuhiro Iwamatsu Reviewed-by: Marek Vasut --- v2: - Remove PHYS_OFFSET, use instead of CONFIG_SYS_SDRAM_BASE. - Move usb_base_address to ehci-rmobile.c. We do

[U-Boot] [PATCH] fs: fat: Fix cache align error message in fatwrite to use USB media

2014-04-02 Thread Nobuhiro Iwamatsu
Use of malloc of do_fat_write() from USB media causes cache error on ARM v7 platforms. Perhaps, the same problem will occur at any other CPUs. This replaces malloc with memalign to fix cache buffer alignment. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Yoshiyuki Ito --- fs/fat/fat_write.c |

Re: [U-Boot] [PATCH 01/2] powerpc/mpc85xx:Avoid fix address of bootpg section

2014-04-02 Thread Prabhakar Kushwaha
Hi All, I just want to share my concern with respect to this patch. This patch removed hard-coded value for 0x8 and use CONFIG_SYS_MONITOR_LEN. There were many Freescale boards config which don't have correct CONFIG_SYS_MONITOR_LEN(due to size increase from 512KB to 768KB). I fixed them

Re: [U-Boot] [PATCH 7/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

2014-04-02 Thread Prabhakar Kushwaha
On 4/3/2014 4:40 AM, Scott Wood wrote: On Wed, 2014-04-02 at 08:34 +0530, Prabhakar Kushwaha wrote: On 4/2/2014 3:32 AM, Scott Wood wrote: On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: SPI driver perform its operation(read/write) on 64KB buffer chunk for data greater than 64KB.

Re: [U-Boot] [PATCH] usb: ehci: rmobile: Add support ehci host driver of rmobile SoCs

2014-04-02 Thread Nobuhiro Iwamatsu
Hi, Thanks for your review. 2014-04-03 7:25 GMT+09:00 Marek Vasut : > On Wednesday, April 02, 2014 at 06:29:03 AM, Nobuhiro Iwamatsu wrote: >> The rmobile SoC has usb host controller. >> This supports USB controllers listed in the R8A7790, R8A7791 and R8A7740. >> >> Signed-off-by: Nobuhiro Iwamat

Re: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer

2014-04-02 Thread Masahiro Yamada
Hi Murali, On Tue, 1 Apr 2014 14:44:23 -0400 Murali Karicheri wrote: > From: Vitaly Andrianov > > This patch add basic support for the architecture timer found on recent > ARMv7 based SoCs. > > Signed-off-by: Vitaly Andrianov > Signed-off-by: Murali Karicheri > Acked-by: Tom Rini > --- >

Re: [U-Boot] [PATCH v3 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread Fabio Estevam
On Wed, Apr 2, 2014 at 10:55 AM, wrote: > From: Nitin Garg > > Full cache line writes to the same memory region from at least two > processors might deadlock the processor. Exists on r1, r2, r3 > revisions. > > Signed-off-by: Nitin Garg Acked-by: Fabio Estevam

Re: [U-Boot] [PATCH v12 1/8] libc: move strlcpy() from ether.c to string.c

2014-04-02 Thread Kuo-Jung Su
2014-04-01 17:16 GMT+08:00 Marek Vasut : > On Tuesday, April 01, 2014 at 10:46:52 AM, Kuo-Jung Su wrote: >> From: Kuo-Jung Su >> >> It would be better to have strlcpy() moved to lib/string.c, >> so that it could be reused by others without enabling >> USB Gadget Ethernet. >> >> Signed-off-by: Kuo-

[U-Boot] [PATCH v2 11/12] exynos: Enable the LCD backlight for snow

2014-04-02 Thread Simon Glass
The backlight uses FETs on the TPS65090. Enable this so that the display is visible. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski --- Changes in v2: - Only set up the EDP bridge for snow - Add a device tree compatibility string for the EDP bridge - Check for EDP failure and print an

[U-Boot] [PATCH v2 02/12] power: Rename CONFIG_PMIC_... to CONFIG_POWER_...

2014-04-02 Thread Simon Glass
Commit be3b51aa did this mostly, but several have been added since. Do the job again. Signed-off-by: Simon Glass Acked-by: Lukasz Majewski --- Changes in v2: None drivers/power/power_fsl.c | 6 +++--- include/configs/arndale.h | 4 ++-- include/configs/exynos5250-dt.h | 2 +-

[U-Boot] [PATCH v2 04/12] power: Add support for TPS65090 PMU chip.

2014-04-02 Thread Simon Glass
From: Tom Wai-Hong Tam This adds driver support for the TPS65090 PMU. Support includes hooking into the pmic infrastructure so that the pmic commands can be used on the console. The TPS65090 supports the following functionality: - fet enable/disable/querying - getting and setting of charge stat

[U-Boot] [PATCH v2 06/12] power: Explicitly select pmic device's bus

2014-04-02 Thread Simon Glass
From: Aaron Durbin The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before performing a transaction. Signed-off-by: Aaron Durbin Signed-off-by: Simon Glass Acked-by: Heiko Sch

[U-Boot] [PATCH v2 12/12] initcall: Improve debugging support

2014-04-02 Thread Simon Glass
Add the ability to display the code offset of an initcall even after it is relocated. This makes it much easier to relate initcalls back to the U-Boot System.map file. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to samsung/master include/initcall.h | 2 +- lib/initcall.c | 17 +

[U-Boot] [PATCH v2 08/12] exynos: Enable PSHOLD in SPL

2014-04-02 Thread Simon Glass
There is quite a tight deadline in enabling PSHOLD, less than a second. In some cases (e.g. with USB download), U-Boot takes longer than that to load, so the board powers off before U-Boot starts. Add a call in SPL to enable PSHOLD. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski --- C

[U-Boot] [PATCH v2 03/12] power: Add PMIC_ prefix to CHARGER_EN/DISABLE

2014-04-02 Thread Simon Glass
This enum should be common across all PMICs rather than having it independently defined with the same name in multiple places. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to rename CHARGER_EN/DISABLE drivers/power/battery/bat_trats.c | 4 ++-- drivers/power/battery/bat_trats

[U-Boot] [PATCH v2 07/12] exynos5: support tps65090 pmic

2014-04-02 Thread Simon Glass
From: Aaron Durbin The TSP65090 is a PMIC on some exynos5 boards. The init function is called for the TPS65090 pmic. If that device is not a part of the device tree (returns -ENODEV) then continue. Otherwise return a failure. Signed-off-by: Aaron Durbin Signed-off-by: Simon Glass Reviewed-by:

[U-Boot] [PATCH v2 09/12] exynos: dts: Disable cros_ec interrupts due to broken GPIOs

2014-04-02 Thread Simon Glass
At present the GPIO numbering patch has not been applied, so exynos GPIO numbering is inconsistent (there are large gaps). Disable interrupts to avoid a crash on boot. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/dts/exynos5250-snow.dts | 12 ++-- 1 file changed, 10 inse

[U-Boot] [PATCH v2 01/12] exynos: Drop old smdk5250.c file

2014-04-02 Thread Simon Glass
This is not used by any boards now. Drop it to avoid confusion. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to drop smdk5250.c file board/samsung/smdk5250/Makefile | 4 - board/samsung/smdk5250/exynos5-dt.c | 125 board/samsung/smdk5250/smdk5250.c | 368 -

[U-Boot] [PATCH v2 05/12] exynos5: Enable tps65090 on exynos5-dt

2014-04-02 Thread Simon Glass
From: Aaron Durbin The TPS65090 pmic chip can be on exynos5250 boards. Therefore, select the appropriate config option for TPS65090 devices. This commit should really use exynos5-dt.c, when it is available. Signed-off-by: Simon Glass Reviewed-by: Simon Glass --- Changes in v2: - Update patch

[U-Boot] [PATCH v2 10/12] exynos: dts: Enable LCD for snow

2014-04-02 Thread Simon Glass
Enable LCD for snow. This is a 1366 x 768 panel. Signed-off-by: Simon Glass --- Changes in v2: - Add a device tree node for the snow EDP bridge chip arch/arm/dts/exynos5250-snow.dts | 57 1 file changed, 57 insertions(+) diff --git a/arch/arm/dts/exyno

[U-Boot] [PATCH v2 0/12] Enable LCD display on snow

2014-04-02 Thread Simon Glass
This series adds a driver for TPS65090 and plumbs it in to get the LCD working correctly on snow. The display driver is already present, but needs information about the display to be provided in the device tree. The backlight also needs to be enabled - it is controlled by a FET on the TPS65090. N

Re: [U-Boot] [PATCH 7/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

2014-04-02 Thread Scott Wood
On Wed, 2014-04-02 at 08:34 +0530, Prabhakar Kushwaha wrote: > On 4/2/2014 3:32 AM, Scott Wood wrote: > > On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: > >> SPI driver perform its operation(read/write) on 64KB buffer chunk for data > >> greater than 64KB. This buffer chunk is allocat

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-04-02 Thread Marek Vasut
On Wednesday, April 02, 2014 at 08:35:33 AM, Lukasz Majewski wrote: > Hi Mateusz, [...] > Acked-by: Lukasz Majewski I suggest this goes for -next. Do you agree? Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH] usb: ehci: rmobile: Add support ehci host driver of rmobile SoCs

2014-04-02 Thread Marek Vasut
On Wednesday, April 02, 2014 at 06:29:03 AM, Nobuhiro Iwamatsu wrote: > The rmobile SoC has usb host controller. > This supports USB controllers listed in the R8A7790, R8A7791 and R8A7740. > > Signed-off-by: Nobuhiro Iwamatsu > --- > arch/arm/include/asm/arch-rmobile/ehci-rmobile.h | 169 > +

Re: [U-Boot] [U-Boot, v6, 6/6] trats/trats2: enable CONFIG_RANDOM_UUID

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 10:20:07AM +0200, Przemyslaw Marczak wrote: > This change enables automatically uuid generation by command gpt. > In case of updating partitions layout user don't need to care about > generate uuid manually. > > Signed-off-by: Przemyslaw Marczak > Cc: Minkyu Kang > Cc: P

Re: [U-Boot] [U-Boot, v6, 3/6] lib: uuid: add functions to generate UUID version 4

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 10:20:04AM +0200, Przemyslaw Marczak wrote: > This patch adds support to generate UUID (Universally Unique Identifier) > in version 4 based on RFC4122, which is randomly. > > Source: https://www.ietf.org/rfc/rfc4122.txt > > Changes: > - new configs: > - CONFIG_LIB_UUID

Re: [U-Boot] [U-Boot, v6, 4/6] new commands: uuid and guid - generate random unique identifier

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 10:20:05AM +0200, Przemyslaw Marczak wrote: > Those commands basis on implementation of random UUID generator version 4 > which is described in RFC4122. The same algorithm is used for generation > both ids but string representation is different as below. > > char: 0

Re: [U-Boot] [U-Boot, v6, 5/6] cmd:gpt: randomly generate each partition uuid if undefined

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 10:20:06AM +0200, Przemyslaw Marczak wrote: > Changes: > - randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID > is defined > - print debug info about set/unset/generated uuid > - update doc/README.gpt > > Signed-off-by: Przemyslaw Marczak > Acked-

Re: [U-Boot] ahci: Fix data abort on multiple scsi resets.

2014-04-02 Thread Tom Rini
On Tue, Apr 01, 2014 at 05:26:40PM +0300, Roger Quadros wrote: > Commit 2faf5fb82ed6 introduced a regression that causes a data > abort when running scsi init followed by scsi reset. > > There are 2 problems with the original commit > 1) ALLOC_CACHE_ALIGN_BUFFER() allocates memory on the stack bu

Re: [U-Boot] [U-Boot, v6, 2/6] lib: uuid: code refactor for proper maintain between uuid bin and string

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 10:20:03AM +0200, Przemyslaw Marczak wrote: > Changes in lib/uuid.c to: > - uuid_str_to_bin() > - uuid_bin_to_str() > > New parameter is added to specify input/output string format in listed > functions > This change allows easy recognize which UUID type is or should be s

Re: [U-Boot] [U-Boot, v6, 1/6] part_efi: move uuid<->string conversion functions into lib/uuid.c

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 10:20:02AM +0200, Przemyslaw Marczak wrote: > This commit introduces cleanup for uuid library. > Changes: > - move uuid<->string conversion functions into lib/uuid.c so they can be > used by code outside part_efi.c. > - rename uuid_string() to uuid_bin_to_str() for consis

[U-Boot] [PATCH 8/8] embest/mx6boards: use common detect_hdmi

2014-04-02 Thread Eric Bénard
Signed-off-by: Eric Bénard --- board/embest/mx6boards/mx6boards.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index f65c4fa..808a855 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/m

[U-Boot] [PATCH 6/8] nitrogen6x: use common detect_hdmi

2014-04-02 Thread Eric Bénard
Signed-off-by: Eric Bénard Cc: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 1d96db1..4e78ce4 100644 --- a/board/boundary/nitrogen6x/nitrogen6x

[U-Boot] [PATCH 7/8] mx6sabresd: use common detect_hdmi

2014-04-02 Thread Eric Bénard
Signed-off-by: Eric Bénard Cc: Fabio Estevam --- board/freescale/mx6sabresd/mx6sabresd.c | 8 1 file changed, 8 deletions(-) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index d54d5db..8935fa8 100644 --- a/board/freescale/mx6sabresd/mx

[U-Boot] [PATCH 5/8] imx-common/video: add detect_hdmi

2014-04-02 Thread Eric Bénard
this function is used by several board together with board_video_skip to detect if hdmi is plugged is order to select the display to use. So move it in imx-common to share it. Signed-off-by: Eric Bénard --- arch/arm/imx-common/video.c | 10 ++ arch/arm/include/asm/imx-common/

[U-Boot] [PATCH 4/8] RiOTboard and MarSBoard: add new boards support

2014-04-02 Thread Eric Bénard
RiOTboard is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested : - UART2 (console) - eMMC - SDCard - uSDCard - Ethernet - USB Host (through 4 ports hub) - HDMI output - I2C 1/2/3 - LVDS TFT with LCD8000-97C from Embest/Element 14 Boot on eMMC and through US

[U-Boot] [PATCH 2/8] nitrogen6x: use common board_video_skip

2014-04-02 Thread Eric Bénard
Signed-off-by: Eric Bénard Cc: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 61 ++ include/configs/nitrogen6x.h | 1 + 2 files changed, 4 insertions(+), 58 deletions(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/n

[U-Boot] [PATCH 3/8] mx6sabresd: use common board_video_skip

2014-04-02 Thread Eric Bénard
Signed-off-by: Eric Bénard Cc: Fabio Estevam --- board/freescale/mx6sabresd/mx6sabresd.c | 59 ++--- include/configs/mx6sabresd.h| 1 + 2 files changed, 4 insertions(+), 56 deletions(-) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freesc

[U-Boot] [PATCH 1/8] imx-common: add board_video_skip

2014-04-02 Thread Eric Bénard
this function is shared by several board and thus can be factorized Signed-off-by: Eric Bénard --- arch/arm/imx-common/Makefile| 1 + arch/arm/imx-common/video.c | 55 + arch/arm/include/asm/imx-common/video.h | 20 3 files ch

[U-Boot] [PATCH 1/8] imx-common: add board_video_skip

2014-04-02 Thread Eric Bénard
this function is shared by several board and thus can be factorized Signed-off-by: Eric Bénard --- arch/arm/imx-common/Makefile| 1 + arch/arm/imx-common/video.c | 55 + arch/arm/include/asm/imx-common/video.h | 20 3 files ch

Re: [U-Boot] Booting image from ARM for different architecture

2014-04-02 Thread Simon Glass
HI Michal, On 31 March 2014 03:45, Michal Simek wrote: > Hi all, > > I want to check with you if someone tried this scenario. > Load u-boot on main CPU (for me ARM cortex-a9) > and boot different cpu(for me Microblaze) with FIT image > or old u-boot image format. > > IRC I have seen any code reg

Re: [U-Boot] Pull request: u-boot-mmc 02042014

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 01:56:05PM +0300, Pantelis Antoniou wrote: > Hi Tom, > > The following changes since commit c494eaf409cb8db9a5a513e9bdfac20b7a83daca: > > Prepare v2014.04-rc3 (2014-03-31 15:24:48 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-mmc.gi

Re: [U-Boot] [PATCH 6/10] driver/ifc: define nand_spl_load_image() for SPL

2014-04-02 Thread Scott Wood
On Wed, 2014-04-02 at 09:51 +0530, Prabhakar Kushwaha wrote: > On 4/2/2014 3:33 AM, Scott Wood wrote: > > On Mon, 2014-03-31 at 15:34 +0530, Prabhakar Kushwaha wrote: > >> nand_spl_load_image() can also be used for non TPL framework. > >> > >> Signed-off-by: Prabhakar Kushwaha > >> --- > >> driv

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2014-04-02 Thread Albert ARIBAUD
Hi Stefano, On Wed, 02 Apr 2014 18:54:14 +0200, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks ! > > > The following changes since commit 81a1d6173cd255c5c04c332ed69498c6e173515f: > > mx25pdk: Align the environment with other FSL boards (2014-03-12 > 11:19:23 +01

Re: [U-Boot] please pull u-boot-samsung master

2014-04-02 Thread Albert ARIBAUD
Hi Minkyu, On Wed, 02 Apr 2014 21:55:59 +0900, Minkyu Kang wrote: > Dear Albert, > > The following changes since commit da0c5748a315ea8852a85b8af9638571cce0fe94: > > Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2014-04-02 > 06:43:09 +0200) > > are available in the git reposito

Re: [U-Boot] [PATCH v2 4/4] samsung: misc: keys: fix gpio key debouncing by adding 50 ms delay

2014-04-02 Thread Gerhard Sittig
On Wed, 2014-04-02 at 11:42 +0200, Przemyslaw Marczak wrote: > > This change prevents gpio keys debouncing by adding 50 ms delay > when key pressed condition met. comment nit: keys are bouncing, de-bouncing is the counter measure, you don't want to avoid it :) virtually yours Gerhard Sittig --

[U-Boot] [PULL] : Please pull u-boot-imx

2014-04-02 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 81a1d6173cd255c5c04c332ed69498c6e173515f: mx25pdk: Align the environment with other FSL boards (2014-03-12 11:19:23 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git maste

Re: [U-Boot] CONFIG_REMAKE_ELF for aarch64

2014-04-02 Thread York Sun
On 04/02/2014 03:10 AM, FengHua wrote: > >> -Original Messages- >> From: "York Sun" >> Sent Time: 2014-03-22 02:10:39 (Saturday) >> To: "Scott Wood" >> Cc: FengHua , "u-boot@lists.denx.de" >> >> Subject: CONFIG_REMAKE_ELF for aarch64 >> >> Scott, >> >> I am having a problem recreating

Re: [U-Boot] [PATCH v3 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread Nitin Garg
Sorry, I don't have a link. We are in the process of updating the i.MX6 Chip errata document to include this. Regards, Nitin Garg -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Wednesday, April 02, 2014 10:29 AM To: Garg Nitin-B37173; tr...@ti.com; Estevam Fabio-R4

Re: [U-Boot] [PATCH v3 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread Nitin Garg
Hi Stefano, Errata 742230 applies to r1p0, r1p1, r1p2, r1p3, r2p0, r2p1, r2p2 revision of Cortex-A9. Errata 794072 applies to r1, 2, r3, r4 revisions. Software workaround is same for both. Since diff products use diff revisions of core, I would suggest to have it this way. Otherwise it might le

Re: [U-Boot] [PATCH v3 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread Stefano Babic
Hi Nitin, On 02/04/2014 15:55, nitin.g...@freescale.com wrote: > From: Nitin Garg > > Full cache line writes to the same memory region from at least two > processors might deadlock the processor. Exists on r1, r2, r3 > revisions. > > Signed-off-by: Nitin Garg > --- > README

Re: [U-Boot] [PATCH v3 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread Stefano Babic
Hi Nitin, On 02/04/2014 15:55, nitin.g...@freescale.com wrote: > From: Nitin Garg > > A short loop including a DMB instruction might cause a denial of > service on another processor which executes a CP15 broadcast operation. > Exists on r1, r2, r3, r4 revisions. > > Signed-off-by: Nitin Garg >

[U-Boot] [PATCH v3 3/3] MX6: Enable ARM errata workaround 794072 and 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 794072 and 761320. Signed-off-by: Nitin Garg --- include/configs/mx6_common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common

[U-Boot] [PATCH v3 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread nitin.garg
From: Nitin Garg A short loop including a DMB instruction might cause a denial of service on another processor which executes a CP15 broadcast operation. Exists on r1, r2, r3, r4 revisions. Signed-off-by: Nitin Garg Acked-by: Dirk Behme --- README |1 + arch/arm/cpu/ar

[U-Boot] [PATCH v3 0/3] Add workaround for Cortex-A9 errata

2014-04-02 Thread nitin.garg
From: Nitin Garg These patches implement workaround for 2 Cortex-A9 erratas. Enable these errata workaround for MX6. Changes since v2: - Added Acked-by Dirk Behme for PATCH 1/3 - Added Stefano for review Changes since v1: - Enabled these erratas for MX6 as suggested by Fabio Estevam - Reuse

[U-Boot] [PATCH v3 3/3] MX6: Enable ARM errata workaround 794072 and 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 794072 and 761320. Signed-off-by: Nitin Garg --- include/configs/mx6_common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common

[U-Boot] [PATCH v3 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Full cache line writes to the same memory region from at least two processors might deadlock the processor. Exists on r1, r2, r3 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 + 2 files changed, 6 insertions

[U-Boot] [PATCH v3 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Full cache line writes to the same memory region from at least two processors might deadlock the processor. Exists on r1, r2, r3 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 + 2 files changed, 6 insertions

[U-Boot] [PATCH v3 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread nitin.garg
From: Nitin Garg A short loop including a DMB instruction might cause a denial of service on another processor which executes a CP15 broadcast operation. Exists on r1, r2, r3, r4 revisions. Signed-off-by: Nitin Garg Acked-by: Dirk Behme --- README |1 + arch/arm/cpu/ar

[U-Boot] [PATCH v3 0/3] Add workaround for Cortex-A9 errata

2014-04-02 Thread nitin.garg
From: Nitin Garg These patches implement workaround for 2 Cortex-A9 erratas. Enable these errata workaround for MX6. Changes since v2: - Added Acked-by Dirk Behme for PATCH 1/3 - Added Stefano for review Changes since v1: - Enabled these erratas for MX6 as suggested by Fabio Estevam - Reuse

[U-Boot] [PATCH 3/3] MX6: Enable ARM errata workaround 794072 and 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 794072 and 761320. Signed-off-by: Nitin Garg --- include/configs/mx6_common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common

Re: [U-Boot] [PATCH 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread Dirk Behme
On 02.04.2014 14:58, nitin.g...@freescale.com wrote: From: Nitin Garg A short loop including a DMB instruction might cause a denial of service on another processor which executes a CP15 broadcast operation. Exists on r1, r2, r3, r4 revisions. Signed-off-by: Nitin Garg --- README

[U-Boot] [PATCH 3/3] MX6: Enable ARM errata workaround 794072 and 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 794072 and 761320. Signed-off-by: Nitin Garg --- include/configs/mx6_common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common

[U-Boot] please pull u-boot-samsung master

2014-04-02 Thread Minkyu Kang
Dear Albert, The following changes since commit da0c5748a315ea8852a85b8af9638571cce0fe94: Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2014-04-02 06:43:09 +0200) are available in the git repository at: http://git.denx.de/u-boot-samsung for you to fetch changes up to 00b132b

Re: [U-Boot] [PATCH 2/2] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread Nitin Garg
Hi Dirk, There is no revision and variant in this cpu_init_cp15 function. I think this function is common unlike kernel code which was cortex specific. Regards, Nitin Garg -Original Message- From: Dirk Behme [mailto:dirk.be...@de.bosch.com] Sent: Wednesday, April 02, 2014 1:46 AM To:

[U-Boot] [PATCH 1/3] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread nitin.garg
From: Nitin Garg A short loop including a DMB instruction might cause a denial of service on another processor which executes a CP15 broadcast operation. Exists on r1, r2, r3, r4 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |2 +-

[U-Boot] [PATCH 0/3] Add workaround for Cortex-A9 errata

2014-04-02 Thread nitin.garg
From: Nitin Garg These patches implement workaround for 2 Cortex-A9 erratas. Enable these errata workaround for MX6. Nitin Garg (3): ARM: Add workaround for Cortex-A9 errata 794072 ARM: Add workaround for Cortex-A9 errata 761320 MX6: Enable ARM errata workaround 794072 and 761320 README

[U-Boot] [PATCH 2/3] ARM: Add workaround for Cortex-A9 errata 761320

2014-04-02 Thread nitin.garg
From: Nitin Garg Full cache line writes to the same memory region from at least two processors might deadlock the processor. Exists on r1, r2, r3 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 + 2 files changed, 6 insertions

Re: [U-Boot] [PATCH 1/2] ARM: Add workaround for Cortex-A9 errata 794072

2014-04-02 Thread Nitin Garg
Good point! I will do that. Regards, Nitin Garg -Original Message- From: Dirk Behme [mailto:dirk.be...@de.bosch.com] Sent: Wednesday, April 02, 2014 1:42 AM To: Garg Nitin-B37173 Cc: tr...@ti.com; Estevam Fabio-R49496; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 1/2] ARM: Add work

Re: [U-Boot] [PATCH] config:trats2: Change u-boot's TEXT_BASE from 0x78100000 to 0x43e00000

2014-04-02 Thread Minkyu Kang
On 19/03/14 22:47, Lukasz Majewski wrote: > The u-boot's image TEXT_BASE needs to be changed to 0x43e0 from > 0x7810. > > This change provides compatibility with other trats2 (RD_PQ) devices > (http://download.tizen.org/releases/system/). > > Signed-off-by: Lukasz Majewski > Cc: Minkyu

[U-Boot] [PATCH] powerpc/T1040: add mtdparts suppport for T104xRDB and T1040QDS

2014-04-02 Thread Prabhakar Kushwaha
We use dynamical mtdparts partition instead of directly puting mtd partitions nodes in device tree. Signed-off-by: Prabhakar Kushwaha --- This patch depends upon powerpc/t104xrdb: Unification of T104xRDB header files http://patchwork.ozlabs.org/patch/335207/ include/configs/T1040QDS.h | 17

Re: [U-Boot] [UBOOT][PATCH 3/5] configs: dra7-evm: Add mtd parts info for qspi.

2014-04-02 Thread Tom Rini
On Wed, Apr 02, 2014 at 04:06:11PM +0530, Sourav Poddar wrote: > Add MTD partition info for qspi on dra7 evm > > Signed-off-by: Sourav Poddar [snip] > +/* > + * Default to using SPI for environment, etc. > + * 0x00 - 0x01 : QSPI.SPL (64KiB) > + * 0x01 - 0x02 : QSPI.SPL.backup1 (6

  1   2   >