[U-Boot] [PATCH v5 11/13] Convert ca9x4_ct_vxp to standard env variables

2011-08-31 Thread Jason Hobbs
Signed-off-by: Jason Hobbs Cc: Matt Waddel --- new in v4 changes for v5: - none include/configs/ca9x4_ct_vxp.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/ca9x4_ct_vxp.h b/include/configs/ca9x4_ct_vxp.h index 8c57eab..7e5dc66 100644 --- a

[U-Boot] [PATCH v5 12/13] arm: ca9x4_ct_vxp: enable pxe command support

2011-08-31 Thread Jason Hobbs
Signed-off-by: Jason Hobbs Cc: Matt Waddel --- changes in v2: - use CONFIG_MENU to enable building the menu for pxecfg use changes in v4: - use CONFIG_CMD_PXE instead of CONFIG_CMD_PXECFG - update to standard environment variables changes for v5: - none include/configs/ca9x4_ct_vxp.h |4 +

[U-Boot] [PATCH v5 13/13] arm: ca9x4_ct_vxp: enable PXE BOOTP options support

2011-08-31 Thread Jason Hobbs
Signed-off-by: Jason Hobbs Cc: Matt Waddel --- changes for v2: - add armv7 architecture to VCI string changes for v4: - combine the PXE bootp options with the other bootp options changes for v5: - none include/configs/ca9x4_ct_vxp.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH v5 03/13] common: add run_command2 for running simple or hush commands

2011-08-31 Thread Mike Frysinger
i love how many ifdefs were punted by this :) Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 11:33:59 Marek Vasut wrote: > On Wednesday, August 31, 2011 05:27:46 PM Mike Frysinger wrote: > > On Wednesday, August 31, 2011 11:11:00 Marek Vasut wrote: > > > On Wednesday, August 31, 2011 04:32:52 PM Mike Frysinger wrote: > > > > On Wednesday, August 31, 2011 06:38

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-08-31 Thread Marek Vasut
On Wednesday, August 31, 2011 06:05:29 PM Mike Frysinger wrote: > On Wednesday, August 31, 2011 11:33:59 Marek Vasut wrote: > > On Wednesday, August 31, 2011 05:27:46 PM Mike Frysinger wrote: > > > On Wednesday, August 31, 2011 11:11:00 Marek Vasut wrote: > > > > On Wednesday, August 31, 2011 04:32

Re: [U-Boot] [PATCH] bootp: Fix bug in auto_load function

2011-08-31 Thread Simon Glass
Hi Michal, On Wed, Aug 31, 2011 at 3:36 AM, Michal Simek wrote: > Patch: "Put common autoload code into auto_load() function" > (sha1: 093498669e77597635a24f326f11efeab213d394) is not simple code > cleanup but code change which introduce new bug. > > If autoload variable is not setup it worked as

Re: [U-Boot] USB on OMAP3

2011-08-31 Thread John Rigby
On Wed, Aug 31, 2011 at 9:28 AM, Gary Thomas wrote: > I'm using v2011.06 on the TI OMAP3 platform (internal, similar to > BeagleBoard) > > I'd like my board to support both EHCI and MUSB in host mode. > However, when I define both of these, I get compile errors: > drivers/usb/musb/libusb_musb.o:

[U-Boot] Revalidar su Buzón

2011-08-31 Thread Sally Smolenski
Su buzón ha superado el límite de almacenamiento establecido por el administrador, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo. De revalidar su buzón de correo por favor clickhere Gracias Administrador del sistema __

Re: [U-Boot] Generating random numbers

2011-08-31 Thread elison.ni...@gmail.com
Tue Aug 30 23:48:41, Albert ARIBAUD albert.u.boot at aribaud.net wrote: > This differs from your use case which apparently is "use a random MAC so > that with some yet-undefined mechanism we can ask for a real MAC because > we don't want to set the real MAC in the environment" -- to me it looks > n

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Simon Glass
Hi Graeme, On Wed, Aug 31, 2011 at 5:58 AM, Graeme Russ wrote: > Allow redirection of console output prior to console initialisation to a > temporary buffer. > > To enable this functionality, the board configuration file must define: >  - CONFIG_PRE_CONSOLE_BUFFER - Enable pre-console buffer >  -

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 12:30:25 Marek Vasut wrote: > On Wednesday, August 31, 2011 06:05:29 PM Mike Frysinger wrote: > > On Wednesday, August 31, 2011 11:33:59 Marek Vasut wrote: > > > On Wednesday, August 31, 2011 05:27:46 PM Mike Frysinger wrote: > > > > On Wednesday, August 31, 2011 11:11

Re: [U-Boot] [PATCH] powerpc/85xx: Enable CMD_REGINFO on corenet boards

2011-08-31 Thread Tabi Timur-B04825
On Wed, Aug 31, 2011 at 9:16 AM, Kumar Gala wrote: > Signed-off-by: Kumar Gala > --- Why are we enabling this? -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Generating random numbers

2011-08-31 Thread Wolfgang Denk
Dear "elison.ni...@gmail.com", In message you wrote: > > How am I supposed to set the real MAC in the environment? Build > separate images for each board? I do not want that. Not that is finally a good question, and one where answering makes sense again. There are many ways, depending on how y

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > nit: circular. Just a suggestion if you like: you could also offer > guidance for the location of the buffer, something like: > > You can place the buffer at the top of memory by adding something like > this in your board config file: > > #define CONF

Re: [U-Boot] [PATCH 03/10] microblaze: Support flashes on lower addresses

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 04:35:14 Michal Simek wrote: > +extern char *__end; > +extern char *__text_start; if you're referring to symbols provided by a linker script, you should do: extern char __end[]; -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [PATCH] bootp: Fix bug in auto_load function

2011-08-31 Thread Michal Simek
Hi, 2011/8/31 Simon Glass > Hi Michal, > > On Wed, Aug 31, 2011 at 3:36 AM, Michal Simek wrote: > > Patch: "Put common autoload code into auto_load() function" > > (sha1: 093498669e77597635a24f326f11efeab213d394) is not simple code > > cleanup but code change which introduce new bug. > > > > If

Re: [U-Boot] [PATCH 04/10] microblaze: Add netconsole support

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 04:35:15 Michal Simek wrote: > --- a/arch/microblaze/lib/board.c > +++ b/arch/microblaze/lib/board.c > @@ -167,6 +167,12 @@ void board_init (void) > /* Initialize stdio devices */ > stdio_init (); > > + /* Initialize the jump table for applications */

Re: [U-Boot] [PATCH 05/10] microblaze: Fix unaligned.h for endians

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 04:35:16 Michal Simek wrote: > Based on ARM unaligned.h. can't you just include asm-generic/unaligned.h ? the ARM peeps are just being lazy at this point :P. -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot

2011-08-31 Thread Mike Frysinger
On Tuesday, August 30, 2011 08:05:19 Michal Simek wrote: > +static void setup_mac(struct eth_device *dev) > +{ > + /* Set the MAC address */ > + int val = ((dev->enetaddr[3] << 24) | (dev->enetaddr[2] << 16) | > + (dev->enetaddr[1] << 8) | (dev->enetaddr[0])); > + aximac_out

Re: [U-Boot] [PATCH v2] net: ll_temac: Add LL TEMAC driver to u-boot

2011-08-31 Thread Mike Frysinger
On Tuesday, August 30, 2011 08:05:18 Michal Simek wrote: > + volatile struct temac_reg *regs = priv->regs; > + > + regs->lsw = (phy_addr << 5) | reg_addr; > + regs->ctl = MIIMAI | (emac << 10); you should still be going through read/write i/o helper funcs rather than relying on the vo

Re: [U-Boot] [PATCH] at91rm9200ek.h: explicitly disable D-Cache

2011-08-31 Thread Reinhard Meyer
Dear Andreas Bießmann, > Commit c2dd0d45540397704de9b13287417d21049d34c6 enabled D-Cache for all > arm devices explicitly. This renders at91_emac driver on at91rm9200ek > unusable. > > This patch disables D-Cache for at91rm9200ek explicitly to get this > driver working again. As my experience, the

Re: [U-Boot] [STATUS] ARM status as of 2011-08-30

2011-08-31 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4e5e0c2e.2030...@aribaud.net> you wrote: > > Got it -- actually, it is not a compiler issue, but a library issue: CS > does compile for big-endian as well as little-endian, but does not > provide big-endian libs > (

Re: [U-Boot] [PATCH] bootp: Fix bug in auto_load function

2011-08-31 Thread Wolfgang Denk
Dear Michal Simek, In message <1314786967-23261-1-git-send-email-mon...@monstr.eu> you wrote: > Patch: "Put common autoload code into auto_load() function" > (sha1: 093498669e77597635a24f326f11efeab213d394) is not simple code > cleanup but code change which introduce new bug. > > If autoload vari

Re: [U-Boot] [PATCH v2] net: ll_temac: Add LL TEMAC driver to u-boot

2011-08-31 Thread Marek Vasut
On Wednesday, August 31, 2011 09:26:27 PM Mike Frysinger wrote: > On Tuesday, August 30, 2011 08:05:18 Michal Simek wrote: > > + volatile struct temac_reg *regs = priv->regs; > > + > > + regs->lsw = (phy_addr << 5) | reg_addr; > > + regs->ctl = MIIMAI | (emac << 10); > > you should still be

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-08-31 Thread Wolfgang Denk
Dear Che-Liang Chiou, In message <1314787130-1043-1-git-send-email-clch...@chromium.org> you wrote: > This patch adds a 64-64 bit divider that supports ARMv4 and above. To summarize the misc feedback: Please explain in detail which problem you are trying to fix. We see no need for this patch so

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Simon Glass
Hi Wolfgang, On Wed, Aug 31, 2011 at 12:18 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> nit: circular. Just a suggestion if you like: you could also offer >> guidance for the location of the buffer, something like: >> >> You can place the buffer at the top o

Re: [U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot

2011-08-31 Thread Wolfgang Denk
Dear Michal Simek, In message <4e5e493e.3070...@monstr.eu> you wrote: > > >> +/* Axi Ethernet registers offset */ > >> +#define XAE_IS_OFFSET 0x000C /* Interrupt status */ > >> +#define XAE_IE_OFFSET 0x0014 /* Interrupt enable */ > >> +#define XAE_RCW1_OFFSET

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 16:05:38 Simon Glass wrote: > On Wed, Aug 31, 2011 at 12:18 PM, Wolfgang Denk wrote: > > Simon Glass wrote: > >> nit: circular. Just a suggestion if you like: you could also offer > >> guidance for the location of the buffer, something like: > >> > >> You can place th

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Simon Glass
On Wed, Aug 31, 2011 at 1:22 PM, Mike Frysinger wrote: > On Wednesday, August 31, 2011 16:05:38 Simon Glass wrote: >> On Wed, Aug 31, 2011 at 12:18 PM, Wolfgang Denk wrote: >> > Simon Glass wrote: >> >> nit: circular. Just a suggestion if you like: you could also offer >> >> guidance for the locat

Re: [U-Boot] [PATCH] phy.c: make less verbose - turn printf() into debug()

2011-08-31 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1311579550-5610-1-git-send-email...@denx.de> you wrote: > The PHY driver was too verbose and corrupted the boot message display > like this: > > ... > Net: TSEC0 connected to Marvell 88ES > TSEC1 connected to Marvell 88ES > TSEC0,

Re: [U-Boot] [PATCH] mpc8xxx: lc_common_dimm_params: make less verbose

2011-08-31 Thread Wolfgang Denk
Dear Kumar, In message <1311581699-6301-1-git-send-email...@denx.de> I wrote: > lc_common_dimm_params.c was too verbose and corrupted the boot > message display like this: > > ... > DRAM: Detected UDIMM M2U25664DS88C3G-6K > DDR: 256 MiB (DDR1, 64-bit, CL=2, ECC off) > ...

Re: [U-Boot] [PATCH] MPC8xx: fix build problem for ETX094 board

2011-08-31 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1314390478-27667-1-git-send-email...@denx.de> you wrote: > Commit 7616e78 "Add Ethernet hardware MAC address framework to usbnet" > increased the code size and broke building for the ETX094 board. > Adjust the linker script to make it build again. > > While we are

Re: [U-Boot] [PATCH] at91rm9200ek.h: explicitly disable D-Cache

2011-08-31 Thread Andreas Bießmann
Dear Reinhard Meyer, Am 31.08.2011 um 21:51 schrieb Reinhard Meyer: > Dear Andreas Bießmann, >> Commit c2dd0d45540397704de9b13287417d21049d34c6 enabled D-Cache for all >> arm devices explicitly. This renders at91_emac driver on at91rm9200ek >> unusable. >> >> This patch disables D-Cache for at91

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Graeme Russ
Hi Mike, On 01/09/11 01:09, Mike Frysinger wrote: > On Wednesday, August 31, 2011 08:58:25 Graeme Russ wrote: >> Allow redirection of console output prior to console initialisation to a >> temporary buffer. > > looks good to me. doesnt apply, but that's because this needs your other gd > rework

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 17:15:25 Graeme Russ wrote: > On 01/09/11 01:09, Mike Frysinger wrote: > > On Wednesday, August 31, 2011 08:58:25 Graeme Russ wrote: > >> Allow redirection of console output prior to console initialisation to a > >> temporary buffer. > > > > looks good to me. doesnt

Re: [U-Boot] [PATCH v2] net: ll_temac: Add LL TEMAC driver to u-boot

2011-08-31 Thread Marek Vasut
On Tuesday, August 30, 2011 02:05:18 PM Michal Simek wrote: > LL Temac driver can be used by microblaze, xilinx ppc405/440 > in sdma and fifo mode. DCR or XPS bus can be used. > > The driver uses and requires PHYLIB. > > Signed-off-by: Michal Simek > > --- > v2: Remove helper function for acces

Re: [U-Boot] Generating random numbers

2011-08-31 Thread Mike Frysinger
some Blackfin boards use the flash method Wolfgang mentioned: the last sector of flash has the MAC address programmed into it at the factory other boards have the MAC burned into OTP that is inside the processor ... again, done at the factory -mike signature.asc Description: This is a digitall

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Graeme Russ
Hi Mike On Thursday, September 1, 2011, Mike Frysinger wrote: > On Wednesday, August 31, 2011 17:15:25 Graeme Russ wrote: >> On 01/09/11 01:09, Mike Frysinger wrote: >> > On Wednesday, August 31, 2011 08:58:25 Graeme Russ wrote: >> >> Allow redirection of console output prior to console initialis

Re: [U-Boot] [PATCH v4 0/4] Add basic clock and pinmux functions to the Tegra2

2011-08-31 Thread Simon Glass
Hi Mike, On Tue, Aug 30, 2011 at 7:47 PM, Mike Frysinger wrote: > On Tuesday, August 30, 2011 12:53:20 Albert ARIBAUD wrote: >> Patch series applied to u-boot-arm/master, with manual fix of three >> empty lines at EOF in patches 1 through 3. >> >> These empty lines and other whitespace errors can

[U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-08-31 Thread Timur Tabi
Most 85xx boards can be built as a 32-bit or a 36-bit. Current code sometimes displays which of these is actually built, but it's inconsistent. This is especially problematic since the "default" build for a given 85xx board can be either one, so if you don't see a message, you can't always know w

[U-Boot] [PATCH 1/2] powerpc/85xx: CONFIG_ENABLE_36BIT_PHYS does not depend on CONFIG_PHYS_64BIT

2011-08-31 Thread Timur Tabi
The macro CONFIG_ENABLE_36BIT_PHYS is used to indicate that the given SOC is capable of 36-bit physical addresses, even if such large addresses are not used. On two boards, this macro was enabled only when building a 36-bit image. Signed-off-by: Timur Tabi --- include/configs/P1022DS.h |

[U-Boot] [PATCH 1/7] Add bootgraph.pl script for generating a boot graph SVG file

2011-08-31 Thread Andrew Murray
From: Andrew Murray This is a port of the kernel's script/bootgraph.pl script which generates an SVG image illustrating boot time in UBoot. The script relies on additional output generated by UBoot during boot when the CONFIG_BOOT_TRACE option is enabled. Signed-off-by: Andrew Murray --- tools

[U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Andrew Murray
This patchset introduces the CONFIG_BOOT_TRACE option which provides support for boot time instrumentation. When enabled printf output is prefixed with timing information (similar to the kernel's CONFIG_PRINTK_TIME option) and additional output is generated which instruments functions and commands

[U-Boot] [PATCH 3/7] Add timing information to printf's for use with bootgraph.pl

2011-08-31 Thread Andrew Murray
From: Andrew Murray This patch adds timings information to printfs. Signed-off-by: Andrew Murray --- common/console.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/common/console.c b/common/console.c index 8c650e0..33de3fa 100644 --- a/common/console.c ++

[U-Boot] [PATCH 2/7] Add macros for recording init calls during UBoot execution

2011-08-31 Thread Andrew Murray
From: Andrew Murray This patch adds macros which allow for the instrumentation of UBoot boot time. The macros can be used to call existing initialisation functions during start up. Each macro adds printf statements before and after the initialisation call. Signed-off-by: Andrew Murray --- incl

[U-Boot] [PATCH 5/7] Add bootgraph instrumentation for bootm command

2011-08-31 Thread Andrew Murray
Under normal operation the bootm command will never return - this patch adds additional instrumentation to signal the 'end' of the bootm command such that this point can be reflected in any bootgraph SVG. Signed-off-by: Andrew Murray --- common/cmd_bootm.c |1 + 1 files changed, 1 insertions

[U-Boot] [PATCH 4/7] Add bootgraph instrumentation for ARM boards

2011-08-31 Thread Andrew Murray
From: Andrew Murray This patch adds bootgraph instrumentation for ARM boards. Signed-off-by: Andrew Murray --- arch/arm/lib/board.c | 28 +++- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 169dfeb..e6

[U-Boot] [PATCH 6/7] Add bootgraph instrumentation for UBoot commands

2011-08-31 Thread Andrew Murray
From: Andrew Murray This patch adds bootgraph instrumentation for all U_BOOT_CMDs where the HUSH parser is not used. The patch also adds instrumentation for the common boot delay. Signed-off-by: Andrew Murray --- common/main.c | 19 --- 1 files changed, 12 insertions(+), 7 de

[U-Boot] [PATCH 7/7] Add documentation for bootgraph.pl

2011-08-31 Thread Andrew Murray
From: Andrew Murray Documentation for the CONFIG_BOOT_TRACE option. Signed-off-by: Andrew Murray --- doc/README.bootgraph | 57 ++ 1 files changed, 57 insertions(+), 0 deletions(-) create mode 100644 doc/README.bootgraph diff --git a/doc/READ

Re: [U-Boot] [PATCH v4 0/4] Add basic clock and pinmux functions to the Tegra2

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 18:02:40 Simon Glass wrote: > On Tue, Aug 30, 2011 at 7:47 PM, Mike Frysinger wrote: > > On Tuesday, August 30, 2011 12:53:20 Albert ARIBAUD wrote: > >> Patch series applied to u-boot-arm/master, with manual fix of three > >> empty lines at EOF in patches 1 through 3.

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 17:59:19 Graeme Russ wrote: > So it applies? yep. and even compiles without warnings. -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] [PATCH 3/7] Add timing information to printf's for use with bootgraph.pl

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 18:20:57 Andrew Murray wrote: > va_list args; > uint i; > char printbuffer[CONFIG_SYS_PBSIZE]; > + char *buf = printbuffer; > > va_start(args, fmt); > > +#if defined(CONFIG_BOOT_TRACE) > + unsigned long long ticks = get_ticks(); > +

Re: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 18:20:54 Andrew Murray wrote: > This patchset introduces the CONFIG_BOOT_TRACE option which provides > support for boot time instrumentation. > > When enabled printf output is prefixed with timing information (similar to > the kernel's CONFIG_PRINTK_TIME option) and a

Re: [U-Boot] [PATCH 2/7] Add macros for recording init calls during UBoot execution

2011-08-31 Thread Mike Frysinger
On Wednesday, August 31, 2011 18:20:56 Andrew Murray wrote: > +#if defined(CONFIG_BOOT_TRACE) > +#define DO_INITCALL(x, ...) \ > + do { \ > + printf("calling 0x%pF\n", x); \ > + (x)(__VA_ARGS__); \ > + printf("initcall 0x%pF returned\n", x); \ > + } whil

Re: [U-Boot] [PATCH V4] console: Implement pre-console buffer

2011-08-31 Thread Graeme Russ
Hi Mike, On Thu, Sep 1, 2011 at 8:44 AM, Mike Frysinger wrote: > On Wednesday, August 31, 2011 17:59:19 Graeme Russ wrote: >> So it applies? > > yep.  and even compiles without warnings. Ah, but does it work ;) Regards, Graeme ___ U-Boot mailing list

Re: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Simon Glass
Hi Mike, On Wed, Aug 31, 2011 at 3:47 PM, Mike Frysinger wrote: > On Wednesday, August 31, 2011 18:20:54 Andrew Murray wrote: >> This patchset introduces the CONFIG_BOOT_TRACE option which provides >> support for boot time instrumentation. >> >> When enabled printf output is prefixed with timing

Re: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Andrew Murray
On 1 September 2011 00:12, Simon Glass wrote: > Hi Mike, > > On Wed, Aug 31, 2011 at 3:47 PM, Mike Frysinger wrote: >> On Wednesday, August 31, 2011 18:20:54 Andrew Murray wrote: >>> This patchset introduces the CONFIG_BOOT_TRACE option which provides >>> support for boot time instrumentation. >>

Re: [U-Boot] [PATCH 3/7] Add timing information to printf's for use with bootgraph.pl

2011-08-31 Thread Andrew Murray
On 31 August 2011 23:47, Mike Frysinger wrote: > On Wednesday, August 31, 2011 18:20:57 Andrew Murray wrote: >>       va_list args; >>       uint i; >>       char printbuffer[CONFIG_SYS_PBSIZE]; >> +     char *buf = printbuffer; >> >>       va_start(args, fmt); >> >> +#if defined(CONFIG_BOOT_TRACE

Re: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Graeme Russ
Hi Andrew, On Thu, Sep 1, 2011 at 9:25 AM, Andrew Murray wrote: > On 1 September 2011 00:12, Simon Glass wrote: >> Hi Mike, >> >> On Wed, Aug 31, 2011 at 3:47 PM, Mike Frysinger wrote: >>> On Wednesday, August 31, 2011 18:20:54 Andrew Murray wrote: This patchset introduces the CONFIG_BOOT_

Re: [U-Boot] [PATCH 3/7] Add timing information to printf's for use with bootgraph.pl

2011-08-31 Thread Graeme Russ
Hi Mike, Andrew, On Thu, Sep 1, 2011 at 8:47 AM, Mike Frysinger wrote: > On Wednesday, August 31, 2011 18:20:57 Andrew Murray wrote: >> va_list args; >> uint i; >> char printbuffer[CONFIG_SYS_PBSIZE]; >> + char *buf = printbuffer; >> >> va_start(args, fmt); >> >> +#if

Re: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Simon Glass
Hi Andrew, On Wed, Aug 31, 2011 at 4:32 PM, Graeme Russ wrote: > Hi Andrew, > > On Thu, Sep 1, 2011 at 9:25 AM, Andrew Murray wrote: >> On 1 September 2011 00:12, Simon Glass wrote: >>> Hi Mike, >>> >>> On Wed, Aug 31, 2011 at 3:47 PM, Mike Frysinger wrote: On Wednesday, August 31, 2011 1

Re: [U-Boot] [PATCH 2/7] Add macros for recording init calls during UBoot execution

2011-08-31 Thread Andrew Murray
On 31 August 2011 23:50, Mike Frysinger wrote: > On Wednesday, August 31, 2011 18:20:56 Andrew Murray wrote: >> +#if defined(CONFIG_BOOT_TRACE) >> +#define DO_INITCALL(x, ...) \ >> +     do { \ >> +             printf("calling  0x%pF\n", x); \ >> +             (x)(__VA_ARGS__); \ >> +            

Re: [U-Boot] [PATCH 3/7] Add timing information to printf's for use with bootgraph.pl

2011-08-31 Thread Andrew Murray
On 1 September 2011 00:38, Graeme Russ wrote: > Hi Mike, Andrew, > > On Thu, Sep 1, 2011 at 8:47 AM, Mike Frysinger wrote: >> On Wednesday, August 31, 2011 18:20:57 Andrew Murray wrote: >>>       va_list args; >>>       uint i; >>>       char printbuffer[CONFIG_SYS_PBSIZE]; >>> +     char *buf =

Re: [U-Boot] [PATCH v2] add dm9000 eeprom read/write command

2011-08-31 Thread Eric Jarrige
On 31 août 2011, at 15:01, Stefano Babic wrote: > Hi Eric, > >> Sorry for the confusion, I did not understood that your remark was >> not related to the compilation flags. >> Now, I've checked how to have this U-Boot commands in the driver >> itself. I think it's doable if I can have a compilati

Re: [U-Boot] [PATCH 0/7] Bootgraph.pl instrumentation support for UBoot

2011-08-31 Thread Andrew Murray
On 1 September 2011 00:39, Simon Glass wrote: >>> >>> Is there any cross over between my approach and what is >>> planned/already been done? >>> > > Don't worry - your contribution is very welcome! > > Yes I think there is cross-over, and perhaps the right approach is to > try to merge them someho

Re: [U-Boot] [PATCH] s5p-mmc: Fix ambiguous setting of data transfer width

2011-08-31 Thread Andy Fleming
On Tue, Aug 30, 2011 at 5:55 AM, Chander Kashyap wrote: > mmc data transfer width is set as following: > WIDE8[5]: > 0 = Depend on WIDE4 > 1 = 8-bit mode > WIDE4[1]: > 1 = 4-bit mode > 0 = 1-bit mode > > In case of 4-bit mode reset 8-bit mode and > in case of 1-bit mode reset 8-bit mode and 4-bit

Re: [U-Boot] [PATCH] s5p-mmc: Fix ambiguous setting of data transfer width

2011-08-31 Thread Minkyu Kang
Dear Andy Fleming, On 1 September 2011 10:23, Andy Fleming wrote: > On Tue, Aug 30, 2011 at 5:55 AM, Chander Kashyap > wrote: >> mmc data transfer width is set as following: >> WIDE8[5]: >> 0 = Depend on WIDE4 >> 1 = 8-bit mode >> WIDE4[1]: >> 1 = 4-bit mode >> 0 = 1-bit mode >> >> In case of 4-

Re: [U-Boot] [PATCH] powerpc/85xx: Enable CMD_REGINFO on corenet boards

2011-08-31 Thread Kumar Gala
On Aug 31, 2011, at 12:14 PM, Tabi Timur-B04825 wrote: > On Wed, Aug 31, 2011 at 9:16 AM, Kumar Gala wrote: >> Signed-off-by: Kumar Gala >> --- > > Why are we enabling this? because its a useful command that helps w/debugging things from time to time. - k

Re: [U-Boot] [PATCH] mpc8xxx: lc_common_dimm_params: make less verbose

2011-08-31 Thread Kumar Gala
On Aug 31, 2011, at 3:37 PM, Wolfgang Denk wrote: > Dear Kumar, > > In message <1311581699-6301-1-git-send-email...@denx.de> I wrote: >> lc_common_dimm_params.c was too verbose and corrupted the boot >> message display like this: >> >> ... >> DRAM: Detected UDIMM M2U25664DS88C3G-6K >

Re: [U-Boot] [PATCH] bootp: Fix bug in auto_load function

2011-08-31 Thread Michal Simek
Hi, Wolfgang Denk wrote: > Dear Michal Simek, > > In message <1314786967-23261-1-git-send-email-mon...@monstr.eu> you wrote: >> Patch: "Put common autoload code into auto_load() function" >> (sha1: 093498669e77597635a24f326f11efeab213d394) is not simple code >> cleanup but code change which intro

Re: [U-Boot] [PATCH] s5p-mmc: Fix ambiguous setting of data transfer width

2011-08-31 Thread Wolfgang Denk
Dear Minkyu Kang, In message you wrote: > > > I know these were like this before, but those numbers are awfully > > magical. You should really define constants for them. > > We decided to use comments instead of defines. And now we ask you to fix this, because we don;t want such magic constan

[U-Boot] [PATCH v11 1/9] nds32: add header files support for nds32

2011-08-31 Thread Macpaul Lin
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by: Macpaul Lin --- Changes for v1-v4: - Code cleanup and style formatting. Changes for v5-v6: - This patch also updated the following changes against the ch

[U-Boot] [PATCH v11 2/9] nds32: add NDS32 support into common header file

2011-08-31 Thread Macpaul Lin
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin --- Changes for v1-v7: - No change Changes for v8: - Fix the patch according to dependency of x86's Fix Changes for v9-v11: - No change include/common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) dif

[U-Boot] [PATCH v11 3/9] nds32/core N1213: NDS32 N12 core family N1213

2011-08-31 Thread Macpaul Lin
Add N1213 cpu core (N12 Core family) support for NDS32 arch. This patch includes start.S for the initialize procedure of N1213. NDS32 Core N1213 has the following hardware features. Core: - 16-/32-bit mixable instruction format - 32 general-purpose 32-bit registers - 8-stage pipeline - D

[U-Boot] [PATCH v11 4/9] nds32/ag101: cpu and init funcs of SoC ag101

2011-08-31 Thread Macpaul Lin
SoC ag101 is the first chip using NDS32 N1213 cpu core. Add header file of device offset support for SoC ag101. Add main function of SoC ag101 based on NDS32 n1213 core. cpu.c According to the bootstrap procedure in n1213 Core, to turn off watchdog timer is suggested after the cpu is in superus

[U-Boot] [PATCH v11 5/9] nds32/lib: add generic funcs in NDS32 lib

2011-08-31 Thread Macpaul Lin
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin --- Changes for v1-v4: - code clean up and formatting style. Changes for v5-v6: - board.c - Do some clean up and add code - Remove display banner which hasn't support. - Add ft

[U-Boot] [PATCH v11 6/9] nds32: standalone support

2011-08-31 Thread Macpaul Lin
Add standalone program related support for nds32 architecture. Signed-off-by: Macpaul Lin --- Changes for v1-v6: - code clean up. Changes for v7-v11: - No change. examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17 +++

[U-Boot] [PATCH v11 7/9] nds32: common bdinfo, bootm, image support

2011-08-31 Thread Macpaul Lin
Add support of NDS32 to common commands bdinfo, bootm, and image format. Signed-off-by: Macpaul Lin --- Changes for v1-v6: - Code clean up Changes for v7-v9: - No Change. Changes for v10: - fix up according to the changes in master tree. Changes for v11: - No Change. common/cmd_bdinfo.c

[U-Boot] [PATCH v11 8/9] adp-ag101: add board adp-ag101 support

2011-08-31 Thread Macpaul Lin
Add evaluation board "adp-ag101" configuration file adp-ag101.h. Add adp-ag101.c board config and related settings. Add board adp-ag101 into boards.cfg Signed-off-by: Macpaul Lin --- Changes for v1-v4: - code clean up Changes for v5-v6: - Refine the definitions and parameters about CLK, A

[U-Boot] [PATCH v11 9/9] doc/README: documents and readme for NDS32 arch

2011-08-31 Thread Macpaul Lin
Documents and READMEs for NDS32 architecture. It patch also provides usage of SoC AG101 and board ADP-AG101. Signed-off-by: Macpaul Lin --- Changes for v1-v10: - The patch of documentation was not included. Changes for v11: - Add the documents of NDS32, ag101, N1213. README|

Re: [U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot

2011-08-31 Thread Michal Simek
Mike Frysinger wrote: > On Tuesday, August 30, 2011 08:05:19 Michal Simek wrote: >> +static void setup_mac(struct eth_device *dev) >> +{ >> +/* Set the MAC address */ >> +int val = ((dev->enetaddr[3] << 24) | (dev->enetaddr[2] << 16) | >> +(dev->enetaddr[1] << 8) | (dev->enetadd

<    1   2