Re: [U-Boot] [PATCH] Feature Removal: disable "mtest" command by default

2013-03-08 Thread Ira W. Snyder
On Fri, Mar 08, 2013 at 08:08:24PM +0100, Wolfgang Denk wrote: > The "mtest" command is of little practical use (if any), and > experience has shown that a large number of board configurations > define useless or even dangerous start and end addresses. If not even > the board maintainers are able

Re: [U-Boot] break command.

2013-02-15 Thread Ira W. Snyder
On Fri, Feb 15, 2013 at 02:00:10PM -0500, Harvey Chapman wrote: > On Feb 15, 2013, at 7:38 AM, Albert ARIBAUD wrote: > > On Thu, 14 Feb 2013 12:19:11 -0800 > > (PST), Sean Omalley wrote: > > > >> Is there anyway to break back into u-boot after trying to boot from linux > >> (arm)? Similar to Op

Re: [U-Boot] [PATCH V2] MPC8308: Fixup clocks in PCI Host configuration

2013-01-15 Thread Ira W. Snyder
On Mon, Jan 14, 2013 at 06:59:59PM -0600, Kim Phillips wrote: > On Tue, 8 Jan 2013 18:25:11 -0800 > Barry Grussling wrote: > > > While trying to bring up a custom MPC8308 based board I found > > that the clocking was wrong. The comment in > > include/configs/mpc8308_p1m.h led me to believe > > s

Re: [U-Boot] [GIT PULL] mpc83xx: mpc8308rdb enhancements

2012-09-17 Thread Ira W. Snyder
> > git://git.denx.de/u-boot-mpc83xx.git master > > > > for you to fetch changes up to 014d1dfc669ab2295d7fa4ec4b9f00a4004917a0: > > > > mpc8308rdb: add support for eSDHC MMC controller (2012-09-17 17:47:12 > > -0500) > > > >

[U-Boot] [PATCH 2/5] mpc8308rdb: add support for Spansion SPI flash on header J8

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" The SPI pins are routed to header J8 for testing SPI functionality. A Spansion flash has been wired up and tested on this header. This patch breaks support for the second TSEC interface, since the GPIO pin used as a chip select is pinmuxed with some of the

[U-Boot] [PATCH 1/5] mpc8xxx_spi: fix SPI support on MPC8308RDB

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" The MPC8308RDB Reference Manual states that no bits in the SPMODE register are allowed to change while the enable (EN) bit is set. This driver changes the character length bits (LEN) while the enable (EN) bit is set. Clearing the EN bit while changing the LEN

[U-Boot] [PATCH 5/5] mpc8308rdb: add support for eSDHC MMC controller

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" Add support for the onboard eSDHC MMC controller. The hardware on the MPC8308RDB has the following errata: - ESDHC111: manual asynchronous CMD12 is broken - DMA is broken (PIO works) Signed-off-by: Ira W. Snyder --- board/freescale/mpc8308rdb/mpc8308rd

[U-Boot] [PATCH 4/5] mpc8308rdb: add support for FIT images

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" This is very useful on a modern system. Signed-off-by: Ira W. Snyder --- include/configs/MPC8308RDB.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h index a24538a..c656

[U-Boot] [PATCH 3/5] spansion: add support for S25FL256S1

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" Add support for the S25FL256S1 flash chip. It is a 256Mb (32MB) flash comprised of 64KB pages. Signed-off-by: Ira W. Snyder --- drivers/mtd/spi/spansion.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c

[U-Boot] [PATCH 0/5] mpc8308rdb: improved hardware support

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" This series improves the hardware support for the Freescale MPC8308RDB board. Optional support for the SPI pins routed to header J8 is added for testing SPI flash chips. This was tested with a Spansion S25FL256S1. This is not enabled by default, because it breaks

Re: [U-Boot] A Problem of u-boot on TI PandaBoard porting

2012-01-06 Thread Ira W. Snyder
On Fri, Jan 06, 2012 at 12:35:28AM -0500, Peter Barada wrote: > On 01/06/2012 12:21 AM, qiao.hellowo...@gmail.com wrote: > > 2012/1/6 John Rigby > > > >>> *u-boot/spl/u-boot-spl.lds:1: syntax error > >>> make[1]: *** [/home/qian/Desktop/u-boot/spl/u-boot-spl] Error 1 > >>> make[1]: Leaving director

[U-Boot] [PATCH] fsl_esdhc: fix PIO mode transfers

2011-12-23 Thread Ira W. Snyder
due to a code change in upstream U-Boot to support the mx51 processor family. Reported-by: Jim Lentz Cc: Andy Fleming Cc: Kumar Gala Signed-off-by: Ira W. Snyder --- I'm sending this as a new email with correct subject line so that patchwork can find it. Also so that Andy Fleming and

Re: [U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Ira W. Snyder
it! :) It looks like the patch which introduced this code (77c1458d1 "ppc/85xx: PIO Support for FSL eSDHC Controller Driver") was carried out of tree for a while. While it was out of tree, another commit happened (c67bee146 "fsl_esdhc: add support for mx51 processor") which chan

Re: [U-Boot] Attempts to make U-Boot start from L2 Cache on P2020RDB-like board

2011-11-28 Thread Ira W. Snyder
On Mon, Nov 28, 2011 at 11:22:01PM +0100, Wojciech Zabolotny wrote: > Hi, > I'm trying to achieve starting of U-Boot from L2 cache memory after > downloading from SD card. > The board is P2020RDB-like, however it contains only 512MB of memory. > Because we suspect, that there may be problems with D

[U-Boot] [PATCH v6] mpc85xx: support for Freescale COM Express P2020

2011-11-23 Thread Ira W. Snyder
l" (section 4.5). Signed-off-by: Ira W. Snyder --- Changes v5 -> v6: - fix a build warning - remove CONFIG_FSL_DDR_INTERACTIVE Changes v4 -> v5: - unchanged Changes v3 -> v4: - address review comments (magic numbers, etc.) - boot via L2 SRAM - use SPD EEPROM to initialize DDR SDRAM

[U-Boot] [PATCH v5 3/3] mpc85xx: support for Freescale COM Express P2020

2011-11-21 Thread Ira W. Snyder
l" (section 4.5). Signed-off-by: Ira W. Snyder --- Changes v4 -> v5: - unchanged Changes v3 -> v4: - address review comments (magic numbers, etc.) - boot via L2 SRAM - use SPD EEPROM to initialize DDR SDRAM Changes v2 -> v3: - re-enable CCSR relocation Changes v1 -> v2: - fix

[U-Boot] [PATCH v5 2/3] mpc8xxx: update module_type values from JEDEC DDR3 SPD Specification

2011-11-21 Thread Ira W. Snyder
Newer JEDEC DDR3 SPD Specifications define several additional values for the DDR3 module_type field which were undefined when this code was written. Update the code to handle the newer module types. Signed-off-by: Ira W. Snyder Cc: York Sun --- New in v5. Supercedes the patch titled: [PATCH v4

[U-Boot] [PATCH v5 0/3] mpc85xx: support for Freescale COM Express P2020

2011-11-21 Thread Ira W. Snyder
d lacks NAND) - disable CCSR relocation Ira W. Snyder (3): mpc85xx: support board-specific reset function mpc8xxx: update module_type values from JEDEC DDR3 SPD Specification mpc85xx: support for Freescale COM Express P2020 MAINTAINERS |4 + arch

[U-Boot] [PATCH v5 1/3] mpc85xx: support board-specific reset function

2011-11-21 Thread Ira W. Snyder
This is useful for boards which cannot be reset in the usual way for the 85xx CPU. An example is a board which can only be reset by a hardware watchdog. Signed-off-by: Ira W. Snyder --- Unchanged from v1. arch/powerpc/cpu/mpc85xx/cpu.c | 17 - 1 files changed, 16 insertions

Re: [U-Boot] [PATCH v4 2/3] mpc8xxx: assume unregistered DIMM for invalid SPD module_type

2011-11-21 Thread Ira W. Snyder
On Mon, Nov 21, 2011 at 07:11:14PM +, sun york-R58495 wrote: > > From: Ira W. Snyder [i...@ovro.caltech.edu] > Sent: Monday, November 21, 2011 10:59 AM > To: u-boot@lists.denx.de > Cc: sun york-R58495 > Subject: [PATCH v4 2/

[U-Boot] [PATCH v4 3/3] mpc85xx: support for Freescale COM Express P2020

2011-11-21 Thread Ira W. Snyder
l" (section 4.5). Signed-off-by: Ira W. Snyder --- Changes v3 -> v4: - address review comments (magic numbers, etc.) - boot via L2 SRAM - use SPD EEPROM to initialize DDR SDRAM Changes v2 -> v3: - re-enable CCSR relocation Changes v1 -> v2: - fix checkpatch warnings - remove all referenc

[U-Boot] [PATCH v4 2/3] mpc8xxx: assume unregistered DIMM for invalid SPD module_type

2011-11-21 Thread Ira W. Snyder
s the module_type field set to 0x08. This is an unknown value in all documentation I can find online. Signed-off-by: Ira W. Snyder Cc: York Sun --- New in v4. Suggestions for other ways to solve this are welcome. arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c |7 +++ 1 files changed, 3 inser

[U-Boot] [PATCH v4 0/3] mpc85xx: support for Freescale COM Express P2020

2011-11-21 Thread Ira W. Snyder
-> v4: - address review comments - boot via L2 SRAM (just like P2020DS) - use SPD EEPROM to configure DDR SDRAM Changes v2 -> v3: - re-enable CCSR relocation Changes v1 -> v2: - fix checkpatch warnings - remove references to NAND (this board lacks NAND) - disable CCSR relocation Ira W.

[U-Boot] [PATCH v4 1/3] mpc85xx: support board-specific reset function

2011-11-21 Thread Ira W. Snyder
This is useful for boards which cannot be reset in the usual way for the 85xx CPU. An example is a board which can only be reset by a hardware watchdog. Signed-off-by: Ira W. Snyder --- Unchanged from v1. arch/powerpc/cpu/mpc85xx/cpu.c | 17 - 1 files changed, 16 insertions

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-18 Thread Ira W. Snyder
On Sat, Nov 12, 2011 at 12:16:05PM -0600, Kumar Gala wrote: > > > > This entire file is identical to board/freescale/p1_p2_rdb/ddr.c. In > > fact, since this board only boots via the On-Chip ROM, the whole file is > > useless: fixed_sdram() should just return the RAM size. We're running > > from R

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-11 Thread Ira W. Snyder
On Fri, Nov 11, 2011 at 03:10:43PM -0800, Ira W. Snyder wrote: > On Fri, Nov 11, 2011 at 03:02:46PM -0800, York Sun wrote: > > Looking good so far, what's the question? You can always override the > > register values and try it since you got the interactive debug up. > &

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-11 Thread Ira W. Snyder
R> edit c0 d0 regs ddr_sdram_cfg e708 ... lots more ... FSL-DDR> go That didn't work. Maybe I did something wrong? I'll try again. Ira > York > > > > On Fri, 2011-11-11 at 14:54 -0800, McClintock Matthew-B29882 wrote: > > Adding York who might be able to he

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-11 Thread Ira W. Snyder
On Fri, Nov 11, 2011 at 09:07:23PM +, McClintock Matthew-B29882 wrote: > On Fri, Nov 11, 2011 at 3:03 PM, Ira W. Snyder wrote: > > Thanks. That config_sram.dat is exactly what I came up with. > > > > I have my board booting via L2SRAM, but the DDR doesn't get configu

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-11 Thread Ira W. Snyder
On Fri, Nov 11, 2011 at 08:36:47PM +, McClintock Matthew-B29882 wrote: > On Fri, Nov 11, 2011 at 11:12 AM, Ira W. Snyder wrote: > > Yep, this is a P2020. > > > > I'll check the Freescale documentation. Hopefully it provides an example > > of how to configu

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-11 Thread Ira W. Snyder
On Fri, Nov 11, 2011 at 04:58:17PM +, McClintock Matthew-B29882 wrote: > On Fri, Nov 11, 2011 at 10:53 AM, Ira W. Snyder wrote: > >> Does the board really support different DDR freq or is this copy / paste? > >> > > > > The memory is an SODIMM, but the RAM is

Re: [U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-11 Thread Ira W. Snyder
On Fri, Nov 11, 2011 at 07:22:14AM -0600, Kumar Gala wrote: > > On Nov 10, 2011, at 3:11 PM, Ira W. Snyder wrote: > > > This adds support for the Freescale COM Express P2020 board. This board > > is similar to the P1_P2_RDB, but has some extra (as well as mis

[U-Boot] [PATCH v3 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-10 Thread Ira W. Snyder
l" (section 4.5). Signed-off-by: Ira W. Snyder --- The CCSR relocation issue is solved by Timur's 5 part patchset containing the patch "powerpc/85xx: resize the boot page TLB before relocating CCSR". This patch is checkpatch clean using the checkpatch and configuration file provide

[U-Boot] [PATCH v3 1/2] mpc85xx: support board-specific reset function

2011-11-10 Thread Ira W. Snyder
This is useful for boards which cannot be reset in the usual way for the 85xx CPU. An example is a board which can only be reset by a hardware watchdog. Signed-off-by: Ira W. Snyder --- Unchanged from v1. arch/powerpc/cpu/mpc85xx/cpu.c | 17 - 1 files changed, 16 insertions

[U-Boot] [PATCH v3 0/2] mpc85xx: support for Freescale COM Express P2020

2011-11-10 Thread Ira W. Snyder
This is a cleaned up version of the U-Boot port provided with the BSP for the Freescale COM Express P2020 evaluation kit. Changes v2 -> v3: - re-enable CCSR relocation Changes v1 -> v2: - fix checkpatch warnings - remove references to NAND (this board lacks NAND) - disable CCSR relocation

Re: [U-Boot] Is CCSRBAR relocation broken on P2020?

2011-11-10 Thread Ira W. Snyder
On Thu, Nov 10, 2011 at 10:07:41PM +0200, Felix Radensky wrote: > Hi Ira, > > On 11/10/2011 10:00 PM, Felix Radensky wrote: > > Hello Timur, Kumar, U-Boot List, > > > > I'm working on porting U-Boot to the Freescale P2020 COM-Express board. > > See the ML post from 2011-09-27 titled "[PATCH 0/2] m

Re: [U-Boot] Is CCSRBAR relocation broken on P2020?

2011-11-10 Thread Ira W. Snyder
On Thu, Nov 10, 2011 at 01:49:20PM -0600, Timur Tabi wrote: > Ira W. Snyder wrote: > > > I boot using the on-chip ROM, loading U-Boot from SD card to DDR. > > The on-chip creates a 4GB TLB, which breaks the CCSR code. My five-patch > patchset fixes this. > Yep, th

[U-Boot] [PATCH v2 2/2] mpc85xx: support for Freescale COM Express P2020

2011-11-10 Thread Ira W. Snyder
l" (section 4.5). Signed-off-by: Ira W. Snyder --- Changes v1 -> v2: - fix checkpatch warnings - remove all references to NAND - update to top of tree U-Boot - remove CCSR relocation (top of tree code doesn't work) I wish I could debug the CCSR relocation issue on this board, but I don&

[U-Boot] [PATCH v2 1/2] mpc85xx: support board-specific reset function

2011-11-10 Thread Ira W. Snyder
This is useful for boards which cannot be reset in the usual way for the 85xx CPU. An example is a board which can only be reset by a hardware watchdog. Signed-off-by: Ira W. Snyder --- Unchanged from v1. arch/powerpc/cpu/mpc85xx/cpu.c | 17 - 1 files changed, 16 insertions

[U-Boot] [PATCH v2 0/2] mpc85xx: support for Freescale COM Express P2020

2011-11-10 Thread Ira W. Snyder
This is a cleaned up version of the U-Boot port provided with the BSP for the Freescale COM Express P2020 evaluation kit. Changes v1 -> v2: - fix checkpatch warnings - remove references to NAND (this board lacks NAND) - disable CCSR relocation Ira W. Snyder (2): mpc85xx: support board-speci

Re: [U-Boot] Is CCSRBAR relocation broken on P2020?

2011-11-10 Thread Ira W. Snyder
On Thu, Nov 10, 2011 at 07:24:00PM +, McClintock Matthew-B29882 wrote: > On Thu, Nov 10, 2011 at 11:47 AM, Timur Tabi wrote: > >> I boot off of SDCARD (P2020COME_SDCARD_config). To write the U-Boot > >> image to the microSD card, I use a tool provided with the BSP called > >> "boot_format-1.0.

Re: [U-Boot] Is CCSRBAR relocation broken on P2020?

2011-11-10 Thread Ira W. Snyder
On Thu, Nov 10, 2011 at 11:12:41AM -0600, Timur Tabi wrote: > Ira W. Snyder wrote: > > Hello Timur, Kumar, U-Boot List, > > > > I'm working on porting U-Boot to the Freescale P2020 COM-Express board. > > See the ML post from 2011-09-27 titled "[PATCH 0/2] m

[U-Boot] Is CCSRBAR relocation broken on P2020?

2011-11-10 Thread Ira W. Snyder
Hello Timur, Kumar, U-Boot List, I'm working on porting U-Boot to the Freescale P2020 COM-Express board. See the ML post from 2011-09-27 titled "[PATCH 0/2] mpc85xx: support for Freescale COM Express P2020". When it was posted, the port was working on the top of tree U-Boot. This included relocat

Re: [U-Boot] [PATCH 2/2] mpc85xx: support for Freescale COM Express P2020

2011-10-06 Thread Ira W. Snyder
On Thu, Oct 06, 2011 at 11:18:48PM +0200, Wolfgang Denk wrote: > Dear "Ira W. Snyder", > > In message <1317159046-11886-3-git-send-email-...@ovro.caltech.edu> you wrote: > > This adds support for the Freescale COM Express P2020 board. This board > > is similar

[U-Boot] [PATCH 2/2] mpc85xx: support for Freescale COM Express P2020

2011-09-27 Thread Ira W. Snyder
This adds support for the Freescale COM Express P2020 board. This board is similar to the P1_P2_RDB, but has some extra (as well as missing) peripherals. Unlike all other mpc85xx boards, it uses a watchdog timeout to reset. Using the HRESET_REQ register does not work. Signed-off-by: Ira W

[U-Boot] [PATCH 1/2] mpc85xx: support board-specific reset function

2011-09-27 Thread Ira W. Snyder
This is useful for boards which cannot be reset in the usual way for the 85xx CPU. An example is a board which can only be reset by a hardware watchdog. Signed-off-by: Ira W. Snyder --- arch/powerpc/cpu/mpc85xx/cpu.c | 17 - 1 files changed, 16 insertions(+), 1 deletions

[U-Boot] [PATCH 0/2] mpc85xx: support for Freescale COM Express P2020

2011-09-27 Thread Ira W. Snyder
This is a cleaned up version of the U-Boot port provided with the BSP for the Freescale COM Express P2020 evaluation kit. Ira W. Snyder (2): mpc85xx: support board-specific reset function mpc85xx: support for Freescale COM Express P2020 arch/powerpc/cpu/mpc85xx/cpu.c| 17 +- arch

Re: [U-Boot] BDI2000 configuration for P2020DS

2011-07-14 Thread Ira W. Snyder
On Thu, Jul 14, 2011 at 08:16:13PM +, McClintock Matthew-B29882 wrote: > On Thu, Jul 14, 2011 at 1:59 PM, Ira W. Snyder wrote: > > The documentation Freescale sent me claims that U-Boot is in a 4MB SPI > > flash, however, the U-Boot that came with the board is unable to > &g

Re: [U-Boot] BDI2000 configuration for P2020DS

2011-07-14 Thread Ira W. Snyder
On Thu, Jul 14, 2011 at 09:45:37PM +0200, Wolfgang Denk wrote: > Dear "Ira W. Snyder", > > In message <20110714185958.ge19...@ovro.caltech.edu> you wrote: > > > > Does anyone have a BDI2000 configuration for the P2020DS that they could > > share wit

[U-Boot] BDI2000 configuration for P2020DS

2011-07-14 Thread Ira W. Snyder
Hi everyone, Does anyone have a BDI2000 configuration for the P2020DS that they could share with me? The documentation Freescale sent me claims that U-Boot is in a 4MB SPI flash, however, the U-Boot that came with the board is unable to initialize the SPI subsystem per their instructions. => sf

Re: [U-Boot] [PATCH] fsl_dma: fix support for 83xx DMA engine

2011-06-15 Thread Ira W. Snyder
On Tue, Mar 01, 2011 at 02:40:55PM -0800, Ira W. Snyder wrote: > Commit 359ec4931944adb885882deb9b781e4095eabc94 broke support for the > Freescale DMA engine on the 83xx parts. This is due to using registers > which do not exist on 83xx. Remove the attribute register accesses from > th

[U-Boot] [PATCH] fsl_dma: fix support for 83xx DMA engine

2011-03-01 Thread Ira W. Snyder
Commit 359ec4931944adb885882deb9b781e4095eabc94 broke support for the Freescale DMA engine on the 83xx parts. This is due to using registers which do not exist on 83xx. Remove the attribute register accesses from the 83xx build. Signed-off-by: Ira W. Snyder Cc: York Sun Cc: Peter Tyser Cc

Re: [U-Boot] [PATCH] Ensure gd->ram_size end stays on 4k page boundary when 'hiding' RAM

2010-10-15 Thread Ira W. Snyder
On Fri, Oct 15, 2010 at 03:51:48PM +0100, Gray Remlin wrote: > Signed-off-by: Gray Remlin > --- > arch/arm/lib/board.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c > index 22bd2c9..c1b21f5 100644 > --- a/arch/arm/lib/

Re: [U-Boot] [PATCH v1] e300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels

2010-09-17 Thread Ira W. Snyder
On Fri, Sep 10, 2010 at 03:42:32PM -0700, Ira W. Snyder wrote: > Newer Linux kernels can overrun the initial memory window used for > booting with their BSS area. When this happens, they overwrite the FDT > and silently fail to boot. > > On e300 CPUs, the Linux kernel uses an initi

[U-Boot] [PATCH v1] e300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels

2010-09-10 Thread Ira W. Snyder
. Increase the value of CONFIG_SYS_BOOTMAPSZ to accommodate the maximum value allowed by Linux. This will allow very large kernels to boot. Signed-off-by: Ira W. Snyder --- Wolfgang, I did both mpc83xx and mpc51xx (CONFIG_E300) at the same time. There were fewer boards than I expected. A quick read

Re: [U-Boot] 83xx fails to boot with moderately sized kernels

2010-09-10 Thread Ira W. Snyder
On Fri, Sep 10, 2010 at 01:29:48PM +0200, Stefan Roese wrote: > Hi Ira & Wolfgang, > > On Friday 10 September 2010 13:18:55 Wolfgang Denk wrote: > > > Does anyone know the true maximum value for CONFIG_SYS_BOOTMAPSZ on Linux > > > (if one even exists)? > > > > The CONFIG_SYS_BOOTMAPSZ thing is as

[U-Boot] 83xx fails to boot with moderately sized kernels

2010-09-09 Thread Ira W. Snyder
Hello all, I am using vanilla U-Boot on an MPC8349EMDS board with 256MB of RAM. I have been tracking down a kernel hang very early during boot, and have traced it back to a U-Boot bug. The bug has to do with the way CONFIG_SYS_BOOTMAPSZ is set. Please read through this thread for more lots more i

Re: [U-Boot] Summary of my patches for v2010.12 merge window

2010-09-09 Thread Ira W. Snyder
On Thu, Sep 09, 2010 at 09:44:13PM +0200, Wolfgang Denk wrote: > Dear Timur Tabi, > > In message <4c893536.6020...@freescale.com> you wrote: > > > > 1. [v2] p1022ds: add audclk hwconfig setting to enable codec reference clock > > 2. fsl: verify writes to the MAC address EEPROM > > 3. always reloc

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

2010-04-20 Thread Ira W. Snyder
eral solution anyone comes up with. I've been suggested that virtio would be a good choice here, since they have a highly optimized network driver. Ira > On Tue, Apr 20, 2010 at 3:37 PM, Scott McNutt wrote: > > > Hi Chris, > > > > Ira W. Snyder wrote: > > > &

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

2010-04-20 Thread Ira W. Snyder
On Tue, Apr 20, 2010 at 01:01:39PM -0600, Chris Rigg wrote: > Hello, > > I have a general design question and I can't think of a better forum than > this one to ask it in. Let me know if this is not the right place to ask. > > My environment: > I have an embedded system (u-boot/Embedded Linux) ru

Re: [U-Boot] 30-Second TFTP Timeout at Start-Up

2010-04-01 Thread Ira W. Snyder
On Wed, Mar 31, 2010 at 05:29:09PM -0400, Jason Hanna wrote: > > Are you connected directly to the tftp server or is there switches in > > between? > > I'm running a Cisco/Linksys SLM2024 24-port switch. The embedded board > and TFTP server are on the same subnet and VLAN, however. > > That's ho

Re: [U-Boot] Profiling uboot

2010-01-20 Thread Ira W. Snyder
On Wed, Jan 20, 2010 at 09:51:57AM +0530, Basavaraj Dengi wrote: > Hi, > > I am trying to measure the time taken by uboot, from its init till > it jumps to zImage[kernel]. > > Any suggestions as to which API's to be used for that? > > Thanks in advance. > I've used the attached ptx_ts script t

Re: [U-Boot] [PATCH 3/7] 83xx/85xx/86xx: Add ECC support

2009-11-10 Thread Ira W. Snyder
On Tue, Nov 10, 2009 at 11:36:44AM -0600, Peter Tyser wrote: > > Ok, here are my results, this is on a 8349EMDS-derived board. My > > 8349EMDS eval board doesn't have ECC memory. > > > > 1) It might be nice to have something to print the current injection > > registers. It is not a big deal, anyon

Re: [U-Boot] [PATCH 3/7] 83xx/85xx/86xx: Add ECC support

2009-11-10 Thread Ira W. Snyder
On Mon, Nov 09, 2009 at 09:07:25PM -0600, Peter Tyser wrote: [ big snip ] > > > > I haven't looked at your code. When I was running the old ecc command, I > > had the 83xx reference manual open to decode the command's output, IIRC. > > > > PS - I'm happy to test stuff on 83xx, I'll try and find

Re: [U-Boot] [PATCH 3/7] 83xx/85xx/86xx: Add ECC support

2009-11-09 Thread Ira W. Snyder
On Mon, Nov 09, 2009 at 07:20:26PM -0600, Peter Tyser wrote: > On Tue, 2009-11-10 at 09:08 +0800, Liu Dave-R63238 wrote: > > > On Tue, 2009-11-10 at 08:42 +0800, Liu Dave-R63238 wrote: > > > > > IIRC, 85xx cache is enabled, so when we do the ecc error inject > > > > > test, What will happen before

[U-Boot] U-Boot FIT images with ramdisk

2009-11-04 Thread Ira W. Snyder
Hello, I've just started testing U-Boot's FIT image support on a MPC8349EMDS board. I'm using an .its file based on multi.its. It has a single kernel, ramdisk, and fdt. I've noticed that if I do not specify a load address for the ramdisk, bootm will fail, with the messages: Can't get ramdisk sub

[U-Boot] [PATCH] Fix example FIT image source files

2009-11-04 Thread Ira W. Snyder
: Invalid argument The FIT image source files are missing the "/dts-v1/;" directive at the beginning of the file. Add the directive to the examples. Signed-off-by: Ira W. Snyder --- Note that to make U-Boot's mkimage utility do anything at all, I had to manually apply Remy's pa

Re: [U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner

2009-07-24 Thread Ira W. Snyder
On Fri, Jul 24, 2009 at 09:41:21AM -0500, Peter Tyser wrote: > On Fri, 2009-07-24 at 15:46 +0200, Wolfgang Denk wrote: > > Dear Peter, > > > > In message <20090723190101.c8f8a832e...@gemini.denx.de> I wrote: > > > > > > In message <1247269570-11406-1-git-send-email-pty...@xes-inc.com> you > > > w

Re: [U-Boot] [PATCH 1/3 v2] 83xx: Default to using DMA to initialize SDRAM

2009-07-09 Thread Ira W. Snyder
On Wed, Jul 08, 2009 at 05:58:50PM -0700, Ira W. Snyder wrote: > On Wed, Jul 08, 2009 at 07:32:26PM -0500, Peter Tyser wrote: > > On Thu, 2009-07-09 at 08:24 +0800, Liu Dave-R63238 wrote: > > > > When SDRAM ECC is enabled and CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not > >

Re: [U-Boot] [PATCH 1/3 v2] 83xx: Default to using DMA to initializeSDRAM

2009-07-08 Thread Ira W. Snyder
On Wed, Jul 08, 2009 at 07:32:26PM -0500, Peter Tyser wrote: > On Thu, 2009-07-09 at 08:24 +0800, Liu Dave-R63238 wrote: > > > When SDRAM ECC is enabled and CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not > > > defined use DMA to set SDRAM to a known state. Previously a > > > sequence of > > > 64-bit st

Re: [U-Boot] [PATCH 0/3] DMA ECC update

2009-07-08 Thread Ira W. Snyder
On Wed, Jul 08, 2009 at 05:59:33PM -0500, Peter Tyser wrote: > On Wed, 2009-07-08 at 15:31 -0700, Ira W. Snyder wrote: > > On Wed, Jul 08, 2009 at 02:28:39PM -0500, Peter Tyser wrote: > > > These changes bring the 83xx SDRAM ECC initialization in line > > > with the 85xx

Re: [U-Boot] [PATCH 0/3] DMA ECC update

2009-07-08 Thread Ira W. Snyder
On Wed, Jul 08, 2009 at 03:31:29PM -0700, Ira W. Snyder wrote: > On Wed, Jul 08, 2009 at 02:28:39PM -0500, Peter Tyser wrote: > > These changes bring the 83xx SDRAM ECC initialization in line > > with the 85xx/86xx boards and also fixes a minor bug in fsl_dma.c. > > >

Re: [U-Boot] [PATCH 0/3] DMA ECC update

2009-07-08 Thread Ira W. Snyder
On Wed, Jul 08, 2009 at 02:28:39PM -0500, Peter Tyser wrote: > These changes bring the 83xx SDRAM ECC initialization in line > with the 85xx/86xx boards and also fixes a minor bug in fsl_dma.c. > > I don't have any 83xx boards to test on, so it would be appreciated > if someone with 83xx hardware

[U-Boot] [RFC] [PATCH 0/3] MPC8349EMDS: Using mpc83xx generic pci infrastructure for PCI Agent mode

2008-08-22 Thread Ira W. Snyder
Hello u-boot-users, This is my attempt at adding CONFIG_PCISLAVE support to the MPC8349EMDS board. I noticed that there was some shared infrastructure for the PCI controller in the 83xx-series CPU's, so I removed all of the old code, and used the infrastructure instead. I have boot tested the boa

[U-Boot] [PATCH 1/3] MPC8349EMDS: use 83XX_GENERIC_PCI setup code

2008-08-22 Thread Ira W. Snyder
Change the MPC8349EMDS board to use the generic PCI initialization code for the mpc83xx cpu. Signed-off-by: Ira W. Snyder <[EMAIL PROTECTED]> --- board/freescale/mpc8349emds/pci.c | 377 ++--- include/configs/MPC8349EMDS.h |4 +- 2 files chang

[U-Boot] [PATCH 3/3] MPC8349EMDS: Add PCI Agent (PCISLAVE) support

2008-08-22 Thread Ira W. Snyder
Add the ability for the MPC8349EMDS to run in PCI Agent mode, acting as a PCI card rather than a host computer. Signed-off-by: Ira W. Snyder <[EMAIL PROTECTED]> --- board/freescale/mpc8349emds/mpc8349emds.c |9 + board/freescale/mpc8349emds/pci.c

[U-Boot] [PATCH 2/3] mpc83xx: add PCISLAVE support to 83XX_GENERIC_PCI setup code

2008-08-22 Thread Ira W. Snyder
This adds a helper function to unlock the PCI configuration bit, so that any extra PCI setup (such as outbound windows, etc.) can be done after using the 83XX_GENERIC_PCI code to set up the PCI bus. Signed-off-by: Ira W. Snyder <[EMAIL PROTECTED]> --- cpu/mpc83xx/pci.c