[U-Boot] [PATCH v7] Marvell MV88F6281GTW_GE Board support

2009-05-06 Thread Prafulla Wadaskar
From: prafulla_wadaskar This is Marvell's 88F6281_A0 based custom board developed for wireless access point product This patch is tested for- 1. Boot from DRAM/SPI flash/NFS 2. File transfer using tftp and loadb 3. SPI flash read/write/erase 4. Booting Linux kernel and RFS from SPI flash Review

Re: [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console

2009-05-06 Thread Stefan Roese
Hi Daniel, On Wednesday 06 May 2009, Daniel Gorsulowski wrote: > This patch allows any at91 board, implementing the GPIO LED API, > to control the LEDs from the console. > > led [ 1 | 2 | 3 | all ] [ on | off ] Why limit this to a max of 3 LED's? If this is a generic command (which I like btw)

Re: [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console

2009-05-06 Thread Daniel Gorsulowski
Dear Wolfgang Denk, Wolfgang Denk wrote: > Dear Daniel Gorsulowski, > > In message <1241619669338-git-send-email-daniel.gorsulow...@esd.eu> you wrote: >> This patch allows any at91 board, implementing the GPIO LED API, >> to control the LEDs from the console. >> >> led [ 1 | 2 | 3 | all ] [ on |

[U-Boot] How to change the entry point for standalone Applications same as the text section base address

2009-05-06 Thread ffmm rrcc
Hi all: I have write a standalone application on U-Boot,it works well.but i have to get the entry point address follow this article: http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork I use -Ttext option for ${CROSS_COMPILE}ld to set the text section base address,and -e option to s

Re: [U-Boot] [PATCH v6] Marvell Kirkwood family SOC support

2009-05-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Prafulla Wadaskar > Sent: Tuesday, May 05, 2009 11:41 AM > To: Wolfgang Denk; Jean-Christophe PLAGNIOL-VILLARD > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik;

Re: [U-Boot] Micrel Switch KS8995M Driver

2009-05-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Raphael Amorim > Sent: Tuesday, May 05, 2009 11:28 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] Micrel Switch KS8995M Driver > > Hello all, > > I need some help here :P

Re: [U-Boot] [PATCH 2/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

2009-05-06 Thread Kyungmin Park
Hi, Please apply this patch for fixing broken apollon build. Acked-by: Kyungmin Park On Mon, Mar 9, 2009 at 11:15 PM, Rohit Hagargundgi wrote: > Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. > CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. > and is used by OneNAND ipl when r

Re: [U-Boot] MII register display

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 22:06:46 Jon Smirl wrote: > On Wed, May 6, 2009 at 10:03 PM, Mike Frysinger wrote: > > On Wednesday 06 May 2009 21:53:21 Jon Smirl wrote: > >> On Wed, May 6, 2009 at 2:57 PM, Jon Smirl wrote: > >> > Why is "speed selection = 10 Mbps" when both sides support 100Mb? > >> >

Re: [U-Boot] MII register display

2009-05-06 Thread Jon Smirl
On Wed, May 6, 2009 at 10:03 PM, Mike Frysinger wrote: > On Wednesday 06 May 2009 21:53:21 Jon Smirl wrote: >> On Wed, May 6, 2009 at 2:57 PM, Jon Smirl wrote: >> > Why is "speed selection = 10 Mbps" when both sides support 100Mb? >> > Is uboot decoding this register correctly? >> > >> > uboot> m

Re: [U-Boot] MII register display

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 21:53:21 Jon Smirl wrote: > On Wed, May 6, 2009 at 2:57 PM, Jon Smirl wrote: > > Why is "speed selection = 10 Mbps" when both sides support 100Mb? > > Is uboot decoding this register correctly? > > > > uboot> mii dump 0 0 > > 0. (1000) -- PHY control re

Re: [U-Boot] MII register display

2009-05-06 Thread Jon Smirl
On Wed, May 6, 2009 at 2:57 PM, Jon Smirl wrote: > Why is "speed selection = 10 Mbps" when both sides support 100Mb? > Is uboot decoding this register correctly? > > uboot> mii dump 0 0 > 0.     (1000)                 -- PHY control register -- >  (8000:) 0.15    =     0    reset >  (4000:

[U-Boot] [PATCH v4] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
The BF537-STAMP Blackfin board had a driver for working with NAND devices that are simply memory mapped. Since there is nothing Blackfin specific about this, generalize the driver a bit so that everyone can leverage it. Signed-off-by: Mike Frysinger Signed-off-by: Scott Wood --- v4 - us

Re: [U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 16:51:18 Wolfgang Denk wrote: > In Mike Frysinger wrote: > > --- /dev/null > > +++ b/drivers/mtd/nand/nand_plat.c > > @@ -0,0 +1,53 @@ > > +/* > > + * Genericish driver for memory mapped NAND devices > > Genericish ? i tried to make it generic. i dont know if i accomplish

Re: [U-Boot] QUESTION: How do I generate an assembly listing?

2009-05-06 Thread Wolfgang Denk
Dear Jonathan Haws, In message you wrote: > I need to generate an assembly listing that contains all the assembly code > generated by the compiler. I have tried putting the standard GCC options in > ppc_config.mk, but cannot get the results I am looking for. > > What I need is a listing file

[U-Boot] QUESTION: How do I generate an assembly listing?

2009-05-06 Thread Jonathan Haws
I need to generate an assembly listing that contains all the assembly code generated by the compiler. I have tried putting the standard GCC options in ppc_config.mk, but cannot get the results I am looking for. What I need is a listing file that contains the address (preferably with _start at

[U-Boot] [PATCH] mmc: Fix decoding of SCR & function switch data on little-endian machines

2009-05-06 Thread Yauhen Kharuzhy
SCR & switch data are read from card as big-endian words and should be converted to CPU byte order. Signed-off-by: Yauhen Kharuzhy --- drivers/mmc/mmc.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index b4814d2..596e05

Re: [U-Boot] [PATCH 10/10] imx27lite: add support for imx27lite board from LogicPD

2009-05-06 Thread Wolfgang Denk
Dear Ilya, In message <1241634633-13917-11-git-send-email-ya...@emcraft.com> you wrote: > This patch adds support for i.MX27-LITEKIT development board from > LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND > flash, FEC ethernet controller integrated into i.MX27. ... > +/*=

Re: [U-Boot] [PATCH 00/10] Support for LogicPD i.MX27-LITEKIT development board

2009-05-06 Thread Wolfgang Denk
Dear Ilya, In message <1241634633-13917-1-git-send-email-ya...@emcraft.com> you wrote: > This patch set adds support for LogicPD i.MX27-LITEKIT development board. > It contains support for i.MX27 CPU, support for serial console, FEC > ethernet controller, NFC NAND controller and SDHC controller. I

Re: [U-Boot] [PATCH 04/10] mxc_nand: add nand driver for MX2/MX3

2009-05-06 Thread Wolfgang Denk
Dear Ilya, In message <1241634633-13917-5-git-send-email-ya...@emcraft.com> you wrote: > Driver for NFC NAND controller found on Freescale's MX2 and MX3 > processors. Ported from Linux. Tested only with i.MX27 but should > works with other MX2 and MX3 processors too. ... > +/* Set INT to 0, FCMD t

Re: [U-Boot] [PATCH 03/10] fec_imx27: driver for FEC ethernet controller on i.MX27

2009-05-06 Thread Wolfgang Denk
Dear Ilya, In message <1241634633-13917-4-git-send-email-ya...@emcraft.com> you wrote: > > --- /dev/null > +++ b/drivers/net/fec_imx27.c > +#include > +#include > +#include > + > +#define CONFIG_PHY_ADDR 0 Ummm... "CONFIG_*" variables are by definition user changable, so they get defined

Re: [U-Boot] [PATCH 01/10] mx27: basic cpu support

2009-05-06 Thread Wolfgang Denk
Dear Ilya, in message <1241634633-13917-2-git-send-email-ya...@emcraft.com> you wrote: > This patch adds generic code to support Freescale's i.MX27 SoCs. ... > +static ulong clk_in_26m(void) > +{ > + if (CSCR & CSCR_OSC26M_DIV1P5) { > + /* divide by 1.5 */ > + return 2

Re: [U-Boot] [PATCH 02/10] serial_mx31: allow it to work with mx27 too

2009-05-06 Thread Wolfgang Denk
Dear Ilya Yanok, In message <1241634633-13917-3-git-send-email-ya...@emcraft.com> you wrote: > UART hardware on i.MX27 is the same as on the i.MX31 so we just > need to provide the driver with correct address of the registers. > > Signed-off-by: Ilya Yanok > --- > drivers/serial/serial_mx31.c |

Re: [U-Boot] [PATCH v3] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1241638716-29824-1-git-send-email-vap...@gentoo.org> you wrote: > The BF537-STAMP Blackfin board had a driver for working with NAND devices > that are simply memory mapped. Since there is nothing Blackfin specific > about this, generalize the driver a bit so that

Re: [U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1241615121-15945-1-git-send-email-vap...@gentoo.org> you wrote: > The BF537-STAMP Blackfin board had a driver for working with NAND devices > that are simply memory mapped. Since there is nothing Blackfin specific > about this, generalize the driver a bit so that

Re: [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 16:37:28 Wolfgang Denk wrote: > In message Daniel Gorsulowski wrote: > > --- a/common/Makefile > > +++ b/common/Makefile > > +COBJS-$(CONFIG_CMD_LED) += cmd_led.o > > Ummm... common is for, well, for >>common<< stuff. If this code is > specific to AT91 only, it should not g

Re: [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console

2009-05-06 Thread Wolfgang Denk
Dear Daniel Gorsulowski, In message <1241619669338-git-send-email-daniel.gorsulow...@esd.eu> you wrote: > This patch allows any at91 board, implementing the GPIO LED API, > to control the LEDs from the console. > > led [ 1 | 2 | 3 | all ] [ on | off ] > > Adding configuration items CONFIG_AT91_

Re: [U-Boot] [PATCH 10/10] imx27lite: add support for imx27lite board from LogicPD

2009-05-06 Thread Magnus Lilja
Hi 2009/5/6 Ilya Yanok : > This patch adds support for i.MX27-LITEKIT development board from > LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND > flash, FEC ethernet controller integrated into i.MX27. > > Signed-off-by: Ilya Yanok > --- >  MAKEALL                              

Re: [U-Boot] [PATCH 07/10] mmc: use lldiv() for 64-bit division

2009-05-06 Thread Magnus Lilja
Hi 2009/5/6 Ilya Yanok : > Signed-off-by: Ilya Yanok > --- >  drivers/mmc/mmc.c |    7 --- >  1 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c > index 7791c38..77a9aea 100644 > --- a/drivers/mmc/mmc.c > +++ b/drivers/mmc/mmc.c > @@ -31,6

Re: [U-Boot] [PATCH 04/10] mxc_nand: add nand driver for MX2/MX3

2009-05-06 Thread Magnus Lilja
Hi 2009/5/6 Ilya Yanok : > Driver for NFC NAND controller found on Freescale's MX2 and MX3 > processors. Ported from Linux. Tested only with i.MX27 but should > works with other MX2 and MX3 processors too. > > Signed-off-by: Ilya Yanok > --- >  drivers/mtd/nand/Makefile   |    1 + >  drivers/mtd/

Re: [U-Boot] [PATCH 01/10] mx27: basic cpu support

2009-05-06 Thread Magnus Lilja
Hi 2009/5/6 Ilya Yanok : > This patch adds generic code to support Freescale's i.MX27 SoCs. > > Signed-off-by: Ilya Yanok > --- >  cpu/arm926ejs/mx27/Makefile          |   44 +++ >  cpu/arm926ejs/mx27/generic.c         |  205 ++ >  cpu/arm926ejs/mx27/interrupt.c       |  201 +

Re: [U-Boot] [PATCH v3] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 15:49:12 Scott Wood wrote: > On Wed, May 06, 2009 at 03:38:36PM -0400, Mike Frysinger wrote: > > The BF537-STAMP Blackfin board had a driver for working with NAND devices > > that are simply memory mapped. Since there is nothing Blackfin specific > > about this, generalize

[U-Boot] usbtty Support on AT91SAM9XXX chipsets

2009-05-06 Thread Daniel Sherwood
Hi I am interested in getting usbtty support running on an AT91SAM9G20 board. I have picked up the latest code on the CDC head on the u-boot-usb GIT tree and am currently attempting to get the CDC-Ether support up and running (merging various changes from the 9261 board to the 9260). How

Re: [U-Boot] [PATCH 03/10] fec_imx27: driver for FEC ethernet controller on i.MX27

2009-05-06 Thread Ben Warren
Hi Ilya, Ilya Yanok wrote: > Signed-off-by: Ilya Yanok > --- > drivers/net/Makefile |1 + > drivers/net/fec_imx27.c| 795 > > drivers/net/fec_imx27.h| 305 + > drivers/net/imx27_miiphy.c | 125 +++ > drivers/n

Re: [U-Boot] [PATCH v3] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Scott Wood
On Wed, May 06, 2009 at 03:38:36PM -0400, Mike Frysinger wrote: > The BF537-STAMP Blackfin board had a driver for working with NAND devices > that are simply memory mapped. Since there is nothing Blackfin specific > about this, generalize the driver a bit so that everyone can leverage it. > > Sig

[U-Boot] [PATCH v3] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
The BF537-STAMP Blackfin board had a driver for working with NAND devices that are simply memory mapped. Since there is nothing Blackfin specific about this, generalize the driver a bit so that everyone can leverage it. Signed-off-by: Mike Frysinger CC: Scott Wood --- v3 - re-order args

Re: [U-Boot] Zoom2 initial support rebased to arm/next

2009-05-06 Thread Dirk Behme
Dear Tom, dear Jean-Christophe, Dirk Behme wrote: > Dear Tom, dear Jean-Christophe, > > Tom wrote: >> Dirk Behme wrote: >>> Hi Tom, >>> >>> Tom wrote: Here is the changes to Zoom2 to rebase onto the arm/next branch >>> >>> I'm not sure and and didn't test it, but it seems to me that we might

Re: [U-Boot] [PATCH V2] arm: timer and interrupt init rework

2009-05-06 Thread Dirk Behme
Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090501232305.gi3...@game.jcrosoft.org> you wrote: +COBJS += board.o +COBJS += clock.o +COBJS += mem.o +COBJS += syslib.o +COBJS += sys_info.o +COBJS += timer.o >>>

[U-Boot] [PATCH 09/10] mmc: fix mmcinfo command

2009-05-06 Thread Ilya Yanok
cid field of stuct mmc stucture is char*, not u32*. so we need to convert the pointer for mmcinfo code to work correctly. Signed-off-by: Ilya Yanok --- common/cmd_mmc.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index f1

[U-Boot] [PATCH 08/10] mmc: some endianess fixes for generic mmc subsystem

2009-05-06 Thread Ilya Yanok
We save response in the cpu order so we need to parse it in the cpu order too. Things fixed by this patch: 1. OCR_BUSY should be the highest bit in 32-bit response. 2. Proper "tran speed" calculation on LE systems (tran_exp and tran_mant should be in 96..98 and 99..102 bits of 128-bit respons

[U-Boot] [PATCH 07/10] mmc: use lldiv() for 64-bit division

2009-05-06 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- drivers/mmc/mmc.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 7791c38..77a9aea 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -31,6 +31,7 @@ #include #include #include +#i

[U-Boot] [PATCH 05/10] mxc-mmc: sdhc host driver for MX2 and MX3 proccessor

2009-05-06 Thread Ilya Yanok
This is a port of Linux driver for SDHC host controller hardware found on Freescale's MX2 and MX3 processors. Uses new generic MMC framework (CONFIG_GENERIC_MMC) and it looks like there are some problems with a framework (at least on LE cpus). Some of these problems are addressed in the following p

[U-Boot] [PATCH 01/10] mx27: basic cpu support

2009-05-06 Thread Ilya Yanok
This patch adds generic code to support Freescale's i.MX27 SoCs. Signed-off-by: Ilya Yanok --- cpu/arm926ejs/mx27/Makefile | 44 +++ cpu/arm926ejs/mx27/generic.c | 205 ++ cpu/arm926ejs/mx27/interrupt.c | 201 ++ include/asm-arm/arch-mx27/clock.

[U-Boot] [PATCH 00/10] Support for LogicPD i.MX27-LITEKIT development board

2009-05-06 Thread Ilya Yanok
This patch set adds support for LogicPD i.MX27-LITEKIT development board. It contains support for i.MX27 CPU, support for serial console, FEC ethernet controller, NFC NAND controller and SDHC controller. It also contains some fixes to generic MMC subsystem. Signed-off-by: Ilya Yanok

[U-Boot] [PATCH 04/10] mxc_nand: add nand driver for MX2/MX3

2009-05-06 Thread Ilya Yanok
Driver for NFC NAND controller found on Freescale's MX2 and MX3 processors. Ported from Linux. Tested only with i.MX27 but should works with other MX2 and MX3 processors too. Signed-off-by: Ilya Yanok --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/mxc_nand.c | 891 ++

[U-Boot] [PATCH 02/10] serial_mx31: allow it to work with mx27 too

2009-05-06 Thread Ilya Yanok
UART hardware on i.MX27 is the same as on the i.MX31 so we just need to provide the driver with correct address of the registers. Signed-off-by: Ilya Yanok --- drivers/serial/serial_mx31.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/seria

[U-Boot] [PATCH 06/10] arm: add support for CONFIG_GENERIC_MMC

2009-05-06 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- lib_arm/board.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lib_arm/board.c b/lib_arm/board.c index 5d05d9b..86635bd 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -48,6 +48,7 @@ #include #include #include +#include

[U-Boot] [PATCH 03/10] fec_imx27: driver for FEC ethernet controller on i.MX27

2009-05-06 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- drivers/net/Makefile |1 + drivers/net/fec_imx27.c| 795 drivers/net/fec_imx27.h| 305 + drivers/net/imx27_miiphy.c | 125 +++ drivers/net/imx27_miiphy.h | 157 + 5 files c

[U-Boot] [PATCH 10/10] imx27lite: add support for imx27lite board from LogicPD

2009-05-06 Thread Ilya Yanok
This patch adds support for i.MX27-LITEKIT development board from LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND flash, FEC ethernet controller integrated into i.MX27. Signed-off-by: Ilya Yanok --- MAKEALL |1 + Makefile

Re: [U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 14:19:07 Scott Wood wrote: > Mike Frysinger wrote: > >>> +/* #define CONFIG_NAND_PLAT */ > >> > >> Why is this commented out? > > > > because it's a driver for an optional add-on card that people usually > > dont have, let alone plugged in > > OK, was hoping there would be

[U-Boot] AMCC 405EX Register Definitions

2009-05-06 Thread Jonathan Haws
It is my understanding that the 405EX CPU is not Book-E, however in include/asm-ppc/processor.h line 390, Book-E definitions are used for the 405EX. Is this correct? I am still trying to debug the cause of the AMCC 405EX Trap (see that thread for more info) and found this. I was trying to see

[U-Boot] MII register display

2009-05-06 Thread Jon Smirl
Why is "speed selection = 10 Mbps" when both sides support 100Mb? Is uboot decoding this register correctly? uboot> mii dump 0 0 0. (1000) -- PHY control register -- (8000:) 0.15= 0reset (4000:) 0.14= 0loopback (2040:) 0. 6,13 = b00

Re: [U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Scott Wood
Mike Frysinger wrote: >>> +/* #define CONFIG_NAND_PLAT */ >> Why is this commented out? > > because it's a driver for an optional add-on card that people usually dont > have, let alone plugged in OK, was hoping there would be at least one config that selects it so it gets compilation exposure.

Re: [U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 13:35:29 Scott Wood wrote: > On Wed, May 06, 2009 at 09:05:21AM -0400, Mike Frysinger wrote: > > + * NAND_PLAT_WRITE_CMD(cmd, chip) > > + * NAND_PLAT_WRITE_ADR(cmd, chip) > > It seems counterintuitive to have "cmd" before "this" -- it's backwards > from both cmd_ctrl and

Re: [U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Scott Wood
On Wed, May 06, 2009 at 09:05:21AM -0400, Mike Frysinger wrote: > + * NAND_PLAT_WRITE_CMD(cmd, chip) > + * NAND_PLAT_WRITE_ADR(cmd, chip) It seems counterintuitive to have "cmd" before "this" -- it's backwards from both cmd_ctrl and the blackfin command that you turn it into (yes, it's like writ

[U-Boot] [PATCH] OMAP3: Introduce CONFIG option for power code

2009-05-06 Thread Dirk Behme
Some OMAP3 boards need control for external power companion chips. Introduce a CONFIG option for this, to avoid Makefile changes for each board. Signed-off-by: Dirk Behme --- Compile tested with ./MAKEALL ARM_CORTEX_A8, boot tested on OMAP3 based BeagleBoard. Note: This patch trys to fix the fi

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-06 Thread Dirk Behme
Matthias Ludwig wrote: > Signed-off-by: Matthias Ludwig Matthias: Thanks for fixing this! Mani: Can we get your ack as EVM maintainer? Many thanks and best regards Dirk > --- > board/omap3/evm/evm.c| 16 > include/asm-arm/arch-omap3/cpu.h |5 +++-- > 2 file

Re: [U-Boot] Xilinx SPI driver

2009-05-06 Thread Michal Simek
Hi, > Hi > > After searching internet for a good example of using U-boot PPC405 in xilinx > FPGAs with only a SPI Flash, and finding nothing, I began writing my own > driver. I used a couple of standalone examples besides the linux driver as > the base point, and could finally use it. As much

[U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console

2009-05-06 Thread Daniel Gorsulowski
This patch allows any at91 board, implementing the GPIO LED API, to control the LEDs from the console. led [ 1 | 2 | 3 | all ] [ on | off ] Adding configuration items CONFIG_AT91_LED and CONFIG_CMD_LED enables the command. Moreover the GPIO Pins have to be defined by CONFIG_USER1_LED ... CONFIG_

Re: [U-Boot] SD Card Support

2009-05-06 Thread Mike Frysinger
On Wednesday 06 May 2009 10:06:24 Raphael Amorim wrote: > Is anyone working on adding SD card support to U-Boot? it already exists, so you'll need to be more specific in what you actually want -mike signature.asc Description: This is a digitally signed message part.

[U-Boot] SD Card Support

2009-05-06 Thread Raphael Amorim
Hey guys, Is anyone working on adding SD card support to U-Boot? Thanks in advance. Raphael Amorim ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-06 Thread Matthias Ludwig
Signed-off-by: Matthias Ludwig --- board/omap3/evm/evm.c| 16 include/asm-arm/arch-omap3/cpu.h |5 +++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/board/omap3/evm/evm.c b/board/omap3/evm/evm.c index c008c2e..5fd5efa 100644 --- a/board/omap

[U-Boot] [PATCH v2] mtd: nand: new base driver for memory mapped nand devices

2009-05-06 Thread Mike Frysinger
The BF537-STAMP Blackfin board had a driver for working with NAND devices that are simply memory mapped. Since there is nothing Blackfin specific about this, generalize the driver a bit so that everyone can leverage it. Signed-off-by: Mike Frysinger CC: Scott Wood --- v2 - update based

[U-Boot] [PATCH 5/5] Blackfin: bf518f-ezbrd: reset ethernet PHY during init

2009-05-06 Thread Mike Frysinger
From: Graf Yang We don't know what state the ethernet PHY is in when starting up, so make sure we set it to a sane state. This fixes troubles seen when Linux boots up, configures the PHY is a non-default state, and then the system reboots into U-Boot which previously expected a reset state only.

[U-Boot] [PATCH 2/5] Blackfin: fix booting with older bootroms (no EVT1)

2009-05-06 Thread Mike Frysinger
When dropping jump block support, the assumption was that all bootroms supported entry point redirection via the EVT1 register. Unfortunately, this turned out to be incorrect for the oldest Blackfin parts (BF533-0.2 and older and BF561). No one really noticed earlier because these parts usually a

[U-Boot] [PATCH 1/5] Blackfin: recurse with early serial initcode

2009-05-06 Thread Mike Frysinger
Make sure we recurse through serial_putc() rather than bang on the UART transmit register directly to avoid hardware overflows when using \n. Signed-off-by: Mike Frysinger --- cpu/blackfin/initcode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/blackfin/initcode.

[U-Boot] [PATCH 0/5] Blackfin fixes for 2009.06

2009-05-06 Thread Mike Frysinger
Some random minor bug fixes found during regression testing. Graf Yang (1): Blackfin: bf518f-ezbrd: reset ethernet PHY during init Mike Frysinger (4): Blackfin: recurse with early serial initcode Blackfin: fix booting with older bootroms (no EVT1) Blackfin: avoid get_sclk() with early ser

[U-Boot] [PATCH 3/5] Blackfin: avoid get_sclk() with early serial debug

2009-05-06 Thread Mike Frysinger
When the clock functions were changed to use cached values (and thereby avoiding expensive math functions), early serial debug broke because the baud programming is called before external memory is available. Signed-off-by: Mike Frysinger --- cpu/blackfin/serial.h | 10 +- 1 files chan

[U-Boot] [PATCH 4/5] Blackfin: bf527-ezkit: fix SPI flash env params

2009-05-06 Thread Mike Frysinger
The BF527-EZKIT settings for storing the environment in SPI flash wasn't using the correct sector settings for the SPI flash part that is actually on the board. Signed-off-by: Mike Frysinger --- include/configs/bf527-ezkit.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --g

[U-Boot] [PATCH v2] tools/envcrc: add --binary option to export embedded env

2009-05-06 Thread Mike Frysinger
The --binary option to envcrc can be used to export the embedded env as a binary blob so that it can be manipulated/examined/whatever externally. Signed-off-by: Mike Frysinger --- v2 - accept just --binary and have it default to 0xff padding tools/envcrc.c | 46 +++

[U-Boot] [PATCH 2/2] MIPS: lib_mips/board.c: Remove unused variables

2009-05-06 Thread Shinya Kuribayashi
This fixes the following build warnings: board.c: In function 'board_init_r': board.c:328: warning: unused variable 'i' board.c:326: warning: unused variable 'e' Signed-off-by: Shinya Kuribayashi --- lib_mips/board.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib

[U-Boot] [PATCH 1/2] MIPS: Make all extern-ed functions in bitops.h static

2009-05-06 Thread Shinya Kuribayashi
All these functions are expected to be static inline-ed. This patch also fixes the following build warnings on MIPS targets: include/asm/bitops.h: In function 'ext2_find_next_zero_bit': include/asm/bitops.h:862: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit'

[U-Boot] U-Boot on Xilinx Virtex platforms

2009-05-06 Thread Felix Radensky
Hi, I'm new to Xilinx world, so please bare with my ignorance. Looking at u-boot Xilinx files I see that u-boot does not perform SDRAM initialization. SDRAM is apparently initialized by FPGA code. Is that correct ? Another question is whether u-boot on Virtex can start executing from NOR flash o

[U-Boot] [PATCH] Trizeps IV adaptation to changes in dm9000 driver

2009-05-06 Thread sbabic
From: Stefano Babic Last patch in the dm9000 driver breaks the trizeps IV board (PXA). Reading of eeprom is modified here to reflect the changes in read_srom_word(). Signed-off-by: Stefano Babic --- board/trizepsiv/eeprom.c | 10 ++ drivers/net/dm9000x.c|4 ++-- 2 files chang