Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Scott McNutt
Hi Wolfgang, > Why the heck does flash_is_busy() return 0 when the flashobviously is > still busy? Does this use the toggle bit detection? I saw the same symptoms with Nios II. Basically, the memory controller was reading the 16-bit flash twice to obtain a full 32-bit word, then returning just th

Re: [U-Boot] [PATCH v2] nios2: fix out of reach case for do_reset

2010-08-19 Thread Scott McNutt
Thomas, Applied to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > There is a limitation (or bug?) of nios2 toolchain. The nios2 gcc > didn't generate correct code when the reset vector is passed as a > constant. It just generated a direct "call", which was wrong whe

[U-Boot] [Nios] Pull Request

2010-08-25 Thread Scott McNutt
Dear Wolfgang, The following changes since commit bd2313078114c4b44c4a5ce149af43bcb7fc8854: Wolfgang Denk (1): Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master are available in the git repository at: git://git.denx.de/u-boot-nios.git next Thomas Chou (2): ni

Re: [U-Boot] Copyright/License text in cpu/ppc4xx/4xx_pci.c

2009-07-21 Thread Scott McNutt
Gentlemen, First, my apologies for ignoring this thread for so long. As I recall, I was the person that added this file to ppcboot almost 7 years ago when I added the first Book E support. Matthias Fuchs wrote: > Did you have a look into include ppc440.h? I took a pretty close look. There's sti

[U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-21 Thread Scott McNutt
See comments. > diff --git a/lib_nios2/bootm.c b/lib_nios2/bootm.c > index 53fd569..1e8034b 100644 > --- a/lib_nios2/bootm.c > +++ b/lib_nios2/bootm.c > @@ -2,6 +2,9 @@ > * (C) Copyright 2003, Psyent Corporation > * Scott McNutt > * > + * (C) Copyright 200

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Scott McNutt
Wolfgang Wegner wrote: > Dear Scott, Wolfgang, > > On Tue, Jul 21, 2009 at 02:02:43PM -0400, Scott McNutt wrote: >> ... for a two line bug fix? >> >> This is hardly a valid reason to claim copyright on the module. >> >> This practice will only discourage

[U-Boot] [PATCH]: Nios2/Nios: Remove unneeded linker scripts

2009-11-23 Thread Scott McNutt
The linker scripts in examples/standalone are no longer necessary since STANDALONE_LOAD_ADDR covers the original purpose of the scripts. Regards, --Scott >From 57baa379cf2f67df89a5c6052767fd25daff20bd Mon Sep 17 00:00:00 2001 From: Scott McNutt Date: Mon, 23 Nov 2009 15:54:25 -0500 Subj

[U-Boot] [PATCH]: Nios2: Fix compiler warnings in lib_nios2/board.c

2009-11-23 Thread Scott McNutt
Removed unused variables from lib_nios2/board.c Regards, --Scott >From de03825386eaedb5e17261dd87cde86e9a764ba9 Mon Sep 17 00:00:00 2001 From: Scott McNutt Date: Mon, 23 Nov 2009 16:29:40 -0500 Subject: [PATCH] Nios2: Fix compiler warnings in lib_nios2/board.c (unused variables) Signed-off

Re: [U-Boot] PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-11-23 Thread Scott McNutt
ios2/bootm.c >> index 53fd569..1e8034b 100644 >> --- a/lib_nios2/bootm.c >> +++ b/lib_nios2/bootm.c >> @@ -2,6 +2,9 @@ >> * (C) Copyright 2003, Psyent Corporation >> * Scott McNutt >> * >> + * (C) Copyright 2009, Imagos sas >> + * R

[U-Boot] Pull request - Nios

2009-11-24 Thread Scott McNutt
gunzip input data integrity problem due to Scott McNutt (2): Nios2/Nios: Remove unnecessary (residual) linker Nios command scripts from Nios2: Fix compiler warnings in lib_nios2/board.c (unused variables) examples/standalone/nios.lds | 61 --- examples

Re: [U-Boot] using U-boot to lauch OS-less application

2010-01-05 Thread Scott McNutt
>> 3) Can U-Boot be compiled with GreenHills compiler, or is it best to >> crosscompile with GNU ? > > I have no idea if or how thee GH tools work, or if anybody ever tried > or even succeeded building U-Boot with them. If you want reliable > results quickly you are most probably better off w

Re: [U-Boot] [PATCH] nios2: add unaligned.h to be included by zlib.c

2010-03-16 Thread Scott McNutt
Thomas, This patch ignored due to your subsequent patch (03/14/2010). Regards, --Scott Thomas Chou wrote: > Signed-off-by: Thomas Chou > --- > include/asm-nios2/unaligned.h | 19 +++ > 1 files changed, 19 insertions(+), 0 deletions(-) > create mode 100644 include/asm-nios2/u

Re: [U-Boot] [PATCH] nios2: asm-nios2/unaligned.h uses generic one

2010-03-16 Thread Scott McNutt
Applied. Best Regards, --Scott Thomas Chou wrote: > The patch follows the asm-generic/unaligned.h patch from > Mike Frysigner. > > Signed-off-by: Thomas Chou > --- > include/asm-nios2/unaligned.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > create mode 100644 include/asm-nio

Re: [U-Boot] PATCH - Added support to YANU Nios2 uart (02)

2010-03-16 Thread Scott McNutt
Renato, Patch applied to the nios2 tree. I think it's time to consider moving the nios2 header files into include/asm-nios before the top-level include gets too polluted. Regards, --Scott Renato Andreola wrote: > From d7a79fc4e5a3ebc6a1ca5c23500e3f2f1c3b33c2 Mon Sep 17 00:00:00 2001 > From: Re

[U-Boot] [Nios] Pull Request

2010-03-18 Thread Scott McNutt
Wolfgang, The following changes since commit f1fdc42e5efb9e3b6d0dd3b605d0848d3ca8a039: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-video are available in the git repository at: git://git.denx.de/u-boot-nios.git master Renato Andreola (1): nios2: Ad

[U-Boot] Location of headers for IP blocks

2010-03-19 Thread Scott McNutt
Hi All, When an IP block can be shared among several different architectures, where should the _header_ files be located? Examples of such blocks would be OpenCores peripherals, Altera peripherals, etc. Some peripherals may not need to export any interfaces, so no header file is necessary. But t

[U-Boot] [PATCH] nios2: Move serial drivers to individual files in drivers/serial

2010-03-19 Thread Scott McNutt
The standard Altera UART & JTAG UART as well as the OpenCores YANU driver are now in individual files in drivers/serial rather than a single file uner cpu/nios2. Signed-off-by: Scott McNutt --- cpu/nios2/Makefile|2 +- cpu/nios2/serial.c|

Re: [U-Boot] [PATCH 1/4] nios2: add asm-nios2/errno.h

2010-03-19 Thread Scott McNutt
Applied. Thank you, --Scott Thomas Chou wrote: > Just pull in asm-generic. > > Signed-off-by: Thomas Chou > --- > include/asm-nios2/errno.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > create mode 100644 include/asm-nios2/errno.h > > diff --git a/include/asm-nios2/errno.h b/

Re: [U-Boot] [PATCH 2/4] nios2: add local_irq_enable/disable to asm-nios2/system.h

2010-03-19 Thread Scott McNutt
Applied. Thank you, --Scott Thomas Chou wrote: > Copy from linux header. This is needed for generic bitops. > > Signed-off-by: Thomas Chou > --- > include/asm-nios2/system.h | 33 + > 1 files changed, 33 insertions(+), 0 deletions(-) > > diff --git a/include/a

Re: [U-Boot] [PATCH 3/4] nios2: use bitops from linux-2.6 asm-generic

2010-03-19 Thread Scott McNutt
Applied. Thank you, --Scott Thomas Chou wrote: > These are needed to use ubi/ubifs. > > Signed-off-by: Thomas Chou > --- > include/asm-nios2/bitops.h| 14 +-- > include/asm-nios2/bitops/atomic.h | 189 > + > include/asm-nios2/bitops/ffs.h

Re: [U-Boot] [PATCH 4/4] nios2: add struct stat support in linux/stat.h

2010-03-19 Thread Scott McNutt
Applied. Thank you, --Scott Thomas Chou wrote: > This is needed for jffs2 support. > > Signed-off-by: Thomas Chou > --- > include/linux/stat.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/linux/stat.h b/include/linux/stat.h > index 2ce1c25..cef6369 100

[U-Boot] [PATCH] nios2: Add missing Ethernet initialization to board_init().

2010-03-21 Thread Scott McNutt
Signed-off-by: Scott McNutt --- lib_nios2/board.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/lib_nios2/board.c b/lib_nios2/board.c index 41d3297..311d66c 100644 --- a/lib_nios2/board.c +++ b/lib_nios2/board.c @@ -139,6 +139,14 @@ void board_init (void

Re: [U-Boot] [PATCH] nios2: Add missing Ethernet initialization to board_init().

2010-03-21 Thread Scott McNutt
Mike Frysinger wrote: > On Sunday 21 March 2010 13:37:53 Scott McNutt wrote: >> +WATCHDOG_RESET (); >> +puts ("Net: "); > > considering serial drivers' putc() should be calling watchdog reset, does > this > really make sense here ? No

[U-Boot] [PATCH] nios2: Add support for EPCS16 and EPCS64 configuration devices.

2010-03-21 Thread Scott McNutt
Signed-off-by: Scott McNutt --- cpu/nios2/epcs.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/cpu/nios2/epcs.c b/cpu/nios2/epcs.c index 483b249..a2e3fe3 100644 --- a/cpu/nios2/epcs.c +++ b/cpu/nios2/epcs.c @@ -207,6 +207,8 @@ static void epcs_status_wr

[U-Boot] [PATCH] nios2: Fix outx/writex parameter order in io.h

2010-03-21 Thread Scott McNutt
The outx/writex macros were using writex(addr, val) rather than the standard writex(val, addr), resulting in incompatibilty with architecture independent components. This change set uses standard parameter order. Signed-off-by: Scott McNutt --- board/altera/common/AMDLV065D.c

[U-Boot] [PATCH][Resubmit] nios2: Add missing Ethernet initialization to board_init().

2010-03-23 Thread Scott McNutt
Signed-off-by: Scott McNutt --- lib_nios2/board.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lib_nios2/board.c b/lib_nios2/board.c index 41d3297..8ec66a3 100644 --- a/lib_nios2/board.c +++ b/lib_nios2/board.c @@ -139,6 +139,13 @@ void board_init (void

Re: [U-Boot] [PATCH v2] spi: add altera spi controller support

2010-03-23 Thread Scott McNutt
Applied. Thanks, --Scott Thomas Chou wrote: > This patch adds the driver of altera spi controller, which is also > used as epcs/spi flash controller. > > With the spi_flash driver, they can replace the epcs driver at > cpu/nios2/epcs.c. > > Signed-off-by: Thomas Chou > --- > drivers/spi/Makefi

Re: [U-Boot] [PATCH v2] spi: add altera spi controller support

2010-03-23 Thread Scott McNutt
> On Monday 22 March 2010 23:36:19 Thomas Chou wrote: >> +#include >> +#include >> +#include >> +#include >> +#include > > side note, but am i the only one who thinks nios headers in include/ is bad > mojo ? No. It's definitely bad mojo ... and has been for years (along with many other head

[U-Boot] Rejected: [PATCH v2] nios2: flush data cache after relocating code in start.S

2010-03-25 Thread Scott McNutt
Hi Thomas, Patch is reject. > diff --git a/cpu/nios2/start.S b/cpu/nios2/start.S > index 31cd5b0..61784d8 100644 > --- a/cpu/nios2/start.S > +++ b/cpu/nios2/start.S > @@ -98,6 +98,17 @@ _cur: movhi r5, %hi(_cur - _start) > stwio r7, 0(r5) ^ The existing code uses stxi

Re: [U-Boot] [PATCH v3] nios2: add altera cf reset

2010-03-28 Thread Scott McNutt
Thomas, Please test your patches _before_ you post them. When you post three versions of the same patch all within thirty minutes, you do little to build any confidence in their quality or your reputation. Regards, --Scott ___ U-Boot mailing list U-Boo

[U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-03-30 Thread Scott McNutt
CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 configuration headers. Updated comments to accurately describe timebase macros. Signed-off-by: Scott McNutt --- include/configs/EP1C20.h | 14 -- include/configs/EP1S10.h | 14 -- include/configs

[U-Boot] [PATCH] nios2: Fix AMDLV065D flash write bug in altera board common tree.

2010-03-30 Thread Scott McNutt
Signed-off-by: Scott McNutt --- board/altera/common/AMDLV065D.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/altera/common/AMDLV065D.c b/board/altera/common/AMDLV065D.c index 72b0a9f..7a1b4d3 100644 --- a/board/altera/common/AMDLV065D.c +++ b/board/altera

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-03-30 Thread Scott McNutt
> So it might be cleaner to let user define the HZ as the actual tick rate > and increase the tick count by one in the tmr_isr. This was discussed/debated thoroughly over the past year: CONFIG_SYS_HZ at 1000 is mandatory. > > -timestamp += CONFIG_SYS_NIOS_TMRMS; > +timestamp++; This me

Re: [U-Boot] [PATCH] nios2: pass command line and initrd to linux in bootm.c

2010-03-30 Thread Scott McNutt
Thomas, Applied. Theank you, --Scott Thomas Chou wrote: > This patch adds bootargs passing to nios2 linux. > > The args passing is enabled with, > r4 : 'NIOS' magic > r5 : pointer to initrd start > r6 : pointer to initrd end > r7 : pointer to command line > > Signed-off-by: Thomas Chou > ---

Re: [U-Boot] [PATCH v2] net: add opencore 10/100 ethernet mac driver

2010-03-30 Thread Scott McNutt
Hi Wolfgang, Do we have a network drivers custodian? ... or should I just handle this patch through the nios repository? I'm guessing that this will only be used with nios2 in the near term. I'm not sure if any Microblaze (Xilinx) folks have worked with this -- perhaps Michal can comment? Regards

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-03-30 Thread Scott McNutt
Hi Thomas, Thomas Chou wrote: > On 03/31/2010 10:09 AM, Scott McNutt wrote: >>> So it might be cleaner to let user define the HZ as the actual tick rate >>> and increase the tick count by one in the tmr_isr. >>> >> This was discussed/debated thoroughly

[U-Boot] [PATCH] nios2: Reload timer count in reset_timer()

2010-03-31 Thread Scott McNutt
establishing the base timestamp with get_timer(0), provided reset_timer() resets the hardware timer (rather than simply resetting only the timestamp). This has the effect of synchronizing the interrupts (and the advance of the timestamp) with the timing loop. Signed-off-by: Scott McNutt

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-04-01 Thread Scott McNutt
Michal Simek wrote: > Scott McNutt wrote: >>CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 >> configuration >>headers. Updated comments to accurately describe timebase macros. >> >> Signed-off-by: Scott McNutt >> -

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-04-01 Thread Scott McNutt
Michal, >> It would indeed be more efficient -- perhaps a common header for >> the Altera boards when time permits. > > :-) It is not just to be more efficient. > 1. Save u-boot size > 2. If is only one place where it is defined than you don't need to spend > time to fix all boards which are ver

[U-Boot] [Nios] Pull Request

2010-04-02 Thread Scott McNutt
Wolfgang, The following changes since commit ffa37fc98d71ef930bccd4e9eed37f6ce6b4d6af: Wolfgang Denk (1): Merge branch 'next' are available in the git repository at: git://git.denx.de/u-boot-nios.git master Scott McNutt (7): nios2: Move serial drivers to indivi

[U-Boot] [PATCH] nios2: Move individual board linker scripts to common script in cpu tree.

2010-04-16 Thread Scott McNutt
Signed-off-by: Scott McNutt --- arch/nios2/config.mk|2 + arch/nios2/cpu/u-boot.lds | 135 ++ board/altera/ep1c20/u-boot.lds | 135 -- board/altera/ep1s10/u-boot.lds | 135

[U-Boot] [Nios] Pull Request

2010-04-16 Thread Scott McNutt
Rev. A support are available in the git repository at: git://git.denx.de/u-boot-nios.git master Scott McNutt (1): nios2: Move individual board linker scripts to common script in cpu tree. arch/nios2/config.mk |2 + {board/altera/ep1c20 => a

Re: [U-Boot] [Nios] Pull Request

2010-04-19 Thread Scott McNutt
Wolfgang, Wolfgang Denk wrote: > Um... Scott, I have a few other NIOS2 related patches in my queue > that seem to be pending, could you please have a look at these? > > 03/25 Thomas Chou [PATCH v2] nios2: add dma_alloc_coherent with > asm-nios2/dma-mapping.h > 03/27 Thomas Chou [PATCH] nios2:

Re: [U-Boot] [PATCH] nios2: add gpio based status led driver

2010-04-20 Thread Scott McNutt
Thomas, Thomas Chou wrote: > This patch adds a gpio based status led driver. The led mask > is used to specify the gpio pin. > > Signed-off-by: Thomas Chou > --- > board/altera/common/gpioled.c | 30 ++ > 1 files changed, 30 insertions(+), 0 deletions(-) > create

Re: [U-Boot] [PATCH] nios2: add gpio based status led driver

2010-04-20 Thread Scott McNutt
Thomas Chou wrote: > On 04/20/2010 09:19 PM, Scott McNutt wrote: >>> +void __led_init(led_id_t mask, int state) >>> +{ >>> +gpio_direction_output(mask, (state == STATUS_LED_ON) ? 0 : 1); >> >> >> The direction register only exists when the PIO

Re: [U-Boot] Is there a better way?

2010-04-20 Thread Scott McNutt
Hi Chris, Ira W. Snyder wrote: >> My problem: >> If I have an in-memory filesystem on my board (the ramdisk), and I have the >> entire 256MB of memory accessible to the host over the PCI bus, you'd think >> I could write a tool (or find a tool) that I could point at a block of >> physical memory a

Re: [U-Boot] [PATCH] nios2: remove EP1C20, EP1S10, EP1S40 boards

2010-04-22 Thread Scott McNutt
Hi Thomas, Thomas Chou wrote: > The example configuration files of nios2-generic board can generated > binary to run on the EP1C20, EP1S10, and EP1S40 boards. So the three > boards can be removed. > > With nios2-generic approach, the fpga parameter header file can > be generated from hardware des

Re: [U-Boot] [PATCH] nios2: allow link script overriding from boards

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > This patch allow boards to override the default link script. > > Signed-off-by: Thomas Chou > --- > arch/nios2/config.mk |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk > in

Re: [U-Boot] [PATCH v5] nios2: add altera cf reset

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > This patch toggles power to reset the cf card. > > Signed-off-by: Thomas Chou > --- > more checkpatch.pl fixes > > board/altera/common/cfide.c | 33 + > 1 files changed, 33 insertions(+), 0 deletions(-) > create m

Re: [U-Boot] [PATCH v2] nios2: add 64 bits swab support

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > This patch adds 64 bits swab support. Most 32 bits processors use > this. We need 64 bits swab for UBI. > > Signed-off-by: Thomas Chou > --- > arch dir reorganized. > > arch/nios2/include/asm/byteorder.h |6 ++ > 1 files changed, 6 insertio

Re: [U-Boot] [PATCH v3] nios2: add dma_alloc_coherent

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > This function return cache-line aligned allocation which is mapped > to uncached io region. > > Signed-off-by: Thomas Chou > --- > arch dir reorganized. > > arch/nios2/include/asm/dma-mapping.h | 23 +++ > 1 files changed, 23

Re: [U-Boot] [Nios] Pull Request

2010-04-22 Thread Scott McNutt
Wolfgang Denk wrote: > > Um... Scott, I have a few other NIOS2 related patches in my queue > that seem to be pending, could you please have a look at these? > > 03/25 Thomas Chou [PATCH v2] nios2: add dma_alloc_coherent with > asm-nios2/dma-mapping.h Applied resubmission: 04/16 Thomas Chou [PA

Re: [U-Boot] [PATCH v2] altera_jtag_uart: bypass when no jtag connection

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > This patch adds an option to bypass output waiting when there > is no jtag connection. This allows the jtag uart work similar > to a serial uart, ie, boot even without connection. > > This option is enabled with, > > Signed-off-by: Thomas Chou > ---

Re: [U-Boot] [PATCH] nios2: consolidate reset initialization

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > Global interrupt should be disabled from the beginning. > > Signed-off-by: Thomas Chou > --- > arch/nios2/cpu/start.S |9 - > 1 files changed, 4 insertions(+), 5 deletions(-) > > diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/star

Re: [U-Boot] [PATCH 5/5 v3] nios2: fix no flash, add nand and mmc init in board.c

2010-04-22 Thread Scott McNutt
Applied. Thanks. --Scott Thomas Chou wrote: > This patch fixes error when CONFIG_SYS_NO_FLASH. And adds > nand flash and mmc initialization, which should go before > env initialization. > > Signed-off-by: Thomas Chou > --- > v3 include mmc.h and nand.h. > v2 arch dir reorganized. > > arch/nios

Re: [U-Boot] [PATCH] nios2: remove EP1C20, EP1S10, EP1S40 boards

2010-04-22 Thread Scott McNutt
Hi Thomas, Thomas Chou wrote: >>> With nios2-generic approach, the fpga parameter header file can >>> be generated from hardware designs using tools. Porting u-boot for >> >> What tools are you referring to? > 2. sopc-create-config-files > > The script is available at > > http://sopc.et.ntust

[U-Boot] [Nios] Pull Request

2010-04-24 Thread Scott McNutt
Dear Wolfgang, The following changes since commit 6e5fb4eec3702a13770769a5a48a9423aa68ee9c: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mmc are available in the git repository at: git://git.denx.de/u-boot-nios.git next Thomas Chou (8): nios2: allow

Re: [U-Boot] [PATCH v2] misc: add gpio based status led driver

2010-04-24 Thread Scott McNutt
Hi Wolfgang, Thomas Chou wrote: > On 04/25/2010 06:32 AM, Wolfgang Denk wrote: >> >> I mean, which board in U-Boot uses this code? I didn't find any. I think the most accurate answer is both "all" and "none" ... and I'm not trying to be funny or disrespectful in any way. It's just so very easy to

Re: [U-Boot] [PATCH 3/6 v3] nios2: add gpio support to nios2-generic board

2010-04-30 Thread Scott McNutt
Thomas Chou wrote: > This patch adds gpio support of Altera PIO component to the > nios2-generic board. Though it drives only gpio_led at the > moment, it supports bidirectional port to control bit-banging > I2C, NAND flash busy status or button switches, etc. > > Signed-off-by: Thomas Chou > ---

Re: [U-Boot] [PATCH 3/6 v3] nios2: add gpio support to nios2-generic board

2010-04-30 Thread Scott McNutt
Thomas Chou wrote: > On 04/30/2010 10:24 PM, Scott McNutt wrote: >> Thomas Chou wrote: >>> This patch adds gpio support of Altera PIO component to the >>> nios2-generic board. Though it drives only gpio_led at the >>> moment, it supports bidirectional port

Re: [U-Boot] [PATCH v2] misc: add gpio based status led driver

2010-05-04 Thread Scott McNutt
Dear Wolfgang, Wolfgang Denk wrote: > Dear Thomas Chou, > > In message <4bd7b0b3.3010...@wytron.com.tw> you wrote: >> I sent a patch to enable some peripherals on the nios2-generic board. >> >> 04/28 [PATCH v2] nios2: add epcs, gpio led and mmc_spi to nios2-generic >> >> This patch should be appl

Re: [U-Boot] Building for da830 fails

2010-05-07 Thread Scott McNutt
Wolfgang Denk wrote: > In message <4be42048.7000...@ge.com> you wrote: >> This did not happen when I last updated on March 22nd and >> I have not updated my tools at all. > > Then you are in an excellent position to run git bisect and find out > which exact commit is responsible for the changed be

Re: [U-Boot] Building for da830 fails

2010-05-11 Thread Scott McNutt
Wolfgang Denk wrote: > Ah. With "USE_PRIVATE_LIBGCC=yes" I see this one: > > undefined reference to `__aeabi_uldivmod' > > Note that this is __aeabi_uldivmod, not __udivdi3. > > > Which version of compiler / which tool chain are you using? gcc 4.1.2 --Scott

Re: [U-Boot] [PATCH] altera_spi: add spi_set_speed

2011-01-18 Thread Scott McNutt
Added to: git://git.denx.de/u-boot-nios.git 'next' Thank you, --Scott Thomas Chou wrote: > Added this for mmc_spi driver. Though altera spi core does not > support programmable speed. It is fixed when configured in > sopc-builder. > > Signed-off-by: Thomas Chou > --- > drivers/spi/altera_spi

Re: [U-Boot] [PATCH] nios2: use long for ssize_t

2011-01-18 Thread Scott McNutt
Added to: git://git.denx.de/u-boot-nios.git 'next' Thank you, --Scott Thomas Chou wrote: > This is consistent with nios2-linux. And resolved the warning, > > cmd_nvedit.c: In function `do_env_export': > cmd_nvedit.c:660: warning: size_t format, ssize_t arg (arg 3) > > Signed-off-by: Thomas Ch

Re: [U-Boot] [PATCH] nios2: add gpio_is_valid

2011-01-18 Thread Scott McNutt
Added to: git://git.denx.de/u-boot-nios.git 'next' Thank you, --Scott Thomas Chou wrote: > Signed-off-by: Thomas Chou > --- > arch/nios2/include/asm/gpio.h|6 ++ > board/altera/nios2-generic/custom_fpga.h |1 + > board/altera/nios2-generic/gpio.c|6 ++ >

Re: [U-Boot] [PATCH] nios2: add gpio_free

2011-01-18 Thread Scott McNutt
Added to: git://git.denx.de/u-boot-nios.git 'next' Thank you, --Scott Thomas Chou wrote: > Signed-off-by: Thomas Chou > --- > arch/nios2/include/asm/gpio.h |6 ++ > board/altera/nios2-generic/gpio.c |5 + > 2 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a

Re: [U-Boot] [PATCH] nios2: Make STANDALONE_LOAD_ADDR configurable per board

2011-05-13 Thread Scott McNutt
Thomas, Applied to git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > Follow commit 8ae86b76c648d8bef97241c78e2fddb1c4f164d3 > which changed the variable name. > > Fix this error, > nios2-elf-ld: invalid hex number `-o' > > Signed-off-by: Thomas Chou > --- > for u-boo

[U-Boot] Nios Pull Request

2011-05-16 Thread Scott McNutt
Dear Wolfgang, The following changes since commit 535abb96fb665402894b820f934deaca61ce3d3e: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-nand-flash are available in the git repository at: git://git.denx.de/u-boot-nios.git next Thomas Chou (1): nios2

Re: [U-Boot] [PATCH] [Timer]Remove calls to [get, reset]_timer outside arch/

2011-05-23 Thread Scott McNutt
Hi Graeme, Graeme Russ wrote: > There is no need to use get_timer() and reset_timer() and there are build I must have missed something WRT reset_timer() -- my apologies if I'm covering old ground. When the timestamp is incremented using an interrupt that occurs with a period greater than 1 ms, w

Re: [U-Boot] [PATCH] [Timer]Remove calls to [get, reset]_timer outside arch/

2011-05-23 Thread Scott McNutt
Dear Graeme, Graeme Russ wrote: > On 23/05/11 22:19, Scott McNutt wrote: >> Hi Graeme, >> >> Graeme Russ wrote: >>> There is no need to use get_timer() and reset_timer() and there are build >> I must have missed something WRT reset_timer() -- my apologies >&

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-24 Thread Scott McNutt
Graeme Russ wrote: > Dear Reinhard, > > On Tue, May 24, 2011 at 3:31 PM, Reinhard Meyer > wrote: >> I know its futile to repeat what I suggested about 9 months ago... >> >> Since get_timer() is only used (to my knowledge) to break out of >> loops that do not terminate normally because an expected

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-25 Thread Scott McNutt
Graeme Russ wrote: > OK, let's wind back - My original suggestion made no claim towards changing > what the API is used for, or how it looks to those who use it (for all > practical intents and purposes). I suggested: > - Removing set_timer() and reset_timer() > - Implement get_timer() as a platf

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-25 Thread Scott McNutt
Graeme Russ wrote: > Hi Scott, > > On 25/05/11 22:36, Scott McNutt wrote: >> Graeme Russ wrote: >>> OK, let's wind back - My original suggestion made no claim towards changing >>> what the API is used for, or how it looks to those who use it (for all

Re: [U-Boot] [RFC] Review of U-Boot timer API

2011-05-25 Thread Scott McNutt
Graeme Russ wrote: > Hi Scott, > > On Wednesday, May 25, 2011, Scott McNutt wrote: >> Graeme Russ wrote: >> >> Hi Scott, >> >> On 25/05/11 22:36, Scott McNutt wrote: >> >> Graeme Russ wrote: >> >> OK, let's wind back - My origin

Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-27 Thread Scott McNutt
Graeme Russ wrote: > Hi Wolfgang > > On Friday, May 27, 2011, Wolfgang Denk wrote: >> Dear Graeme Russ, >> >> In message you wrote: >>> Besides, Nios can return an increment of 10 (presumably ms) between >>> two immediately consecutive calls. This causes early timeouts in CFI >>> driver >> Now t

Re: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details

2011-05-27 Thread Scott McNutt
J. William Campbell wrote: > On 5/27/2011 6:07 AM, Scott McNutt wrote: >> Graeme Russ wrote: >>> Hi Wolfgang >>> >>> On Friday, May 27, 2011, Wolfgang Denk wrote: >>>> Dear Graeme Russ, >>>> >>>> In message you >

Re: [U-Boot] [PATCH v2] nios2: move generic config to boards.cfg

2011-06-30 Thread Scott McNutt
Mike, Applied to: git://git.denx.de/u-boot-nios.git 'next' Thanks, --Scott Mike Frysinger wrote: > I can't build test this, but just looking at the config files written > and it seems OK ... > > Tested-by: Thomas Chou > Signed-off-by: Mike Frysinger > --- > v2 > - rebased onto master >

[U-Boot] [Nios] Pull Request

2011-06-30 Thread Scott McNutt
Dear Wolfgang, The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Wolfgang Denk (1): Prepare v2011.06 are available in the git repository at: git://git.denx.de/u-boot-nios.git next Mike Frysinger (1): nios2: move generic config to boards.cfg MA

Re: [U-Boot] [PATCH v1 (WIP) 00/16] [Timer]API Rewrite

2011-07-12 Thread Scott McNutt
Dear Wolfgang Wolfgang Denk wrote: > What exactly is the reason that we cannot have better timer > resolutions in NIOS? You _can_ have better timer resolutions in Nios. However, there are legacy systems that implement timer(s) with a fixed period of 10 msec. The use of such implementations is ve

Re: [U-Boot] Custodians, please remove tag NIOS2-5_0_0 from your repos

2011-08-07 Thread Scott McNutt
Dear Albert, Albert ARIBAUD wrote: > Custodians should remove this tag from their respective repos, except > Scott McNutt of course, who owns The Vote as far as keeping NIOS2-5_0_0 > in u-boot-nios is concerned. :) The tag no longer serves any practical purpose. Regards

Re: [U-Boot] [PATCH 3/7] eSPI: add eSPI controller support

2009-03-16 Thread Scott McNutt
> diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c > index d1d81af..fa97896 100644 > --- a/drivers/mtd/spi/spi_flash.c > +++ b/drivers/mtd/spi/spi_flash.c > @@ -1,6 +1,8 @@ > /* > * SPI flash interface > + * Add support for Freescale eSPI controller > * > + * Copyright (C

Re: [U-Boot] core ticks/timer code

2009-03-31 Thread Scott McNutt
> so if we were to document things, it should read like this: > - CONFIG_SYS_HZ is required to be 1000 Can't this just be eliminated? It's stupid to have a configurable option that is neither ;-) And it doesn't do much for my confidence when things stop working (like my tftp downloads now that t

Re: [U-Boot] core ticks/timer code

2009-04-02 Thread Scott McNutt
>> In message <20090331212514.ga19...@ld0162-tx32.am.freescale.net> you wrote: >>> On Tue, Mar 31, 2009 at 05:48:01PM +0200, Wolfgang Denk wrote: We still need some hint that the timer works in millisecond resolution, though - no matter what you call it. >>> How about just calling it HZ (

Re: [U-Boot] [PATCH 0/5] altera_tse: Several small, but relevant fixes/feature

2011-10-25 Thread Scott McNutt
Dear Joachim, Please be patient. Regards, --Scott Joachim Foerster wrote: > Hi all, > > Did anybody get a chance to review those 5 small patches? I would like > to get some feedback and work on it, if needed - to get them upstream. > > On 10/17/2011 05:24 PM, Joachim Foerster wrote: >> This p

[U-Boot] [Nios] New Nios Custodian

2011-10-27 Thread Scott McNutt
Dear u-boot Nios Developers, Please welcome Thomas Chou as our new Nios custodian. Over the past several months, my personal work load has increased significantly. While this is great for me both professionally and personally, it interferes with my open source activity. In the best interest of th

[U-Boot] [Nios] Pull Request

2011-02-08 Thread Scott McNutt
Dear Wolfgang, The following changes since commit 8d4addc3c3fe1a9ea160a5a1a20a1f934ff3fe97: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx are available in the git repository at: git://git.denx.de/u-boot-nios.git next Thomas Chou (4): nios2: a

Re: [U-Boot] [PATCH 15/21] nios2: Generic system restart support

2011-03-08 Thread Scott McNutt
Hi Kyle, Kyle Moffett wrote: > The Nios-II port appears to use no generic hardware capability for > performing a CPU reset. Since all of the supported boards use the exact > same code to perform a jump-to-flash it goes into __arch_restart(). > > This means that Nios-II has a no-op __arch_emergen

Re: [U-Boot] [PATCH 15/21] nios2: Generic system restart support

2011-03-08 Thread Scott McNutt
Moffett, Kyle D wrote: > Hi! > > On Mar 08, 2011, at 19:13, Scott McNutt wrote: >> Hi Kyle, >> >> Kyle Moffett wrote: >>> The Nios-II port appears to use no generic hardware capability for >>> performing a CPU reset. Since all of the supported boards

Re: [U-Boot] [PATCH v2] nios2: reset cfi flash before reading env

2011-03-26 Thread Scott McNutt
Applied to: git://git.denx.de/u-boot-nios next Thanks, --Scott Thomas Chou wrote: > Flash might be in unknown state when u-boot is started with jtag. > And got wrong env data. So reset it in board early init. > > We cannot use generic cfi flash routines, because flash_init() is > not run yet.

[U-Boot] [Nios] Pull Request

2011-04-08 Thread Scott McNutt
Dear Wolfgang, The following changes since commit 4db2fa7f9446d0f2fe8db3d62184b1212fe22707: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx are available in the git repository at: git://git.denx.de/u-boot-nios.git next Thomas Chou (1): nios2: r

Re: [U-Boot] Flag -mno-cache-volatile to bypass the cache

2009-02-07 Thread Scott McNutt
> Please continue to use the I/O accessor functions. Your specific > compiler version may understand such an option, but don't expect that > any other compiler or architecture provides the same - so better stay > portable and use what was designed exactly for this purpose. Yes, please do use the a

Re: [U-Boot] Status open patches: NIOS2

2009-02-27 Thread Scott McNutt
> I have the following patches still marked as open in my list. Could > you please have a look... > > NIOS: > 12/22 "ivanchuklist iva [U-Boot] [PATCH] NIOS2: Added DE2 board with SD > support Sorry for the delay. I'm working through some issues with a new toolchain & just need more time (about

Re: [U-Boot] [PATCH] NIOS2: Added DE2 board with SD support

2009-03-07 Thread Scott McNutt
Patch is rejected -- incomplete. Ivan, Contact me off-list ... we can discuss how to proceed. Regards, --Scott ivanchuklist ivanchu wrote: > Hi list, > I wrote about my work with u-boot in the thread "[U-Boot] DE2 board with MMC > interface (PIO based) and FAT support enabled" and i decided to

[U-Boot] [PATCH] Add missing header for gcc3

2011-09-23 Thread Scott McNutt
When include/linux/compiler.h is included, the associated gcc3 header is required for older build environments. Signed-off-by: Scott McNutt --- include/linux/compiler-gcc3.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 include/linux

Re: [U-Boot] [2011.09-rc2] Fix for compile error with gcc3

2011-09-29 Thread Scott McNutt
Hi rhabarber1848, A patch was recently submitted: http://patchwork.ozlabs.org/patch/116180 Thanks, --Scott rhabarber1848 wrote: > Hi, > > compiling U-Boot 2011.09-rc2 with gcc-3.4.6 fails with this error: > > In file included from u-boot-2011.09-rc2/include/linux/compiler.h:40, >

Re: [U-Boot] [STATUS] Custodian changes, using Patchwork

2010-11-12 Thread Scott McNutt
Wolfgang Denk wrote: > For now, I would like to ask all CUSTODIANS to register as users at > patchwork.ozlabs.org, so we can arrange that the appropriate > privileges will be granted to you. Registered as "smcnutt" Regards, --Scott ___ U-Boot mai

Re: [U-Boot] [PATCH 1/6 v4] nios2: add gpio support

2010-05-25 Thread Scott McNutt
Applied to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > This patch adds driver for a trivial gpio core, which is described > in http://nioswiki.com/GPIO. It is used for gpio led and nand flash > interface in u-boot. > > When CONFIG_SYS_GPIO_BASE is not defined

Re: [U-Boot] [PATCH 2/6 v2] misc: add gpio based status led driver

2010-05-25 Thread Scott McNutt
Applied to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > This patch adds a status led driver followed the GPIO access > conventions of Linux. The led mask is used to specify the gpio pin. > > Signed-off-by: Thomas Chou > --- > v2: moved to drivers/misc. > >

Re: [U-Boot] [PATCH 3/6 v3] nios2: add gpio support to nios2-generic board

2010-05-25 Thread Scott McNutt
Applied to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > This patch adds gpio support of Altera PIO component to the > nios2-generic board. Though it drives only gpio_led at the > moment, it supports bidirectional port to control bit-banging > I2C, NAND flash b

  1   2   >