Re: [U-Boot] [PATCH] tools/env: fix cross-compilation

2012-01-05 Thread Grant Erickson
On Jan 5, 2012, at 3:18 PM, Mike Frysinger wrote: > On Thursday 22 December 2011 13:39:35 Grant Erickson wrote: >> This patch fixes the make infrastructure for the fw_printenv tool such >> that it is built, by default, as a cross-compilation for the target >> board w

Re: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2012-01-04 Thread Grant Erickson
On Jan 4, 2012, at 8:14 AM, Tom Rini wrote: > On 01/04/2012 09:10 AM, Grant Erickson wrote: >> On Jan 3, 2012, at 6:31 AM, Tom Rini wrote: >>> On 12/22/2011 12:28 PM, Grant Erickson wrote: >>>> Only attempt to configure and add DRAM at chip select 1 if the board has

Re: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2012-01-04 Thread Grant Erickson
On Jan 3, 2012, at 6:31 AM, Tom Rini wrote: > On 12/22/2011 12:28 PM, Grant Erickson wrote: >> Only attempt to configure and add DRAM at chip select 1 if the board has >> configured more than one bank of DRAM. >> >> This prevents boards that have CONFIG_NR_DRAM_BAN

Re: [U-Boot] [PATCH] lib/string: added strndup

2011-12-22 Thread Grant Erickson
On Dec 22, 2011, at 1:08 PM, Wolfgang Denk wrote: > In message <1324577816-26198-1-git-send-email-maratho...@gmail.com> you wrote: >> This patch adds optional support for strndup. >> >> Signed-off-by: Grant Erickson >> --- >> include/linux/string.h |

[U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2011-12-22 Thread Grant Erickson
Only attempt to configure and add DRAM at chip select 1 if the board has configured more than one bank of DRAM. This prevents boards that have CONFIG_NR_DRAM_BANKS set to 1 from getting an incorrect DRAM size. Signed-off-by: Grant Erickson Cc: Tom Rini --- arch/arm/cpu/armv7/omap3/sdrc.c

[U-Boot] [PATCH] tools/env: allow overwrite of ethaddr on default

2011-12-22 Thread Grant Erickson
the U-Boot command line. Signed-off-by: Grant Erickson --- tools/env/fw_env.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 996682e..2185be9 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -45,6 +45

[U-Boot] [PATCH] tools/env: fix cross-compilation

2011-12-22 Thread Grant Erickson
This patch fixes the make infrastructure for the fw_printenv tool such that it is built, by default, as a cross-compilation for the target board when so requested with TOOLSUBDIRS on the U-Boot make command line. Signed-off-by: Grant Erickson --- tools/env/Makefile | 18

[U-Boot] [PATCH] lib/string: added strndup

2011-12-22 Thread Grant Erickson
This patch adds optional support for strndup. Signed-off-by: Grant Erickson --- include/linux/string.h |3 +++ lib/string.c | 21 + 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/linux/string.h b/include/linux/string.h index 6239039

Re: [U-Boot] U-Boot 2010.12 Cannot Successfully Save Variables with Redundant NAND Environment

2011-02-06 Thread Grant Erickson
On 2/6/11 12:41 PM, Grant Erickson wrote: > I recently updated my TI AM37x EVM from U-Boot 2010.09 to 2010.12 and noticed > that, in doing so, saveenv / env save no longer seems to work. The following > example demonstrates [ELIDED]: I subsequently found the following patch and commit:

[U-Boot] U-Boot 2010.12 Cannot Successfully Save Variables with Redundant NAND Environment

2011-02-06 Thread Grant Erickson
I recently updated my TI AM37x EVM from U-Boot 2010.09 to 2010.12 and noticed that, in doing so, saveenv / env save no longer seems to work. The following example demonstrates: => version U-Boot 2010.12 (Feb 04 2011 - 16:12:51) => env print foo ## Error: "foo" not defined => e

Re: [U-Boot] PPC440GX: DDR ECC init time.

2009-09-08 Thread Grant Erickson
; soldered >> cases, when program_ecc_addr() can do the job in both cases, while >> ecc_init() >> apparently has issues ? > > Most likely historic reasons. I added Grant Erickson to Cc, IIRC he > added/tested this ecc_init() code. Maybe he can shed some more light into &

Re: [U-Boot] AMCC 405EX Trap

2009-05-04 Thread Grant Erickson
On 5/4/09 7:43 AM, Jonathan Haws wrote: >> On Thursday 30 April 2009, Jonathan Haws wrote: >>> I am certain that it is a hardware failure that is causing the machine >>> check because I can use the exact same binary on another (identical) >>> board and have it boot just fine. That tells me that al

Re: [U-Boot] AMCC 405EX Trap

2009-05-04 Thread Grant Erickson
On 5/4/09 8:08 AM, Stefan Roese wrote: > On Monday 04 May 2009, Jonathan Haws wrote: >>> I suggest that you run some stress tests in a conditioning cabinet to see >>> if >>> the other boards don't show any problems. >> >> That is a good idea. I haven't thought of performing those tests. Are >> t

Re: [U-Boot] AMCC 405EX Trap

2009-04-29 Thread Grant Erickson
r rd mcsrr1 monitor rd ebc_besr0 monitor rd ebc_besr1 monitor rd sdram_besr0 monitor rd sdram_besr0 monitor rd sdram_bearl monitor rd sdram_bearh end Regards, Grant Erickson

Re: [U-Boot] Help!Some memory doesn't work on PPC405Ex based board!

2009-04-22 Thread Grant Erickson
d the parameter "mem=516M" to bootargs, Linux can boot up normally. But > if add "mem=517M" to bootargs, Linux hangs. That should be instructive. Start tweaking mtest or writing your own memory tests to tease out a pattern from that. Failing that, what other values work

[U-Boot] [PATCH] Suppressing Diagnostic Output for 'fw_setenv'

2008-08-29 Thread Grant Erickson
Added support for a ``-v'' option for fw_setenv to explicitly enable what was formerly default verbose diagnostic output when updating the environment. Signed-off-by: Grant Erickson <[EMAIL PROTECTED]> --- tools/env/fw_env.c | 43 +-

[U-Boot] [RFC] Suppressing Diagnostic Output for 'fw_setenv'

2008-08-29 Thread Grant Erickson
The u-boot companion command line tool 'fw_setenv' emits verbose output during a set operation of the form: Unlocking flash... Done Erasing old environment... Done Writing environment to /dev/mtd4... Done Locking ... Done While this is nice for debugging and troubl

Re: [U-Boot] [PATCH] ppc4xx - allow usage of fixed/unmanaged PHYs

2008-08-26 Thread Grant Erickson
On 8/26/08 11:11 AM, Wolfgang Ocker wrote: > This patch allows a managed switch like the 88E6083 to be directly > connected to a 4xx using PHY mode. > > It avoids waiting for a link (it's always there) and uses fixed values > for speed and duplex mode since both settings are hardware controlled. >

Re: [U-Boot] Question about FIT images with uboot 1.3.4

2008-08-23 Thread Grant Erickson
configuration Trying '[EMAIL PROTECTED]' FDT blob subimage Description: Device Tree Type: Flat Device Tree Compression: uncompressed Data Start: 0x0093c5e4 Data Size:12288 Bytes = 12 kB Architecture: PowerPC Hash algo:crc32 Hash value: d726e662 Verifying Hash Integrity ... crc32+ OK Booting using the fdt blob at 0x93c5e4 Loading Device Tree to 007fd000, end 007f ... OK Regards, Grant Erickson -- Principal Nuovation System Designs, LLC ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot