Re: [U-Boot] [PATCH 2/2] GCC47: Fix warning in md5.c

2012-04-28 Thread Mike Frysinger
On Saturday 28 April 2012 18:28:40 Marek Vasut wrote: > --- a/include/u-boot/md5.h > +++ b/include/u-boot/md5.h > @@ -11,7 +11,10 @@ > struct MD5Context { > __u32 buf[4]; > __u32 bits[2]; > - unsigned char in[64]; > + union { > + unsigned char in[64]; > +

Re: [U-Boot] [PATCH v2 01/11] arm: Optionally use existing atags in bootm.c

2012-04-28 Thread Mike Frysinger
On Saturday 28 April 2012 13:26:41 Pali Rohár wrote: > defined(CONFIG_INITRD_TAG) || \ > defined(CONFIG_SERIAL_TAG) || \ > defined(CONFIG_REVISION_TAG) > + #define CONFIG_SETUP_ANY_TAG don't indent the "#" -mike signature.asc Description: This is a digitally signed

[U-Boot] [PATCH 2/2] GCC47: Fix warning in md5.c

2012-04-28 Thread Marek Vasut
md5.c: In function ‘MD5Final’: md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut Cc: Wolfgang Denk

[U-Boot] [PATCH 1/2] GCC47: Fix warning in cmd_nand.c

2012-04-28 Thread Marek Vasut
cmd_nand.c: In function ‘arg_off_size’: cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Marek Vasut Cc: Scott Wood Cc: Wolfgang Denk --- common/cmd_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) NOTE: Why

Re: [U-Boot] [PATCH 1/2] GCC47: Fix warning in cmd_nand.c

2012-04-28 Thread Marek Vasut
Dear Marek Vasut, > cmd_nand.c: In function ‘arg_off_size’: > cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this > function [-Wmaybe-uninitialized] AW CRAP ... ignore this, damn encoding problem. > > Signed-off-by: Marek Vasut > Cc: Scott Wood > --- > common/cmd_n

[U-Boot] [PATCH 2/2] GCC47: Fix warning in md5.c

2012-04-28 Thread Marek Vasut
md5.c: In function ‘MD5Final’: md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut Cc: Wolfgang De

[U-Boot] [PATCH 1/2] GCC47: Fix warning in cmd_nand.c

2012-04-28 Thread Marek Vasut
cmd_nand.c: In function ‘arg_off_size’: cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Marek Vasut Cc: Scott Wood --- common/cmd_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/

Re: [U-Boot] [PATCH v2 06/11] cfb_console: Add support for some ANSI terminal escape codes

2012-04-28 Thread Marek Vasut
Dear Pali Rohár, > * This patch add support for move cursor and reverse colors >via ANSI espace codes in cfb_console driver > * ANSI escape codes can be enabled/disabled via CONFIG_CFB_CONSOLE_ANSI > > Signed-off-by: Pali Rohár > --- > Changes since v1: >- Added support ANSI code show/

Re: [U-Boot] [PATCH v2 05/11] cfb_console: Add functions for moving with cursor

2012-04-28 Thread Marek Vasut
Dear Pali Rohár, > * console_cursor_fix - fix cursor position (check for out of screen) > * console_cursor_up, console_cursor_down, console_cursor_left, >console_cursor_right, console_cursor_set_position for change cursor > position * console_newline - added param to specify count of creatin

Re: [U-Boot] [PATCH v2 04/11] cfb_console: Add function console_clear and console_clear_line

2012-04-28 Thread Marek Vasut
Dear Pali Rohár, > * console_clear - clear full console framebuffer output > * console_clear_line - clear part of specified line (or full) > > Signed-off-by: Pali Rohár > --- > Changes since original version: >- Fixed commit message > > drivers/video/cfb_console.c | 64 > ++

Re: [U-Boot] [PATCH v2 03/11] cfb_console: Fix function console_back

2012-04-28 Thread Marek Vasut
Dear Pali Rohár, > * Do not disable and enable cursor again Can you elaborate please? > > Signed-off-by: Pali Rohár > --- > drivers/video/cfb_console.c |2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c > index 904caf7..51e

Re: [U-Boot] [PATCH v2 01/11] arm: Optionally use existing atags in bootm.c

2012-04-28 Thread Marek Vasut
Dear Pali Rohár, > This patch adapts the bootm command so that it can use an existing atags > command set up by a previous bootloader. If the environment variable > "atagaddr" is unset, bootm behaves as normal. If "atagaddr" is set, bootm > will use atags address from environment variable and also

Re: [U-Boot] [PATCH v2 11/11] New board support: Nokia RX-51 aka N900

2012-04-28 Thread Wolfgang Denk
Dear =?UTF-8?q?Pali=20Roh=C3=A1r?=, In message <1335634011-9104-12-git-send-email-pali.ro...@gmail.com> you wrote: > VGhpcyBib2FyZCBkZWZpbml0aW9uIHJlc3VsdHMgaW4gYSB1LWJvb3QuYmluIHdoaWNoIGNhbiBi > ZSBjaGFpbmxvYWRlZApmcm9tIE5PTE8gaW4gcWVtdSBvciBvbiBhIHJlYWwgTjkwMC4gSXQgZG9l > cyB2ZXJ5IGxpdHRsZSBoYXJ

Re: [U-Boot] [PATCH v2 01/11] arm: Optionally use existing atags in bootm.c

2012-04-28 Thread Wolfgang Denk
Dear =?UTF-8?q?Pali=20Roh=C3=A1r?=, In message <1335634011-9104-2-git-send-email-pali.ro...@gmail.com> you wrote: > VGhpcyBwYXRjaCBhZGFwdHMgdGhlIGJvb3RtIGNvbW1hbmQgc28gdGhhdCBpdCBjYW4gdXNlIGFu > IGV4aXN0aW5nIGF0YWdzIGNvbW1hbmQKc2V0IHVwIGJ5IGEgcHJldmlvdXMgYm9vdGxvYWRlci4g > SWYgdGhlIGVudmlyb25tZW50

Re: [U-Boot] [PATCH v2 10/11] New config variable CONFIG_PREMONITOR

2012-04-28 Thread Wolfgang Denk
Dear =?UTF-8?q?Pali=20Roh=C3=A1r?=, In message <1335634011-9104-11-git-send-email-pali.ro...@gmail.com> you wrote: > * if defined run env "premonitor" before Main Loop for Monitor Processing What would be the difference compared to "preboot" ? Best regards, Wolfgang Denk -- DENX Software Eng

Re: [U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-04-28 Thread Mike Frysinger
On Saturday 28 April 2012 11:04:07 Anatolij Gustschin wrote: > +static int cfb_fb_is_in_dram(void) > +{ > + bd_t *bd = gd->bd; > + ulong start, end; > + int i; > + > + for (i = 0; i < CONFIG_NR_DRAM_BANKS; ++i) { > +#if defined(CONFIG_ARM) || defined(CONFIG_AVR32) || defined(COFNIG_

[U-Boot] [PATCH v2 10/11] New config variable CONFIG_PREMONITOR

2012-04-28 Thread Pali Rohár
* if defined run env "premonitor" before Main Loop for Monitor Processing Signed-off-by: Pali Rohár --- Changes since v1: - use run_command instead run_command2 Changes since original version: - removed #ifdef CONFIG_PREMONITOR in main.c common/env_common.c |3 +++ common/main.c

[U-Boot] [PATCH v2 09/11] New command clear: Clear the ANSI terminal

2012-04-28 Thread Pali Rohár
* Command can be enabled by CONFIG_CMD_CLEAR * Added some ANSI escape codes definitions in common.h Signed-off-by: Pali Rohár Cc: Marcel Mol --- Changes since original version: - Renamed command clr to clear - Use puts instead printf - Move cursor to pos1,1 - Merged parts of patch

[U-Boot] [PATCH v2 08/11] video: cfb_console: flush dcache for frame buffer in DRAM

2012-04-28 Thread Pali Rohár
From: Anatolij Gustschin Data cache flushing is required for frame buffer in RAM to fix the distorted console text output. Currently this text distortion is observed with cfb on beageboard and N900 when running with data cache enabled. Reported-by: Pali Rohár Tested-by: Pali Rohár Signed-off-b

[U-Boot] [PATCH v2 07/11] cfb_console: Ignore bell character

2012-04-28 Thread Pali Rohár
Signed-off-by: Pali Rohár --- drivers/video/cfb_console.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index c9f9765..dae2178 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -886,6 +886,9 @@ stati

[U-Boot] [PATCH v2 06/11] cfb_console: Add support for some ANSI terminal escape codes

2012-04-28 Thread Pali Rohár
* This patch add support for move cursor and reverse colors via ANSI espace codes in cfb_console driver * ANSI escape codes can be enabled/disabled via CONFIG_CFB_CONSOLE_ANSI Signed-off-by: Pali Rohár --- Changes since v1: - Added support ANSI code show/hide cursor - Added info to REA

[U-Boot] [PATCH v2 03/11] cfb_console: Fix function console_back

2012-04-28 Thread Pali Rohár
* Do not disable and enable cursor again Signed-off-by: Pali Rohár --- drivers/video/cfb_console.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 904caf7..51ea167 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/vide

[U-Boot] [PATCH v2 05/11] cfb_console: Add functions for moving with cursor

2012-04-28 Thread Pali Rohár
* console_cursor_fix - fix cursor position (check for out of screen) * console_cursor_up, console_cursor_down, console_cursor_left, console_cursor_right, console_cursor_set_position for change cursor position * console_newline - added param to specify count of creating new lines * console_pr

[U-Boot] [PATCH v2 04/11] cfb_console: Add function console_clear and console_clear_line

2012-04-28 Thread Pali Rohár
* console_clear - clear full console framebuffer output * console_clear_line - clear part of specified line (or full) Signed-off-by: Pali Rohár --- Changes since original version: - Fixed commit message drivers/video/cfb_console.c | 64 +++ 1 file

[U-Boot] [PATCH v2 01/11] arm: Optionally use existing atags in bootm.c

2012-04-28 Thread Pali Rohár
This patch adapts the bootm command so that it can use an existing atags command set up by a previous bootloader. If the environment variable "atagaddr" is unset, bootm behaves as normal. If "atagaddr" is set, bootm will use atags address from environment variable and also append new boot args (if

[U-Boot] [PATCH v2 02/11] Add power bus message definitions in twl4030.h

2012-04-28 Thread Pali Rohár
* Code copied from linux kernel 3.0.0 from file include/linux/i2c/twl.h Signed-off-by: Pali Rohár --- Changes since original version: - Fixed commit message include/twl4030.h | 98 + 1 file changed, 98 insertions(+) diff --git a/include/

[U-Boot] [PATCH v2 00/11] Nokia RX-51 support

2012-04-28 Thread Pali Rohár
This patch series add support for new board Nokia RX-51 (aka N900). This patch series supersedes version v1. It was rebased on top of u-boot master and in this version was dropped BootMenu support. Patch details: Already commited (dropped) patches: arm,omap3: Define save_boot_params in lowlevel

Re: [U-Boot] [PATCH 05/14] cfb_console: Fix function console_scrollup

2012-04-28 Thread Pali Rohár
On Saturday 28 April 2012 17:11:51 Anatolij Gustschin wrote: > On Thu, 26 Apr 2012 23:50:57 +0200 > > Pali Rohár wrote: > > On Thursday 26 April 2012 23:45:52 Anatolij Gustschin wrote: > > > Hi, > > > > > > On Tue, 24 Jan 2012 15:28:02 +0100 > > > > > > Pali Rohár wrote: > > > > * Use correct bu

Re: [U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-04-28 Thread Pali Rohár
On Saturday 28 April 2012 17:04:07 you wrote: > Data cache flushing is required for frame buffer in RAM to fix > the distorted console text output. Currently this text > distortion is observed with cfb on beageboard and N900 when > running with data cache enabled. > > Reported-by: Pali Rohár > Sig

Re: [U-Boot] [PATCH V3] i.MX6: mx6q_sabrelite: add SATA bindings

2012-04-28 Thread Eric Nelson
Hi Dirk, On 04/28/2012 07:51 AM, Dirk Behme wrote: Hi Eric, On 26.04.2012 01:50, Eric Nelson wrote: Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately from setup_sata() if e

Re: [U-Boot] [PATCH, V2] Resend: i.MX6: add enable_sata_clock()

2012-04-28 Thread Eric Nelson
On 04/28/2012 07:42 AM, Dirk Behme wrote: Hi Eric, first, do you really want the "Resend" in the subject? On 26.04.2012 01:48, Eric Nelson wrote: This patch requires Stefano's driver for MX5/MX6 to be useful. http://lists.denx.de/pipermail/u-boot/2012-February/118530.html This is the first an

Re: [U-Boot] [PATCH 05/14] cfb_console: Fix function console_scrollup

2012-04-28 Thread Anatolij Gustschin
On Thu, 26 Apr 2012 23:50:57 +0200 Pali Rohár wrote: > On Thursday 26 April 2012 23:45:52 Anatolij Gustschin wrote: > > Hi, > > > > On Tue, 24 Jan 2012 15:28:02 +0100 > > > > Pali Rohár wrote: > > > * Use correct buffer size, do not damage screen output > > > > It seems that I can reproduce

[U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-04-28 Thread Anatolij Gustschin
Data cache flushing is required for frame buffer in RAM to fix the distorted console text output. Currently this text distortion is observed with cfb on beageboard and N900 when running with data cache enabled. Reported-by: Pali Rohár Signed-off-by: Anatolij Gustschin --- drivers/video/cfb_cons

Re: [U-Boot] [PATCH V3] i.MX6: mx6q_sabrelite: add SATA bindings

2012-04-28 Thread Dirk Behme
Hi Eric, On 26.04.2012 01:50, Eric Nelson wrote: Signed-off-by: Eric Nelson --- V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. V3 returns immediately from setup_sata() if enable_sata_clock() returns an error. board/freesca

Re: [U-Boot] [PATCH, V2] Resend: i.MX6: add enable_sata_clock()

2012-04-28 Thread Dirk Behme
Hi Eric, first, do you really want the "Resend" in the subject? On 26.04.2012 01:48, Eric Nelson wrote: This patch requires Stefano's driver for MX5/MX6 to be useful. http://lists.denx.de/pipermail/u-boot/2012-February/118530.html This is the first and board-independent part of what's

Re: [U-Boot] [PATCH v3 0/7] tegra: Add NAND flash support

2012-04-28 Thread Thierry Reding
* Stephen Warren wrote: > On 04/26/2012 11:10 PM, Thierry Reding wrote: > > * Stephen Warren wrote: > >> On 04/26/2012 12:32 PM, Thierry Reding wrote: > >>> The problem is that neither the format of the BCT nor that of the PT is > >>> documented anywhere. It seems like the BCT contains a reference

[U-Boot] [PATCH][SDK1.2] powerpc/p1010rdb: add readme document for p1010rdb

2012-04-28 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- doc/README.p1010rdb | 147 +++ 1 files changed, 147 insertions(+), 0 deletions(-) create mode 100644 doc/README.p1010rdb diff --git a/doc/README.p1010rdb b/doc/README.p1010rdb new file mode 100644 index 000..5