[U-Boot] P2020 L2 cache as SRAM

2011-01-17 Thread Fabian Cenedese
Hi We're trying to configure the PPC P2020 cpu to use the L2 cache as SRAM so we can load the U-Boot code in there. However we stumble into problems. Sometimes the cpu goes on trap when trying to access this area. Sometimes there's no trap but we seem to access a different area. That's probably a

[U-Boot] PCIe and Dell parity interrupt

2011-01-17 Thread Fabian Cenedese
Hi We have a PCIe board with a PPC P2020 cpu. We're trying to set it up using U-Boot. Without initializing the PCIe part the PC won't even boot. Now we seem to have the initialization part running but we sometimes get an error on the PC: I/O Card Parity Interrupt Some googleing suggests that thi

Re: [U-Boot] [PATCH 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver

2011-01-17 Thread Stefano Babic
On 01/16/2011 07:17 PM, Anatolij Gustschin wrote: > The MXC SPI driver didn't calculate the SPI clock up to > now and just used lowest possible divider 512 for DATA > RATE in the control register. This results in very low > transfer rates. > Hi August, I sent last friday a patch for mxc_spi.c, t

Re: [U-Boot] [PATCH 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver

2011-01-17 Thread Anatolij Gustschin
Hello Stefano, On Mon, 17 Jan 2011 10:00:51 +0100 Stefano Babic wrote: > On 01/16/2011 07:17 PM, Anatolij Gustschin wrote: > > The MXC SPI driver didn't calculate the SPI clock up to > > now and just used lowest possible divider 512 for DATA > > RATE in the control register. This results in very

Re: [U-Boot] [PATCH 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver

2011-01-17 Thread Anatolij Gustschin
On Mon, 17 Jan 2011 10:30:09 +0100 Anatolij Gustschin wrote: > Hello Stefano, > > On Mon, 17 Jan 2011 10:00:51 +0100 > Stefano Babic wrote: > > > On 01/16/2011 07:17 PM, Anatolij Gustschin wrote: > > > The MXC SPI driver didn't calculate the SPI clock up to > > > now and just used lowest possi

Re: [U-Boot] [PATCH 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver

2011-01-17 Thread Stefano Babic
On 01/17/2011 10:36 AM, Anatolij Gustschin wrote: > BTW: While at it, could you then also please fix a mistake in the > commit description: it should be "... just highest possible divider > 512". Of course, I will do it. Stefano -- ==

Re: [U-Boot] [PATCH] spi: add support SuperH SPI module

2011-01-17 Thread Nobuhiro Iwamatsu
Hi, Shioda-san. 2011/1/17 Yoshihiro Shimoda : > SH7757 has SPI module. This patch supports it. > > Signed-off-by: Yoshihiro Shimoda > --- >  drivers/spi/Makefile |    1 + >  drivers/spi/sh_spi.c |  295 > ++ >  2 files changed, 296 insertions(+), 0

Re: [U-Boot] [PATCH 2/2] net: sh_eth: add support for SH7757's ETHER

2011-01-17 Thread Nobuhiro Iwamatsu
Hi, Shimoda-san. On Mon, Jan 17, 2011 at 01:09:23PM +0900, Yoshihiro Shimoda wrote: > SH7757 has ETHER and GETHER. This patch supports EHTER only. > > Signed-off-by: Yoshihiro Shimoda > --- > drivers/net/sh_eth.c | 42 -- > drivers/net/sh_eth.h | 53 +

Re: [U-Boot] [PATCH] sh: add support for sh7757lcr board

2011-01-17 Thread Nobuhiro Iwamatsu
On Mon, Jan 17, 2011 at 01:11:08PM +0900, Yoshihiro Shimoda wrote: > The R0P7757LC0030RL board has SH7757, 256MB DDR3-SDRAM, SPI ROM, > Ethernet, and more. > > This patch supports the following functions: > - 256MB DDR3-SDRAM > - SPI ROM > - Ethernet > > Signed-off-by: Yoshihiro Shimoda > ---

[U-Boot] [PATCH 03/13] sh: Remove config.mk for r2dplus board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/r2dplus/config.mk | 23 --- include/configs/r2dplus.h |1 + 2 files changed, 1 insertions(+), 23 deletions(-) delet

[U-Boot] [PATCH 02/13] sh: Remove config.mk for ap325rxa board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/ap325rxa/config.mk | 26 -- include/configs/ap325rxa.h |2 ++ 2 files changed, 2 insertions(+), 26 deletions(-)

[U-Boot] [PATCH 04/13] sh: Remove config.mk for r7780mp board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/r7780mp/config.mk | 27 --- include/configs/r7780mp.h |1 + 2 files changed, 1 insertions(+), 27 deletions(-) d

[U-Boot] [PATCH 07/13] sh: Remove config.mk for sh7785lcr board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/sh7785lcr/config.mk | 31 --- include/configs/sh7785lcr.h |2 ++ 2 files changed, 2 insertions(+), 31 deleti

[U-Boot] [PATCH 01/13] sh: Remove config.mk for MigoR board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/MigoR/config.mk | 31 --- include/configs/MigoR.h |1 + 2 files changed, 1 insertions(+), 31 deletions(-) d

[U-Boot] [PATCH 05/13] sh: Remove config.mk for rsk7203 board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/rsk7203/config.mk | 28 include/configs/rsk7203.h |1 + 2 files changed, 1 insertions(+), 28 deletions(-)

[U-Boot] [PATCH 09/13] sh: Remove config.mk for ms7722se board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/ms7722se/config.mk | 31 --- include/configs/ms7722se.h |1 + 2 files changed, 1 insertions(+), 31 deletions(-) delete

[U-Boot] [PATCH 08/13] sh: Remove config.mk for ms7720se board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/ms7720se/config.mk | 34 -- include/configs/ms7720se.h |1 + 2 files changed, 1 insertions(+), 34 deletions(-) dele

[U-Boot] [PATCH 10/13] sh: Remove config.mk for ms7750se board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/ms7750se/config.mk | 23 --- include/configs/ms7750se.h |1 + 2 files changed, 1 insertions(+), 23 deletions(-) delete mode 100

[U-Boot] [PATCH 13/13] sh: Remove config.mk for shmin board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/shmin/config.mk | 27 --- include/configs/shmin.h |1 + 2 files changed, 1 insertions(+), 27 deletions(-) delete mode 10064

[U-Boot] [PATCH 11/13] sh: Remove config.mk for mpr2 board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/mpr2/config.mk | 37 - include/configs/mpr2.h |2 ++ 2 files changed, 2 insertions(+), 37 deletions(-) delete m

[U-Boot] [PATCH 12/13] sh: Remove config.mk for espt board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/espt/config.mk |9 - include/configs/espt.h |1 + 2 files changed, 1 insertions(+), 9 deletions(-) delete mode 100644 board/espt/config.m

[U-Boot] [PATCH 06/13] sh: Remove config.mk for sh7763rdp board

2011-01-17 Thread Nobuhiro Iwamatsu
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the unnecessary config.mk file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/sh7763rdp/config.mk | 11 --- include/configs/sh7763rdp.h |1 + 2 files changed, 1 insertions(+), 11 deletions(-) delete mode 1

[U-Boot] [PATCH] sh: Fix MigoR of boards.cfg

2011-01-17 Thread Nobuhiro Iwamatsu
There is not break character between board name and CPU. Signed-off-by: Nobuhiro Iwamatsu --- boards.cfg |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/boards.cfg b/boards.cfg index 0574bb2..705847c 100644 --- a/boards.cfg +++ b/boards.cfg @@ -755,7 +755,7 @@ r7780mp

Re: [U-Boot] [PATCH] sh: add checking the CONFIG_SYS_NO_FLASH

2011-01-17 Thread Nobuhiro Iwamatsu
On Mon, Jan 17, 2011 at 01:06:51PM +0900, Yoshihiro Shimoda wrote: > Signed-off-by: Yoshihiro Shimoda > --- > arch/sh/lib/board.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c > index cdac382..b8cd8f3 100644 > --- a/a

Re: [U-Boot] [PATCH 1/2] net: sh_eth: add cache handling

2011-01-17 Thread Nobuhiro Iwamatsu
On Mon, Jan 17, 2011 at 01:08:58PM +0900, Yoshihiro Shimoda wrote: > Some CPU needs cache handling. So this patch add the config of > CONFIG_SH_ETHER_CACHE_WRITEBACK, and it calls wback function. > > Signed-off-by: Yoshihiro Shimoda > --- > drivers/net/sh_eth.c |9 + > 1 files change

Re: [U-Boot] [PATCH] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

2011-01-17 Thread Nobuhiro Iwamatsu
On Mon, Jan 17, 2011 at 01:07:20PM +0900, Yoshihiro Shimoda wrote: > Fix the problem which cannot build the U-boot, if we only set > the CONFIG_ENV_IS_IN_SPI_FLASH. > > Signed-off-by: Yoshihiro Shimoda Acked-by: Nobuhiro Iwamatsu > --- > include/environment.h |1 + > 1 files changed, 1 ins

Re: [U-Boot] [PATCH 05/13] sh: Remove config.mk for rsk7203 board

2011-01-17 Thread Fabio Giovagnini
I'm working on a rsk7203 derived board. I do not have a eth interface. How can I upgrade the kernel using uboot and the serial line? When I finish can I send the support for my board? Thanks On Monday 17 January 2011 13:50:55 Nobuhiro Iwamatsu wrote: > Move CONFIG_SYS_TEXT_BASE to the board's

[U-Boot] Is theer an IRC channel?

2011-01-17 Thread Fabio Giovagnini
Is there please an IRC channel for real time chat about problem with uboot? Regards -- Ing. Fabio Giovagnini Aurion s.r.l. P.I e C.F. 00885711200 skype: aurion.giovagnini Tel. +39.051.594.78.24 Fax. +39.051.082.14.49 Cell. +39.335.83.50.919 www.aurion-tech.com __

Re: [U-Boot] [PATCH][v1] Fix wrong CONFIG_SYS_MPC85xx_SERDES1_ADDR

2011-01-17 Thread Timur Tabi
On Mon, Jan 17, 2011 at 12:40 AM, Prabhakar wrote: > CONFIG_SYS_MPC85xx_SERDES1_ADDR was defined wrong as > CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET. > It should be as > CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES1_OFFSET. > > Signed-off-by: Prabhakar Please resubmit this patch using

[U-Boot] U-Boot mpc8603 support

2011-01-17 Thread Murat Artun
Is there anyone who has an experience on this CPU with U-Boot? -- M u r at  A r t u n, MSc.    Design Engineer "be conservative in what you do, be liberal in what you accept from others" ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

[U-Boot] Uboot with at91sam9G20ek

2011-01-17 Thread Abhishek Ashtekar
Hello, I have spent now more than 2 weeks with U - boot and want the network interface to work so that tftpboot works but my current state seems not very encouraging. A) I am using the AT91SAM9G20EK board. I downloaded tried the U-Boot.2010.12. I have the following results (issue

Re: [U-Boot] U-Boot mpc8603 support

2011-01-17 Thread Murat Artun
My apologies... I should have written MPC8306. On Mon, Jan 17, 2011 at 6:03 PM, Murat Artun wrote: > Is there anyone who has an experience on this CPU with U-Boot? > > -- > M u r at  A r t u n, MSc. >    Design Engineer > > "be conservative in what you do, be liberal in what you accept from other

Re: [U-Boot] [PATCH 7/7] Add support for Freescale's mx35pdk board.

2011-01-17 Thread Jason Liu
Hi, Stefano, 2011/1/14 Stefano Babic : > The patch adds suupport for the Freescale's mx35pdk board > (known as well as mx35_3stack). > > The board boots from the NOR flash. Following devices > are supported: >  - two ethernet devices (FEC and SMC911x on debug board) >  - I2C >  - PMIC (MC13892) vi

Re: [U-Boot] [PATCH 7/7] Add support for Freescale's mx35pdk board.

2011-01-17 Thread Stefano Babic
On 01/17/2011 05:43 PM, Jason Liu wrote: > Hi, Stefano, Hi Jason, > > You want to remove this file, is there this file in the mainline? Of course, it was a mistake. I drop it. >> diff --git a/board/freescale/mx35pdk/config.mk >> b/board/freescale/mx35pdk/config.mk >> new file mode 100644 >> i

Re: [U-Boot] [PATCH 7/7] Add support for Freescale's mx35pdk board.

2011-01-17 Thread Stefano Babic
On 01/17/2011 05:54 PM, Stefano Babic wrote: >> >> Need move this config to board config file and remove this file. > > > I have not understood this point. The link address > CONFIG_SYS_TEXT_BASE > is always set in the config.mk file, because it is needed by the linker > process, and it is not se

[U-Boot] Booting linux 2.6.37+ on rsk7203 eva board

2011-01-17 Thread Fabio Giovagnini
Hi All this is what I do: 1) I run u-Boot getting this output: U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12) CPU: SH2A BOARD: MLCD7203 DRAM: 64MB *** Warning - bad CRC, using default environment Destroy Hash Table: 0c7d6df8 table = (null) Create Hash Table: N=72 INSERT: table 0c7d

Re: [U-Boot] U-Boot mpc8603 support

2011-01-17 Thread Wolfgang Denk
Dear Murat Artun, please don't top post / full quote. See http://www.netmeister.org/news/learn2quote.html In message you wrote: > My apologies... I should have written MPC8306. > > On Mon, Jan 17, 2011 at 6:03 PM, Murat Artun wrote: > > Is there anyone who has an experience on this CPU with U

Re: [U-Boot] Booting linux 2.6.37+ on rsk7203 eva board

2011-01-17 Thread Fabio Giovagnini
On Monday 17 January 2011 19:08:01 Fabio Giovagnini wrote: > Hi All this is what I do: > 1) I run u-Boot getting this output: > U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12) > > CPU: SH2A > BOARD: MLCD7203 > DRAM: 64MB > *** Warning - bad CRC, using default environment > > Destroy

Re: [U-Boot] Booting linux 2.6.37+ on rsk7203 eva board

2011-01-17 Thread Wolfgang Denk
Dear Fabio Giovagnini, In message <201101171908.02343.fabio.giovagn...@aurion-tech.com> you wrote: > Hi All this is what I do: > 1) I run u-Boot getting this output: > U-Boot 2010.12-09860-g9cb5761-dirty (Jan 17 2011 - 18:05:12) > > CPU: SH2A > BOARD: MLCD7203 This appears to be an out-of-tree p

Re: [U-Boot] Uboot with at91sam9G20ek

2011-01-17 Thread Chris Verges
Hi Abhishek, I'm also trying to get U-Boot 2010.12 working on an AT91 board. I came across the following mailing list archive that may help. http://old.nabble.com/-U-Boot--various-at91-patches-to-make-some-boards- compilable-again-td30103062.html Here's a tinyurl (http://tinyurl.com/4fkedr3) i

Re: [U-Boot] Booting linux 2.6.37+ on rsk7203 eva board

2011-01-17 Thread Fabio Giovagnini
Ok, rigth. I'mm newbe of u-bbot and I'd loke to contribute. What could be the usefull info for you? Thanks in advance On Monday 17 January 2011 19:21:27 Wolfgang Denk wrote: > Dear Fabio Giovagnini, > > In message <201101171908.02343.fabio.giovagn...@aurion-tech.com> you wrote: > > Hi All this

[U-Boot] Problem using CodeSourcery 2010.9-50 ARM GDB to debug U-boot w/BDI

2011-01-17 Thread Peter Barada
I'm using the latest ARM GDB from CodeSourcery with a BDI to debug U-Boot 2010.12-rc3 on my hardware and I have a problem trying to access symbols in .bss after loading the symbol table to the relocated address. Apparenlty GDB is translating symbols in .text but not symbols in .bss: Current d

Re: [U-Boot] Pull request: nand flash

2011-01-17 Thread Wolfgang Denk
Dear Scott Wood, In message <20110112231524.ga9...@udp111988uds.am.freescale.net> you wrote: > The following changes since commit c6b734f5aea2ba75caaa1929f7e649ecda8d2f31: > Wolfgang Denk (1): > Merge branch 'master' of git://git.denx.de/u-boot-sh > > are available in the git repository

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2011-01-17 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d2e9e54.6040...@denx.de> you wrote: > Hi Wolfgang, > > The following changes since commit cdc51c294ad33879c4e57edf4c9d2155381b1d59: > > Merge branch 'next' of ../next (2010-12-22 21:16:17 +0100) Is this really you working base? Then you should probably rebase

Re: [U-Boot] [GIT PULL] Pull request: u-boot-i2c

2011-01-17 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4d2ea97d.2010...@denx.de> you wrote: > Hello Wolfgang, > > The following changes since commit 89c95f0cd3f8140f3b8a82a22a6a144c148d09c6: > > asm-offsets: generate bd_t size (2011-01-09 18:08:20 +0100) > > are available in the git repository at: > git://git.de

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2011-01-17 Thread Stefano Babic
On 01/17/2011 08:10 PM, Wolfgang Denk wrote: > Is this really you working base? Then you should probably rebase > against current master first. Yes, I do it. > Please sends your pull request to the Albert, ARM custodian. Sorry, for the inconvenience. Albert has already saw I sent the pull reque

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2011-01-17 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > The following changes since commit c6b734f5aea2ba75caaa1929f7e649ecda8d2f31: > > Merge branch 'master' of git://git.denx.de/u-boot-sh (2011-01-12 23:59:53 > +0100) > > are available in the git repository at: > > git://git.denx.de/u-boot-mpc85xx mas

Re: [U-Boot] Is theer an IRC channel?

2011-01-17 Thread Albert ARIBAUD
Hi Fabio, Le 17/01/2011 14:38, Fabio Giovagnini a écrit : > Is there please an IRC channel for real time chat about problem with uboot? Not that I know of. > Regards Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [PATCH v2 1/1] ARM: */start.S: code cleanup

2011-01-17 Thread Jason Liu
Hi, Albert, 2010/12/23 Jason Liu : > Remove the useless code from start.S > > Signed-off-by: Jason Liu > > --- > Changes for v2: > -Address the comments from Albert to make changes to all >  ARM cpus with one single patch > --- >  arch/arm/cpu/arm1136/start.S   |    2 -- >  arch/arm/cpu/arm1176/s

[U-Boot] [STATUS] Merge window closed

2011-01-17 Thread Wolfgang Denk
Hi all, as you may be aware, the merge window ended last weekend. That means we're in review and bug fixing mode now. I'm sorry, but I have to admit tht I have a huge backlog - I did not even find a fraction of the time I'd have needed. I'll try to catch up now, but I need your help. Custodian

Re: [U-Boot] [PATCH] .gitignore: ignore generated u-boot.imx

2011-01-17 Thread Wolfgang Denk
Dear Stefano Babic, In message <1293528207-5246-1-git-send-email-sba...@denx.de> you wrote: > Signed-off-by: Stefano Babic > --- > .gitignore |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD:

Re: [U-Boot] Is theer an IRC channel?

2011-01-17 Thread Fabio Giovagnini
Kumar suggestied #u-boot on freenode Cheers On Monday 17 January 2011 20:43:47 Albert ARIBAUD wrote: > Hi Fabio, > > Le 17/01/2011 14:38, Fabio Giovagnini a écrit : > > Is there please an IRC channel for real time chat about problem with > > uboot? > > Not that I know of. > > > Regards > >

Re: [U-Boot] env_flash.c:saveenv() broken when env is smaller than a sector

2011-01-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201012292139.05901.vap...@gentoo.org> you wrote: > > seems the new saveenv code in the non-redund case has been rewritten > completely and doesn't support the same feature set as it used to. ... > so the difference is that the new code no longer supports envs whic

Re: [U-Boot] Is theer an IRC channel?

2011-01-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4d349bf3.8000...@free.fr> you wrote: > > Le 17/01/2011 14:38, Fabio Giovagnini a =E9crit : > > Is there please an IRC channel for real time chat about problem with uboo= > t? > > Not that I know of. Oops? You don't know #u-boot @ freenode ? So that's the reason

Re: [U-Boot] Uboot with at91sam9G20ek

2011-01-17 Thread Reinhard Meyer
Dear Chris Verges, dear Abhishek, > > > I'm also trying to get U-Boot 2010.12 working on an AT91 board. I came > across the following mailing list archive that may help. ... Please have a look at git://git.denx.de/u-boot-atmel.git, rework101229 branch, there is a working port for the at91sam9260

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

2011-01-17 Thread Wolfgang Denk
Dear Thomas Chou, In message <4d252aab.6040...@wytron.com.tw> you wrote: > > > Instead of making fixed assumptions about flash type and it's > > properties here you should use generic routines from the CFI driver to > > do the reset. ... > env_init() goes before flash_init() in board.c. So we don'

Re: [U-Boot] [PATCH V2] mpc83xx:fix pcie configuration space read/write

2011-01-17 Thread Wolfgang Denk
Dear "Baidu Boy", In message <000401cbb527$cc725cb0$6401a8c0@LENOVOE5CA6843> you wrote: > This patch fix a problem for the pcie enumeration when the mpc83xx pcie > controller is > connected with switch or we use both of the two pcie controller. > > Signed-off-by: Baidu Boy > --- > Changes for V

Re: [U-Boot] [PATCH v2] spi: add new driver for OpenCores tiny_spi

2011-01-17 Thread Wolfgang Denk
Dear Thomas Chou, In message <1294626279-8601-1-git-send-email-tho...@wytron.com.tw> you wrote: > This patch adds support for OpenCores tiny_spi. > > http://opencores.org/project,tiny_spi > > Signed-off-by: Thomas Chou > --- > for u-boot > v2, use const and clean up as Mike suggested. ... > +vo

Re: [U-Boot] [PATCH v5 1/8] those files are jz4740 base files

2011-01-17 Thread Wolfgang Denk
Dear Xiangfu Liu, In message <1294589925-32639-2-git-send-email-xian...@openmobilefree.net> you wrote: > Signed-off-by: Xiangfu Liu > Acked-by: Daniel > Acked-by: ChangWei Jia > > --- > arch/mips/cpu/xburst/Makefile| 50 +++ > arch/mips/cpu/xburst/config.mk | 33 ++ ... There is no

Re: [U-Boot] [PATCH v5 2/8] this is jz4740 head file

2011-01-17 Thread Wolfgang Denk
Dear Xiangfu Liu, In message <1294589925-32639-3-git-send-email-xian...@openmobilefree.net> you wrote: > Signed-off-by: Xiangfu Liu > Acked-by: Daniel > Acked-by: ChangWei Jia > > --- > arch/mips/include/asm/jz4740.h | 1380 > > 1 files changed, 1380

Re: [U-Boot] [PATCH] S5P: timer: replace bss variable by gd

2011-01-17 Thread Wolfgang Denk
Dear Minkyu Kang, In message you wrote: > > > I object against using variables wich have somewhat self-explanatory > > names for different purposes. > > Yes, I know. > If so, do I have to add new variables at global_data? > Maybe that is not good way too. > How you think? I asked this several

Re: [U-Boot] [PATCH 2/8] armv7: cache maintenance operations for armv7

2011-01-17 Thread Wolfgang Denk
Dear Aneesh V, In message <4d2a9164.5020...@ti.com> you wrote: > > > Unless we see a specific example which uses this feature, we should > > not add provisions that make the code more complicated than needed. > > Agree. But do you think the pointer based approach makes it overly > complex? Not

Re: [U-Boot] Booting linux 2.6.37+ on rsk7203 eva board

2011-01-17 Thread Fabio Giovagnini
These are my news Hi all, I have this condition now when I do make zImage and make bootstrap (i link zImage at 0x0004 after a simple bootloader) the system work and zImage decompress itself at 0x0C10 when I make make uiImage of the same kernel and I execute it usinf u-bbot it doesn't wor

Re: [U-Boot] [PATCH 6/8] armv7: adapt omap4 to the new cache maintenance framework

2011-01-17 Thread Wolfgang Denk
Dear Aneesh V, In message <4d2b18c6.2010...@ti.com> you wrote: > > A handful of board config files are using it, but in actual code it's > only referenced by armv7 code. > > Shall I change them all to CONFIG_SYS_L2_OFF Yes, please do (in a separate patch). Thanks. > I shall add documentation.

Re: [U-Boot] [PATCH 7/8] armv7: adapt omap3 to the new cache maintenance framework

2011-01-17 Thread Wolfgang Denk
Dear Aneesh V, In message <4d2b1a90.9030...@ti.com> you wrote: > > >> +struct __attribute__ ((__packed__)) emu_hal_params { > >> + u32 num_params; > >> + u32 param1; > >> +}; > > > > Why exactly do we need the "__attribute__ ((__packed__))" here? > > Because a pointer to it has to be passed to

Re: [U-Boot] [PATCH] Small coding style fix in lib/asm-offsets.c

2011-01-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <1294660080-30928-1-git-send-email...@denx.de> you wrote: > Signed-off-by: Stefan Roese > --- > lib/asm-offsets.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH v3] ARM: Avoid compiler optimization for usages of readb, writeb and friends.

2011-01-17 Thread Wolfgang Denk
Dear Dirk Behme, In message <4d2b3036.4010...@googlemail.com> you wrote: > > The question I was thinking about with my patch was "what's Right > Thing?" ;) The Right Thing i not to make specific assumptions how the compiler might handle volatile pointers. > It's my understanding that we don't

Re: [U-Boot] [PATCH] ppc4xx: Support dual link OSD

2011-01-17 Thread Wolfgang Denk
Dear Dirk Eibach, In message <1294662805-11704-3-git-send-email-eib...@gdsys.de> you wrote: > > #define BASE_WIDTH 32 > @@ -38,12 +44,18 @@ > enum { > REG_CONTROL = 0x0010, > REG_MPC3W_CONTROL = 0x001a, > + REG_EXT_INTERRUPT = 0x001c, > + REG_EXT_INTERRUPT_ENABLE = 0x001e, >

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > > It would break only if link address != load address. That is, if you > > > want to use my new CONFIG_SYS_TRUE_PIC feature and be able to load > > > u-boot at any address regardless of link address you would > > > have to add LINK_OFF calls in

Re: [U-Boot] [RFC PATCH] ARM: print gcc version

2011-01-17 Thread Wolfgang Denk
Dear Alexander Holler, In message <4d2bb9ac.1040...@ahsoftware.de> you wrote: > > > On the other hand, that would require changes to many files, and the > > gcc __VERSION__ string is pretty long on some systems, which may cause > > additional problems. > > Hmm, here it includes only "4.5.2", the

Re: [U-Boot] [PATCH] mpq101: initial support for Mercury Computer Systems MPQ101 board

2011-01-17 Thread Wolfgang Denk
Dear Alex Dubov, In message <369392.26813...@web37607.mail.mud.yahoo.com> you wrote: > > > > Could you please be a bit more specific, i. e. like quoting > > file names > > and line numbers? > > > > These were produced by > grep -nr ddr\-\> board/ | grep -v out_be > > I can attach a listing, b

[U-Boot] [PATCH] Top config.mk: add include/config.mk

2011-01-17 Thread Joakim Tjernlund
Seems to that the top level config.mk should include the auto generated include/config.mk so that all Makefile's pickup those definitions. Signed-off-by: Joakim Tjernlund --- config.mk |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/config.mk b/config.mk index bcda776..c

Re: [U-Boot] [PATCH] powerpc/85xx: Move RESET_VECTOR_ADDRESS into config.h

2011-01-17 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > > On Jan 12, 2011, at 3:27 AM, Wolfgang Denk wrote: > > > Dear Kumar Gala, > > > > In message > <1294824140-22519-1-git-send-email-ga...@kernel.crashing.org> > > you wrote: > >> Rather than defining it config.mk we can set it in config.h and > remove >

[U-Boot] Hash problem...

2011-01-17 Thread Peter Barada
I've stumbled across a problem in U-boot 2010.12's hashing algorithm. In my particular case the size of the has table is 347 (due to my default environment being 2258 bytes long as reported on entry to himport_r), and I have in my envrironment the variable "ramdiskimage" as well as "preboot"; p

Re: [U-Boot] [PATCH v4 7/8] imximage: Add MX53 boot image support

2011-01-17 Thread Wolfgang Denk
Dear Jason Liu, In message <1294129662-680-7-git-send-email-r64...@freescale.com> you wrote: > This patch add the MX53 boot image support. > > This patch has been tested on Freescale MX53EVK board > and MX51EVK board. > > Signed-off-by: Jason Liu ... > static table_entry_t imximage_cmds[] = {

Re: [U-Boot] [PATCH v4 5/8] mxc_i2c: add support for MX53 processor

2011-01-17 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d2d78b1.9090...@denx.de> you wrote: > On 01/04/2011 09:27 AM, Jason Liu wrote: > > This patch add I2C support for Freescale MX53 processor > > > > Signed-off-by: Jason Liu > > > > --- > > Changes for v2: > > -address the comments of Heiko, add #if defined(CONFIG

[U-Boot] [PATCH] p1022ds: allow for board-specific ngPIXIS functions

2011-01-17 Thread Timur Tabi
The ngPIXIS is an FPGA used on the reference boards of most Freescale PowerPC SOCs. Although programming the ngPIXIS is mostly standard on all boards that have it, the P1022DS is unique in that the ngPIXIS needs to be programmed in "indirect" mode whenever the video display (DIU) is active. To su

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/17 23:11:59: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > > > It would break only if link address != load address. That is, if you > > > > want to use my new CONFIG_SYS_TRUE_PIC feature and be able to load > > > > u-boot at any address regardle

Re: [U-Boot] [PATCH v2 2/2] armv7: add support for s5pc210 universal board

2011-01-17 Thread Wolfgang Denk
Dear Minkyu Kang, In message <4d2ed0e1.7090...@samsung.com> you wrote: > This patch adds support for Samsung s5pc210 universal board > > Signed-off-by: Minkyu Kang > Signed-off-by: Kyungmin Park ... > diff --git a/MAKEALL b/MAKEALL > index a732e6a..a5b265f 100755 > --- a/MAKEALL > +++ b/MAKEALL

Re: [U-Boot] [PATCH v2] ppc, 8xx: remove obsolete km8xx boards from keymile

2011-01-17 Thread Wolfgang Denk
Dear Holger Brunck, In message <4d2f0071.5070...@keymile.com> you wrote: > The MPC852 based mgsuvd and kmsupx4 boards from keymile > were initially ported but later on not developed further. So > the respective files were removed to avoid unneeded merging > and maintenance. > > Signed-off-by: Hol

Re: [U-Boot] [PATCH 1/2 v2] BLOCK: Add freescale IMX51 PATA driver

2011-01-17 Thread Wolfgang Denk
Dear stefano babic, In message <4d30e2e4.1070...@denx.de> you wrote: > Am 13.01.2011 18:27, schrieb Marek Vasut: > > Signed-off-by: Marek Vasut > > --- > > v2: Fixed line-too-long bugs as proposed by Stefano > > > > drivers/block/Makefile |1 + > > drivers/block/mxc_ata.c | 149 > > +

Re: [U-Boot] [PATCH 0/4 V2] Add basic NVIDIA Tegra2 SoC support

2011-01-17 Thread Wolfgang Denk
Dear Tom Warren, In message you wrote: > > 1) IO access functions - I pre-reviewed my patch series with Wolfgang > (to hopefully catch any blatant errors and smooth > the process) and he indicated that C structs and I/O accessor funcs or > macros were preferred to my base+offset original code.

Re: [U-Boot] [PATCH 0/4 V2] Add basic NVIDIA Tegra2 SoC support

2011-01-17 Thread Wolfgang Denk
Dear Tom Warren, In message you wrote: > > So instead of, say uart->lcr = 0, you'd prefer writel(0, uart->lcr), > where writel = __arch_putl(v, a) = (*(volatile unsigned int *)(a) = > (v))? Please see the thread "ARM: Avoid compiler optimization for usages of readb, writeb and friends." > Is t

Re: [U-Boot] [PATCH] p1022ds: allow for board-specific ngPIXIS functions

2011-01-17 Thread Wolfgang Denk
Dear Timur Tabi, In message <1295304993-19369-1-git-send-email-ti...@freescale.com> you wrote: > The ngPIXIS is an FPGA used on the reference boards of most Freescale PowerPC > SOCs. Although programming the ngPIXIS is mostly standard on all boards that > have it, the P1022DS is unique in that th

Re: [U-Boot] [PATCH] powerpc/85xx: Move RESET_VECTOR_ADDRESS into config.h

2011-01-17 Thread Kumar Gala
On Jan 17, 2011, at 4:46 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message you > wrote: >> >> On Jan 12, 2011, at 3:27 AM, Wolfgang Denk wrote: >> >>> Dear Kumar Gala, >>> >>> In message > <1294824140-22519-1-git-send-email-ga...@kernel.crashing.org> >>> you wrote: Rather tha

Re: [U-Boot] [PATCH v2 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-17 Thread Kumar Gala
On Jan 9, 2011, at 2:29 PM, Kumar Gala wrote: > There are several users of the hwconfig APIs (8xxx DDR) before we have > the environment properly setup. This causes issues because of the > numerous ways the environment might be accessed because of the > non-volatile memory it might be stored in.

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > No other board is broken. This new function is neutral to other boards. Well, I see this differntly. > Wolfgang, once you indicated you were interested in such feature as I have > added but my first impl. had LINK_OFF calls all over the place,

[U-Boot] [PATCH v3] powerpc/85xx: Move RESET_VECTOR_ADDRESS into config.h

2011-01-17 Thread Kumar Gala
Rather than defining it config.mk we can set it in config.h and remove config.mk from several boards that don't need it. We mimic what 4xx does and introduce CONFIG_RESET_VECTOR_ADDRESS for config.h to set. Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/u-boot.lds |8 ++-- boar

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/18 00:42:10: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > No other board is broken. This new function is neutral to other boards. > > Well, I see this differntly. > > > Wolfgang, once you indicated you were interested in such feature as I have

Re: [U-Boot] [PATCH v2 2/2] armv7: add support for s5pc210 universal board

2011-01-17 Thread Minkyu Kang
Dear Wolfgang Denk, On 18 January 2011 08:08, Wolfgang Denk wrote: > Dear Minkyu Kang, > > In message <4d2ed0e1.7090...@samsung.com> you wrote: >> This patch adds support for Samsung s5pc210 universal board >> >> Signed-off-by: Minkyu Kang >> Signed-off-by: Kyungmin Park > ... >> diff --git a/M

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

2011-01-17 Thread Thomas Chou
Dear Wolfgang, On 01/18/2011 05:02 AM, Wolfgang Denk wrote: >> void __flash_cmd_reset(flash_info_t *info) > > I recommend you have a second, closer look. Notice that > flash_cmd_reset() comes with __attribute__ weak, because it does not > work as a general solution - it may work here, but other co

Re: [U-Boot] [PATCH v2] spi: add new driver for OpenCores tiny_spi

2011-01-17 Thread Thomas Chou
Dear Wolfgang, On 01/18/2011 05:23 AM, Wolfgang Denk wrote: > Please separate declartations and code with a blank line. Please fix > globally. > Please do not use base + offset notation. Use a proper C struct > instead. Please fix globally. Thank you very much for the coding style correction.

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

2011-01-17 Thread Thomas Chou
Flash might be in unknown state when u-boot is started with jtag. And got wrong env data. So reset it in board early init. We cannot use generic cfi flash routines, because flash_init() is not run yet. Signed-off-by: Thomas Chou --- v2 use weak func to reset flash, as Wolfgang suggested. rese

[U-Boot] [PATCH][v2] Fix wrong CONFIG_SYS_MPC85xx_SERDES1_ADDR

2011-01-17 Thread Prabhakar Kushwaha
From: Prabhakar CONFIG_SYS_MPC85xx_SERDES1_ADDR was defined wrong as CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET. It should be as CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES1_OFFSET. Signed-off-by: Prabhakar Kushwaha --- Based of http://git.denx.de/u-boot.git (branch master) Top comm

[U-Boot] [PATCH v3] spi: add new driver for OpenCores tiny_spi

2011-01-17 Thread Thomas Chou
This patch adds support for OpenCores tiny_spi. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou --- for u-boot v2, use const and clean up as Mike suggested. v3, use struct instead of base+offset as Wolfgang suggested. drivers/spi/Makefile |1 + drivers/spi/oc_tiny_spi

Re: [U-Boot] [PATCH][v2] Fix wrong CONFIG_SYS_MPC85xx_SERDES1_ADDR

2011-01-17 Thread Kumar Gala
On Jan 17, 2011, at 9:33 PM, Prabhakar Kushwaha wrote: > From: Prabhakar > > CONFIG_SYS_MPC85xx_SERDES1_ADDR was defined wrong as > CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES2_OFFSET. > It should be as > CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SERDES1_OFFSET. > > Signed-off-by: Prabhakar Kushwah

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add Support for Freescale P1010 Processor

2011-01-17 Thread Kumar Gala
On Jan 14, 2011, at 10:41 AM, Kumar Gala wrote: > From: Poonam Aggrwal > > Key Features include of the P1010: > * e500v2 core frequency operation of 500 to 800 MHz > * Power consumption less than 5.0 W at 800 MHz core speed > * Dual SATA 3 Gbps controllers with integrated PHY > * Dual PCI Expre

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: Add Support for Freescale P1014 Processor

2011-01-17 Thread Kumar Gala
On Jan 14, 2011, at 10:41 AM, Kumar Gala wrote: > From: Poonam Aggrwal > > The P1014 is similar to the P1010 processor with the following differences: > > - 16bit DDR with ECC. (P1010 has 32bit DDR w/o ECC) > - no eCAN interface. (P1010 has 2 eCAN interfaces) > - Two SGMII interface (P1010 has

Re: [U-Boot] [PATCH 1/3] powerpc/p3041: Add various p3041 specific information

2011-01-17 Thread Kumar Gala
On Jan 13, 2011, at 4:46 AM, Kumar Gala wrote: > Add P3041 SoC specific information: > * SERDES Table > * LIODN setup > * Portal configuration > > Signed-off-by: Kumar Gala > --- > arch/powerpc/cpu/mpc85xx/Makefile |2 + > arch/powerpc/cpu/mpc85xx/p3041_ids.c| 105

Re: [U-Boot] [PATCH 2/3] powerpc/p5020: Add various p5020 specific information

2011-01-17 Thread Kumar Gala
On Jan 13, 2011, at 4:46 AM, Kumar Gala wrote: > Add P5020 SoC specific information: > * SERDES Table > * LIODN setup > * Portal configuration > > Signed-off-by: Kumar Gala > --- > arch/powerpc/cpu/mpc85xx/Makefile |2 + > arch/powerpc/cpu/mpc85xx/p5020_ids.c| 105

  1   2   >