Re: [U-Boot] NAND SPL on imx6

2014-04-02 Thread Stefano Babic
Hi Tim, On 27/03/2014 18:56, Tim Harvey wrote: > On Mon, Mar 10, 2014 at 11:40 AM, Stefano Babic wrote: >> Hi Andy, >> >> On 07/03/2014 13:36, Andy Ng wrote: >>> Dear colleagues, >>> >>> Has anyone tried to build NAND SPL support on imx6. Does it work? >>> >> >> SPL support is not yet done for i.

[U-Boot] [PATCH 1/2 v2] powerpc/T208xQDS: add mtdparts suppport

2014-04-02 Thread Shengzhou Liu
We use dynamical mtdparts partition instead of directly puting mtd partitions nodes in device tree. Signed-off-by: Shengzhou Liu --- v2: update nand name to u64. include/configs/T208xQDS.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/T208xQDS.h b/includ

[U-Boot] [PATCH 2/2 v2] powerpc/T208xRDB: add mtdparts suppport

2014-04-02 Thread Shengzhou Liu
We use dynamical mtdparts partition instead of directly puting mtd partitions nodes in device tree. Signed-off-by: Shengzhou Liu --- v2: update nand name to u64. include/configs/T208xRDB.h | 16 1 file changed, 16 insertions(+) diff --git a/include/configs/T208xRDB.h b/include

[U-Boot] [Question] bardrate both in gd_t and bd_t

2014-04-02 Thread Masahiro Yamada
Hi. I notice bardrate parameter bd_t as well as gd_t. In include/asm-generic/global_data.h typedef struct global_data { bd_t *bd; unsigned long flags; unsigned int baudrate; We have "baudrate" here. E.g. arch/arm/include/asm/u-boot.h typedef struct bd_info {

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

2014-04-02 Thread Przemyslaw Marczak
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 consistency with existing uuid_str_to_bin() - add an error return code to uuid_str_

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

2014-04-02 Thread Przemyslaw Marczak
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 for compile lib/uuid.c - CONFIG_RANDOM_UUID for functions gen_rand_uuid() and gen_r

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

2014-04-02 Thread Przemyslaw Marczak
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 stored in given string array. Binary data of UUID and GUID is always stored in big e

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

2014-04-02 Thread Przemyslaw Marczak
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: 0914 19 24 36 ---- UUID

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

2014-04-02 Thread Przemyslaw Marczak
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: Piotr Wilczek Cc: Stephen Warren Cc: Lukasz Majewski Cc: tr...@ti.com --- Change

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

2014-04-02 Thread Przemyslaw Marczak
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-by: Lukasz Majewski Cc: Piotr Wilczek Cc: Tom Rini Cc: Stephen Warren Cc: Lukasz

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

2014-04-02 Thread Przemyslaw Marczak
Hello, On 04/02/2014 10:20 AM, 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 for compile lib/uuid.c

Re: [U-Boot] [PATCH 2/2] arm: mxs: Add serial console support into SPL

2014-04-02 Thread Stefano Babic
On 01/04/2014 10:47, Marek Vasut wrote: > On Tuesday, April 01, 2014 at 10:34:38 AM, Stefano Babic wrote: >> On 19/03/2014 02:21, Marek Vasut wrote: >>> Add support for serial console into the i.MX23/i.MX28 SPL. A full, >>> uncrippled serial console support comes very helpful when debugging >>> var

Re: [U-Boot] [PATCH 2/2] arm: mxs: Add serial console support into SPL

2014-04-02 Thread Marek Vasut
On Wednesday, April 02, 2014 at 10:44:12 AM, Stefano Babic wrote: > On 01/04/2014 10:47, Marek Vasut wrote: > > On Tuesday, April 01, 2014 at 10:34:38 AM, Stefano Babic wrote: > >> On 19/03/2014 02:21, Marek Vasut wrote: > >>> Add support for serial console into the i.MX23/i.MX28 SPL. A full, > >>>

Re: [U-Boot] [PATCH v2 1/2] imx: add rules for U-Boot DTB support

2014-04-02 Thread Stefano Babic
On 31/03/2014 09:50, Stefano Babic wrote: > Signed-off-by: Stefano Babic > --- > Applied to u-boot-imx (both patches) Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB

[U-Boot] [PATCH v2 1/4] samsung: misc: allows using environmental macros as args in menu commands

2014-04-02 Thread Przemyslaw Marczak
Function cmd_process() runs commands with directly given list of arguments but it doesn't expand given environmental variables names as macros. Command "gpt" as one of arguments expects expanded macro e.g. $partitions so it needs to be called by function run_command(). Changes: - extend array mode

[U-Boot] [PATCH v2 2/4] samsung: misc: add gpt restore option to lcd menu

2014-04-02 Thread Przemyslaw Marczak
This menu option allows restore gpt. This is usefull and no needs access to the u-boot console. For proper operation: - each partition uuid should be set in environment or - CONFIG_RANDOM_UUID should be defined for automatically uuid setting After operation success device is going to be reset. Si

[U-Boot] [PATCH v2 3/4] samsung: misc: add env default option to lcd menu

2014-04-02 Thread Przemyslaw Marczak
From: Inha Song This change allows reset device environment to default without using u-boot console, which is useful for system developers. Signed-off-by: Inha Song Acked-by: Przemyslaw Marczak Cc: Minkyu Kang --- Changes v2: - extend commit message --- board/samsung/common/misc.c | 3 +++

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

2014-04-02 Thread Przemyslaw Marczak
This change prevents gpio keys debouncing by adding 50 ms delay when key pressed condition met. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang --- Changes v2: - new commit --- board/samsung/common/misc.c | 4 1 file changed, 4 insertions(+) diff --git a/board/samsung/common/misc.c b/b

Re: [U-Boot] [PATCH] armv8: Flush dcache before switching to EL2

2014-04-02 Thread FengHua
> -Original Messages- > From: "York Sun" > Sent Time: 2014-04-01 05:40:32 (Tuesday) > To: albert.u.b...@aribaud.net > Cc: u-boot@lists.denx.de, "York Sun" > Subject: [U-Boot] [PATCH] armv8: Flush dcache before switching to EL2 > > For ARMv8, U-boot has been running at EL3 with cache a

Re: [U-Boot] CONFIG_REMAKE_ELF for aarch64

2014-04-02 Thread FengHua
> -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 u-boot.elf for aarch64 targets. The file is > OK

Re: [U-Boot] [PATCH] mmc: Handle switch error status bit in MMC card status

2014-04-02 Thread Pantelis Antoniou
Hi Andrew, In general looks good; only a small nag. On Mar 24, 2014, at 9:39 AM, Andrew Gabbasov wrote: > MMC switch command for unsupported feature (e.g. bus width) sets a switch > error bit in card status. This bit should be checked, and, if it's set, > no access with new controller settings s

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: add controller reset in case of data related errors too

2014-04-02 Thread Pantelis Antoniou
Hi Andrew, On Mar 24, 2014, at 9:41 AM, Andrew Gabbasov wrote: > The controller reset is performed now if command error occurs. > This commit adds the reset for the case of data related errors too. > > Signed-off-by: Andrew Gabbasov > --- > drivers/mmc/fsl_esdhc.c | 63 +++

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: fix calculation of timeout for data transactions

2014-04-02 Thread Pantelis Antoniou
Hi Andrew, On Mar 24, 2014, at 9:40 AM, Andrew Gabbasov wrote: > Calculation of the timeout value should be based on actual clock value, > written to controller registers. Since mmc->tran_speed is either the > maximum allowed speed, or the preliminary value, that is be not yet > set to registers,

Re: [U-Boot] [PATCH V2] mmc:eSDHC: Workaround for data timeout issue on Txxx SoC

2014-04-02 Thread Pantelis Antoniou
Hi Haijun, The patch looks good but it doesn't apply after the mmc changes I've made I've reworked and applied it; On Mar 18, 2014, at 11:04 AM, Haijun Zhang wrote: > 1. The Data timeout counter value in eSDHC_SYSCTL register is > not working as it should be, so add quirks to enable this > work

[U-Boot] [UBOOT][PATCH 2/5] qspi: add support for qspi4 device

2014-04-02 Thread Sourav Poddar
Add support to enable boot from qspi in qspi4 pin mode. Signed-off-by: Sourav Poddar --- arch/arm/include/asm/arch-omap5/spl.h |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-omap5/spl.h b/arch/arm/include/asm/arch-omap5/spl.h index f707998..77eb943 100644 -

[U-Boot] [UBOOT][PATCH 1/5] board.cfg: dra7: Add QSPI boot config.

2014-04-02 Thread Sourav Poddar
These add a qspi boot config for dra7 board. Signed-off-by: Sourav Poddar --- boards.cfg |2 ++ 1 file changed, 2 insertions(+) diff --git a/boards.cfg b/boards.cfg index 69c8936..d6d5bb3 100644 --- a/boards.cfg +++ b/boards.cfg @@ -356,6 +356,8 @@ Active arm armv7 omap4

[U-Boot] [UBOOT][PATCH 0/5] dra7: Add partition table entry and qspi boot config

2014-04-02 Thread Sourav Poddar
The following patch series aims at 1. adding a seperate defconfig for qspi on dra7. 2. Also populate the qspi partition table for dra7 evm boards. 3. cleanup and fixes around qspi4 pin mode and bulk erase respectively. Tested on J6 evm(PG1.1) with the following sysconfig boot settings. sysconfig[

[U-Boot] [UBOOT][PATCH 4/5] configs: dra7-evm: change uboot offset

2014-04-02 Thread Sourav Poddar
Change uboot offset in accordance with the partition formed. Signed-off-by: Sourav Poddar --- include/configs/dra7xx_evm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 68496dc..cd2f8d9 100644 --- a/includ

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

2014-04-02 Thread Sourav Poddar
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/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 291c538..68496dc 100644 --

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

2014-04-02 Thread Sourav Poddar
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 |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/ti_qs

Re: [U-Boot] [PATCHv2 00/10] mmc: code cleanup and support DDR mode

2014-04-02 Thread Pantelis Antoniou
Hi Jaehoon, On Apr 2, 2014, at 9:17 AM, Jaehoon Chung wrote: > If card and host are supported DDR mode, then it can be used the DDR mode. > This patch-set has dependency about beomho's patch-set. > (Based-on u-boot-samsung repository) > > http://patchwork.ozlabs.org/patch/331986/ > http://patchw

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

2014-04-02 Thread Pantelis Antoniou
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.git master for you to fetch changes up to 1336e2d343f088b71ec71907855caccd1053d166:

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

[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] [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

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

[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

[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 +-

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] 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

[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] [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 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 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 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 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 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

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 >

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 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 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] 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

[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] [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 --

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] [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] [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 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] 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

[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

[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 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 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 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 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

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

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, 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] [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] [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] [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 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

[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

[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 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 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 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 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 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 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 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

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-

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 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] 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

  1   2   >