Re: [U-Boot] [PATCH 2/2] SPL: Allow ARM926EJS to avoid compiling in the CPU support code

2011-10-22 Thread Albert ARIBAUD
Le 22/10/2011 03:20, Marek Vasut a écrit : > On Saturday, October 22, 2011 02:41:54 AM Albert ARIBAUD wrote: >> Le 22/10/2011 02:19, Marek Vasut a écrit : >>> On Saturday, October 22, 2011 02:04:52 AM Tom Rini wrote: On Fri, Oct 21, 2011 at 4:45 PM, Marek Vasut wrote: > On Saturday

Re: [U-Boot] A bit about board.c, board.c

2011-10-22 Thread Albert ARIBAUD
Le 22/10/2011 07:11, Simon Glass a écrit : > Hi, > > Each architecture has its own board.c but they are mostly quite similar. > > New features such as fdt, boot timing, trace, profiling, etc. must be > done separately for each arch, even if there are no > architecture-specific bits. > > What would

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-22 Thread Albert ARIBAUD
Le 22/10/2011 07:05, Simon Glass a écrit : >>> Well I actually haven't moved it! It is just that previously it was >>> impossible to call cp15_init from anywhere later. >> >> It is moved, in that it belongs to low level init... of A9. > > OK, I see - you mean moved in order if not in source code f

Re: [U-Boot] [PATCH 0/8] Add tftpput command for uploading files over network

2011-10-22 Thread Albert ARIBAUD
Le 22/10/2011 06:51, Simon Glass a écrit : > The tftpboot command permits reading of files over a network interface > using the Trivial FTP protocol. This patch series adds the ability to > transfer files the other way. > > Why is this useful? > > - Uploading boot time data to a server > - Uploadin

Re: [U-Boot] [PATCH v4 2/2] NS16550: buffer reads

2011-10-22 Thread Albert ARIBAUD
Le 17/10/2011 22:58, Simon Glass a écrit : > Hi Wolfgang, > > On Mon, Oct 17, 2011 at 1:33 PM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In >> message >> you wrote: >>> >>> Can you please tell me which ELDK version this is using? I see that >>> the 405 board seems to need ppc_4xx which su

Re: [U-Boot] [PATCH v4 2/2] NS16550: buffer reads

2011-10-22 Thread Albert ARIBAUD
Le 17/10/2011 18:40, Simon Glass a écrit : >> So essentially you are saying: hey, we now have multi-line input, >> but it works only a bit. It will fail sooner or later, without >> error messages, and I cannot even tell you what the limits for your >> system are. And it depends on which

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-22 Thread Albert ARIBAUD
Le 22/10/2011 03:18, Marek Vasut a écrit : > On Saturday, October 22, 2011 02:35:13 AM Albert ARIBAUD wrote: >> Hi Marek, >> >> Le 22/10/2011 02:16, Marek Vasut a écrit : >>> This patch series reworks the debug() and debugX() macro in >>> include/common.h to be compatible with GCC 4.6. >>> >>> This

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-22 Thread Marek Vasut
On Saturday, October 22, 2011 11:48:43 AM Albert ARIBAUD wrote: > Le 22/10/2011 03:18, Marek Vasut a écrit : > > On Saturday, October 22, 2011 02:35:13 AM Albert ARIBAUD wrote: > >> Hi Marek, > >> > >> Le 22/10/2011 02:16, Marek Vasut a écrit : > >>> This patch series reworks the debug() and debug

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-22 Thread Albert ARIBAUD
Le 22/10/2011 16:19, Marek Vasut a écrit : > On Saturday, October 22, 2011 11:48:43 AM Albert ARIBAUD wrote: >> Le 22/10/2011 03:18, Marek Vasut a écrit : >>> On Saturday, October 22, 2011 02:35:13 AM Albert ARIBAUD wrote: Hi Marek, Le 22/10/2011 02:16, Marek Vasut a écrit : > Th

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-22 Thread Simon Glass
Hi Albert, On Sat, Oct 22, 2011 at 12:56 AM, Albert ARIBAUD wrote: > Le 22/10/2011 07:05, Simon Glass a écrit : > Well I actually haven't moved it! It is just that previously it was impossible to call cp15_init from anywhere later. >>> >>> It is moved, in that it belongs to low level in

Re: [U-Boot] [PATCH 0/8] Add tftpput command for uploading files over network

2011-10-22 Thread Simon Glass
Hi Albert, On Sat, Oct 22, 2011 at 1:21 AM, Albert ARIBAUD wrote: > Le 22/10/2011 06:51, Simon Glass a écrit : >> >> The tftpboot command permits reading of files over a network interface >> using the Trivial FTP protocol. This patch series adds the ability to >> transfer files the other way. >>

Re: [U-Boot] A bit about board.c, board.c

2011-10-22 Thread Simon Glass
Hi Albert, On Sat, Oct 22, 2011 at 12:17 AM, Albert ARIBAUD wrote: > Le 22/10/2011 07:11, Simon Glass a écrit : >> >> Hi, >> >> Each architecture has its own board.c but they are mostly quite similar. >> >> New features such as fdt, boot timing, trace, profiling, etc. must be >> done separately f

[U-Boot] pick up the first $5,000.00,USD

2011-10-22 Thread Western Union
Hello, The below payment has been awarded to you by the Nigeria Government/World Bank to compensate you on the past experience had with scammers and internet fraudsters. We have already sent you $5,000.00 through Western Union as we have been given the mandate to transfer your full compensation p

Re: [U-Boot] A bit about board.c, board.c

2011-10-22 Thread Graeme Russ
Hi Simon, On 23/10/11 03:36, Simon Glass wrote: > Hi Graeme, > > Did you mean to send to list? Oops, yes I did - Done now > On Fri, Oct 21, 2011 at 10:49 PM, Graeme Russ wrote: >> Hi Simon >> >> On Oct 22, 2011 4:11 PM, "Simon Glass" wrote: >>> >>> Hi, >>> >>> Each architecture has its own b

Re: [U-Boot] A bit about board.c, board.c

2011-10-22 Thread Graeme Russ
Hi Simon, On 23/10/11 08:41, Graeme Russ wrote: > Hi Simon, > > > On 23/10/11 03:36, Simon Glass wrote: >> Hi Graeme, [snip] >>> I vote to pick an arch, convert it to a unified style and move it to >>> lib/board.c and then merge each arch over. This should be done in a single >>> series rather

Re: [U-Boot] [PATCH v4 2/2] NS16550: buffer reads

2011-10-22 Thread Graeme Russ
Hi Simon, Albert, On 22/10/11 19:44, Albert ARIBAUD wrote: > Le 17/10/2011 18:40, Simon Glass a écrit : [snip] >>> On the other hand, we also have the rule that things that are useful >>> to some and that don't hurt others should be allowed to go in. >>> >>> What makes me hesitate are two things

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-22 Thread Marek Vasut
On Saturday, October 22, 2011 05:23:52 PM Albert ARIBAUD wrote: > Le 22/10/2011 16:19, Marek Vasut a écrit : > > On Saturday, October 22, 2011 11:48:43 AM Albert ARIBAUD wrote: > >> Le 22/10/2011 03:18, Marek Vasut a écrit : > >>> On Saturday, October 22, 2011 02:35:13 AM Albert ARIBAUD wrote: > >>

[U-Boot] [PATCH] at91: Add support for Bluewater Systems Snapper 9G45 module

2011-10-22 Thread Simon Glass
Snapper 9G45 is a ARM9-based CPU module with 1GB NAND and 128MB DDR SDRAM. This patch includes NAND and Ethernet support. Signed-off-by: Simon Glass --- board/bluewater/snapper9g45/Makefile | 43 +++ board/bluewater/snapper9g45/snapper9g45.c | 155 +++ boards.cfg

Re: [U-Boot] [PATCH] at91: Add support for Bluewater Systems Snapper 9G45 module

2011-10-22 Thread Reinhard Meyer
Dear Simon Glass, > Snapper 9G45 is a ARM9-based CPU module with 1GB NAND and 128MB > DDR SDRAM. This patch includes NAND and Ethernet support. > > Signed-off-by: Simon Glass > --- > board/bluewater/snapper9g45/Makefile | 43 +++ > board/bluewater/snapper9g45/snapper9g45.c | 155

Re: [U-Boot] [PATCH 2/8] Add setenv_uint() and setenv_addr()

2011-10-22 Thread Mike Frysinger
On Sat, Oct 22, 2011 at 00:51, Simon Glass wrote: > +int setenv_ulong(const char *varname, ulong value) > +{ > +       char *str = simple_itoa(value); > + > +       return setenv(varname, str); > +} could be a one liner, but works either way > +int setenv_addr(const char *varname, const void *ad

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-22 Thread Mike Frysinger
On Sat, Oct 22, 2011 at 05:48, Albert ARIBAUD wrote: > A differential 'MAKEALL arm' (ELDK42) show a sharp rise in board not > building properly, from 74 to 141 (out of a total of 248). these boards are broken already. Marek is just making their problems more apparent. -mike __

Re: [U-Boot] [RESEND PATCH v3] Add assert() for debug assertions

2011-10-22 Thread Mike Frysinger
On Fri, Oct 21, 2011 at 18:20, Wolfgang Denk wrote: > Simon Glass wrote: >> +void __assert_fail(const char *assertion, const char *file, unsigned line, >> +                const char *function) >> +{ >> +     /* This will not return */ >> +     panic("%s:%u: %s: Assertion `%s' failed.", file, line,

Re: [U-Boot] [PATCH 01/39] DEBUG: Fix debug macros

2011-10-22 Thread Mike Frysinger
On Fri, Oct 21, 2011 at 20:16, Marek Vasut wrote: > The current implementation of debug doesn't play well with GCC4.6. > This implementation also fixes GCC4.6 complaints about unused variables > while maintaining code size. i think this patch should come last rather than first that way you fix all

Re: [U-Boot] [PATCH 05/39] GCC4.6: Squash warning in usb_storage.c

2011-10-22 Thread Mike Frysinger
On Fri, Oct 21, 2011 at 20:17, Marek Vasut wrote: >  #ifdef USB_STOR_DEBUG > -#define USB_STOR_PRINTF(fmt, args...)  printf(fmt , ##args) > +#define USB_BLK_DEBUG  1 >  #else > -#define USB_STOR_PRINTF(fmt, args...) > +#define        USB_BLK_DEBUG   0 >  #endif #defineUSB_BLK_DEBUG. -mike