Re: [U-Boot] [STATUS] -rc3 is out

2011-12-23 Thread Simon Glass
Hi Albert, On Fri, Dec 23, 2011 at 4:17 AM, Albert ARIBAUD wrote: > Le 23/12/2011 12:30, Wolfgang Denk a écrit : > >> Dear Albert ARIBAUD, >> >> In message<4ef452c7.1010...@aribaud.net>  you wrote: >>> >>> >>> Tom Warren has requested a pull of u-boot-tegra/next into >>> u-boot-arm/master, which

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Simon Glass
Hi, On Fri, Dec 23, 2011 at 5:53 AM, Érico Porto wrote: > md 0 gives me in dmesg: > > > [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 > error 4 in u-boot[8048000+1a000] > > > On 12/23/11, Érico Porto wrote: >> Thanks! >> >> Tried to do some memory display commands but got in

[U-Boot] [STATUS] v2011.12 released, Merge Window is OPEN

2011-12-23 Thread Wolfgang Denk
Hello all, U-Boot v2011.12 has been released and is available from the git repository and the FTP server. ISSUES: - We still have not found a new network custodian yet. I have neither the competence nor the resources to help out much longer. - Remy Bohmer has signalled that he has no longer

Re: [U-Boot] Pull request: u-boot-tegra/next

2011-12-23 Thread Albert ARIBAUD
Hi Tom, Le 23/12/2011 00:17, Tom Warren a écrit : Alright, I hope I've gotten it right this time. I had already done a git fetch of the u-boot-arm master (see my very first sentence below), but regardless, I followed your 'always use commands' and I believe I've gotten a valid repo. It's push

[U-Boot] [PATCH] USB: reevaluate iomux stdin on USB kbd detect

2011-12-23 Thread Allen Martin
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard device is detected. Signed-off-by: Allen Martin --- common/usb_kbd.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index e94bb7e..577a1eb 100644 --- a/common/

Re: [U-Boot] [PATCH] doc/mkimage.1: Fix -D/-f options formatting

2011-12-23 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message <1324654820-24888-1-git-send-email-hkron...@frequentis.com> you wrote: > Signed-off-by: Horst Kronstorfer > --- > doc/mkimage.1 |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software E

Re: [U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <20111223170640.18cfe56f@wker> you wrote: > > > The code and comment disagreed: the comment claimed that r6...r31 > > were copied, and consequently the arrays for "src" and "dst" were > > declared with 26 entries, but the actual code ("lmw r5,0(r3)" and > > "st

Re: [U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1324639752-26856-3-git-send-email...@denx.de> you wrote: > The code and comment disagreed: the comment claimed that r6...r31 > were copied, and consequently the arrays for "src" and "dst" were > declared with 26 entries, but the actual code ("lmw r5,0(r3)" and > "st

Re: [U-Boot] [PATCH 2/3] post/lib_powerpc/multi.c: code cleanup

2011-12-23 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1324639752-26856-2-git-send-email...@denx.de> you wrote: > Clean up and document the code: > > - get rid of unneeded code block > - add comment which code is generated > > Signed-off-by: Wolfgang Denk > Cc: Anatolij Gustschin > Cc: Stefan Roese > Cc: Kumar Gala

Re: [U-Boot] [PATCH 1/3] post/lib_powerpc/multi.c: make checkpatch clean

2011-12-23 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <20111223133952.5e09a8b4@wker> you wrote: > > Looks good. A minor commend below. ... > > -extern void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); > > +extern void cpu_post_exec_02(ulong * code, ulong op1, ulong op2); > > IIRC checkpatch complains lik

Re: [U-Boot] [PATCH 1/3] post/lib_powerpc/multi.c: make checkpatch clean

2011-12-23 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1324639752-26856-1-git-send-email...@denx.de> you wrote: > Signed-off-by: Wolfgang Denk > Cc: Anatolij Gustschin > Cc: Stefan Roese > Cc: Kumar Gala > Cc: Kim Phillips > Cc: Andy Fleming > > --- > post/lib_powerpc/multi.c | 54 +

Re: [U-Boot] [PATCH] PPC: fix "Warning: FOO uses hard float, BAR uses soft float".

2011-12-23 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1324564181-8949-1-git-send-email...@denx.de> you wrote: > It appears that with recent versions of GCC the explicit > "-mhard-float" command line option takes precedence over the > ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer > helps to avoid

Re: [U-Boot] Pull request: u-boot-tegra/next

2011-12-23 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4ef4b68d.9020...@aribaud.net> you wrote: > > > If you have anything else queued up, then please send your pull > > request ASAP. We skip the tegra stuff. > > Right now I have nothing left on master for you to pull. > > Accordingly, I'll pull the tegra repo into

[U-Boot] [PATCH] fsl_esdhc: fix PIO mode transfers

2011-12-23 Thread Ira W. Snyder
The pointer to the registers used to control the Freescale ESDHC MMC controller is not initialized correctly when using PIO mode. This is fixed by initializing the pointer in the same way as all other sites within the driver. Examining the commit history shows that this was broken at introduction

[U-Boot] [PATCH] kirkwood: add support for D-Link DNS-325

2011-12-23 Thread Stefan Herbrechtsmeier
From: Stefan This patch adds support for D-Link DNS-325 ShareCenter NAS. Signed-off-by: Stefan Herbrechtsmeier Cc: prafu...@marvell.com Cc: albert.u.b...@aribaud.net --- MAINTAINERS |4 + board/d-link/dns325/Makefile | 49 + board/d-link/dns325/dns325.c

Re: [U-Boot] Pull request: u-boot-tegra/next

2011-12-23 Thread Albert ARIBAUD
Le 23/12/2011 17:06, Wolfgang Denk a écrit : Dear Albert, In message<4ef49931.7090...@aribaud.net> you wrote: The branch is now correctly based above u-boot-arm/master, However, not all commits are bug fixes. Can you reorganize so that all bugfixes are in u-boot-tegra-master, and all non-bugf

[U-Boot] [PATCH] doc/mkimage.1: Fix -D/-f options formatting

2011-12-23 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer --- doc/mkimage.1 |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/mkimage.1 b/doc/mkimage.1 index 800aed4..39652c8 100644 --- a/doc/mkimage.1 +++ b/doc/mkimage.1 @@ -82,12 +82,12 @@ Set XIP (execute in place) flag. .B Create FIT im

Re: [U-Boot] [STATUS] -rc3 is out

2011-12-23 Thread Anatolij Gustschin
Hello Wolfgang, On Wed, 21 Dec 2011 20:45:42 +0100 Wolfgang Denk wrote: ... > I have just pushed out -rc3, so we have two more days for testing > before the release of v2011.12 > > Please check that everythink looks as expected, and that all your > important bug fixes have been merged. Here is

Re: [U-Boot] [PATCH] PPC: fix "Warning: FOO uses hard float, BAR uses soft float".

2011-12-23 Thread Anatolij Gustschin
Hi Wolfgang, On Thu, 22 Dec 2011 15:29:41 +0100 Wolfgang Denk wrote: > It appears that with recent versions of GCC the explicit > "-mhard-float" command line option takes precedence over the > ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer > helps to avoid the warnings we

Re: [U-Boot] Pull request: u-boot-tegra/next

2011-12-23 Thread Wolfgang Denk
Dear Albert, In message <4ef49931.7090...@aribaud.net> you wrote: > > The branch is now correctly based above u-boot-arm/master, However, not > all commits are bug fixes. Can you reorganize so that all bugfixes are > in u-boot-tegra-master, and all non-bugfixes are in .../next above > .../mast

Re: [U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Anatolij Gustschin
Hello Wolfgang, On Fri, 23 Dec 2011 12:29:12 +0100 Wolfgang Denk wrote: > The code and comment disagreed: the comment claimed that r6...r31 > were copied, and consequently the arrays for "src" and "dst" were > declared with 26 entries, but the actual code ("lmw r5,0(r3)" and > "stmw r5,0(r4)") c

Re: [U-Boot] Pull request: u-boot-tegra/next

2011-12-23 Thread Albert ARIBAUD
Hi Tom, Le 23/12/2011 00:17, Tom Warren a écrit : Alright, I hope I've gotten it right this time. I had already done a git fetch of the u-boot-arm master (see my very first sentence below), but regardless, I followed your 'always use commands' and I believe I've gotten a valid repo. It's push

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Albert ARIBAUD
Hi Erico, Le 23/12/2011 15:03, Érico Porto a écrit : md 0805283e 0805283e: 4489028b 1beba4bd 7502fb83 028b660d...D...u.f.. 0805284e: 7d448966 c0b70fa4 028a09eb a43d4488f.D}.D=. 0805285e: 51c0b60f 75ff5047 90558994 059e2568...QGP.u..U.h%.. 0805286e: aaefe808 558b 10c48

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Matthias Weißer
Hi Érico Am 23.12.2011 14:19, schrieb Érico Porto: > Thanks! > > Tried to do some memory display commands but got instant segmentation > fault, and tried to run it as root - but then some bad things > happened, so now I know no one should run it as root. > > I wanted to tryout a memory test algo

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
md 0805283e 0805283e: 4489028b 1beba4bd 7502fb83 028b660d...D...u.f.. 0805284e: 7d448966 c0b70fa4 028a09eb a43d4488f.D}.D=. 0805285e: 51c0b60f 75ff5047 90558994 059e2568...QGP.u..U.h%.. 0805286e: aaefe808 558b 10c48390 f739da01...U..9. 0805287e: f089b975 af0f

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
md 0 gives me in dmesg: [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 error 4 in u-boot[8048000+1a000] On 12/23/11, Érico Porto wrote: > Thanks! > > Tried to do some memory display commands but got instant segmentation > fault, and tried to run it as root - but then some b

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
doing md 0805283e works if I can change the base address now, every memory command should work On 12/23/11, Érico Porto wrote: > md 0 gives me in dmesg: > > > [11753.433067] u-boot[4277]: segfault at 0 ip 0805283e sp bfb809f0 > error 4 in u-boot[8048000+1a000] > > > On 12/23/11, Érico Porto wro

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
Thanks! Tried to do some memory display commands but got instant segmentation fault, and tried to run it as root - but then some bad things happened, so now I know no one should run it as root. I wanted to tryout a memory test algorithm I developed, but it seem u-boot runs with no ram access. If

Re: [U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Graeme Russ
Hi Érico On 23/12/11 23:46, Érico Porto wrote: > Hello, > > Does anyone know if exists somekind of simulator to run u-boot in test mode? Have a look at the sandbox 'board' - It allows U-Boot to be run as an executable in Linux to test non hardware specific code do: make sandbox_config make all

[U-Boot] testing u-boot on virtual environment

2011-12-23 Thread Érico Porto
Hello, Does anyone know if exists somekind of simulator to run u-boot in test mode? I also have a spare qoriva platform (MPC5604B-TRK), which can't run linux, but maybe could run uboot just to test some autoboot commands. Thanks -- Érico V. Porto ___

Re: [U-Boot] [PATCH 2/3] post/lib_powerpc/multi.c: code cleanup

2011-12-23 Thread Anatolij Gustschin
On Fri, 23 Dec 2011 12:29:11 +0100 Wolfgang Denk wrote: > Clean up and document the code: > > - get rid of unneeded code block > - add comment which code is generated > > Signed-off-by: Wolfgang Denk > Cc: Anatolij Gustschin > Cc: Stefan Roese > Cc: Kumar Gala > Cc: Kim Phillips > Cc: Andy

Re: [U-Boot] [PATCH 1/3] post/lib_powerpc/multi.c: make checkpatch clean

2011-12-23 Thread Anatolij Gustschin
Hello Wolfgang, Looks good. A minor commend below. On Fri, 23 Dec 2011 12:29:10 +0100 Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > Cc: Anatolij Gustschin > Cc: Stefan Roese > Cc: Kumar Gala > Cc: Kim Phillips > Cc: Andy Fleming > --- > post/lib_powerpc/multi.c | 54 +++

[U-Boot] [RFC 14/14] x86: Tweak initialisation procedure

2011-12-23 Thread Graeme Russ
--- arch/x86/cpu/start.S| 43 ++ arch/x86/include/asm/init_helpers.h |3 + arch/x86/include/asm/u-boot-x86.h |2 - arch/x86/lib/board.c| 87 ++ arch/x86/lib/init_helpers.c | 14 ++ arch/x86/

[U-Boot] [RFC 13/14] x86: Simplify board.c

2011-12-23 Thread Graeme Russ
--- arch/x86/include/asm/init_helpers.h | 39 + arch/x86/include/asm/init_wrappers.h | 42 + arch/x86/lib/Makefile|2 + arch/x86/lib/board.c | 289 +- arch/x86/lib/init_helpers.c | 140 arc

[U-Boot] [RFC 12/14] x86: Move relocation code out of board.c

2011-12-23 Thread Graeme Russ
--- arch/x86/lib/Makefile |1 + arch/x86/lib/board.c| 113 --- arch/x86/lib/relocate.c | 150 +++ 3 files changed, 151 insertions(+), 113 deletions(-) create mode 100644 arch/x86/lib/relocate.c diff --git a/a

[U-Boot] [RFC 11/14] x86: remove gd->start_addr_sp

2011-12-23 Thread Graeme Russ
It's not used for anything useful --- arch/x86/include/asm/global_data.h |1 - arch/x86/lib/board.c |4 +--- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index 05a2139..ad15509 100644 -

[U-Boot] [RFC 10/14] x86: Move setup_pcat_compatibility() out of board.c

2011-12-23 Thread Graeme Russ
--- arch/x86/lib/board.c |7 --- arch/x86/lib/zimage.c |7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 2b97b47..f201542 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -463,10 +463,3 @@ void h

[U-Boot] [RFC 09/14] x86: Move do_go_exec() out of board.c

2011-12-23 Thread Graeme Russ
--- arch/x86/lib/Makefile |1 + arch/x86/lib/board.c| 27 --- arch/x86/lib/cmd_boot.c | 64 +++ 3 files changed, 65 insertions(+), 27 deletions(-) create mode 100644 arch/x86/lib/cmd_boot.c diff --git a/arch/x86/lib/Makefi

[U-Boot] [RFC 07/14] CHECKPATCH: arch/x86/cpu/*

2011-12-23 Thread Graeme Russ
--- arch/x86/cpu/cpu.c|2 +- arch/x86/cpu/interrupts.c |2 +- arch/x86/cpu/start16.S| 54 +++- 3 files changed, 45 insertions(+), 13 deletions(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 7ec0c12..70a864d 100644 --- a/

[U-Boot] [RFC 08/14] CHECKPATCH: arch/x86/lib/*

2011-12-23 Thread Graeme Russ
--- arch/x86/lib/bios.S| 134 +-- arch/x86/lib/realmode_switch.S | 61 +++ 2 files changed, 122 insertions(+), 73 deletions(-) diff --git a/arch/x86/lib/bios.S b/arch/x86/lib/bios.S index ce8deb5..239aaa9 100644 --- a/arch/x86/lib

[U-Boot] [RFC 06/14] x86: cache tidy-ups

2011-12-23 Thread Graeme Russ
--- arch/x86/cpu/cpu.c | 20 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index a8069ad..7ec0c12 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -115,14 +115,6 @@ int cpu_init_r(void) __attribute__((weak,

[U-Boot] [RFC 04/14] x86: Import MSR/MTRR code from Linux

2011-12-23 Thread Graeme Russ
Imported from Linux 3.1 with a few modifications to suit U-Boot --- arch/x86/include/asm/msr-index.h | 447 ++ arch/x86/include/asm/msr.h | 216 ++ arch/x86/include/asm/mtrr.h | 203 + 3 files changed, 866 insertions

[U-Boot] [RFC 05/14] x86: Create weak init_cache() function

2011-12-23 Thread Graeme Russ
--- arch/x86/cpu/cpu.c| 16 +++- arch/x86/include/asm/u-boot-x86.h |2 ++ arch/x86/lib/board.c |3 +++ 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 61d0b69..a8069ad 100644 --- a/arch

[U-Boot] [RFC 03/14] x86: Allow cache before copy to RAM

2011-12-23 Thread Graeme Russ
--- arch/x86/cpu/start.S | 37 +++--- arch/x86/include/asm/u-boot-x86.h |1 + arch/x86/lib/board.c | 76 +++- 3 files changed, 64 insertions(+), 50 deletions(-) diff --git a/arch/x86/cpu/start.S b/arch/x86/cpu/start.S i

[U-Boot] [RFC 02/14] x86: Speed up copy-to-RAM and clear BSS operations

2011-12-23 Thread Graeme Russ
The implementations of memcpy and memset are now the optimised versions from glibc, so use them instead of simple copy loops --- arch/x86/lib/board.c | 17 + 1 files changed, 5 insertions(+), 12 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index d742fec.

[U-Boot] [RFC 01/14] x86: Import glibc memcpy implementation

2011-12-23 Thread Graeme Russ
Taken from glibc version 2.14.90 --- arch/x86/include/asm/string.h |2 +- arch/x86/lib/string.c | 61 + 2 files changed, 62 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/string.h b/arch/x86/include/asm/string.h index 3aa6c11.

[U-Boot] [RFC 00/14] x86 touch-ups (Includes new init sequence!)

2011-12-23 Thread Graeme Russ
Merry Christmas everyone After some positive feedback on my new x86 init sequence, I've reworked it onto the tail end of some patches that have been sitting around in my staging branch for the last few weeks. Patches 1-8 should not be that interesting to most of you (although patch 3 is a precurs

Re: [U-Boot] [STATUS] -rc3 is out

2011-12-23 Thread Albert ARIBAUD
Le 23/12/2011 12:30, Wolfgang Denk a écrit : Dear Albert ARIBAUD, In message<4ef452c7.1010...@aribaud.net> you wrote: Tom Warren has requested a pull of u-boot-tegra/next into u-boot-arm/master, which I assume is for inclusion into 2011.12. Once I have checked that no major breakage is caused

Re: [U-Boot] [STATUS] -rc3 is out

2011-12-23 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4ef452c7.1010...@aribaud.net> you wrote: > > Tom Warren has requested a pull of u-boot-tegra/next into > u-boot-arm/master, which I assume is for inclusion into 2011.12. Once I > have checked that no major breakage is caused to the ARM boards, and if > you're ok

[U-Boot] [PATCH 1/3] post/lib_powerpc/multi.c: make checkpatch clean

2011-12-23 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Anatolij Gustschin Cc: Stefan Roese Cc: Kumar Gala Cc: Kim Phillips Cc: Andy Fleming --- post/lib_powerpc/multi.c | 54 + 1 files changed, 25 insertions(+), 29 deletions(-) diff --git a/post/lib_powerpc/multi.c

[U-Boot] [PATCH 2/3] post/lib_powerpc/multi.c: code cleanup

2011-12-23 Thread Wolfgang Denk
Clean up and document the code: - get rid of unneeded code block - add comment which code is generated Signed-off-by: Wolfgang Denk Cc: Anatolij Gustschin Cc: Stefan Roese Cc: Kumar Gala Cc: Kim Phillips Cc: Andy Fleming --- post/lib_powerpc/multi.c | 27 --- 1 fi

[U-Boot] [PATCH 3/3] post/lib_powerpc/multi.c: fix stack overflow error

2011-12-23 Thread Wolfgang Denk
The code and comment disagreed: the comment claimed that r6...r31 were copied, and consequently the arrays for "src" and "dst" were declared with 26 entries, but the actual code ("lmw r5,0(r3)" and "stmw r5,0(r4)") copied _27_ words (r5 through r31), which resulted in false "POST cpu Error at multi

Re: [U-Boot] [STATUS] -rc3 is out

2011-12-23 Thread Albert ARIBAUD
Le 21/12/2011 20:45, Wolfgang Denk a écrit : Hello everybody, I have just pushed out -rc3, so we have two more days for testing before the release of v2011.12 Please check that everythink looks as expected, and that all your important bug fixes have been merged. Thanks. Best regards, Wolfgan

Re: [U-Boot] [STATUS] -rc3 is out

2011-12-23 Thread Andreas Bießmann
Dear Wolfgang, On 21.12.2011 20:45, Wolfgang Denk wrote: > Hello everybody, > > I have just pushed out -rc3, so we have two more days for testing > before the release of v2011.12 avr32 is working again ... thanks best regards Andreas Bießmann ___ U-