[U-Boot] Builds in MAKEALL -a arm failing sometimes when BUILD_NBUILDS>1?

2013-02-08 Thread Albert ARIBAUD
Hello, ... this time from the present. Recently I have seen MAKEALL -a arm fail sporadically on some boards during parallel builds; more specifically, with BUILD_NBUILDS=8 and BUILD_NCPUS=1. Has anyone seen this, or is anyone working on MAKEALL arm now and willing to give a look? Note that the

Re: [U-Boot] ./MAKEALL arm is buggy - scratch that...

2013-02-08 Thread Albert ARIBAUD
Scratch thtat: for some reason this old discussion popped up under my eyes and due to my current issues with MAKEALL, I blanked on the date. I'll repost that part on parallel MAKEALL failing in parallel apart. Sorry for the noise. :/ On Sat, 9 Feb 2013 08:31:06 +0100, Albert ARIBAUD wrote: > Hi

Re: [U-Boot] ./MAKEALL arm is buggy

2013-02-08 Thread Albert ARIBAUD
Hi Allen, On Wed, 29 Aug 2012 11:33:06 -0700, Allen Martin wrote: > On Wed, Aug 29, 2012 at 09:55:17AM -0700, Tom Warren wrote: > > Allen/Albert, > > > > > -Original Message- > > > From: Allen Martin [mailto:amar...@nvidia.com] > > > Sent: Tuesday, August 28, 2012 5:08 PM > > > To: Tom

Re: [U-Boot] [PATCH] tpm: Add TPM command library and utility commands

2013-02-08 Thread Wolfgang Denk
Dear Che-Liang Chiou, In message <1360371227-13404-1-git-send-email-clch...@chromium.org> you wrote: > TPM command library implements a subset of TPM commands defined in TCG > Main Specification 1.2 that are useful for implementing secure boot. > More TPM commands could be added out of necessity.

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-08 Thread Wolfgang Denk
Dear Joe Hershberger, In message <1360355280-1197-1-git-send-email-joe.hershber...@ni.com> you wrote: > Because the code that handles bootdelay is compiled in conditionally > based on the default value, you are restricted in the default, > regardless of what you want the runtime options to be. >

[U-Boot] [Pull] u-boot-fdt/master

2013-02-08 Thread Jerry Van Baren
Dear Tom, Please pull u-boot-fdt. Thanks, gvb The following changes since commit d62ef5619c9249772247d6af3b8e65207ae0c871: sf: stmicro: Add support for N25Q256A (2013-02-06 10:10:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-fdt.git master for you to fetch ch

Re: [U-Boot] [PATCH] Allow u-boot to be silent without forcing Linux to be

2013-02-08 Thread Simon Glass
Hi Joe, On Fri, Feb 8, 2013 at 12:17 PM, Joe Hershberger wrote: > That's a bit presumptuous of you, u-boot! > > Signed-off-by: Joe Hershberger > --- > common/cmd_bootm.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c > in

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Harvey Chapman
On Feb 8, 2013, at 6:34 PM, Scott Wood wrote: > On 02/08/2013 10:44:30 AM, Harvey Chapman wrote: > This should go inside the "not raw" path of the previous "if" statement. > Please use tabs to indent. > We already have "nand" in this context. > We already have "size" -- and you don't even seem to

[U-Boot] [PATCH] tpm: Add TPM command library and utility commands

2013-02-08 Thread Che-Liang Chiou
TPM command library implements a subset of TPM commands defined in TCG Main Specification 1.2 that are useful for implementing secure boot. More TPM commands could be added out of necessity. You may exercise these commands through the 'tpm' command. However, the 'tpm' command is too primitive for

Re: [U-Boot] [PATCH 1/7] Add cros_ec driver.

2013-02-08 Thread Doug Anderson
Hung-ying Tyan, On Fri, Feb 8, 2013 at 5:05 AM, Hung-ying Tyan wrote: > Signed-off-by: Bernie Thompson > Signed-off-by: Bill Richardson > Signed-off-by: Che-Liang Chiou > Signed-off-by: Doug Anderson > Signed-off-by: Gabe Black > Signed-off-by: Hung-ying Tyan > Signed-off-by: Louis Yung-Chi

Re: [U-Boot] [PATCH 1/7] Add cros_ec driver.

2013-02-08 Thread Doug Anderson
Hung-ying Tyran, On Fri, Feb 8, 2013 at 3:54 PM, Doug Anderson wrote: > Hung-ying Tyan, > > On Fri, Feb 8, 2013 at 5:05 AM, Hung-ying Tyan wrote: >> Signed-off-by: Bernie Thompson >> Signed-off-by: Bill Richardson >> Signed-off-by: Che-Liang Chiou >> Signed-off-by: Doug Anderson >> Signed-of

Re: [U-Boot] [PATCH v5 8/8] nand: mxc: Switch NAND SPL to generic SPL

2013-02-08 Thread Benoît Thébaudeau
On Friday, February 8, 2013 11:49:27 PM, Benoît Thébaudeau wrote: > Subject: [PATCH v5 8/8] nand: mxc: Switch NAND SPL to generic SPL > > Signed-off-by: Benoît Thébaudeau > --- > Changes in v5: > - Remove spaces between function name and open parenthesis. > - Fix mx31pdk and tx25 Makefile-s and

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Scott Wood
On 02/08/2013 10:44:30 AM, Harvey Chapman wrote: Eh, I shouldn't post code that quickly… Try this: diff --git a/common/cmd_nand.c b/common/cmd_nand.c --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -621,60 +621,80 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, nand = &nand_info[

[U-Boot] [PATCH v5 8/8] nand: mxc: Switch NAND SPL to generic SPL

2013-02-08 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v5: - Remove spaces between function name and open parenthesis. - Fix mx31pdk and tx25 Makefile-s and SPL linker scripts. - Remove the useless definition of CONFIG_SPL_LDSCRIPT. - Fix the call to nand_boot(). Changes in v4: - New patch. Change

[U-Boot] [PATCH v5 6/8] nand: mxc: Use appropriate page number in syndrome functions

2013-02-08 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau --- Changes i

[U-Boot] [PATCH v5 5/8] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-02-08 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau --- Changes in v5: - Replace __FUNCTION__ with __func__. Changes in v4: - New

[U-Boot] [PATCH v5 2/8] nand: mxc: Add support for i.MX5

2013-02-08 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting from behavioral changes. Changes in v2: None arch/arm/include/asm/arch-mx5/imx-regs.h |9 +++ drivers/mtd/nand/mxc_nand.c | 129 +++

[U-Boot] [PATCH v5 7/8] Makefile: u-boot-with-spl.bin: Pad to CONFIG_SPL_MAX_SIZE

2013-02-08 Thread Benoît Thébaudeau
PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE instead. Signed-off-by: Benoît Thébaudeau --- Changes in v5: None Changes in v4: - New patch. Changes in v3: None Changes in v2: None Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ma

[U-Boot] [PATCH v5 1/8] nand: mxc: Prepare to add support for i.MX5

2013-02-08 Thread Benoît Thébaudeau
Add some abstraction to NFC defitnitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau --- Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting from behavioral chan

[U-Boot] [PATCH v5 3/8] imx: mx5: lowlevel_init: Simplify code

2013-02-08 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau Acked-by: Stefano Babic --- Changes in v5: None Changes in v4: None Changes in v3: - New patch. Changes in v2: None arch/arm/cpu/armv7/mx5/lowlevel_init.S |8 ++-- 1 file changed, 2 insertions(+

[U-Boot] [PATCH v5 4/8] imx: mx53ard: Add support for NAND Flash

2013-02-08 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by: Benoî

[U-Boot] [PATCH] mtd: nand: Check if NAND is locked tight before lock cmds

2013-02-08 Thread Joe Hershberger
If the NAND is locked tight, commands such as lock and unlock will not work, but the NAND chip may not report an error. Check the lock tight status before attempting such operations so that an error status can be reported if we know the operation will not succeed. Signed-off-by: Joe Hershberger

[U-Boot] [PATCH 5/5] am335x evm: Add am335x_evm_spiboot target

2013-02-08 Thread Tom Rini
This target will move the environment into SPI flash and documents the expected layout. We correct the SPL define for where U-Boot is and remove an unused define. Signed-off-by: Tom Rini --- boards.cfg |1 + include/configs/am335x_evm.h | 25 +++-- 2

[U-Boot] [PATCH 4/5] doc/SPL/README.am335x-network: Document using ethernet (and USB) SPL

2013-02-08 Thread Tom Rini
From: Ilya Yanok Added README file with the description of required options and host configuration to use network SPL with am335x targets. Briefly discuss how to use this configuration to program empty boards. Signed-off-by: Ilya Yanok Signed-off-by: Tom Rini --- doc/SPL/README.am335x-networ

[U-Boot] [PATCH 3/5] am335x_evm: Add NET environment variables

2013-02-08 Thread Tom Rini
From: Chase Maupin * Add environment variables to support network booting Signed-off-by: Chase Maupin Signed-off-by: Tom Rini --- include/configs/am335x_evm.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h ind

[U-Boot] [PATCH 2/5] am335x_evm: Add SPI environment variables

2013-02-08 Thread Tom Rini
From: Chase Maupin * Added variables to support SPI booting * Note that the first 512KiB are reserved for 4 copies of SPL. Signed-off-by: Chase Maupin Signed-off-by: Tom Rini --- include/configs/am335x_evm.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH 1/5] am335x_evm: Add NAND environment variables

2013-02-08 Thread Tom Rini
From: Chase Maupin * Added support to the default environment variables for NAND boot. * Add nandboot to the default bootcmd. Signed-off-by: Chase Maupin Signed-off-by: Tom Rini --- include/configs/am335x_evm.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/co

[U-Boot] [PATCH 0/5] am335x_evm: Misc environment enhancements

2013-02-08 Thread Tom Rini
Hey all, The bulk of this series adds environemnt variables to better support working with NAND, SPI or ethernet. In the case of SPI we also add a spiboot target which will change environment to be looked for on SPI rather than NAND. This also documents how to use the network SPL options. -- T

Re: [U-Boot] [PATCH v2] MAKEALL: fix kill_children for BSD hosts

2013-02-08 Thread Joe Hershberger
On Fri, Feb 8, 2013 at 2:35 AM, Andreas Bießmann wrote: > ps on BSD hosts (like OS X) do not provide the --no-headers switch nor > understand the AIX format descriptions. Unfortunately there seems no solution > to > get the PIDs of children in a platfrom independent manner. > Therefore detect the

[U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-08 Thread Joe Hershberger
Because the code that handles bootdelay is compiled in conditionally based on the default value, you are restricted in the default, regardless of what you want the runtime options to be. Change the source to always check if any default is given so that other values can be selected and used at runt

[U-Boot] [PATCH] net: Correct check for link-local target IP conflict

2013-02-08 Thread Joe Hershberger
Make the link-local code conform more completely with the RFC. This will prevent ARP queries for the target (such as while it is rebooting) from causing the device to choose a different link-local address, thinking that its address is in use by another machine. Signed-off-by: Joe Hershberger ---

[U-Boot] [PATCH] Allow u-boot to be silent without forcing Linux to be

2013-02-08 Thread Joe Hershberger
That's a bit presumptuous of you, u-boot! Signed-off-by: Joe Hershberger --- common/cmd_bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 7ae5d5b..435c980 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -

[U-Boot] [PATCH] env: Avoid clobbering an edited variable on ctrl-c

2013-02-08 Thread Joe Hershberger
If readline says there was an error, don't write to the variable! Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 7633f0c..063536b 100644 --- a/common/cmd_nvedit.c +++ b/c

[U-Boot] [PATCH 2/5] ubi: ubifs: Turn off verbose prints

2013-02-08 Thread Joe Hershberger
The prints are out of control. SILENCE! Signed-off-by: Joe Hershberger --- common/cmd_ubi.c | 3 +++ drivers/mtd/mtdpart.c | 14 -- drivers/mtd/ubi/ubi.h | 3 ++- fs/ubifs/ubifs.h | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/common/cmd_ubi.c b

[U-Boot] [PATCH 4/5] env: Add support for UBI environment

2013-02-08 Thread Joe Hershberger
UBI is a better place for the environment on NAND devices because it handles wear-leveling and bad blocks. Gluebi is needed in Linux to access the env as an MTD partition. Signed-off-by: Joe Hershberger --- README| 15 common/Makefile | 1 + common/cmd_nvedit.c

[U-Boot] [PATCH 1/5] ubi: Expose a few simple functions from the cmd_ubi

2013-02-08 Thread Joe Hershberger
Part, Read, and Write functionality that will be used by env_ubi. Signed-off-by: Joe Hershberger --- common/cmd_ubi.c| 146 include/ubi_uboot.h | 3 ++ 2 files changed, 83 insertions(+), 66 deletions(-) diff --git a/common/cmd_ubi.c b/c

[U-Boot] [PATCH 3/5] mtd: Make mtdparts work with pre-reloc env

2013-02-08 Thread Joe Hershberger
The env in UBI needs to look up the mtd partition as part of relocation, which happens before relocation. Make the mtdparts code capable of working on the default env to start with. The code tries to set values in the env as well, but again, the env isn't there yet, so add a check to setenv to no

[U-Boot] [PATCH 5/5] env: Add redundant env support to UBI env

2013-02-08 Thread Joe Hershberger
Allow the user to specify two UBI volumes to use for the environment Signed-off-by: Joe Hershberger --- README| 6 +++ common/env_ubi.c | 115 ++ include/environment.h | 3 ++ tools/env/fw_env.c| 3 ++ 4 files changed

[U-Boot] [PATCH 0/5] Add support for using an UBI volume for environment

2013-02-08 Thread Joe Hershberger
NAND is not good at handling absolute addresses to sectors for storing particular data. The current implementation of the NAND env support works around this in several ways such as storing a pointer to the sector in the OOB of the first sector (interferes with some CRC) or supporting a range of se

Re: [U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Stephen Warren
On 02/08/2013 11:10 AM, Simon Glass wrote: > Hi Stephen > > On Fri, Feb 8, 2013 at 9:23 AM, Stephen Warren wrote: >> On 02/08/2013 08:12 AM, Simon Glass wrote: >>> Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. >> >> Shouldn't this be enabled for Tegra generically, rather than for just >>

Re: [U-Boot] Hello-World Standalone Crash on Exit

2013-02-08 Thread Darcy Watkins
Hello, Earlier I wrote that which included the following... >=> tftp 4 uboot/hello_world.bin >Speed: 1000, full duplex >Using eTSEC1 device >TFTP from server 192.168.12.12; our IP address is 192.168.12.121 Filename >'uboot/hello_world.bin'. >Load address: 0x4 >Loading: # >done >Bytes tra

Re: [U-Boot] Please pull u-boot-ti/master

2013-02-08 Thread Albert ARIBAUD
Hi Tom, On Thu, 7 Feb 2013 14:19:44 -0500, Tom Rini wrote: > Hello, > > The following changes since commit 5bedf884a8508f1b2f5b8f74e67d987a81ff05ed: > > ARM: highbank: use wfi macro instead of inline asm (2013-02-03 14:44:02 > +0100) > > are available in the git repository at: > > git:/

[U-Boot] [PATCH v5 0/23] Create generic board init for ARM, x86, PPC

2013-02-08 Thread Simon Glass
This series creates a generic board init implementation which contains the essential functions of the major arch/xxx/lib/board.c files. It is split into two parts: board_f.c for pre-relocation and board_r.c for post-relocation. What is the motivation for this change? 1. There is a lot of repeated

Re: [U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Simon Glass
Hi Stephen On Fri, Feb 8, 2013 at 9:23 AM, Stephen Warren wrote: > On 02/08/2013 08:12 AM, Simon Glass wrote: >> Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. > > Shouldn't this be enabled for Tegra generically, rather than for just > one Tegra board? I haven't looked at the rest of the s

Re: [U-Boot] [PATCH v3 2/3] Tegra114: fdt: Update DT files with I2C info for T114/Dalmore

2013-02-08 Thread Stephen Warren
On 02/08/2013 10:25 AM, Tom Warren wrote: > T114, like T30, does not have a separate/different DVC (power I2C) > controller like T20 - all 5 I2C controllers are identical, but > I2C5 is used to designate the controller intended for power > control (PWR_I2C in the schematics). PWR_I2C is set to 400K

[U-Boot] Hello-World Standalone Crash on Exit

2013-02-08 Thread Darcy Watkins
Hello, I test drove the standalone program for hello world and found it causes a crash/reset when you hit the key to exit the program. The u-boot I am using is actually based on a git d69dba367aed051663d0ee1ece013c8232bfa9f5 snapshot from the u-boot-mpc85xx branch. It appears like the standal

[U-Boot] [PATCH v3 3/3] Tegra114: I2C: Enable I2C driver on Dalmore E1611 eval board

2013-02-08 Thread Tom Warren
Tested all 5 'buses', i2c probe enumerates device addresses on bus 1 and 2. Signed-off-by: Tom Warren Acked-by: Laxman Dewangan --- v2: No change v3: No change include/configs/dalmore.h |9 + include/configs/tegra114-common.h |3 +++ 2 files changed, 12 insertions(+), 0

[U-Boot] [PATCH v3 2/3] Tegra114: fdt: Update DT files with I2C info for T114/Dalmore

2013-02-08 Thread Tom Warren
T114, like T30, does not have a separate/different DVC (power I2C) controller like T20 - all 5 I2C controllers are identical, but I2C5 is used to designate the controller intended for power control (PWR_I2C in the schematics). PWR_I2C is set to 400KHz. Signed-off-by: Tom Warren Acked-by: Laxman D

[U-Boot] [PATCH v3 1/3] Tegra: I2C: Add T114 clock support to tegra_i2c driver

2013-02-08 Thread Tom Warren
T114 has a slightly different I2C clock, with a new (extra) divisor in standard/fast mode and HS mode. Tested on my Dalmore, and the I2C clock is 100KHz +/- 3Hz on my Saleae Logic analyzer. Added a new entry in compat_names for T114 I2C since it differs from the previous Tegra SoCs. A flag is set

[U-Boot] [PATCH v3 0/3] Add I2C driver for T114 Dalmore

2013-02-08 Thread Tom Warren
Update DT tables and enable I2C driver support for the Tegra114 Dalmore board. This uses the standard Tegra I2C driver. 5 controllers are supported, although all may not have devices behind them on every board. Changes in V2: - use new calculation for T114 I2C clocks - incorporate review comments

Re: [U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Stephen Warren
On 02/08/2013 08:12 AM, Simon Glass wrote: > Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Shouldn't this be enabled for Tegra generically, rather than for just one Tegra board? I haven't looked at the rest of the series yet, but it sure seems better if all Tegra boards always work the sam

Re: [U-Boot] [PATCH V5 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-02-08 Thread Simon Glass
Hi Amarendra, On Mon, Jan 28, 2013 at 1:20 AM, Amarendra Reddy wrote: > Hi Simon, > > You mean to add "removable" flag in device node ? Yes > Are you referring to the overhead involved during MMC boot, and a SD card is > not present on the board ? > Can you please elaborate on the above. >From

Re: [U-Boot] [PATCH v2] mmc: Split device init to decouple OCR-polling delay

2013-02-08 Thread Simon Glass
Hi, On Sun, Dec 16, 2012 at 7:44 PM, Simon Glass wrote: > Hi, > > On Sun, Dec 16, 2012 at 6:12 PM, Jaehoon Chung wrote: >> On 12/16/2012 02:18 AM, Simon Glass wrote: >>> Hi, >>> >>> On Fri, Nov 30, 2012 at 3:13 PM, Simon Glass wrote: Hi Jaehoon, On Fri, Nov 30, 2012 at 12:25 AM,

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Harvey Chapman
Eh, I shouldn't post code that quickly… Try this: diff --git a/common/cmd_nand.c b/common/cmd_nand.c --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -621,60 +621,80 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, nand = &nand_info[dev]; s = strchr(cmd, '.');

[U-Boot] [PATCH 4/4] x86: Remove 16-bit reset code

2013-02-08 Thread Simon Glass
This code is not needed now, since we boot U-Boot from Coreboot on x86. Signed-off-by: Simon Glass --- Makefile | 4 -- README | 4 -- arch/x86/cpu/Makefile | 1 - arch/x86/cpu/resetvec.S| 38 arch/x86/cpu/start16.S | 146 ---

[U-Boot] [PATCH 0/4] Remove old unused x86 boards and code

2013-02-08 Thread Simon Glass
As suggested by Graeme Russ this series attempts to remove old unused boards and code from x86 U-Boot. This includes: - Dumping the eNET boards - Dumping the SC520 CPU - Dumping 16-bit 'Real Mode' support (other than what is needed for the reset vector and protected mode switch) No restructuri

Re: [U-Boot] [PATCH v2 1/3] Tegra: I2C: Add T114 clock support to tegra_i2c driver

2013-02-08 Thread Tom Warren
Laxman, On Fri, Feb 8, 2013 at 2:15 AM, Laxman Dewangan wrote: > On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: >> >> T114 has a slightly different I2C clock, with a new divisor for >> standard/fast mode and HS mode. Tested on my Dalmore, and the I2C >> clock is 100KHz +/- 3% on my Sale

Re: [U-Boot] [PATCH 1/4 V3] S5P: GPIO: Add generic pin numbering API's

2013-02-08 Thread Simon Glass
Hi Rajeshwari, On Thu, Feb 7, 2013 at 4:00 AM, Rajeshwari Shinde wrote: > This patch adds API's to set config, drive and pull factor in > gpio pin numbering feature. > > Signed-off-by: Rajeshawari Shinde > Acked-by: Simon Glass > --- > Changes in V2: > - none. > Changes in V3: >

Re: [U-Boot] [PATCH 4/4 V3] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-02-08 Thread Simon Glass
Hi Rajeshwari, On Thu, Feb 7, 2013 at 4:00 AM, Rajeshwari Shinde wrote: > This patch enables GPIO Command for EXYNOS5. > Function has been added to asm/gpio.h to decode the > input gpio name to gpio number. > example: gpio set gpa00 > > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: >

Re: [U-Boot] [PATCH 3/4 V3] S5P: Rename GPIO definitions

2013-02-08 Thread Simon Glass
Hi Rajeshwari, On Thu, Feb 7, 2013 at 4:00 AM, Rajeshwari Shinde wrote: > This patch rename GPIO definitions from GPIO_... to S5P_GPIO_... > This changes was done to enable cmd_gpio for EXYNOS and > cmd_gpio has GPIO_INPUT same as s5p_gpio driver and hence > getting a error during compilation. >

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Harvey Chapman
On Feb 7, 2013, at 5:22 PM, Scott Wood wrote: > It's fine until you get a bad block in the partition, and you end up > accessing the first block of the next partition (or getting "Attempt to > read/write outside the flash area" if it's the last partition). > > Of course, fixing partition/chip

[U-Boot] [PATCH v5 22/23] x86: Enable generic board support

2013-02-08 Thread Simon Glass
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass --- Changes in v5: - Avoid setting up gd on x86 as it is already done Changes in v4: None Changes in v3: None Changes in v2: None arch/x86/config.mk| 3 --- arch/x

[U-Boot] [PATCH v5 20/23] x86: Adjust board_r.c for x86

2013-02-08 Thread Simon Glass
For x86 the global_data is managed entirely by the start.S code so we do not need to touch it. However, we do have some more initcalls to add. Signed-off-by: Simon Glass --- Changes in v5: - Add new patch to adjust board_r.c for x86 Changes in v4: None Changes in v3: None Changes in v2: None c

[U-Boot] [PATCH v5 17/23] Adjust board_r.c for ppc

2013-02-08 Thread Simon Glass
This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass --- Changes in v5: - Add prototype for update_flash_size() to include/common.h - Updates in board_r.c to make ppc build correctly - Add prototype for board_start_ide() to include/ide.h - Bring in new ppc

[U-Boot] [PATCH v5 16/23] Adjust board_f.c for ppc

2013-02-08 Thread Simon Glass
This adds ppc features to the generic pre-relocation board init. This is a separate commit so that these features are clearly shown. Signed-off-by: Simon Glass --- Changes in v5: - Use watchdog.h for watchdog functions - Add define to work around __bss_end / __bss_end__ confusion Changes in v4:

[U-Boot] [PATCH v5 10/23] Introduce generic pre-relocation board_f.c

2013-02-08 Thread Simon Glass
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass --- Changes in v5: - Add fdtdec header file to board_f.c - Remove setup_global_data_ptr(

[U-Boot] [PATCH v5 15/23] Add CONFIG_SYS_SYM_OFFSETS to support offset symbols

2013-02-08 Thread Simon Glass
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so that we can support both. As we convert architectures over to generic board, we can see if this option is actually needed, or whether it is possible to u

[U-Boot] [PATCH v5 18/23] ppc: Enable generic board support

2013-02-08 Thread Simon Glass
This enables generic board support so that ppc boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/powerpc/config.mk| 3 --- arch/powerpc/include/asm/u-boot.h | 7 +++ arc

[U-Boot] [PATCH v5 21/23] x86: Use sections header to obtain link symbols

2013-02-08 Thread Simon Glass
These are defined in asm-generic/sections.h, so remove them from architecture-specific files. Signed-off-by: Simon Glass --- Changes in v5: - Include asm/sections.h in x86 sdram code - Define _end instead of __end for x86 Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h Cha

[U-Boot] [PATCH v5 08/23] Define CONFIG_SYS_LEGACY_BOARD everywhere

2013-02-08 Thread Simon Glass
We are introducing a new unified board setup and we want this to be the default. So we need to opt all architectures out first. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None README| 11 +++ arch/arm/con

[U-Boot] [PATCH v5 11/23] Introduce generic post-relocation board_r.c

2013-02-08 Thread Simon Glass
This file handles common post-relocation init for boards which use the generic framework. Signed-off-by: Simon Glass --- Changes in v5: - Add code from arch/arm/lib/board.c to control loading of environment - Put watchdog init function definitions in watchdog.h - Adjust ppc to work with watchdog.

[U-Boot] [PATCH v5 13/23] arm: Remove use of board_early_init_r/last_stage_init()

2013-02-08 Thread Simon Glass
These boards define CONFIG_LAST_STAGE_INIT and CONFIG_BOARD_EARLY_INIT_R but these options are not available on ARM. Move them into the powerpc common file instead. This change affects: km_kirkwood_pci, mgcoge3un, kmnusa, kmcoge5un, km_kirkwood and portl2. Signed-off-by: Simon Glass --- Changes

[U-Boot] [PATCH v5 14/23] arm: Enable generic board support

2013-02-08 Thread Simon Glass
This enables generic board support so that ARM boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/config.mk| 3 --- arch/arm/include/asm/u-boot.h | 9 + arch/arm/

[U-Boot] [PATCH v5 09/23] Declare watchdog functions in watchdog.h

2013-02-08 Thread Simon Glass
These functions are only available for powerpc and are not declared in a header file. We want to use the rest function in two places (board_f and board_r), so declare the functions in watchdog.h. Signed-off-by: Simon Glass --- Changes in v5: - Avoid using static declaration for init_func_watchdog

[U-Boot] [PATCH v5 07/23] Introduce a basic initcall implementation

2013-02-08 Thread Simon Glass
This library supports calling a list of functions one after the other. It is intended that we move to a more powerful initcall implementation as proposed by Graeme Russ . For now, this allows us to do the basics. Signed-off-by: Simon Glass --- Changes in v5: - Add debug() code to initcalls - Upd

[U-Boot] [PATCH v5 04/23] Introduce generic link section.h symbol files

2013-02-08 Thread Simon Glass
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us. Each

[U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Simon Glass
Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: - Rebase to master - Drop sc520_timer.c patch (warning already fixed by previous patch) Changes in v3: - Rebase to master - Rebase on top of x86/master (which has not yet been

[U-Boot] [PATCH v5 12/23] Add spl load feature

2013-02-08 Thread Simon Glass
This adds secondary program loader support to the generic board. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/board_f.c | 20 1 file changed, 20 insertions(+) diff --git a/common/board_f.c b/common/bo

[U-Boot] [PATCH v5 19/23] x86: Adjust board_f.c for x86

2013-02-08 Thread Simon Glass
For x86, things have adjusted somewhat since this series was originally written. It has its own way of running through initcalls which is actually nicer than others archs. Unfortunately this does introduce exceptions. We will soon require use of generic board on x86, but until then we need to fit

[U-Boot] [PATCH v5 02/23] Introduce generic u-boot.h file

2013-02-08 Thread Simon Glass
This file holds the board info structure. We need this to be generic for the unified board series, so create a structure which contains the basic fields required by the main architectures. Signed-off-by: Simon Glass --- Changes in v5: - Use unsigned int for baud_rate - Remove bi_ip_addr field fro

[U-Boot] [PATCH v5 06/23] x86: nds32: Change stub example to use asm-generic/sections.h

2013-02-08 Thread Simon Glass
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass --- Changes in v5: - Adjust u-boot-nds32.h link symbols to keep U-Boot building Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h - Adjust u-boot

[U-Boot] [PATCH v5 05/23] arm: Use sections header to obtain link symbols

2013-02-08 Thread Simon Glass
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: Simon Glass --- Changes in v5: - Remove avr32 changes from what should be an arm patch Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h Changes in v3: None Changes in v2: None a

[U-Boot] [PATCH v5 01/23] ppc: Add initial memory barrier macros

2013-02-08 Thread Simon Glass
These are available on other architectures, so add them on ppc. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/powerpc/include/asm/io.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/include/asm/io.h

[U-Boot] [PATCH 6/7] Add cros-ec-keyb to exynos5250-snow.dts.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Alim Akhtar Signed-off-by: Bernie Thompson Signed-off-by: Doug Anderson Signed-off-by: Gabe Black Signed-off-by: Hatim Ali Signed-off-by: Sean Paul Signed-off-by: Simon Glass Signed-off-by: Vincent Palatin Signed-off-by: Hung-ying Tyan --- board/samsung/dts/exynos5250-snow.

[U-Boot] [PATCH 2/7] Add cros_ec_i2c.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Randall Spangler Signed-off-by: Simon Glass Signed-off-by: Hung-ying Tyan --- drivers/misc/Makefile | 1 + drivers/misc/cros_ec_i2c.c | 198 + 2 files changed, 199 insertions(+) create mode 100644 drivers/misc/cros_ec_i2c.c dif

[U-Boot] [PATCH 3/7] Add cros_ec_spi.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Hung-ying Tyan Signed-off-by: Randall Spangler Signed-off-by: Simon Glass --- drivers/misc/Makefile | 1 + drivers/misc/cros_ec_spi.c | 165 + drivers/spi/exynos_spi.c | 22 ++ include/spi.h | 16 + 4 fil

[U-Boot] [PATCH 7/7] Enable cros-ec for smdk5250.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Abhilash Kesavan Signed-off-by: Akshay Saraswat Signed-off-by: Alim Akhtar Signed-off-by: Bernie Thompson Signed-off-by: Chander Kashyap Signed-off-by: Che-Liang Chiou Signed-off-by: Doug Anderson Signed-off-by: Gabe Black Signed-off-by: Hatim Ali Signed-off-by: Prathyush K

[U-Boot] [PATCH 5/7] Add cros_ec_keyb.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Randall Spangler Signed-off-by: Simon Glass Signed-off-by: Vincent Palatin Signed-off-by: Hung-ying Tyan --- README | 5 + drivers/input/Makefile | 1 + drivers/input/cros_ec_keyb.c | 263 +++ include/fdtdec

[U-Boot] [PATCH 0/7] Add cros-ec protocol driver and enable it in smdk5250.

2013-02-08 Thread Hung-ying Tyan
The series depends on http://patchwork.ozlabs.org/patch/217347. Hung-ying Tyan (7): Add cros_ec driver. Add cros_ec_i2c. Add cros_ec_spi. Add cros_ec_lpc. Add cros_ec_keyb. Add cros-ec-keyb to exynos5250-snow.dts. Enable cros-ec for smdk5250. README

[U-Boot] [PATCH 4/7] Add cros_ec_lpc.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Randall Spangler Signed-off-by: Simon Glass Signed-off-by: Hung-ying Tyan --- drivers/misc/Makefile | 1 + drivers/misc/cros_ec_lpc.c | 282 + 2 files changed, 283 insertions(+) create mode 100644 drivers/misc/cros_ec_lpc.c dif

[U-Boot] [PATCH 1/2] am335x-evm: enable ext4

2013-02-08 Thread Koen Kooi
The kernel is loaded from an ext4 partition, not ext2 on beaglebone boards. Signed-off-by: Koen Kooi --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 72459d8..2190a7d 100644 --- a/include/config

[U-Boot] [PATCH 2/2] am335x-evm: add support for BeagleBone Black DT name

2013-02-08 Thread Koen Kooi
Signed-off-by: Koen Kooi --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 2190a7d..951422c 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -86,6 +86,8 @@

Re: [U-Boot] [PATCH 2/3] led: The gpio_led.c code expects that LED state is from the enum

2013-02-08 Thread Otavio Salvador
On Fri, Feb 8, 2013 at 7:41 AM, Holger Hans Peter Freyther wrote: > u-boot is not consistent if state should be 0|1 or of the enum, the > GPIO driver expects this to be one of the enum values. Update the > caller. > > Signed-off-by: Holger Hans Peter Freyther I sent same fix some days ago. ;-)

Re: [U-Boot] (no subject)

2013-02-08 Thread Marek Vasut
Dear Bhat Vijay-B43969, Please _always_ CC the U-Boot mailing list. > Hi Marek, > I was looking into your file mxs_init.h for iMX28 SPL framework. > I have to write the similar file for iMX6Q architecture not getting how to > start. I have done some configuration for iMX6Q and compiled code and a

Re: [U-Boot] [PATCH 1/3] omap3: mvblx: change console to ttyO0 and make silent by default.

2013-02-08 Thread Stefan Roese
On 02/08/2013 10:53 AM, Michael Jones wrote: > From: Howard Gray > > Also, change bootdelay to 0 but allow pressing 'S' to stop at U-Boot prompt. > > Signed-off-by: Michael Jones Michael, you should to add a s-o-b from the original author here too. Best placed before yours. So this should be:

[U-Boot] [PATCH 7/8] mpc512x: Adjust the DRAM init sequence to the datasheet spec

2013-02-08 Thread Anatolij Gustschin
Do maintain a 200 usecs period of stable power and clock before asserting the CKE signal and sending commands, have at least 200 DRAM clock cycles pass after initialization before data access. Signed-off-by: Anatolij Gustschin --- arch/powerpc/cpu/mpc512x/fixed_sdram.c | 17 -

[U-Boot] [PATCH 8/8] mpc512x: pdm360ng: drop not needed memory node fixup

2013-02-08 Thread Anatolij Gustschin
ft_cpu_setup() already does memory node fixup, no need to do it again. Signed-off-by: Anatolij Gustschin --- board/pdm360ng/pdm360ng.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/pdm360ng/pdm360ng.c b/board/pdm360ng/pdm360ng.c index a1f2d5e..3048acd 100644 ---

[U-Boot] [PATCH 6/8] mpc512x: add ifm ac14xx board

2013-02-08 Thread Anatolij Gustschin
Add new mpc5121e based ac14xx board and a new pinmux config function for setting individual pinmux bit groups. This function is used in ac14xx board code. Signed-off-by: Anatolij Gustschin --- MAINTAINERS |1 + arch/powerpc/cpu/mpc512x/iopin.c | 54 +++ arch/

[U-Boot] [PATCH 4/8] mpc512x: optionally configure DIU, LPC and NFC deviders

2013-02-08 Thread Anatolij Gustschin
If a board config file defines DIU, LPC and NFC deviders, configure them in the SCFR1 register. Signed-off-by: Anatolij Gustschin --- arch/powerpc/cpu/mpc512x/cpu_init.c | 15 +++ arch/powerpc/include/asm/immap_512x.h |6 ++ 2 files changed, 21 insertions(+), 0 deletions(

[U-Boot] [PATCH 3/8] mpc512x: use common code for clock setting for all mpc512x boards

2013-02-08 Thread Anatolij Gustschin
Only define enabled clocks in the config file and enable the clocks in common code. Signed-off-by: Anatolij Gustschin Cc: Reinhard Arlt Cc: Wolfgang Denk --- arch/powerpc/cpu/mpc512x/cpu_init.c |9 board/davedenx/aria/aria.c | 33 ---

  1   2   >