[U-Boot] [PATCH v3 1/5] 85xx: add boot from NAND/eSDHC/eSPI support

2009-09-11 Thread Mingkai Hu
The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us use the SPD to initialize the SDRAM. For all three bootup methods, the

[U-Boot] [PATCH v3 3/5] NAND boot: MPC8536DS support

2009-09-11 Thread Mingkai Hu
MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with

Re: [U-Boot] [PATCH 1/1] at91: Update MEESC board support

2009-09-11 Thread Daniel Gorsulowski
Dear Wolfgang Denk, Wolfgang Denk wrote: Dear Daniel Gorsulowski, In message 4aa90821.1060...@esd.eu you wrote: - /* arch number of MEESC-Board */ - gd-bd-bi_arch_number = MACH_TYPE_MEESC; + /* initialize ET1100 Controller */ + meesc_ethercat_hw_init(); I thought we had agreed not to

[U-Boot] Uboot Standalone Applications- Test_burst

2009-09-11 Thread vneethv
Hi, I am trying to run the uboot example - the standalone application, Test_burst to test my SRAM on Powerpc 440x5 board. Seems like the application always crashes when i try to execute the same and it always thrown some exception. When i checked the code i found that there are some opcodes

Re: [U-Boot] Uboot Standalone Applications- Test_burst

2009-09-11 Thread Wolfgang Denk
Dear vneethv, In message 25396448.p...@talk.nabble.com you wrote: I am trying to run the uboot example - the standalone application, Test_burst to test my SRAM on Powerpc 440x5 board. Seems like the application always crashes when i try to execute the same and it always thrown some

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Wolfgang Denk
Dear Mingkai Hu, In message 1252466603-25103-1-git-send-email-mingkai...@freescale.com you wrote: To simplify the top level makefile it useful to be able to parse the top level makefile target to multiple individual target, then put them to the config.h, leave the board config file to handle

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Stefan Roese
On Friday 11 September 2009 10:07:46 Wolfgang Denk wrote: Arghhh... It seems this patch has not been well tested. Obviously never ever ran a MAKEALL over all PPC boards. It causes tons of messages like that: include/config.h:2:25: warning: missing whitespace after the macro name This

[U-Boot] [PATCH v2] Support for the OpenRD base board

2009-09-11 Thread Simon Kagstrom
Support for the OpenRD base board The implementation is borrowed from the sheevaplug board and the Marvell 1.1.4 code and likely to be a bit incomplete. Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net --- The configuration does not include UBIFS support, which still needs he

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Wolfgang Denk
Dear Stefan Roese, In message 200909111012.07310...@denx.de you wrote: This patch breaks building for a number of boards / configurations, especially: xilinx-ppc405-generic_flash xilinx-ppc405-generic xilinx-ppc440-generic_flash xilinx-ppc440-generic VoVPN-GW_66MHz

Re: [U-Boot] [PATCH v4] ppc4xx: Rename compactcenter to intip

2009-09-11 Thread Stefan Roese
On Wednesday 09 September 2009 12:36:07 Dirk Eibach wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de Applied to u-boot-ppc4xx. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Re: [U-Boot] fsl_i2c: increase I2C timeout values and make them configurable

2009-09-11 Thread Joakim Tjernlund
Timur Tabi ti...@freescale.com wrote on 10/09/2009 18:13:03: Joakim Tjernlund wrote: This calculation does not seem to match AN2919. When I wrote the code, AN2919 was much smaller than what you have today. Suppose one used only Table 7(almost what we have if you exclude dfsr!=

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Hu Mingkai-B21284
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Friday, September 11, 2009 4:08 PM To: Hu Mingkai-B21284 Cc: u-boot@lists.denx.de; ga...@kernel.crashing.org; Wood Scott-B07421 Subject: Re: [PATCH v2 1/2] mkconfig: split the board make target to multiple

[U-Boot] Please pull u-boot-ppc4xx

2009-09-11 Thread Stefan Roese
The following changes since commit e7963772eb78a6aa1fa65063d64eab3a8626daac: Marcel Ziswiler (1): muas3001: remove BRG clock node fixup to use common mpc8260 code. are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Dirk Eibach (1): ppc4xx:

[U-Boot] tigon3 Ethernet - any users / testers out there?

2009-09-11 Thread Wolfgang Denk
Hi, I'm looking for users / testers for the TIGON3 Ethernet driver. The only board that uses it is the BMW board, which is orphaned. I'm trying to fix the compiler warnings raised by this driver: tigon3.c: In function 'LM_InitializeAdapter': tigon3.c:1625: warning: dereferencing type-punned

[U-Boot] [PATCH] kwbimage.c: Fix compile warning when building on 64 bit systems

2009-09-11 Thread Wolfgang Denk
Fix this warning when building on 64 bit systems: tools/kwbimage.c: In function 'kwbimage_checksum32': tools/kwbimage.c:135: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Wolfgang Denk w...@denx.de Cc: Prafulla Wadaskar prafu...@marvell.com

[U-Boot] [PATCH] sk98lin: fix compile warnings

2009-09-11 Thread Wolfgang Denk
Fix warnings: skge.c: In function 'BoardInitMem': skge.c:1389: warning: dereferencing type-punned pointer will break strict-aliasing rules skge.c:1390: warning: dereferencing type-punned pointer will break strict-aliasing rules skge.c:1391: warning: dereferencing type-punned pointer will break

[U-Boot] [PATCH] board/esd/common/flash.c: Fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: ../common/flash.c:635: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs matthias.fu...@esd-electronics.com Cc: Stefan Roese s...@denx.de --- board/esd/common/flash.c |3 ++- 1 files changed,

[U-Boot] [PATCH] net/bootp.c: fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: bootp.c:695: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Ben Warren biggerbadder...@gmail.com --- net/bootp.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/net/bootp.c

[U-Boot] [PATCH] board/flagadm/flash.c: fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: flash.c:531: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: K�ri Dav��sson k...@flaga.is --- board/flagadm/flash.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] drivers/net/natsemi.c: fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: natsemi.c:757: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Ben Warren biggerbadder...@gmail.com --- drivers/net/natsemi.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] board/esd/cpci750/ide.c: fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: ide.c:54: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs matthias.fu...@esd-electronics.com Cc: Stefan Roese s...@denx.de --- board/esd/cpci750/ide.c |8 ++-- 1 files changed, 6

[U-Boot] [PATCH 2/2 v2] Blackfin: tweak embedded env config option

2009-09-11 Thread Mike Frysinger
Use the common config option for extracting the environment for embedding into LDR files. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - do not call envcrc in ldr target if env isnt embedded Makefile |2 +- include/configs/bf518f-ezbrd.h |2 +-

[U-Boot] Does u-boot support nand flash boot

2009-09-11 Thread Sun, Peng 2
From the code we can know that u-boot didn't support boot from nand for smdk2410. If you want to do that you need to hack the code by yourself. It's not an hard task. You can look at the code under directory nand_spl for reference. In fact I'm doing it now, maybe next week I can work out the

[U-Boot] [PATCH] board/linkstation/ide.c: Fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Guennadi Liakhovetski l...@denx.de --- board/linkstation/ide.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] board/amcc/common/flash.c: Fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: ../common/flash.c:917: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de --- board/amcc/common/flash.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH] board/amcc/taihu/flash.c: Fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warnings: flash.c: In function 'write_word_1': flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules flash.c: In function 'write_word_2': flash.c:1044: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk

[U-Boot] [PATCH] board/dave/common/flash.c: fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: ../common/flash.c:668: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Andrea Marson andrea.mar...@dave-tech.it --- board/dave/common/flash.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH] board/etin/debris/phantom.c: Fix compile error

2009-09-11 Thread Wolfgang Denk
Fix build problem caused by commit e84aba13: Replace BCD2BIN and BIN2BCD macros with inline functions phantom.c:163: error: redefinition of 'bcd2bin' /home/wd/git/u-boot/work/include/bcd.h:16: error: previous definition of 'bcd2bin' was here phantom.c:168: error: redefinition of 'bin2bcd'

[U-Boot] [PATCH] board/amcc/yucca/flash.c: Fix compile warning

2009-09-11 Thread Wolfgang Denk
Fix warning: flash.c:919: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de --- board/amcc/yucca/flash.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] AT91RM9200 BGA port D defines

2009-09-11 Thread Jens Scharsig
Hello Jean-Christophe you said: applied But the patch isn't present in current git. What's wrong? Best Regards Jens Scharsig ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Fix compile warning / error

2009-09-11 Thread Wolfgang Denk
Hi, I've just sent a batch of patches to fix compiler warnings and errors. ACK's are welcoem :-) Ben, Stefan: if you agree I apply these patches directly, just send your ACK / NAK. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel

Re: [U-Boot] [PATCH 1/4 v2] s5pc1xx: support Samsung s5pc1xx SoC

2009-09-11 Thread Minkyu Kang
Dear Wolfgang 2009/9/10 Wolfgang Denk w...@denx.de: Dear Minkyu Kang, In message 4aa8ac30.2070...@samsung.com you wrote: This patch adds support for the Samsung s5pc100 and s5pc110 SoCs. The s5pc1xx SoC is an ARM Cortex A8 processor. Signed-off-by: Minkyu Kang mk7.k...@samsung.com

Re: [U-Boot] [PATCH 4/4 v2] s5pc1xx: add support SMDKC100 board

2009-09-11 Thread Minkyu Kang
Dear Wolfgang 2009/9/10 Wolfgang Denk w...@denx.de: Dear Minkyu Kang, In message 4aa8ac52.4010...@samsung.com you wrote: Add new board SMDKC100 that uses s5pc100 SoC Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: HeungJun, Kim riverful@samsung.com ... +#ifndef

Re: [U-Boot] [PATCH v2] Support for the OpenRD base board

2009-09-11 Thread Prafulla Wadaskar
-Original Message- From: Simon Kagstrom [mailto:simon.kagst...@netinsight.net] Sent: Friday, September 11, 2009 1:45 PM To: U-Boot ML Cc: Prafulla Wadaskar; Dhaval Vasa; Prabhanjan Sarnaik; Ashish Karkare Subject: [PATCH v2] Support for the OpenRD base board Support for the

Re: [U-Boot] [PATCH 3/4 v2] s5pc1xx: support serial driver

2009-09-11 Thread Minkyu Kang
Dear Wolfgang, 2009/9/10 Wolfgang Denk w...@denx.de: Dear Minkyu Kang, In message 4aa8ac42.50...@samsung.com you wrote: This patch includes the serial driver for s5pc1xx Signed-off-by: Minkyu Kang mk7.k...@samsung.com ... +static inline struct s5pc1xx_uart *s5pc1xx_get_base_uart(int

Re: [U-Boot] [PATCH] board/linkstation/ide.c: Fix compile warning

2009-09-11 Thread Guennadi Liakhovetski
Hi Wolfgang On Fri, 11 Sep 2009, Wolfgang Denk wrote: Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Guennadi Liakhovetski l...@denx.de --- board/linkstation/ide.c |4 +++- 1 files

Re: [U-Boot] [PATCH][v2] FDT: remove obsolete OF_CPU and OF_SOC macros.

2009-09-11 Thread Guennadi Liakhovetski
On Wed, 9 Sep 2009, Marcel Ziswiler wrote: Signed-off-by: Marcel Ziswiler marcel.ziswi...@noser.com Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Changes since v1: - CC all respective board maintainers README|6 -- include/configs/IDS8247.h

[U-Boot] [PATCH] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-09-11 Thread Thomas Petazzoni
The Calao USB A9263 board is a board manufactured and sold by Calao Systems http://www.calao-systems.com. Its components are very similar to the AT91SAM9263EK board, so its configuration is based on the configuration of this board. There are however some differences: different clocks, no LCD, etc.

Re: [U-Boot] [PATCH] board/esd/common/flash.c: Fix compile warning

2009-09-11 Thread Matthias Fuchs
Acked-by: Matthias Fuchs matthias.fu...@esd.eu On Friday 11 September 2009 11:18, Wolfgang Denk wrote: Fix warning: ../common/flash.c:635: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs

[U-Boot] [PATCH][v3] mpc8260: remove Ethernet node fixup to use generic FDT code.

2009-09-11 Thread Marcel Ziswiler
Remove Ethernet node fixup from mgcoge and muas3001 boards and modify its configs for the common mpc8260 code to use generic Ethernet fixup. Signed-off-by: Marcel Ziswiler marcel.ziswi...@noser.com Tested-by: Heiko Schocher h...@denx.de --- Changes since v1: - Added Heiko's tested-by Changes

Re: [U-Boot] [PATCH] board/linkstation/ide.c: Fix compile warning

2009-09-11 Thread Wolfgang Denk
Dear Guennadi Liakhovetski, In message pine.lnx.4.64.0909111259280.6...@axis700.grange you wrote: Hi Wolfgang On Fri, 11 Sep 2009, Wolfgang Denk wrote: Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk

Re: [U-Boot] [PATCH] board/linkstation/ide.c: Fix compile warning

2009-09-11 Thread Guennadi Liakhovetski
On Fri, 11 Sep 2009, Wolfgang Denk wrote: Dear Guennadi Liakhovetski, In message pine.lnx.4.64.0909111259280.6...@axis700.grange you wrote: Hi Wolfgang On Fri, 11 Sep 2009, Wolfgang Denk wrote: Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break

[U-Boot] Maintainer Yuli Barcohen

2009-09-11 Thread Marcel Ziswiler
Hi there Anybody knows the whereabouts of Yuli Barcohen, maintainer amongst others of the ep8248 and MPC8260ADS boards? It looks like his last known email address as noted in MAINTAINERS bounces (see transcript below). Cheers Marcel --- This message was created automatically by mail

Re: [U-Boot] [PATCH v2] Support for the OpenRD base board

2009-09-11 Thread Simon Kagstrom
Thanks for the comments Prafulla! I'll update the patch according to them, but have some questions: On Fri, 11 Sep 2009 03:43:04 -0700 Prafulla Wadaskar prafu...@marvell.com wrote: +#define CONFIG_ENV_SIZE 0x2 /* 128k */ +#define CONFIG_ENV_ADDR

[U-Boot] [PATCH] Streamlined mpc512x fixed_sdram init sequence allowing for

2009-09-11 Thread Martha M Stan
Signed-off-by: Martha M Stan mm...@silicontkx.com --- board/davedenx/aria/aria.c |2 +- board/esd/mecp5123/mecp5123.c |2 +- board/freescale/mpc5121ads/mpc5121ads.c |2 +- cpu/mpc512x/fixed_sdram.c | 94 ---

Re: [U-Boot] [PATCH] board/esd/common/flash.c: Fix compile warning

2009-09-11 Thread Stefan Roese
On Friday 11 September 2009 11:18:22 Wolfgang Denk wrote: Fix warning: ../common/flash.c:635: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs matthias.fu...@esd-electronics.com Cc: Stefan Roese

Re: [U-Boot] [PATCH] board/amcc/common/flash.c: Fix compile warning

2009-09-11 Thread Stefan Roese
On Friday 11 September 2009 11:49:19 Wolfgang Denk wrote: Fix warning: ../common/flash.c:917: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de Acked-by: Stefan Roese s...@denx.de Thanks.

Re: [U-Boot] [PATCH] board/amcc/taihu/flash.c: Fix compile warning

2009-09-11 Thread Stefan Roese
On Friday 11 September 2009 11:49:22 Wolfgang Denk wrote: Fix warnings: flash.c: In function 'write_word_1': flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules flash.c: In function 'write_word_2': flash.c:1044: warning: dereferencing type-punned pointer

Re: [U-Boot] [PATCH] board/amcc/yucca/flash.c: Fix compile warning

2009-09-11 Thread Stefan Roese
On Friday 11 September 2009 11:49:23 Wolfgang Denk wrote: Fix warning: flash.c:919: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de Acked-by: Stefan Roese s...@denx.de Thanks. Cheers,

Re: [U-Boot] [PATCH] board/esd/cpci750/ide.c: fix compile warning

2009-09-11 Thread Stefan Roese
On Friday 11 September 2009 11:18:23 Wolfgang Denk wrote: Fix warning: ide.c:54: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs matthias.fu...@esd-electronics.com Cc: Stefan Roese s...@denx.de I added

Re: [U-Boot] configure ppc440spe as pci adapter

2009-09-11 Thread Stefan Roese
On Thursday 10 September 2009 21:01:57 dbrazeau wrote: I'm trying to get my ppc440spe (Katmai) board to initialize in PCI adapter mode. I was hoping that someone could give me some pointers on what changes I need in the katmai config file, i.e. do I need to define CONFIG_SYS_PCI_MASTER_INIT.

Re: [U-Boot] Maintainer Yuli Barcohen

2009-09-11 Thread Frank Svendsbøe
Hi Marcel, I asked him a year ago about some details regarding the Adder port done by him: Frank Hi Yuli! I see you're the maintainer for the u-boot port for Frank this card. I was. Arabella was bought by Entropic Communications and I'm out of PowerPC world for more than a year.

Re: [U-Boot] configure ppc440spe as pci adapter

2009-09-11 Thread Wolfgang Denk
Dear dbrazeau, In message 25389144.p...@talk.nabble.com you wrote: I'm trying to get my ppc440spe (Katmai) board to initialize in PCI adapter mode. I was hoping that someone could give me some pointers on what changes You are really talking about the PCI-X port on the Katmai board, are you?

Re: [U-Boot] [PATCH v2] Support for the OpenRD base board

2009-09-11 Thread Prafulla Wadaskar
-Original Message- From: Simon Kagstrom [mailto:simon.kagst...@netinsight.net] Sent: Friday, September 11, 2009 5:48 PM To: Prafulla Wadaskar Cc: U-Boot ML; Dhaval Vasa; Prabhanjan Sarnaik; Ashish Karkare Subject: Re: [PATCH v2] Support for the OpenRD base board Thanks for the

Re: [U-Boot] [PATCH v2 1/5] 85xx: add boot from NAND/eSDHC/eSPI support

2009-09-11 Thread Wolfgang Denk
Dear Mingkai Hu, In message 1252639077-29277-1-git-send-email-mingkai...@freescale.com you wrote: The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main

Re: [U-Boot] Maintainer Yuli Barcohen

2009-09-11 Thread Wolfgang Denk
Dear Marcel Ziswiler, In message 4369831.100411252671459841.javamail.serv...@perfora you wrote: Anybody knows the whereabouts of Yuli Barcohen, maintainer amongst others of the ep8248 and MPC8260ADS boards? It looks like his last known email address as noted in MAINTAINERS bounces (see

Re: [U-Boot] [PATCH v2] Support for the OpenRD base board

2009-09-11 Thread Simon Kagstrom
On Fri, 11 Sep 2009 06:33:44 -0700 Prafulla Wadaskar prafu...@marvell.com wrote: +#define CONFIG_ENV_SIZE 0x2 /* 128k */ +#define CONFIG_ENV_ADDR 0xa +#define CONFIG_ENV_OFFSET0xa /* env starts here */ Do you

Re: [U-Boot] [PATCH] TI DaVinci: DM646x: Initial Support for DM646x SOC

2009-09-11 Thread Paulraj, Sandeep
From: Sandeep Paulraj s-paul...@ti.com DM646x is an SOC from TI which has both an ARM and a DSP. There are multiple variants of the SOC mainly dealing with different core speeds. This patch adds the initial framework for the DM646x SOC. Signed-off-by: Sandeep Paulraj s-paul...@ti.com

Re: [U-Boot] [PATCH v2 3/5] NAND boot: MPC8536DS support

2009-09-11 Thread Kumar Gala
On Sep 11, 2009, at 12:43 AM, Hu Mingkai-B21284 wrote: -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, September 11, 2009 12:21 PM To: Gala Kumar-B11780 Cc: Hu Mingkai-B21284; Wood Scott-B07421; u-boot@lists.denx.de Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Scott Wood
On Fri, Sep 11, 2009 at 10:07:46AM +0200, Wolfgang Denk wrote: In message 1252466603-25103-1-git-send-email-mingkai...@freescale.com you wrote: To simplify the top level makefile it useful to be able to parse the top level makefile target to multiple individual target, then put them to

Re: [U-Boot] fsl_i2c: increase I2C timeout values and make them configurable

2009-09-11 Thread Timur Tabi
Joakim Tjernlund wrote: This will generate the same divisor tables as AN2919, tables 6-9. I do not take condition 2 into consideration as it not clear how to deal with it and it does not seem to have an significant impact. What do you think? I really don't have time to deal with it right

[U-Boot] [PATCH] ppc4xx: Fix 405EZ uart base baud calculation

2009-09-11 Thread Stefan Roese
With this fix, Linux correctly configures the baudrate when booting with FDT passed from U-Boot to Linux. Signed-off-by: Stefan Roese s...@denx.de --- cpu/ppc4xx/speed.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c index

[U-Boot] [PATCH] ppc4xx: Enable commands for FDT enabled Linux booting on AMCC Acadia

2009-09-11 Thread Stefan Roese
Acadia still used the old arch/ppc bootm commands for booting Linux images without FDT. This patch now enables these fdt-aware boot commands for Acadia as well. Signed-off-by: Stefan Roese s...@denx.de --- include/configs/acadia.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Kumar Gala
On Sep 11, 2009, at 10:20 AM, Scott Wood wrote: On Fri, Sep 11, 2009 at 10:07:46AM +0200, Wolfgang Denk wrote: In message 1252466603-25103-1-git-send-email-mingkai...@freescale.com you wrote: To simplify the top level makefile it useful to be able to parse the top level makefile target to

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Scott Wood
On Thu, Sep 10, 2009 at 08:23:27PM -0400, Jerry Van Baren wrote: fdt set /ether...@f00 interrupts this is a string can now handle multiple strings (words) by concatenating them with spaces (quoted strings still work the same as before because of hush's argument parsing) fdt set

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Jerry Van Baren
Scott Wood wrote: On Thu, Sep 10, 2009 at 08:23:27PM -0400, Jerry Van Baren wrote: fdt set /ether...@f00 interrupts this is a string can now handle multiple strings (words) by concatenating them with spaces (quoted strings still work the same as before because of hush's argument parsing)

Re: [U-Boot] [PATCH] board/flagadm/flash.c: fix compile warning

2009-09-11 Thread Scott Wood
On Fri, Sep 11, 2009 at 11:18:19AM +0200, Wolfgang Denk wrote: Fix warning: flash.c:531: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk w...@denx.de Cc: K?ri Dav??sson k...@flaga.is --- board/flagadm/flash.c |3 ++- 1 files

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Scott Wood
Jerry Van Baren wrote: Scott Wood wrote: On Thu, Sep 10, 2009 at 08:23:27PM -0400, Jerry Van Baren wrote: fdt set /ether...@f00 interrupts this is a string can now handle multiple strings (words) by concatenating them with spaces (quoted strings still work the same as before because of

[U-Boot] [PATCH 1/2] ppc/85xx: Introduce low level write_tlb function

2009-09-11 Thread Kumar Gala
Factor out the code we use to actually write a tlb entry. set_tlb is a logical view of the TLB while write_tlb is a low level matching the MAS registers. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/start.S | 19 +++ cpu/mpc85xx/tlb.c | 12

[U-Boot] [PATCH 2/2] ppc/85xx: Repack tlb_table to save space

2009-09-11 Thread Kumar Gala
We can pack the initial tlb_table in MAS register format and use write_tlb to set things up. This savings can be helpful for NAND style first stage boot loaders. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/tlb.c |9 + include/asm-ppc/mmu.h | 21

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Andy Fleming
Strings are backwards compatible because the hush parser strips the quotes so all that that part of Ken's patch does is to extend it to paste together multiple arguments rather than limiting it to exactly one argument. The following also produces the original string: fdt set

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Jerry Van Baren
Andy Fleming wrote: Strings are backwards compatible because the hush parser strips the quotes so all that that part of Ken's patch does is to extend it to paste together multiple arguments rather than limiting it to exactly one argument. The following also produces the original string:

[U-Boot] [PATCH] Add support for the Calao QIL-A9G20 board

2009-09-11 Thread Albin Tonnerre
The Calao SBC35-A9G20 board is manufactured and sold by Calao Systems http://www.calao-systems.com. It is built around an AT91SAM9G20 ARM SoC running at 400MHz. It features an Ethernet port, an SPI RTC backed by an onboard battery , an SD/MMC slot, a CompactFlash slot, 64Mo of SDRAM, 256Mo of NAND

[U-Boot] [PATCH 2/2] ppc/85xx: Repack tlb_table to save space

2009-09-11 Thread Kumar Gala
We can pack the initial tlb_table in MAS register format and use write_tlb to set things up. This savings can be helpful for NAND style first stage boot loaders. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- * Use new FSL_BOOKE_MAS7 macro cpu/mpc85xx/tlb.c |9 +

[U-Boot] [PATCH 1/2] ppc/85xx: Introduce low level write_tlb function

2009-09-11 Thread Kumar Gala
Factor out the code we use to actually write a tlb entry. set_tlb is a logical view of the TLB while write_tlb is a low level matching the MAS registers. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- * Added update to copyright * introduced FSL_BOOKE_MAS7 macro cpu/mpc85xx/start.S

[U-Boot] [PATCH v2 2/2] ppc/85xx: Repack tlb_table to save space

2009-09-11 Thread Kumar Gala
We can pack the initial tlb_table in MAS register format and use write_tlb to set things up. This savings can be helpful for NAND style first stage boot loaders. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- * Use new FSL_BOOKE_MAS7 macro cpu/mpc85xx/tlb.c |9 +

[U-Boot] [PATCH v2 1/2] ppc/85xx: Introduce low level write_tlb function

2009-09-11 Thread Kumar Gala
Factor out the code we use to actually write a tlb entry. set_tlb is a logical view of the TLB while write_tlb is a low level matching the MAS registers. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- * Added update to copyright * introduced FSL_BOOKE_MAS7 macro cpu/mpc85xx/start.S

Re: [U-Boot] [PATCH] board/linkstation/ide.c: Fix compile warning

2009-09-11 Thread Scott Wood
On Fri, Sep 11, 2009 at 02:00:06PM +0200, Wolfgang Denk wrote: In message pine.lnx.4.64.0909111259280.6...@axis700.grange you wrote: On Fri, 11 Sep 2009, Wolfgang Denk wrote: Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules

[U-Boot] [PATCH] ppc/85xx: Move code around to prep for NAND_SPL

2009-09-11 Thread Kumar Gala
If we move some of the functions in tlb.c around we need less ifdefs. The first stage loader just needs invalidate_tlb and init_tlbs. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/tlb.c | 46 +++--- 1 files changed, 23

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Scott Wood
Ken MacLeod wrote: On Fri, Sep 11, 2009 at 11:30 AM, Jerry Van Baren gerald.vanba...@ge.com mailto:gerald.vanba...@ge.com wrote: Scott Wood wrote: On Thu, Sep 10, 2009 at 08:23:27PM -0400, Jerry Van Baren wrote: fdt set /ether...@f00 interrupts this is a string

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Ken MacLeod
On Fri, Sep 11, 2009 at 11:30 AM, Jerry Van Baren gerald.vanba...@ge.comwrote: Scott Wood wrote: On Thu, Sep 10, 2009 at 08:23:27PM -0400, Jerry Van Baren wrote: fdt set /ether...@f00 interrupts this is a string can now handle multiple strings (words) by concatenating them with spaces

[U-Boot] [PATCH v4] ppc/85xx: add boot from NAND/eSDHC/eSPI support

2009-09-11 Thread Kumar Gala
From: Mingkai Hu mingkai...@freescale.com The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us use the SPD to initialize the

Re: [U-Boot] [PATCH v2 1/5] 85xx: add boot from NAND/eSDHC/eSPI support

2009-09-11 Thread Scott Wood
Mingkai Hu wrote: The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us use the SPD to initialize the SDRAM. For all three

Re: [U-Boot] [PATCH v2 1/5] 85xx: add boot from NAND/eSDHC/eSPI support

2009-09-11 Thread Kumar Gala
On Sep 11, 2009, at 1:06 PM, Scott Wood wrote: Mingkai Hu wrote: The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us

Re: [U-Boot] [PATCH v2 1/2] mkconfig: split the board make target to multiple config targets

2009-09-11 Thread Wolfgang Denk
Dear Kumar Gala, In message c93d00e1-0d25-40ab-aad9-707ddfd30...@kernel.crashing.org you wrote: Actually, I think the patch you quoted would not have had this problem -- Seems I used a bad reference; sorry for that. unlike the one you merged, it doesn't create #defines for all boards,

Re: [U-Boot] [PATCH] board/flagadm/flash.c: fix compile warning

2009-09-11 Thread Wolfgang Denk
Dear Scott Wood, In message 20090911163321.gb13...@b07421-ec1.am.freescale.net you wrote: - ushort * d = (ushort*)da; + ulong *dla = da; + ushort *d = (ushort*)dla; I don't see how this is any more legal under strict aliasing rules -- you just made it a little more complicated

Re: [U-Boot] [PATCH] board/flagadm/flash.c: fix compile warning

2009-09-11 Thread Scott Wood
Wolfgang Denk wrote: Dear Scott Wood, In message 20090911163321.gb13...@b07421-ec1.am.freescale.net you wrote: - ushort * d = (ushort*)da; + ulong *dla = da; + ushort *d = (ushort*)dla; I don't see how this is any more legal under strict aliasing rules -- you just made it a little

Re: [U-Boot] All rights reserved in drivers/mtd/nand/nand_util.c

2009-09-11 Thread Scott Wood
Paulraj, Sandeep wrote: I don't think we received a patch. How are we moving forward as this is required for the NAND driver to work. I guess we start rewriting it -- and/or try to find any upstream code Guido may have based it on. -Scott ___

Re: [U-Boot] [PATCH v2 2/5] NAND boot: change NAND loader's relocate SP to CONFIG param

2009-09-11 Thread Scott Wood
Mingkai Hu wrote: So that we can set the NAND loader's relocate stack pointer to the value other than the relocate address + 0x1. Signed-off-by: Mingkai Hu mingkai...@freescale.com --- board/freescale/mpc8313erdb/mpc8313erdb.c |2 +- board/sheldon/simpc8313/simpc8313.c |

Re: [U-Boot] [PATCH v2 2/5] NAND boot: change NAND loader's relocate SP to CONFIG param

2009-09-11 Thread Kumar Gala
On Sep 11, 2009, at 2:04 PM, Scott Wood wrote: Mingkai Hu wrote: So that we can set the NAND loader's relocate stack pointer to the value other than the relocate address + 0x1. Signed-off-by: Mingkai Hu mingkai...@freescale.com --- board/freescale/mpc8313erdb/mpc8313erdb.c |2 +-

[U-Boot] [RFC][PATCH] NAND boot: MPC8536DS support

2009-09-11 Thread Kumar Gala
MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with

Re: [U-Boot] [RFC][PATCH] NAND boot: MPC8536DS support

2009-09-11 Thread Kumar Gala
On Sep 11, 2009, at 2:17 PM, Kumar Gala Makefile |1 + board/freescale/mpc8536ds/config.mk|7 ++ board/freescale/mpc8536ds/tlb.c| 11 ++ cpu/mpc85xx/nand_init.c| 73 ++ how about

Re: [U-Boot] [PATCH] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Jerry Van Baren
Ken MacLeod wrote: On Fri, Sep 11, 2009 at 11:30 AM, Jerry Van Baren gerald.vanba...@ge.com mailto:gerald.vanba...@ge.com wrote: Scott Wood wrote: On Thu, Sep 10, 2009 at 08:23:27PM -0400, Jerry Van Baren wrote: fdt set /ether...@f00 interrupts this is a string

Re: [U-Boot] [PATCH] ppc/85xx: Ensure that MAS8 is zero when writing TLB entries.

2009-09-11 Thread Kumar Gala
On Sep 10, 2009, at 2:14 PM, Kumar Gala wrote: From: Scott Wood scottw...@freescale.com Its reset value is random, and we sometimes read uninitialized TLB arrays. Make sure that we don't retain MAS8 from reading such an entry if the VF bit in MAS8 is set, attempts to use the mapping

Re: [U-Boot] [PATCH] ppc/85xx: Remove some bogus code from external interrupt handler.

2009-09-11 Thread Kumar Gala
On Sep 10, 2009, at 2:14 PM, Kumar Gala wrote: From: Scott Wood scottw...@freescale.com Skipping the interrupted instruction will accomplish nothing other than turning a spurious interrupt into a crash. External interrupts are not machine checks, so don't count them as such.

Re: [U-Boot] [PATCH] ppc/8xxx: Misc DDR related fixes

2009-09-11 Thread Kumar Gala
On Sep 10, 2009, at 3:30 PM, Kumar Gala wrote: * Fix setting of ESDMODE (MR1) register - the bit shifting was wrong * Fix the format string to match size in a debug print Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc8xxx/ddr/ctrl_regs.c| 10 +-

[U-Boot] [PATCH 1/2] ppc/85xx: Change cpu_init_early_f so we can use with NAND SPL

2009-09-11 Thread Kumar Gala
Use write_tlb and don't use memset so we can use the same code for cpu_init_early_f between NAND SPL and not. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/cpu_init.c | 34 +- 1 files changed, 25 insertions(+), 9 deletions(-) diff --git

[U-Boot] [PATCH 2/2] ppc/85xx: Split out cpu_init_early into its own file for NAND_SPL

2009-09-11 Thread Kumar Gala
By pulling out cpu_init_early we can build just it and not all of cpu_init for NAND_SPL. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/Makefile |1 + cpu/mpc85xx/cpu_init.c | 51 cpu/mpc85xx/cpu_init_early.c | 76

[U-Boot] [PATCH v2] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Ken MacLeod
Commit 4abd844d8e extended the fdt command parser to handle property strings which are split across multiple arguments but it was broken for byte streams and strings. Byte stream parsing: * Fixes where it would terminate early or go into an endless loop. * Fixes a 0x00 being inserted into the

Re: [U-Boot] [PATCH v2] cmd_fdt.c: fix parse of byte streams and strings

2009-09-11 Thread Jerry Van Baren
Ken MacLeod wrote: Commit 4abd844d8e extended the fdt command parser to handle property strings which are split across multiple arguments but it was broken for byte streams and strings. [snip] Signed-off-by: Ken MacLeod k...@bitsko.slc.ut.us --- The previous version of this patch 1) only

  1   2   >