Re: [U-Boot] [PATCH] Davinci: add a pin multiplexer configuration API

2009-10-30 Thread Wolfgang Denk
Dear Kim Phillips, In message 20091029182304.469c9f7f.kim.phill...@freescale.com you wrote: + if (field PIN_MUX_NUM_FIELDS + (value ~PIN_MUX_FIELD_MASK) == 0) { the second line should not be indented as though it is the code subblock; it should fall

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-30 Thread Wolfgang Denk
Dear Scott Wood, In message 20091029161835.ga28...@loki.buserror.net you wrote: We can't build everything with it, as we have a lot of code that is incompatible. There were already exceptions in the makefiles for these files. Fixing that code is beyond the scope of this change, especially

Re: [U-Boot] [PATCH] ARM AT91 new board EB+CPUx9K2

2009-10-30 Thread Wolfgang Denk
Dear Jens Scharsig, In message 4ae99ba5.3090...@bus-elektronik.de you wrote: By the way, the AT91RM9200.h. has hundreds of style problems. This requires a complete revision of the AT91RM9200.h. I can try this, but will take a while and I can't test other RM9200 boards. I am aware of these

Re: [U-Boot] [PATCH 1/6] mkconfig: Create board directory (CONFIG_BOARDDIR) in include/config.h

2009-10-30 Thread Stefan Roese
Hi Wolfgang, On Tuesday 27 October 2009 16:42:03 Stefan Roese wrote: This patch extends the mkconfig script to automatically create a define for the board directory in include/config.h: #define CONFIG_BOARDDIR board/amcc/canyonlands This is needed for the upcoming PPC4xx linker script

Re: [U-Boot] [PATCH] ARM AT91 new board EB+CPUx9K2

2009-10-30 Thread Jens Scharsig
Dear Wolfgang Denk Dear Jens Scharsig, In message 4ae99ba5.3090...@bus-elektronik.de you wrote: By the way, the AT91RM9200.h. has hundreds of style problems. This requires a complete revision of the AT91RM9200.h. I can try this, but will take a while and I can't test other RM9200 boards.

[U-Boot] [PATCH 02/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
GEC2410 boot from NAND FLASH. Signed-off-by: Hui.Tang zetal...@gmail.com --- nand_spl/board/gec/gec2410/Makefile | 102 + nand_spl/board/gec/gec2410/config.mk | 40 + nand_spl/board/gec/gec2410/u-boot.lds | 60 +++ 3 files

[U-Boot] [PATCH 01/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
New Board GEC2410 Setup. Signed-off-by: Hui.Tang zetal...@gmail.com --- board/gec/gec2410/Makefile| 54 + board/gec/gec2410/README | 85 board/gec/gec2410/config.mk | 32 +++ board/gec/gec2410/flash.c | 417 +

[U-Boot] [PATCH 03/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Add GEC2410 default config. Signed-off-by: Hui.Tang zetal...@gmail.com --- include/configs/gec2410.h | 275 + 1 files changed, 275 insertions(+), 0 deletions(-) create mode 100644 include/configs/gec2410.h diff --git a/include/configs/gec2410.h

[U-Boot] [PATCH 04/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Add gec2410_config option for GEC2410 Signed-off-by: Hui.Tang zetal...@gmail.com --- Makefile |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index bcb3fe9..2de0b1d 100644 --- a/Makefile +++ b/Makefile @@ -2951,6 +2951,13 @@

[U-Boot] [PATCH 05/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Add GEC2410 Clock Setting. Signed-off-by: Hui.Tang zetal...@gmail.com --- cpu/arm920t/s3c24x0/timer.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cpu/arm920t/s3c24x0/timer.c b/cpu/arm920t/s3c24x0/timer.c index 20cedd4..d4787b9 100644 --- a/cpu/arm920t/s3c24x0/timer.c

[U-Boot] [PATCH 06/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
GEC2410 Boot from NAND FLASH. Signed-off-by: Hui.Tang zetal...@gmail.com --- cpu/arm920t/start.S | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/cpu/arm920t/start.S b/cpu/arm920t/start.S index 114427a..d8b832a 100644 ---

[U-Boot] [PATCH 07/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Fix CS8900 dev-priv not init issue. Signed-off-by: Hui.Tang zetal...@gmail.com --- drivers/net/cs8900.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index 587f7f6..962b74c 100644 --- a/drivers/net/cs8900.c +++

[U-Boot] [PATCH 08/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Add missing function for CONFIG_NAND_SPL Signed-off-by: Hui.Tang zetal...@gmail.com --- drivers/mtd/nand/s3c2410_nand.c | 29 - 1 files changed, 24 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/nand/s3c2410_nand.c b/drivers/mtd/nand/s3c2410_nand.c index

[U-Boot] [PATCH 09/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Add GEC2410 Maintainers. Signed-off-by: Hui.Tang zetal...@gmail.com --- MAINTAINERS |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index d70a9d2..6ecba41 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -429,6 +429,10 @@ Timur Tabi

[U-Boot] [PATCH 10/10] ARM Add New Board GEC2410

2009-10-30 Thread Hui.Tang
Add gec2410 in MAKEALL. Signed-off-by: Hui.Tang zetal...@gmail.com --- MAKEALL |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/MAKEALL b/MAKEALL index d63c5c2..fffa58a 100755 --- a/MAKEALL +++ b/MAKEALL @@ -548,6 +548,7 @@ LIST_ARM9= \ cp926ejs

[U-Boot] Environment, flash, config.

2009-10-30 Thread Tuma
I have some questions about MTD flash partitioning in OMAP3EVM. From the OMAP3 manual: 0x-0x0008 : X-Loader-ONENAND 0x0008-0x0024 : U-Boot-ONENAND 0x0024-0x0028 : Boot Env-ONENAND 0x0028-0x0078 : Kernel-ONENAND 0x0078-0x0800 : File System-ONENAND Is it

[U-Boot] [PATCH] POST: Remove duplicated post_hotkey_pressed() functions

2009-10-30 Thread Stefan Roese
This patch introduces a weak default function for post_hotkey_pressed(), returning 0, for boards without hotkey support. The long-running tests won't be started on those boards. This default function was implemented in many board directories. By implementing this weak default we can remove all

Re: [U-Boot] [PATCH 07/10] ARM Add New Board GEC2410

2009-10-30 Thread Ben Warren
Hui.Tang, On Fri, Oct 30, 2009 at 3:39 AM, Hui.Tang zetal...@gmail.com wrote: Fix CS8900 dev-priv not init issue. Signed-off-by: Hui.Tang zetal...@gmail.com --- drivers/net/cs8900.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/cs8900.c

Re: [U-Boot] [PATCH 03/10] ARM Add New Board GEC2410

2009-10-30 Thread Ben Warren
Hui.Tang, On Fri, Oct 30, 2009 at 3:39 AM, Hui.Tang zetal...@gmail.com wrote: Add GEC2410 default config. Signed-off-by: Hui.Tang zetal...@gmail.com --- include/configs/gec2410.h | 275 + snip + +#define CONFIG_BOOTDELAY 3 +/*#define

Re: [U-Boot] FPGA relocation/C environment

2009-10-30 Thread Wolfgang Wegner
Hi, thank you all for all the comments so far. It seems I have at least 2 problems: - my gcc (m68k-elf-gcc (Sourcery G++ Lite 4.3-208) 4.3.3) does not produce correctly relocatable code; no matter if I give -fPIC or not (-mrelocatable is not accepted at all), I do not get any entries in

Re: [U-Boot] [PATCH 1/2] Add minimal SJA1000 header for basic CAN mode

2009-10-30 Thread Matthias Fuchs
Wolfgang, can you please apply this patch. It currently prevents Stefan to proceed with my other 4xx patches. Alternatively this could be done by Stefan through the 4xx repo. Regards, Matthias On Monday 26 October 2009 09:55, Matthias Fuchs wrote: This patch is in preparation for the upcoming

[U-Boot] Please pull u-boot-i2c.git next

2009-10-30 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit f2b4bc04d6aed6be712d236dab48ac4c4da22cbf: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash are available in the git repository at: git://git.denx.de/u-boot-i2c.git next Mike Frysinger (2):

Re: [U-Boot] [PATCH 0/6] ppc4xx: Linker script consolidation

2009-10-30 Thread Matthias Fuchs
Tested on two esd boards. Works fine! Matthias On Tuesday 27 October 2009 16:41, Stefan Roese wrote: This patchset will consolidate the linker scripts for PPC4xx. My plan is to push this in the next merge window. I've pushed this patchset in the 4xx-linker-script branch of the ppc4xx

[U-Boot] [u-boot] [PATCH][1/2] mx27: Add necessary defines and helper functions to support I2C in i.MX27.

2009-10-30 Thread Javier Martin
Add proper register definitions, macros and clock functions required for I2C driver to be developed. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com -- diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c index 808371f..540ef0c 100644 ---

[U-Boot] [u-boot][PATCH][2/2] i2c_mxc: Add I2C support for i.MX27 chip processor.

2009-10-30 Thread Javier Martin
Add support for I2C in i.MX27 chip. Tested on imx27_visstrim_m10 board. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com -- diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 8e10fbb..63a8085 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -2,6 +2,8 @@

[U-Boot] [RFC PATCH] Implementation of non-blocking flash write/erase/status check functions.

2009-10-30 Thread Wolfgang Wegner
write_buff_nb() introduces quite an amount of duplicate code compared to write_buff(), but I did not find an elegant solution to partition them. Signed-off-by: Wolfgang Wegner w.weg...@astro-kom.de --- drivers/mtd/cfi_flash.c | 440 ++-

Re: [U-Boot] [PATCH] Davinci: add a pin multiplexer configuration API

2009-10-30 Thread Kim Phillips
On Fri, 30 Oct 2009 09:26:12 +0100 Wolfgang Denk w...@denx.de wrote: Dear Kim Phillips, In message 20091029182304.469c9f7f.kim.phill...@freescale.com you wrote: if (field PIN_MUX_NUM_FIELDS (value ~PIN_MUX_FIELD_MASK) == 0) { + int offset = field *

Re: [U-Boot] [RFC PATCH] Implementation of non-blocking flash write/erase/status check functions.

2009-10-30 Thread Wolfgang Wegner
Hi list, sorry, there should have been more description on top, but somehow I messed up the commit log message and did not realize it until now. :-( Implementation of non-blocking flash write/erase/status check functions. Enable with CONFIG_SYS_FLASH_CFI_NONBLOCK These can be useful to erase

Re: [U-Boot] [PATCH] Davinci: add a pin multiplexer configuration API

2009-10-30 Thread Thompson, Nick (GE EntSol, Intelligent Platforms)
From: Kim Phillips [mailto:kim.phill...@freescale.com] Sent: 30 October 2009 14:57 On Fri, 30 Oct 2009 09:26:12 +0100 Wolfgang Denk w...@denx.de wrote: Dear Kim Phillips, In message 20091029182304.469c9f7f.kim.phill...@freescale.com you wrote: if (field PIN_MUX_NUM_FIELDS

[U-Boot] [RFC PATCH] add ability to handle compressed images to imxtract

2009-10-30 Thread Wolfgang Wegner
imxtract currently can not handle compressed images. This patch adds handling for bzip2 and zip compression. In both cases, a destination address has to be specified for extraction. Signed-off-by: Wolfgang Wegner w.weg...@astro-kom.de --- common/cmd_ximg.c | 82

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-30 Thread Scott Wood
On Fri, Oct 30, 2009 at 09:28:04AM +0100, Wolfgang Denk wrote: Dear Scott Wood, In message 20091029161835.ga28...@loki.buserror.net you wrote: We can't build everything with it, as we have a lot of code that is incompatible. There were already exceptions in the makefiles for these

[U-Boot] [PATCH] add block write function to spartan3 slave serial load

2009-10-30 Thread Wolfgang Wegner
Using seperate function calls for each bit-bang of slave serial load can be painfully slow. This patch adds the possibility to supply a block write function that loads the complete block of data in one call (like it can already be done with Altera FPGAs). On an MCF5373L (240 MHz) loading an

[U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Gadiyar, Anand
Hi, I was trying to build u-boot for omap3_3430sdp and omap3_zoom2, and the build fails with the error below. I'm on commit f2b4bc0 from the master branch. I'm using CodeSourcery's 2008q3 toolchain. The commands I ran were: make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_3430sdp_config; make

[U-Boot] Beagle Zippy: OMAP3 SPI code for U-Boot?

2009-10-30 Thread Dirk Behme
Hi, does anybody have code for OMAP3 SPI? Zippy board [1] for Beagle connects ENC28J60 ethernet via OMAP3's SPI4. Or even better: Does anybody have already done any Zippy U-Boot work? Thanks Dirk [1] http://www.tincantools.com/product.php?productid=16147cat=0page=1featured

Re: [U-Boot] [PATCH] Davinci: add a pin multiplexer configuration API

2009-10-30 Thread Kim Phillips
On Fri, 30 Oct 2009 15:17:40 + Thompson, Nick (GE EntSol, Intelligent Platforms) nick.thomp...@gefanuc.com wrote: From: Kim Phillips [mailto:kim.phill...@freescale.com] Sent: 30 October 2009 14:57 On Fri, 30 Oct 2009 09:26:12 +0100 Wolfgang Denk w...@denx.de wrote: Dear Kim

Re: [U-Boot] about nand_read_byte() interface

2009-10-30 Thread Scott Wood
On Fri, Oct 30, 2009 at 01:20:58PM +0800, HeLei wrote: Hi, all Hi, please wrap your lines at 75 or so characters -- and definitely don't paste code as all one line. I'm a little confused on NAND read operation. According to NAND character, NAND flash is read page by page, which mean's

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-30 Thread Mike Frysinger
On Friday 30 October 2009 11:53:43 Scott Wood wrote: On Fri, Oct 30, 2009 at 09:28:04AM +0100, Wolfgang Denk wrote: Scott Wood wrote: We can't build everything with it, as we have a lot of code that is incompatible. There were already exceptions in the makefiles for these files.

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-30 Thread Scott Wood
Mike Frysinger wrote: then lets go the route you proposed -- invert the logic. default includes the -pedantic flag while the HOSTCOMPILE_NOPED does not. and we use that for the code that needs newer standards. OK. Should I drop the easylogo change, if it's currently being built outside

Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Dirk Behme
Gadiyar, Anand wrote: Hi, I was trying to build u-boot for omap3_3430sdp and omap3_zoom2, and the build fails with the error below. I'm on commit f2b4bc0 from the master branch. I'm using CodeSourcery's 2008q3 toolchain. The commands I ran were: make

Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Gadiyar, Anand
Hi, I was trying to build u-boot for omap3_3430sdp and omap3_zoom2, and the build fails with the error below. I'm on commit f2b4bc0 from the master branch. I'm using CodeSourcery's 2008q3 toolchain. The commands I ran were: make CROSS_COMPILE=arm-none-linux-gnueabi-

Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Gadiyar, Anand
Nishant Menon wrote: On Fri, Oct 30, 2009 at 6:47 PM, Dirk Behme dirk.be...@googlemail.com wrote: Gadiyar, Anand wrote: Hi, I was trying to build u-boot for omap3_3430sdp and omap3_zoom2, and the build fails with the error below. I'm on commit f2b4bc0 from the master branch. I'm using

Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Nishanth Menon
On Fri, Oct 30, 2009 at 6:47 PM, Dirk Behme dirk.be...@googlemail.com wrote: Gadiyar, Anand wrote: Hi, I was trying to build u-boot for omap3_3430sdp and omap3_zoom2, and the build fails with the error below. I'm on commit f2b4bc0 from the master branch. I'm using CodeSourcery's 2008q3

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-30 Thread Mike Frysinger
On Friday 30 October 2009 12:47:33 Scott Wood wrote: Mike Frysinger wrote: Should I drop the easylogo change, if it's currently being built outside the toplevel makefile system? if you tested what you said (setting the var from the cmdline), then i'd leave it. we can address poor tool

[U-Boot] [PATCH v4 1/2] NET: Move MDIO regs out of TSEC Space

2009-10-30 Thread Sandeep Gopalpet
Moved the mdio regs out of the tsec structure,and provided different offsets for tsec base and mdio base so that provision for etsec2.0 can be provided. This patch helps in providing the support for etsec2.0 In etsec2.0, the MDIO register space and the etsec reg space are different. Also, moved

[U-Boot] [PATCH v4 2/2] NET: Base support for etsec2.0

2009-10-30 Thread Sandeep Gopalpet
1. Modified the tsec_mdio structure to include the new regs 2. Modified the MDIO_BASE_ADDR so that it will handle both older version and new version of etsec. Signed-off-by: Sandeep Gopalpet sandeep.ku...@freescale.com --- include/asm-ppc/immap_83xx.h |2 +- include/asm-ppc/immap_85xx.h |

[U-Boot] [PATCH] NAND: Update to support 64 bit device size

2009-10-30 Thread s-paulraj
From: Sandeep Paulraj s-paul...@ti.com This patch adds support for NANDs greater than 2 GB. Patch is based on the MTD NAND driver in the kernel. Signed-off-by: Sandeep Paulraj s-paul...@ti.com --- Tested this on the DaVinci DM355 EVM. drivers/mtd/nand/nand_base.c | 29

Re: [U-Boot] [PATCH] NAND: Update to support 64 bit device size

2009-10-30 Thread Paulraj, Sandeep
I referred to this http://git.infradead.org/mtd-2.6.git?a=commit;h=69423d99fc182a81f3c5db3eb5c140acc6fc64be and picked up the MTD NAND specific stuff From: Sandeep Paulraj s-paul...@ti.com This patch adds support for NANDs greater than 2 GB. Patch is based on the MTD NAND driver in the

Re: [U-Boot] [RFC PATCH] Implementation of non-blocking flash write/erase/status check functions.

2009-10-30 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message 1256914121-26044-1-git-send-email-w.weg...@astro-kom.de you wrote: write_buff_nb() introduces quite an amount of duplicate code compared to write_buff(), but I did not find an elegant solution to partition them. Signed-off-by: Wolfgang Wegner

Re: [U-Boot] [PATCH v4 1/2] NET: Move MDIO regs out of TSEC Space

2009-10-30 Thread Kim Phillips
On Sat, 31 Oct 2009 00:35:04 +0530 Sandeep Gopalpet sandeep.ku...@freescale.com wrote: Moved the mdio regs out of the tsec structure,and provided different offsets for tsec base and mdio base so that provision for etsec2.0 can be provided. This patch helps in providing the support for

[U-Boot] ads5121 - remove PSC serial console support

2009-10-30 Thread Angelo
Hi all, I'm working on freescale ev. board ads5121ev and I'm trying to remove serial console support. Do you know the right procedure to remove it? Thanks in advance. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Nishanth Menon
Gadiyar, Anand said the following on 10/30/2009 06:54 PM: Hi, I was trying to build u-boot for omap3_3430sdp and omap3_zoom2, and the build fails with the error below. I'm on commit f2b4bc0 from the master branch. I'm using CodeSourcery's 2008q3 toolchain. The commands I ran were: make

Re: [U-Boot] ads5121 - remove PSC serial console support

2009-10-30 Thread Wolfgang Denk
Dear Angelo, In message 630811.21371...@web23106.mail.ird.yahoo.com you wrote: I'm working on freescale ev. board ads5121ev and I'm trying to remove serial console support. Which sense would this make? Do you know the right procedure to remove it? The right procedure is to keep it! U-Boot

Re: [U-Boot] Build breaks on some OMAP3 configs

2009-10-30 Thread Wolfgang Denk
Dear Nishanth Menon, In message 4aeb4dc5.9040...@gmail.com you wrote: for some wierd reason, it does not seem to take the include/config.mk file (where the defines are present).. now, if i do a local clone of the cloned directory, it builds just fine! gotta dig at it a little more.. Maybe

Re: [U-Boot] FPGA relocation/C environment

2009-10-30 Thread Graeme Russ
Wolfgang Wegner wrote: Hi, thank you all for all the comments so far. It seems I have at least 2 problems: - my gcc (m68k-elf-gcc (Sourcery G++ Lite 4.3-208) 4.3.3) does not produce correctly relocatable code; no matter if I give -fPIC or not (-mrelocatable is not accepted at all), I

Re: [U-Boot] ads5121 - remove PSC serial console support

2009-10-30 Thread Angelo
Ok, I'm trying to reduce boot time and i don't want to omit anything! I know that console is fundamental, but i need to disable it. After some modifies it seems like u-boot execute an infinite loop, waiting for unknown something. Are there some special file (e.g. cpu/mpc512x/serial.c,

[U-Boot] [PATCH] S3C6400/SMDK6400: fix stack_setup in start.S

2009-10-30 Thread Seunghyeon Rhee (이승현)
stack_setup is modified to initialize the stack on the correct address in DRAM accroding to the typical memory configuration described in README and the related CONFIG_* macro definitions. This makes macro CONFIG_MEMORY_UPPER_CODE no longer necessry. This was introduced and used only by this board