Re: [U-Boot] [PATCH] MAKEALL: Fix return value

2009-12-05 Thread Mike Frysinger
On Sunday 06 December 2009 02:09:34 Peter Tyser wrote: > ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ > | tee ${LOG_DIR}/$target.ERR you could rewrite this to keep POSIX compliance: # need to maintain exit value ourselves as pipes eat it

[U-Boot] [PATCH] tools/mkimage: Remove duplicate line of code

2009-12-05 Thread Peter Tyser
Recent commits 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e and 6a590c5f5fd12cdd27f3153522acfac3854590e7 both fixed the same bug in the same manner. Unfortunately git was "smart" enough to merge both changes which resulted in some duplicate code. Signed-off-by: Peter Tyser --- tools/mkimage.c |

[U-Boot] [PATCH] MAKEALL: Fix return value

2009-12-05 Thread Peter Tyser
Previously MAKEALL would always return a value of 0, even if 1 or more boards did not compile. This change causes MAKEALL to return the number of board's which did not compile. 0 indicates success, 2 indicates 2 board did not compile, etc. Boards with compile warnings do not affect the return val

[U-Boot] i2c on mx27

2009-12-05 Thread alfred steele
Hi, Has anyone tried playing with the hardware i2c on the mx27 platform using u-boot. I am trying to enable the second controller and use hardware i2c by doing memory writes to the appropiate registers using "mw". Looks like i am missing out on some register values. I am unable to toggle the signa

[U-Boot] [PATCH] trab: fix warning: implicit declaration of function 'disable_vfd'

2009-12-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- cpu/arm920t/s3c24x0/timer.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cpu/arm920t/s3c24x0/timer.c b/cpu/arm920t/s3c24x0/timer.c index 20cedd4..a27f0e2 100644 --- a/cpu/arm920t/s3c24x0/timer.c +++ b/cpu/arm920t/s3c24x0/timer.c @@ -20

[U-Boot] [PATCH] zlib.c: avoid build conflicts for cradle board

2009-12-05 Thread Wolfgang Denk
Commit dce3d79710 updated the zlib code to v0.95; this caused conflicts when building for the "cradle" board, because the (pretty generic) preprocessor variable "OFF" was used in multiple files. Make sure to avoid further conflicts by #undef'ing it in zlib.c before redefining it. Signed-off-by: Wo

Re: [U-Boot] "MAKEALL: Add summary information" breaks MAKEALL return code

2009-12-05 Thread Peter Tyser
Hi Wolfgang, > your commit 40a28f0885 (MAKEALL: Add summary information) breaks > MAKEALL because we now don't get any useful return code any more. > You may argument that we didn't get one before, which is correct for > building multiple boards in one call. But when running something like > "MAKE

Re: [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...

2009-12-05 Thread Peter Tyser
On Sat, 2009-12-05 at 17:43 -0600, Peter Tyser wrote: > On Sun, 2009-12-06 at 00:06 +0100, Wolfgang Denk wrote: > > Dear Peter, > > > > your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks > > building of the MVBLUE board: > > > > -> ./MAKEALL MVBLUE > > Configuring for MVBLUE bo

Re: [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...

2009-12-05 Thread Peter Tyser
On Sun, 2009-12-06 at 00:06 +0100, Wolfgang Denk wrote: > Dear Peter, > > your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks > building of the MVBLUE board: > > -> ./MAKEALL MVBLUE > Configuring for MVBLUE board... > common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined r

[U-Boot] [PATCH] Fix out-of-tree building of "apollon" board.

2009-12-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index bcb3fe9..10abadf 100644 --- a/Makefile +++ b/Makefile @@ -3257,6 +3257,7 @@ zylonite_config : #

[U-Boot] "MAKEALL: Add summary information" breaks MAKEALL return code

2009-12-05 Thread Wolfgang Denk
Dear Peter, your commit 40a28f0885 (MAKEALL: Add summary information) breaks MAKEALL because we now don't get any useful return code any more. You may argument that we didn't get one before, which is correct for building multiple boards in one call. But when running something like "MAKEALL " we di

[U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...

2009-12-05 Thread Wolfgang Denk
Dear Peter, your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks building of the MVBLUE board: -> ./MAKEALL MVBLUE Configuring for MVBLUE board... common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo' make: *** [u-boot] Error 1 Can you please ha

Re: [U-Boot] [PATCH, REGRESSION] mpc83xx: provide option to set LCRR early

2009-12-05 Thread Peter Korsgaard
> "Kim" == Kim Phillips writes: Kim> On Fri, 20 Nov 2009 12:42:43 +0100 Kim> Peter Korsgaard wrote: >> E.G. on a 8347 board a bootup time increase of ~600ms has been observed: Kim> heh, even more on an 8313! Thanks for this - I hadn't realized the Kim> difference was so large (or neg

Re: [U-Boot] [PATCH V3 6/9] lcd: make 16bpp work

2009-12-05 Thread Alessandro Rubini
Sorry for this late though about lcd issues. > - lcd_color_fg : lcd_color_bg; > + *d++ = (bits & 0x80) ? 0x : 0; Here my patch uses hardwired 0 and ~0 for 16-bit pixels. Anatolij suggested to use lcd_color_fg and lcd_color_bg as in the o

[U-Boot] [PATCH V3 9/9] nhk8815: added lcd support

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini This adds lcd support for the board. It includes defines for 32-bit parameter as well, although support for LCD_COLOR32 is not yet in u-boot. This uses the stmpe2401 to turn on display backlight. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- board/st/nhk8

[U-Boot] [PATCH V3 8/9] nhk8815: start lower in RAM, so the 800x480 frame buffer fits

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini This simply moves u-boot to a lower address, as the frame buffer is allocated after u-boot itself in memory. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- board/st/nhk8815/config.mk |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff -

[U-Boot] [PATCH V3 7/9] nhk8815: added keypad

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini This patch adds keypad support for the nhk8815 board, based on the stmpe2401 driver. The keypad hosts 16 keys, so each of them sends a string instead of a single key. The provided keymap is only an example and must be customized according to the use case. Signed-off-by:

[U-Boot] [PATCH V3 6/9] lcd: make 16bpp work

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini Support for 16bpp was supposed to be in the code but was not working. This makes it work and has been tested in the nhk8815 board. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- common/lcd.c | 27 +-- 1 files changed, 21 insertion

[U-Boot] [PATCH V3 5/9] nhk8815.h: define we need stmpe

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- include/configs/nhk8815.h |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h index a00c2fb..e1be45b 100644 --- a/include/config

[U-Boot] [PATCH V3 4/9] drivers/misc: add stmpe2401 port extender and keypad controller

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini This driver is an i2c device acting as a port extender. Since the keypad can be configured to act on specific row and column lines, the specific setup is passed by the board file. This is used by the Nomadik nhk8815, through a later patch in this series. Signed-off-by: A

[U-Boot] [PATCH V3 3/9] include/nomadik.h: add physical address for cldc

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- include/nomadik.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/nomadik.h b/include/nomadik.h index d9405fd..ea65b2d 100644 --- a/include/nomadik.h +++ b/include/nomadik.h @@

[U-Boot] [PATCH V3 2/9] video: add amba-clcd prime-cell

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini This adds support for the CLCD logic cell. It accepts precompiled register values for specific configuration through a board-supplied data structure. It is used by the Nomadik nhk8815, added by a later patch in this series. Signed-off-by: Alessandro Rubini Acked-by: And

[U-Boot] [PATCH V3 1/9] nhk8815: change the order of initialization

2009-12-05 Thread Alessandro Rubini
From: Alessandro Rubini Some inizialization was in board_late_init(), but to satisfy drivers added in the next patches must be performed in normal board_init. This patch leaves board_late_init() empty, but later patches fill it. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo --- boar

[U-Boot] [PATCH V3 0/9] display and keypad support for nhk8815

2009-12-05 Thread Alessandro Rubini
This patch series is very similar to V2 I sent on Nov 25th, only 2/9 and 9/9 are different. Changes from V2: * the clcd driver using a C structure instead of numeric defines for register offsets. Renamed previous clcdc_regs to clcd_config, since regs is now the hardware-description structure. *

[U-Boot] Machine check exception on video driver initialization

2009-12-05 Thread Thirumalai
Hi Stefan, I am getting Machine check exception when my video driver is initializing. When i searched the net i found that you also faced the same kind of problem. I have mentioned the VIDEO_IO_OFFSET as 0xf000. This address is nothing but CONFIG_SYS_PCI1_IO_VIRT which is mention

[U-Boot] [PATCH] i2c: fix dangling comment in do_i2c_mw()

2009-12-05 Thread Heiko Schocher
commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b delete some unused code in do_i2c_mw(), but missed to fix the inherent commment. This patch fix this comment. Signed-off-by: Heiko Schocher --- common/cmd_i2c.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/common/cmd_

Re: [U-Boot] [PATCH] Removes dead code in the file common/cmd_i2c.c

2009-12-05 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > In message <4b175f3f.2060...@denx.de> you wrote: >>> Applied, thanks. >>> >>> Heiko, I hope this is OK with you. >> Hmm.. not really, my last comment on this was: > > Ouch, sorry. No probelm. >> http://lists.denx.de/pipermail/u-boot/2009-November/064245.ht

Re: [U-Boot] [PATCH] [for next] i2c, ppc4xx: fix compiling KAREF and METROBOX boards.

2009-12-05 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > In message <200912031154.39962...@denx.de> you wrote: >> The board maintainer, Travis Sawyer, doesn't work for Sandburst (acquired by >> Broadcom some time ago?) any more. So we can't get his comments on this. Not >> sure what to do with those Sandburst boa