Re: [U-Boot] [PATCH 2/3] arm: omap: innovator: Prepare for mach-types.h changes

2011-05-02 Thread Igor Grinberg
On 05/01/11 23:28, Alessandro Rubini wrote: > I'm sorry for sounding rude, it's not my intention. > > I didn't follow closely the discussion about mach_types.h, but I think > we are heading in the wrong direction. Exactly, this is the problem... Please, read: http://www.mail-archive.com/u-boot@li

Re: [U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400

2011-05-02 Thread Zhong Hongbo
On 05/02/2011 02:49 AM, Wolfgang Denk wrote: > Dear seedshope, > > In message <1304268966-25640-1-git-send-email-bocui...@gmail.com> you wrote: >> From: seedshope >> >> Since we rename _end to __bss_end__, But we need add _end symbol for >> the end of u-boot image. >> >> Signed-off-by: Zhong Hong

[U-Boot] [PATCH v3] ftide020: add faraday ide ahb controller

2011-05-02 Thread Macpaul Lin
Faraday's ftide020_s is an IDE-AHB controller for SoC design. This patch add the u-boot driver (PIO) of ftide020 ATA (IDE) driver. IDE commands include read, info, and other functions has been implemented. Because this IDE controller support AHB interface only which is differ from other most IDE c

Re: [U-Boot] [PATCH 3/3] arm: at91: ether: Prepare for mach-types.h changes

2011-05-02 Thread Igor Grinberg
On 05/01/11 22:38, Reinhard Meyer wrote: > Dear Igor Grinberg, > >> at91 ethernet module used machine_is_cbs337() macro for board specific >> Linux compatibility issue. >> Use compile time defines instead. >> >> Signed-off-by: Igor Grinberg >> --- >> arch/arm/cpu/arm920t/at91rm9200/ether.c |

Re: [U-Boot] [PATCH 22/30] km/common: implement setboardid as a command

2011-05-02 Thread Holger Brunck
Hi, On 04/30/2011 10:25 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > <30d7413306aba80ca4540c3353d884bdffe9a643.1302272395.git.valentin.longch...@keymile.com> > you wrote: >> From: Holger Brunck >> >> Read out board id and HW key from the IVM eeprom and set >> these valu

Re: [U-Boot] [PATCH 24/30] km/common: add pnvramsize to default environment

2011-05-02 Thread Holger Brunck
Hi Mr. Denk, On 04/30/2011 10:32 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> The pnvram size was used later from start scripts in linux. Therefore >> it must be set inside u-boot. > > How does this work? A plain setenv() her

[U-Boot] [PATCH V5 1/4] VCMA9: use ARM relocation feature to fix build error

2011-05-02 Thread David Müller
Signed-off-by: David Müller --- include/configs/VCMA9.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) Changes for V5: - remove unneeded comment and change subject diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h index ebe9e42..3cd1bc3 100644 --- a/include/confi

[U-Boot] [PATCH V5 0/4] update VCMA9 port

2011-05-02 Thread David Müller
This patch serie brings the VCMA9 port in sync with the latest U-Boot version by doing the following: - do the necessary adjustments to support the ARM relocation feature - use the CFI flash driver (and removing the old one) - remove the unneeded config.mk file - various cleanups/coding style f

[U-Boot] [PATCH V5 2/4] VCMA9: remove unneeded config.mk

2011-05-02 Thread David Müller
Signed-off-by: David Müller --- board/mpl/vcma9/config.mk | 24 include/configs/VCMA9.h |2 ++ 2 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 board/mpl/vcma9/config.mk diff --git a/board/mpl/vcma9/config.mk b/board/mpl/vcma9/config.mk del

[U-Boot] [PATCH V5 3/4] VCMA9: use CFI driver (and remove the old one)

2011-05-02 Thread David Müller
Signed-off-by: David Müller --- board/mpl/vcma9/Makefile |2 +- board/mpl/vcma9/flash.c | 432 -- board/mpl/vcma9/vcma9.c | 12 ++ include/configs/VCMA9.h | 28 +-- 4 files changed, 22 insertions(+), 452 deletions(-) delete mode 100644 bo

[U-Boot] [PATCH V5 4/4] VCMA9: various cleanups/code style fixes

2011-05-02 Thread David Müller
Signed-off-by: David Müller --- board/mpl/vcma9/Makefile|4 +- board/mpl/vcma9/cmd_vcma9.c | 56 + board/mpl/vcma9/lowlevel_init.S | 549 ++- board/mpl/vcma9/vcma9.c | 272 +--- board/mpl/vcma9/vcma9.h |

Re: [U-Boot] [PATCH 06/30] powerpc/km82xx: move SDRAM config to board config

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 09:56 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > <08249e40b548fff1e636cecf980e11adabda14ac.1302272395.git.valentin.longch...@keymile.com> > you wrote: >> From: Holger Brunck >> >> To be prepared for mgcoge3ne which has a different SDRAM on board.

[U-Boot] [PATCH v3 1/3] ftsmc020: fix relocation

2011-05-02 Thread Macpaul Lin
Avoid relocation problem by fix global declaration. Signed-off-by: Macpaul Lin --- Changes for v2: - Remove assembly register offsets for support lowlevel_init.S. - The nested structure of register offsets has been rewrote. - Fix relocation related declaration. Changes for v3: - Split thi

[U-Boot] [PATCH v3 2/3] ftsmc020: un-nest the register structure in header

2011-05-02 Thread Macpaul Lin
Un-nestted the register structure in ftsmc020.h Signed-off-by: Macpaul Lin --- Changes for v2: - Remove assembly register offsets for support lowlevel_init.S. - The nested structure of register offsets has been rewrote. - Fix relocation related declaration. Changes for v3: - Split this pa

[U-Boot] [PATCH v3 3/3] ftsmc020: add missing definitions

2011-05-02 Thread Macpaul Lin
Add missing definitions in header file according to datasheet. Signed-off-by: Macpaul Lin --- Changes for v2: - Remove assembly register offsets for support lowlevel_init.S. - The nested structure of register offsets has been rewrote. - Fix relocation related declaration. Changes for v3:

Re: [U-Boot] [PATCH 08/30] powerpc/km82xx: rename mgcoge2ne to mgcoge3ne board support

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 10:05 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> This patch rename mgcoge2ne board support to mgcoge3ne. >> The board is similar to mgcoge. The difference is that >> a NUMONYX flash is used and a larger S

Re: [U-Boot] [PATCH 10/30] arm/km: add addbootcount environment variable

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 10:09 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> This environment variable is used to set the bootcount address >> for the kernel. > > "addbootcount" reads to me as "add something to the boot counter". I

Re: [U-Boot] [PATCH 23/30] km/common: replace env var checkboardidlist by function

2011-05-02 Thread Holger Brunck
Hello, On 04/30/2011 10:29 AM, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Thomas Herzmann >> >> The environment variable (defining a checkboardidlist function) >> has been replaced by a u-boot function call. This call is much >> faster and the envir

Re: [U-Boot] [PATCH] mvsata: issue hard reset on initialization

2011-05-02 Thread Prafulla Wadaskar
> -Original Message- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: Monday, May 02, 2011 3:35 AM > To: u-boot@lists.denx.de > Cc: Michael Walle; Prafulla Wadaskar > Subject: [PATCH] mvsata: issue hard reset on initialization > > Before the actual initialization do a hard reset o

Re: [U-Boot] [PATCH 06/30] powerpc/km82xx: move SDRAM config to board config

2011-05-02 Thread Wolfgang Denk
Dear Holger Brunck, In message <4dbe659d.3040...@keymile.com> you wrote: > > BTW: What would your proposal for a filename for a SDRAM specific header? Name it after the SDRAM chip type? I think we should create a directory hierarchy for this: chips/sdram/ chips/ddr/ chi

Re: [U-Boot] [PATCH 08/30] powerpc/km82xx: rename mgcoge2ne to mgcoge3ne board support

2011-05-02 Thread Wolfgang Denk
Dear Holger Brunck, In message <4dbe6962.1010...@keymile.com> you wrote: > > the SDRAM configuration is different to mgcoge. And the CFI flash on mgcoge > has > a dual die in a single chip and therefore e.g.CONFIG_SYS_MAX_FLASH_BANKS is > different to mgcoge3ne. OK, but these can trivially be ha

Re: [U-Boot] [PATCH 23/30] km/common: replace env var checkboardidlist by function

2011-05-02 Thread Wolfgang Denk
Dear Holger Brunck, In message <4dbe6b91.7090...@keymile.com> you wrote: > > > How well has this code been tested? I may not understand it correctly > > (which might be an indication that some comments are missing that > > actually explain what you are doing), or there might be some unhandled >

Re: [U-Boot] [PATCH v2 3/6] Kirkwood: allow to override CONFIG_SYS_TCLK

2011-05-02 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:sgui...@lacie.com] > Sent: Monday, May 02, 2011 2:40 AM > To: Prafulla Wadaskar; Albert ARIBAUD; Wolfgang Denk > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH v2 3/6] Kirkwood: allow to override CONFIG_SYS_TCLK > > This patch a

Re: [U-Boot] Pull request: u-boot-arm/master

2011-05-02 Thread Macpaul Lin
Hi Wolfgang, 2011/5/1 Wolfgang Denk : > Dear Macpaul Lin, > > OK, as you explain it, can you please split this commit into 4 > separate patches then: > > 1) code clean up > 2) fix relocation problem > 3) reorganize structures for better coding style > 4) enhance code I have split the original pat

Re: [U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash

2011-05-02 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:sgui...@lacie.com] > Sent: Monday, May 02, 2011 2:40 AM > To: Prafulla Wadaskar; Albert ARIBAUD; Wolfgang Denk > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH v2 2/6] sf: disable write protection for Macronix flash > > Signed-o

Re: [U-Boot] [PATCH 6/6] Add support for Network Space v2

2011-05-02 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:simon.gui...@sequanux.org] > Sent: Sunday, May 01, 2011 8:34 PM > To: Prafulla Wadaskar; Albert ARIBAUD > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH 6/6] Add support for Network Space v2 > > From: Simon Guinot > > This pat

Re: [U-Boot] [PATCH 08/30] powerpc/km82xx: rename mgcoge2ne to mgcoge3ne board support

2011-05-02 Thread Holger Brunck
On 05/02/2011 10:42 AM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message <4dbe6962.1010...@keymile.com> you wrote: >> >> the SDRAM configuration is different to mgcoge. And the CFI flash on mgcoge >> has >> a dual die in a single chip and therefore e.g.CONFIG_SYS_MAX_FLASH_BANKS is >> di

Re: [U-Boot] [PATCH v7 01/10] nds32: add header files support for nds32

2011-05-02 Thread Macpaul Lin
Hi Wolfgang, 2011/4/30 Wolfgang Denk : > Dear Macpaul Lin, > > It means adding any new code to U-Boot which includes "typedef"s. > >> According to the checkpatch result, "typedef" warning exists in 4 files. >> arch/nds32/include/asm/posix_types.h >> arch/nds32/include/asm/types.h >> arch/nds32/inc

[U-Boot] [PATCH v3 2/5] Kirkwood: allow to override CONFIG_SYS_TCLK

2011-05-02 Thread Simon Guinot
From: Simon Guinot This patch allow to override CONFIG_SYS_TCLK from board configuration files. This is needed for the Network Space v2 which use a non standard core clock frequency (166MHz instead of 200MHz for a 6281 SoC). As a possible enhancement for 6281 and 6282 devices, TCLK could be dyna

[U-Boot] [PATCH v3 3/5] mv-common.h: fix DRAM banks configuration

2011-05-02 Thread Simon Guinot
From: Simon Guinot The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is needed to configure DRAM banks. This patch move the asm/arch/config.h header inclusion above the DRAM banks configuration. Additionally this patch fix a typo. Signed-off-by: Simon Guinot --- include/con

[U-Boot] [PATCH v3 0/6] Add support for LaCie NAS Network Space v2

2011-05-02 Thread Simon Guinot
This patch series adds support for Network Space v2 board and parents. Changes since v1: - netconsole: restore NetOurIP check - add entries to MAINTAINERS file - move boards from root Makefile to boards.cfg - move MACH_TYPE definition into netspace_v2.h - remove CONFIG_SYS_HZ redefinitio

[U-Boot] [PATCH v3 1/5] sf: disable write protection for Macronix flash

2011-05-02 Thread Simon Guinot
From: Simon Guinot Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c | 42 ++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 8e4d71c..9a3895d 100644 --- a/drivers/mt

[U-Boot] [PATCH v3 4/5] netconsole: remove `serverip' check

2011-05-02 Thread Simon Guinot
From: Simon Guinot Netconsole use the environment variable `ncip' to configure the destination IP. `serverip' don't need to be defined. Signed-off-by: Simon Guinot --- net/net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index e50bdf1..19ac

[U-Boot] [PATCH v3 5/5] Add support for Network Space v2

2011-05-02 Thread Simon Guinot
From: Simon Guinot This patch add support for the Network Space v2 board and parents. This include Network Space (Max) v2 and Internet Space v2. Signed-off-by: Simon Guinot --- MAINTAINERS |6 + board/LaCie/netspace_v2/Makefile | 49 ++ board/LaCie/

Re: [U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash

2011-05-02 Thread Simon Guinot
Hi Prafulla, On Mon, May 02, 2011 at 01:53:29AM -0700, Prafulla Wadaskar wrote: > > static int macronix_write(struct spi_flash *flash, > > u32 offset, size_t len, const void *buf) > > { > > @@ -223,5 +307,8 @@ struct spi_flash *spi_flash_probe_macronix(struct > > spi_slave

Re: [U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash

2011-05-02 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:simon.gui...@sequanux.org] > Sent: Monday, May 02, 2011 3:28 PM > To: Prafulla Wadaskar > Cc: Simon Guinot; Albert ARIBAUD; Wolfgang Denk; u-boot@lists.denx.de; > Prabhanjan Sarnaik; Ashish Karkare; Mike Frysinger > Subject: Re: [U-Boot] [

Re: [U-Boot] [PATCH 3/3] arm: at91: ether: Prepare for mach-types.h changes

2011-05-02 Thread Detlev Zundel
Hi Igor, > On 05/01/11 22:38, Reinhard Meyer wrote: > >> Dear Igor Grinberg, >> >>> at91 ethernet module used machine_is_cbs337() macro for board specific >>> Linux compatibility issue. >>> Use compile time defines instead. >>> >>> Signed-off-by: Igor Grinberg >>> --- >>> arch/arm/cpu/arm920t/a

Re: [U-Boot] [PATCH 6/6] Add support for Network Space v2

2011-05-02 Thread Simon Guinot
On Mon, May 02, 2011 at 02:18:10AM -0700, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Simon Guinot [mailto:simon.gui...@sequanux.org] > > Sent: Sunday, May 01, 2011 8:34 PM > > To: Prafulla Wadaskar; Albert ARIBAUD > > Cc: u-boot@lists.denx.de; Simon Guinot > > Subject:

Re: [U-Boot] Pull request: u-boot-arm/master

2011-05-02 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > > I have split the original patch v2 "ftsmc020: enhanced features and unnested > structures - http://patchwork.ozlabs.org/patch/89078/"; into 3 patches > according to your suggestion as follows: > > ftsmc020: fix relocation > http://patchwork.ozlabs.org

[U-Boot] [PATCH] ftpmu010.h: fix some missing declaration in header

2011-05-02 Thread Macpaul Lin
Fix some missing declaration in header. Signed-off-by: Macpaul Lin --- include/faraday/ftpmu010.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/faraday/ftpmu010.h b/include/faraday/ftpmu010.h index 77c29a9..5e9d7b9 100644 --- a/include/faraday/ftpmu010.h +++

Re: [U-Boot] PPC405EX CHIP_21 erratum

2011-05-02 Thread Stefan Roese
Hi Steve, On Friday 29 April 2011 18:54:02 Steven A. Falco wrote: > We've been bitten by the PPC405EX CHIP_21 erratum. How did it affect you exactly? Was an incorrect PVR detected? Did this result in some problems (Linux etc)? > I've looked through the > U-Boot code, but it doesn't appear that

Re: [U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash

2011-05-02 Thread Mike Frysinger
On Mon, May 2, 2011 at 04:53, Prafulla Wadaskar wrote: > From: Simon Guinot [mailto:sgui...@lacie.com] >> --- a/drivers/mtd/spi/macronix.c >> +++ b/drivers/mtd/spi/macronix.c >> +     if (macronix_disable_protect(&mcx->flash)) >> +             printf("SF: disable write protection failed\n"); > > Th

Re: [U-Boot] [PATCH 3/7] JFFS2: Calculate buf_len before we read data from flash

2011-05-02 Thread Detlev Zundel
Hi Baidu, > Hi, Detlev : > > 2011/4/30 Detlev Zundel : >> Hi Baidu, >> >> [...] >> > diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c > index 8eb77b1..be6ac78 100644 > --- a/fs/jffs2/jffs2_1pass.c > +++ b/fs/jffs2/jffs2_1pass.c > @@ -1643,6 +1643,8 @@ jffs2_1pass_bu

Re: [U-Boot] [PATCH 6/7] JFFS2: scanning performance improvement

2011-05-02 Thread Detlev Zundel
Hi Baidu, > Hi,Detlev > >>> +                             } >>> + >> >> This has style-problems.  Actually all of your patches have style >> problems.  Checking them as one single patch gives: >> >> total: 32 errors, 22 warnings, 369 lines checked >> >> Please rework the whole series. > > I do not

[U-Boot] [PATCH v2 3/3] arm: at91: ether: Prepare for mach-types.h changes

2011-05-02 Thread Igor Grinberg
at91 ethernet module used machine_is_cbs337() macro for board specific Linux compatibility issue. Remove this, as no such board exist in current U-Boot tree. Signed-off-by: Igor Grinberg --- arch/arm/cpu/arm920t/at91rm9200/ether.c | 18 +++--- 1 files changed, 3 insertions(+), 15 d

[U-Boot] [PATCH] powerpc/corenet_ds: Change CONFIG_SYS_DCSRBAR_PHYS

2011-05-02 Thread Trübenbach , Ralf
This patch changes DCSR's 36 bit physical address from F__ to F_F000_. Most 36bit physical addresses (except SDRAM/PCI MEM...) are at F__ + <32BIT_ADDR>. To be consistent we should change CONFIG_SYS_DCSRBAR_PHYS. Tested at P4080_DS eval board. Signed-off-by: Ralf Trübenbac

Re: [U-Boot] [PATCH 0/5] introduce nand write.ubi, and drop ffs for jffs2 too

2011-05-02 Thread Detlev Zundel
Hi Artem, > On Fri, 2011-04-29 at 13:58 +0200, Detlev Zundel wrote: >> Hi Ben, >> >> > It was found that on da850evm, where the NAND ECC used does not map all >> > 0xff >> > data to 0xff ECC, that flashing UBI and JFFS2 image from U-boot with nand >> > write[.e] command resulted in alot of ECC e

[U-Boot] [PATCH v9 02/10] nds32: add NDS32 support into common header file

2011-05-02 Thread Macpaul Lin
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin Changes for v1-v7: - No change Changes for v8: - Fix the patch according to dependency of x86's Fix Changes for v9: - No change --- include/common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --

[U-Boot] [PATCH v9 01/10] nds32: add header files support for nds32

2011-05-02 Thread Macpaul Lin
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by: Macpaul Lin Changes for v1-v4: - Code cleanup and style formatting. Changes for v5-v6: - This patch also updated the following changes against the chang

[U-Boot] [PATCH v9 04/10] nds32/ag101: dev offset header of SoC ag101

2011-05-02 Thread Macpaul Lin
Add header file of device offset support for SoC ag101. SoC ag101 is the first chip using NDS32 N1213 cpu core. Note: Ag101 is actually use ftsdmc021 instead of ftsdmc020 as dram controller, which is probably wrong in the datasheet. Signed-off-by: Macpaul Lin Changes for v1-v6: - Code

[U-Boot] [PATCH v9 03/10] nds32/core N1213: NDS32 N12 core family N1213

2011-05-02 Thread Macpaul Lin
Add N1213 cpu core (N12 Core family) support for NDS32 arch. This patch includes start.S for the initialize procedure of N1213. NDS32 Core N1213 has the following hardware features. Core: - 16-/32-bit mixable instruction format - 32 general-purpose 32-bit registers - 8-stage pipeline - D

[U-Boot] [PATCH v9 05/10] nds32/ag101: lowlevel_init.S of ag101

2011-05-02 Thread Macpaul Lin
lowlevel_init.S is a peripheral initial procedure of ag101. It configures onboard dram, clock, and power settings. It also prepars the dram environment before moving u-boot from rom and flash into dram. This version of lowlevel_init.S also replace hardcode value by MARCO defines from the GPL versi

[U-Boot] [PATCH v9 06/10] nds32/ag101: cpu and init funcs of SoC ag101

2011-05-02 Thread Macpaul Lin
Add main function of SoC ag101 based on NDS32 n1213 core. cpu.c According to the bootstrap procedure in n1213 Core, to turn off watchdog timer is suggested after the cpu is in superuser mdoe. 1. bootstrap 1.1 reset - start of Andesboot 1.2 to superuser mode - as is when reset 1.3 Turn off

[U-Boot] [PATCH v9 07/10] nds32/lib: add generic funcs in NDS32 lib

2011-05-02 Thread Macpaul Lin
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin Changes for v1-v4: - code clean up and formatting style. Changes for v5-v6: - board.c - Do some clean up and add code - Remove display banner which hasn't support. - Add ftpmu

[U-Boot] [PATCH v9 08/10] nds32: standalone support

2011-05-02 Thread Macpaul Lin
Add standalone program related support for nds32 architecture. Signed-off-by: Macpaul Lin Changes for v1-v6: - code clean up. Changes for v7-v9: - No change. --- examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17

[U-Boot] [PATCH v9 09/10] nds32: common bdinfo, bootm, image support

2011-05-02 Thread Macpaul Lin
Add support of NDS32 to common commands bdinfo, bootm, and image format. Signed-off-by: Macpaul Lin Changes for v1-v6: - Code clean up Changes for v7-v9: - No Change. --- common/cmd_bdinfo.c | 28 +++- common/cmd_bootm.c |2 ++ common/image.c |1 + in

[U-Boot] [PATCH v9 10/10] adp-ag101: add board adp-ag101 support

2011-05-02 Thread Macpaul Lin
Add evaluation board "adp-ag101" aconfiguration file adp-ag101.h. Add adp-ag101.c board config and related settings. Add board adp-ag101 into boards.cfg Signed-off-by: Macpaul Lin Changes for v1-v4: - code clean up Changes for v5-v6: - Refine the definitions and parameters about CLK, AHB

Re: [U-Boot] ttyO2 and ttyS2 in console bootcmd.

2011-05-02 Thread Frank Agius
On 5/1/2011 7:16 PM, Chris Rodley wrote: > Hi, > > How does uboot specify whether it accepts ttySO or ttyS2 in the console > part of the boot cmd. > I am trying to boot the 2.6.39 kernel .. my new uboot works with 2.6.32 > using ttyS2. > > It does not work with the new 2.6.39, but I can get

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Alexander Stein
Dear Wolfgang, Am Mittwoch, 27. April 2011, 21:08:50 schrieb Wolfgang Denk: > In message <201104271759.11818.alexander.st...@systec-electronic.com> you wrote: > > Setting stdin, stdout and stderr takes a lot of time (IIRC ~500ms). Which > > IMO is useless on a bootloader without LCD support. > >

Re: [U-Boot] [PATCH] powerpc/corenet_ds: Change CONFIG_SYS_DCSRBAR_PHYS

2011-05-02 Thread Kumar Gala
On May 2, 2011, at 7:59 AM, Trübenbach, Ralf wrote: > This patch changes DCSR's 36 bit physical address from F__ > to F_F000_. > > Most 36bit physical addresses (except SDRAM/PCI MEM...) are at > F__ + <32BIT_ADDR>. To be consistent we should > change CONFIG_SYS_DCSRBAR_PH

[U-Boot] [PATCH] sntp: fix problems at setting RTC at multi-bus I2C systems

2011-05-02 Thread Trübenbach , Ralf
Setting the RTC via SNTP did not work if the current I2C bus no. is different from the bus no. the RTC is connected to. Signed-off-by: Ralf Trübenbach --- I don't like that I have to include the I2C things into sntp.c. But changing the rtc_set() function in 20 RTC drivers I don't like, too. di

Re: [U-Boot] [GIT PULL] Pull request u-boot-mpc85xx.git

2011-05-02 Thread Kumar Gala
On Apr 30, 2011, at 4:03 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message you > wrote: >> >> The following changes since commit a000b7950da938d2df37ec5e081cd0680e6e4bbe: > ... >> Trübenbach, Ralf (1): >> powerpc/85xx: Fix Wrong PCIe 3 virtual address on corenet_ds platforms >

Re: [U-Boot] [PATCH v9 05/10] nds32/ag101: lowlevel_init.S of ag101

2011-05-02 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1304342712-17120-5-git-send-email-macp...@andestech.com> you wrote: > lowlevel_init.S is a peripheral initial procedure of ag101. > It configures onboard dram, clock, and power settings. > It also prepars the dram environment before moving u-boot > from rom and flash

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Detlev Zundel
Hi Alexander, > Dear Wolfgang, > > Am Mittwoch, 27. April 2011, 21:08:50 schrieb Wolfgang Denk: >> In message <201104271759.11818.alexander.st...@systec-electronic.com> you > wrote: >> > Setting stdin, stdout and stderr takes a lot of time (IIRC ~500ms). Which >> > IMO is useless on a bootloader

Re: [U-Boot] [PATCH v9 10/10] adp-ag101: add board adp-ag101 support

2011-05-02 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1304342712-17120-10-git-send-email-macp...@andestech.com> you wrote: > Add evaluation board "adp-ag101" aconfiguration file adp-ag101.h. > Add adp-ag101.c board config and related settings. > Add board adp-ag101 into boards.cfg ... > + if (expected_size != actual_

Re: [U-Boot] [PATCH] spi: Tegra2: Add SPI driver for SPIFLASH on Seaboard

2011-05-02 Thread Tom Warren
Mike, On Fri, Apr 29, 2011 at 4:21 PM, Mike Frysinger wrote: > On Thursday, April 28, 2011 10:55:13 Tom Warren wrote: >> Signed-off-by: Tom Warren >> --- >> This patch adds support for the SPIFLASH peripheral on Tegra2 (SPI 1). >> Probe, erase, read and write are all supported, as well as low-le

Re: [U-Boot] [PATCH] GPIO: Tegra2: add GPIO driver for Seaboard and Harmony

2011-05-02 Thread Tom Warren
Mike, On Fri, Apr 29, 2011 at 4:22 PM, Mike Frysinger wrote: > same as the SPI patch, if this is a driver for GPIO hardware on a processor, > then it should be labeled as such.  do not mention specific boards. OK. I'll change the comments. > > changes that update board config headers to enable th

Re: [U-Boot] [PATCH v9 05/10] nds32/ag101: lowlevel_init.S of ag101

2011-05-02 Thread Macpaul Lin
Hi Wolfgang, > Patch changelog belongs _below_ the "---" line, not above. Sorry for this mistaken, will fix in Patch v10 >>  arch/nds32/cpu/n1213/ag101/lowlevel_init.S |  160 >> >>  1 files changed, 160 insertions(+), 0 deletions(-) >>  create mode 100644 arch/nds32

Re: [U-Boot] [GIT PULL] Pull request u-boot-mpc85xx.git

2011-05-02 Thread Tabi Timur-B04825
On Mon, May 2, 2011 at 10:00 AM, Kumar Gala wrote: > I thought that was less of an issue because of our use of patchworks. How? Patchwork uses the same subject line as the email. There's still the problem of trying to correlate the actual commit to the entry in patchwork. On the other hand, I

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Alexander Stein
Hi Detlev, Am Montag, 2. Mai 2011, 17:31:15 schrieb Detlev Zundel: > Hi Alexander, > > > Dear Wolfgang, > > > > Am Mittwoch, 27. April 2011, 21:08:50 schrieb Wolfgang Denk: > >> In message <201104271759.11818.alexander.st...@systec-electronic.com> > >> you > > > > wrote: > >> > Setting stdin, s

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Detlev Zundel
Hi Alexander, [...] >> > Ok, let me be more precise on this. >> > We used U-Boot v2010.09 on a custom board running on an I.MX35 (ARM1136). >> > We noticed the following code snippet took relatively long. >> > >> >>From common/console.c in console_init_r(void): >> >> /* Setting environment varia

[U-Boot] [PATCH 2/2] powerpc/85xx: verify the device tree before booting Linux

2011-05-02 Thread Timur Tabi
Introduce ft_verify_fdt(), a function that is called after the device tree has been fixed up, to display warning messages if there is a mismatch between the physical addresses of some devices that U-Boot has configured with what the device tree says the addresses are. This is a particular problem

Re: [U-Boot] [PATCH v2] MPC837x: set i2c1_clk

2011-05-02 Thread Kim Phillips
On Thu, 14 Apr 2011 14:57:40 +0200 Andre Schwarz wrote: > Running on mpc837x without CONFIG_FSL_ESDHC leads to > i2c1_clk not being set at all. It is bound to clock > of encryption module. fix this. > > > Signed-off-by: Andre Schwarz > --- > Changes for v2: > - fix commit message mang

[U-Boot] [PATCH 1/2] fdt: introduce fdt_verify_alias_address() and fdt_get_base_address()

2011-05-02 Thread Timur Tabi
Introduce two functions, fdt_verify_alias_address() and fdt_get_base_address(), which can be used to verify the physical address of a device in a device tree. fdt_get_base_address() returns the base address of an SOC or PCI node. fdt_verify_alias_address() prints a message if the address of a nod

Re: [U-Boot] [PATCH] mpc83xx fdt: do not adjust clock frequency of external UARTs

2011-05-02 Thread Kim Phillips
On Fri, 15 Apr 2011 14:30:33 +0200 David Müller wrote: > The current 83xx FDT implementation adjusts the clock frequency of all > 16550 UARTs found in the device tree. This behaviour is ok for the UARTs > which are part of the SoC, but wrong for any additional external UART. > > Signed-off-by: D

Re: [U-Boot] [PATCH v3 1/5] sf: disable write protection for Macronix flash

2011-05-02 Thread Mike Frysinger
On Mon, May 2, 2011 at 05:38, Simon Guinot wrote: > --- a/drivers/mtd/spi/macronix.c > +++ b/drivers/mtd/spi/macronix.c > @@ -120,6 +120,45 @@ >        }, >  }; > > +static int macronix_write_status(struct spi_flash *flash, u8 sr) > +{ > +       u8 cmd; > +       int ret; > + > +       ret = spi_fl

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Wolfgang Denk
Dear Alexander Stein, In message <201105021640.27241.alexander.st...@systec-electronic.com> you wrote: > > Ok, let me be more precise on this. > We used U-Boot v2010.09 on a custom board running on an I.MX35 (ARM1136). Let's summarize known facts: 1. You are talking about an out-of-tree port, i

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Wolfgang Denk
Dear Alexander Stein, In message <201105021807.52142.alexander.st...@systec-electronic.com> you wrote: > > Our 'fix' was removing the stated lines at all. Did you understand what you were doing? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zun

Re: [U-Boot] [GIT PULL] Pull request u-boot-mpc85xx.git

2011-05-02 Thread Wolfgang Denk
Dear Tabi Timur-B04825, In message you wrote: > > How? Patchwork uses the same subject line as the email. There's > still the problem of trying to correlate the actual commit to the > entry in patchwork. > > On the other hand, I don't know of any good way to correct a patch's > subject line wi

Re: [U-Boot] [GIT PULL] Pull request u-boot-mpc85xx.git

2011-05-02 Thread Wolfgang Denk
Dear Kumar Gala, In message <9bc90f9c-896b-47e9-b445-2692aad1f...@kernel.crashing.org> you wrote: > > > It appears you are changing the commit messages without notice? > > > > The posted subject was: > > > > QorIQ corenet_ds.h: Wrong PCIe 3 virtual address > > > > Please don't - this makes it

Re: [U-Boot] [PATCH] sntp: fix problems at setting RTC at multi-bus I2C systems

2011-05-02 Thread Mike Frysinger
On Monday, May 02, 2011 10:57:11 Trübenbach, Ralf wrote: > Setting the RTC via SNTP did not work if the current I2C bus no. is > different from the bus no. the RTC is connected to. > > Signed-off-by: Ralf Trübenbach > --- > I don't like that I have to include the I2C things into sntp.c. > But cha

Re: [U-Boot] [PATCH] sntp: fix problems at setting RTC at multi-bus I2C systems

2011-05-02 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Tr=FCbenbach=2C_Ralf?=, In message you wrote: > Setting the RTC via SNTP did not work if the current I2C bus no. is > different from the bus no. the RTC is connected to. > > Signed-off-by: Ralf Tr=FCbenbach > --- > I don't like that I have to include the I2C things into snt

Re: [U-Boot] [PATCH v3 1/5] sf: disable write protection for Macronix flash

2011-05-02 Thread Simon Guinot
Hi Mike, On Mon, May 02, 2011 at 12:50:13PM -0400, Mike Frysinger wrote: > On Mon, May 2, 2011 at 05:38, Simon Guinot wrote: > > --- a/drivers/mtd/spi/macronix.c > > +++ b/drivers/mtd/spi/macronix.c > > @@ -120,6 +120,45 @@ > >        }, > >  }; > > > > +static int macronix_write_status(struct spi

[U-Boot] LED Status APIs

2011-05-02 Thread Michael Walle
Hi, i'm currently developing a BSP for the Buffalo LS-XHL (ARM based) and stumble across the two LED APIs. Is there any particular reason to have two different APIs? I guess an ARM BSP has to support both? Eg. the 'classic status API' is used in cmd_ide.c for example and the ARM one is used i

Re: [U-Boot] LED Status APIs

2011-05-02 Thread Wolfgang Denk
Dear Michael Walle, In message <201105022219.58458.mich...@walle.cc> you wrote: > > i'm currently developing a BSP for the Buffalo LS-XHL (ARM based) and stumble > across the two LED APIs. > > Is there any particular reason to have two different APIs? I guess an ARM BSP > has to support both?

[U-Boot] [PATCH v4 0/5] Add support for LaCie NAS Network Space v2

2011-05-02 Thread Simon Guinot
From: Simon Guinot This patch series adds support for Network Space v2 board and parents. Changes since v1: - netconsole: restore NetOurIP check - add entries to MAINTAINERS file - move boards from root Makefile to boards.cfg - move MACH_TYPE definition into netspace_v2.h - remove CONF

[U-Boot] [PATCH v4 3/5] mv-common.h: fix DRAM banks configuration

2011-05-02 Thread Simon Guinot
From: Simon Guinot The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is needed to configure DRAM banks. This patch move the asm/arch/config.h header inclusion above the DRAM banks configuration. Additionally this patch fix a typo. Signed-off-by: Simon Guinot --- include/con

[U-Boot] [PATCH v4 1/5] sf: disable write protection for Macronix flash

2011-05-02 Thread Simon Guinot
From: Simon Guinot Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c | 42 ++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 96fd5f0..dacbc28 100644 --- a/drivers/mt

[U-Boot] [PATCH v4 4/5] netconsole: remove `serverip' check

2011-05-02 Thread Simon Guinot
From: Simon Guinot Netconsole use the environment variable `ncip' to configure the destination IP. `serverip' don't need to be defined. Signed-off-by: Simon Guinot --- net/net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index e50bdf1..19ac

[U-Boot] [PATCH v4 2/5] Kirkwood: allow to override CONFIG_SYS_TCLK

2011-05-02 Thread Simon Guinot
From: Simon Guinot This patch allow to override CONFIG_SYS_TCLK from board configuration files. This is needed for the Network Space v2 which use a non standard core clock frequency (166MHz instead of 200MHz for a 6281 SoC). As a possible enhancement for 6281 and 6282 devices, TCLK could be dyna

[U-Boot] [PATCH v4 5/5] Add support for Network Space v2

2011-05-02 Thread Simon Guinot
From: Simon Guinot This patch add support for the Network Space v2 board and parents, based on the Marvell Kirkwood SoC. This include Network Space (Max) v2 and Internet Space v2. Signed-off-by: Simon Guinot --- MAINTAINERS |6 + board/LaCie/netspace_v2/Makefile

Re: [U-Boot] [PATCH v4 1/5] sf: disable write protection for Macronix flash

2011-05-02 Thread Mike Frysinger
thanks, ive added this to my sf branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] spi: Tegra2: Add SPI driver for SPIFLASH on Seaboard

2011-05-02 Thread Mike Frysinger
On Monday, May 02, 2011 11:33:24 Tom Warren wrote: > On Fri, Apr 29, 2011 at 4:21 PM, Mike Frysinger wrote: > > On Thursday, April 28, 2011 10:55:13 Tom Warren wrote: > >> This patch adds support for the SPIFLASH peripheral on Tegra2 (SPI 1). > >> Probe, erase, read and write are all supported, as

Re: [U-Boot] [PATCH v4 0/5] Add support for LaCie NAS Network Space v2

2011-05-02 Thread Wolfgang Denk
Dear Simon Guinot, In message <1304370102-5978-1-git-send-email-simon.gui...@sequanux.org> you wrote: > From: Simon Guinot > > This patch series adds support for Network Space v2 board and parents. > > Changes since v1: ... Please read http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updat

Re: [U-Boot] PPC405EX CHIP_21 erratum

2011-05-02 Thread Steven A. Falco
> Hi Steve, > > On Friday 29 April 2011 18:54:02 Steven A. Falco wrote: >> We've been bitten by the PPC405EX CHIP_21 erratum. > > How did it affect you exactly? Was an incorrect PVR detected? Did this result > in some problems (Linux etc)? The problem goes way beyond the PVR value. We have bee

Re: [U-Boot] LED Status APIs

2011-05-02 Thread Michael Walle
Hi Wolfgang, Am Montag 02 Mai 2011, 22:36:22 schrieb Wolfgang Denk: > Dear Michael Walle, > > In message <201105022219.58458.mich...@walle.cc> you wrote: > > i'm currently developing a BSP for the Buffalo LS-XHL (ARM based) and > > stumble across the two LED APIs. > > > > Is there any particular

Re: [U-Boot] LED Status APIs

2011-05-02 Thread Mike Frysinger
On Monday, May 02, 2011 18:01:29 Michael Walle wrote: > Would it make sense to unify that APIs into a single one? Any thoughts on > that? CONFIG_STATUS_LED is the common API people should migrate to if your LED's are simply connected to a GPIO, and your arch supports the generic GPIO framework,

[U-Boot] [PATCH v5 0/5] Add support for LaCie NAS Network Space v2

2011-05-02 Thread Simon Guinot
This patch series adds support for Network Space v2 board and parents. Changes for v2: - netconsole: restore NetOurIP check - add entries to MAINTAINERS file - move boards from root Makefile to boards.cfg - move MACH_TYPE definition into netspace_v2.h - remove CONFIG_SYS_HZ redefinition

[U-Boot] [PATCH v5 3/5] mv-common.h: fix DRAM banks configuration

2011-05-02 Thread Simon Guinot
From: Simon Guinot The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is needed to configure DRAM banks. This patch move the asm/arch/config.h header inclusion above the DRAM banks configuration. Additionally this patch fix a typo. Signed-off-by: Simon Guinot --- Changes for

[U-Boot] [PATCH v5 1/5] sf: disable write protection for Macronix flash

2011-05-02 Thread Simon Guinot
From: Simon Guinot Signed-off-by: Simon Guinot --- Changes for v2: none Changes for v3: - rewrite patch using the common spi flash code Changes for v4: - use spi_flash_cmd_write_enable() Changes for v5: none drivers/mtd/spi/macronix.c | 42 ++

  1   2   >