Re: [U-Boot] [PATCH 0/6] IXP: Make IXP compile with arm-linux-gnueabi- and fix it

2012-03-06 Thread Michael Schwingen
On 03/06/2012 01:18 AM, Marek Vasut wrote: This series of patches makes ARM/IXP platform compile with usual arm-linux-gnueabi- toolchain. Also, fix the IXP build errors detected with gcc4.6. Marek Vasut (6): Examples: Properly append LDFLAGS to LD command IXP: Make IXP buildable with

Re: [U-Boot] Bug in cfb_console driver

2012-03-06 Thread Anatolij Gustschin
Hi, On Mon, 05 Mar 2012 11:42:13 +0100 Pali Rohár pali.ro...@gmail.com wrote: ... Hi, thanks. If you need some more info write me. Can you please test with attached patch? Does it help to solve your problem on N900? Thanks, Anatolij diff --git a/drivers/video/cfb_console.c

Re: [U-Boot] [PATCH 4/4] USB:gadget:designware Fix memory nonalignment issue

2012-03-06 Thread Amit Virdi
Dear Marek, On 3/5/2012 11:51 PM, Marek Vasut wrote: Dear Amit Virdi, From: Shiraz Hashimshiraz.has...@st.com While receiving packets from FIFO sometimes the buffer provided was nonaligned. Fix this by taking a temporary aligned buffer and then copying the content to nonaligned buffer.

[U-Boot] md,mw commands

2012-03-06 Thread VISWANADHULA BALAJI
Hi, Iam using 256MB RAM on arm11 board.I just tried md,mw commands from uboot like the following mw C80 0x 0x500 here C80 is the 200MB of RAM MCS8142 md C80 0c80: 0c800010:

[U-Boot] [PATCH 2/8 v3] powerpc/corenet_ds: Correct the compilation errors about ENV

2012-03-06 Thread Liu Gang
When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors: ./common/env_nowhere.o: In function `env_relocate_spec': ./common/env_nowhere.c:38: multiple definition of `env_relocate_spec' ./common/env_flash.o: ./common/env_flash.c:326: first defined here ./common/env_nowhere.o: In

[U-Boot] [PATCH 5/8 v3] powerpc/corenet_ds: Slave module for boot from SRIO

2012-03-06 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor

Re: [U-Boot] [PATCH 0/6] IXP: Make IXP compile with arm-linux-gnueabi- and fix it

2012-03-06 Thread Marek Vasut
Dear Michael Schwingen, On 03/06/2012 01:18 AM, Marek Vasut wrote: This series of patches makes ARM/IXP platform compile with usual arm-linux-gnueabi- toolchain. Also, fix the IXP build errors detected with gcc4.6. Marek Vasut (6): Examples: Properly append LDFLAGS to LD command

Re: [U-Boot] [PATCH v8] usb: align buffers at cacheline

2012-03-06 Thread Marek Vasut
Dear Puneet Saxena, Hi Simon, I do see only first warning on all the devices and rest of the warnings on a few mass storage device. My patch fixing these warnings is not accepted. Please see below link for further info - http://lists.denx.de/pipermail/u-boot/2012-March/119404.html

Re: [U-Boot] [PATCH v4] usb: align buffers at cacheline

2012-03-06 Thread Marek Vasut
Dear Mike Frysinger, On Friday 02 March 2012 11:45:15 Wolfgang Denk wrote: That's what I did in original patch where I am aligning it by adding the line +/* Device Descriptor */ +#ifdef ARCH_DMA_MINALIGN + struct usb_device_descriptor descriptor +

Re: [U-Boot] [PATCH 4/4] USB:gadget:designware Fix memory nonalignment issue

2012-03-06 Thread Marek Vasut
Dear Amit Virdi, Dear Marek, On 3/5/2012 11:51 PM, Marek Vasut wrote: Dear Amit Virdi, From: Shiraz Hashimshiraz.has...@st.com While receiving packets from FIFO sometimes the buffer provided was nonaligned. Fix this by taking a temporary aligned buffer and then copying the

Re: [U-Boot] [Buildroot] Craneboard with Uboot and xloader

2012-03-06 Thread Mohamed HAMZAOUI
The first problem is the lack of informations about Craneboard in the craneboard TI wiki for example the display over DVI informations... the other problem is that impossible to use BUILDROOT to create a distribution for Craneboard with any vanilla kernel version (2.6.37; 2.6.39.1,..). the only

[U-Boot] [PATCH 6/8 v3] powerpc/corenet_ds: Slave uploads ucode when boot from SRIO

2012-03-06 Thread Liu Gang
When boot from SRIO, slave's ucode can be stored in master's memory space, then slave can fetch the ucode image through SRIO interface. For the corenet platform, ucode is for Fman. Master needs to: 1. Put the slave's ucode image into it's own memory space. 2. Set an inbound SRIO

[U-Boot] [PATCH 7/8 v3] powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO

2012-03-06 Thread Liu Gang
When boot from SRIO, slave's ENV can be stored in master's memory space, then slave can fetch the ENV through SRIO interface. NOTE: Because the slave can not erase, write master's NOR flash by SRIO interface, so it can not modify the ENV parameters stored in master's NOR flash

[U-Boot] [PATCH 3/8 v3] powerpc/corenet_ds: Document for the boot from SRIO

2012-03-06 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: -

[U-Boot] [PATCH 4/8 v3] powerpc/corenet_ds: Master module for boot from SRIO

2012-03-06 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor

[U-Boot] [PATCH 8/8 v3] powerpc/corenet_ds: Slave core in holdoff when boot from SRIO

2012-03-06 Thread Liu Gang
When boot from SRIO, slave's core can be in holdoff after powered on for some specific requirements. Master can release the slave's core at the right time by SRIO interface. Master needs to: 1. Set outbound SRIO windows in order to configure slave's registers for the core's

[U-Boot] [PATCH 1/8 v3] powerpc/srio: Rewrite the struct ccsr_rio

2012-03-06 Thread Liu Gang
Rewrite this struct for the support of two ports and two message units registers. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2: - Change the subject and commit message. - Remove the offsets in the comments. - Rewrite the struct for the support of two ports and two

Re: [U-Boot] [PATCH] sc520: fix build warning about unused temp var

2012-03-06 Thread Graeme Russ
Hi Mike, On 03/06/2012 08:55 AM, Mike Frysinger wrote: Building the eNET_SRAM board fails for me: sc520_timer.c: In function 'sc520_udelay': sc520_timer.c:81:7: error: variable 'temp' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being

[U-Boot] Pull request: u-boot-x86/master

2012-03-06 Thread Graeme Russ
Hi Wolfgang, The following changes since commit fca94c3fd5deef33442813475a5af1650f2d2830: integrator: remove fragile delay loop from PCI code (2012-03-04 21:15:31 +0100) are available in the git repository at: git://git.denx.de/u-boot-x86.git master Mike Frysinger (1): sc520: fix

Re: [U-Boot] [PATCH 0/6] IXP: Make IXP compile with arm-linux-gnueabi- and fix it

2012-03-06 Thread Michael Schwingen
On 03/06/2012 09:19 AM, Marek Vasut wrote: Dear Michael Schwingen, On 03/06/2012 01:18 AM, Marek Vasut wrote: This series of patches makes ARM/IXP platform compile with usual arm-linux-gnueabi- toolchain. Also, fix the IXP build errors detected with gcc4.6. Marek Vasut (6):

[U-Boot] [PATCH 0/7 V2] IXP: Make IXP compile with arm-linux-gnueabi- and fix it

2012-03-06 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com This series of patches makes ARM/IXP platform compile with usual arm-linux-gnueabi- toolchain. Also, fix the IXP build errors detected with gcc4.6. Marek Vasut (7): Examples: Properly append LDFLAGS to LD command IXP: Make IXP buildable with arm-linux-

[U-Boot] [PATCH 1/7 RESEND] Examples: Properly append LDFLAGS to LD command

2012-03-06 Thread Marek Vasut
The LD command in examples/standalone/Makefile ignored platform specific LDFLAGS setup. Pass these LDFLAGS to the command. Signed-off-by: Marek Vasut ma...@denx.de Cc: Bryan Hundven bryanhund...@gmail.com Cc: Michael Schwingen rincew...@discworld.dascon.de --- examples/standalone/Makefile |2

[U-Boot] [PATCH 2/7 RESEND] IXP: Make IXP buildable with arm-linux- toolchains

2012-03-06 Thread Marek Vasut
Add -EB flag to LD to switch endianness of the linker. This should make armeb targets buildable again. Also, make use of U-Boot's internal libgcc instead of toolchain's one, this works around the use of libraries from GCC, which might be little endian. Signed-off-by: Marek Vasut ma...@denx.de Cc:

[U-Boot] [PATCH 3/7 RESEND] IXP: Fix missing MACH_TYPE_{ACTUX?, PNB3, DVLHOST}

2012-03-06 Thread Marek Vasut
These symbols are no longer defined in Linux-ARM's mach-types files. Replace these with CONFIG_MACH_TYPE instead. Signed-off-by: Marek Vasut ma...@denx.de Cc: Bryan Hundven bryanhund...@gmail.com Cc: Michael Schwingen rincew...@discworld.dascon.de --- board/actux1/actux1.c|2 --

[U-Boot] [PATCH 4/7 RESEND] IXP: Squash warnings in IXP NPE

2012-03-06 Thread Marek Vasut
IxEthAcc.c: In function ‘ixEthAccInit’: IxEthAcc.c:105:21: warning: comparison between ‘IxEthDBStatus’ and ‘enum anonymous’ [-Wenum-compare] IxEthDBAPISupport.c: In function ‘ixEthDBPortAddressSet’: IxEthDBAPISupport.c:633:18: warning: variable ‘ackPortAddressLock’ set but not used

[U-Boot] [PATCH 5/7 RESEND] IXP: Move PDNB3 and SCPU from Makefile to boards.cfg

2012-03-06 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de Cc: Bryan Hundven bryanhund...@gmail.com Cc: Michael Schwingen rincew...@discworld.dascon.de --- Makefile | 12 boards.cfg |2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index

[U-Boot] [PATCH 7/7] IXP: Fix GPIO_INT_ACT_LOW_SET()

2012-03-06 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com The GPIO_INT_ACT_LOW_SET was incorrectly handling interrupt lines higher than 7. This is due to the fact that there are two registers for total of 16 lines. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Bryan Hundven bryanhund...@gmail.com Cc:

[U-Boot] [PATCH 6/7 V2] IXP: Fix NAND build warning on PDNB3 and SCPU

2012-03-06 Thread Marek Vasut
nand.c: In function ‘pdnb3_nand_read_buf’: nand.c:107:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] nand.c: In function ‘pdnb3_nand_dev_ready’: nand.c:124:18: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] Remove the

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-03-06 Thread Amit Virdi
Hello Mike and Marek, On 2/29/2012 3:55 PM, Amit Virdi wrote: Hello Mike, On 2/28/2012 6:26 AM, Mike Frysinger wrote: On Monday 27 February 2012 15:53:29 Marek Vasut wrote: On Monday 27 February 2012 08:14:26 Marek Vasut wrote: On 2/25/2012 3:42 PM, Albert ARIBAUD wrote: Le 24/02/2012

Re: [U-Boot] [PATCH] i.MX6: imx_ccm is a constant that points to a register set

2012-03-06 Thread Stefano Babic
On 05/03/2012 17:34, Eric Nelson wrote: Hi Eric, If we're going to use globals to point at register banks, they should be constant and visible. --- ok, but why are we going to use global pointers ? We have global constants (in imx-regs.h) and each part of code sets its local copy without

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-03-06 Thread Marek Vasut
Dear Amit Virdi, Hello Mike and Marek, On 2/29/2012 3:55 PM, Amit Virdi wrote: Hello Mike, On 2/28/2012 6:26 AM, Mike Frysinger wrote: On Monday 27 February 2012 15:53:29 Marek Vasut wrote: On Monday 27 February 2012 08:14:26 Marek Vasut wrote: On 2/25/2012 3:42 PM, Albert

[U-Boot] [PULL] u-boot-pxa/master

2012-03-06 Thread Marek Vasut
Dear Albert ARIBAUD, The following changes since commit 3513896e57c6757c411e0633ccb5da08c36ad7d4: Fix erroneous 32-bit access to hw_clkctrl_frac0 and hw_clkctrl_frac1 registers (2012-03-05 13:36:36 +0100) are available in the git repository at: git://git.denx.de/u-boot-pxa.git master

Re: [U-Boot] Building imximage for mx53ard board, supporting NAND and YAFFS2

2012-03-06 Thread Fabio Estevam
On 3/6/12, Bud Miljkovic bud_miljko...@trimble.com wrote: However, I would want to initially boot from SD-card and I would like to be able to generate an imx image of the u-boot when running make. Booting from SD card was the only boot method I tested on mx53ard in mainline U-boot. All you

Re: [U-Boot] [PATCH v3] net: allow setting env enetaddr from net device setting

2012-03-06 Thread Rob Herring
Wolfgang, Mike, On 02/01/2012 05:27 PM, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com If the net driver has setup a valid ethernet address and an ethernet address is not set in the environment already, then set the environment variables from the net driver setting. This

Re: [U-Boot] [PATCH] AVR32 removal due to lack of custodian.

2012-03-06 Thread Hans-Christian Egtvedt
Around Sun 04 Mar 2012 21:55:22 +0100 or thereabout, Wolfgang Denk wrote: Dear Andreas, In message 4f4b681d.8070...@gmail.com you wrote: well, there where at least two users (sven and I) last year ... ... I'm willing to get u-boot avr32 support to live on for at least some years, if no

Re: [U-Boot] Please pull u-boot-ti/master

2012-03-06 Thread Tom Rini
On Tue, Mar 6, 2012 at 12:29 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Tom, Le 06/03/2012 00:03, Tom Rini a écrit : Hello, The following changes since commit 3513896e57c6757c411e0633ccb5da08c36ad7d4:   Robert Delien (1):         Fix erroneous 32-bit access to

Re: [U-Boot] [PATCH] i.MX6: imx_ccm is a constant that points to a register set

2012-03-06 Thread Eric Nelson
On 03/06/2012 05:23 AM, Stefano Babic wrote: On 05/03/2012 17:34, Eric Nelson wrote: Hi Eric, If we're going to use globals to point at register banks, they should be constant and visible. --- ok, but why are we going to use global pointers ? We have global constants (in imx-regs.h) and

Re: [U-Boot] [PATCH 1/4] doc: Add documentation for mpc85xx debugger support

2012-03-06 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message 1329296027-28471-1-git-send-email-prabha...@freescale.com you wrote: This describes requirement of e500 and e500v2 processor to support any debugger. it also provide an insight of switch used and defined. Signed-off-by: Radu Lazarescu

Re: [U-Boot] [PATCH 2/4] powerpc/85xx:Fix MSR[DE] bit in MSR to support debugger

2012-03-06 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message 1329296042-28506-1-git-send-email-prabha...@freescale.com you wrote: Debugger's ability to debug an application is constrained by the architecture's debug IP / run-control solution that may impose certain requirements for the application itself. Similarly,

Re: [U-Boot] [PATCH 3/4] powerpc/85xx:Update NOR code base to support debugger

2012-03-06 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message 1329296055-28541-1-git-send-email-prabha...@freescale.com you wrote: Update the NOR code base to support NOR-boot debugging. It ovecome e500 and e500v2's second limitation i.e. IVPR + IVOR15 should be valid fetchable OP code address. While executing in

Re: [U-Boot] [PATCH] cfi: fix the incomplete erased status check in buffer write

2012-03-06 Thread Stefan Roese
Hi htbegin, first sorry for the late review. On Sunday 19 February 2012 12:48:37 htbegin wrote: Without the fix, flash_write_cfibuffer will return timeout error instead of not-erased error when all bytes in the first word of a sector are 0xFF and other words are not. Signed-off-by: htbegin

Re: [U-Boot] [PATCH] powerpc/85xx:Add PSC9131 RDB Support

2012-03-06 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message 4f3b8bb7.9020...@freescale.com you wrote: +#define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */ CONFIG_ options are kind of special; if you define new ones (which should only be done when it really makes sense - this appears not to be

Re: [U-Boot] md,mw commands

2012-03-06 Thread albert . u . boot
Hi V.Balaji, Le 2012-03-06 10:41, VISWANADHULA BALAJI a écrit : Hi, Iam using 256MB RAM on arm11 board.I just tried md,mw commands from uboot like the following mw C80 0x 0x500 here C80 is the 200MB of RAM MCS8142 md C80 0c80:

Re: [U-Boot] [PATCH] usb: replace wait_ms() with mdelay()

2012-03-06 Thread Tom Rini
On Mon, Mar 05, 2012 at 09:04:41PM -0500, Mike Frysinger wrote: On Monday 05 March 2012 20:46:40 Graeme Russ wrote: On Tue, Mar 6, 2012 at 12:42 PM, Mike Frysinger wrote: On Monday 05 March 2012 19:15:54 Marek Vasut wrote: Acked-by: Marek Vasut ma...@denx.de Thanks for your patch,

Re: [U-Boot] [PATCH 2/2][v2] powerpc/85xx:Add PSC9131 RDB Support

2012-03-06 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message 1329304781-27758-1-git-send-email-prabha...@freescale.com you wrote: ... +#define CONFIG_L2_CACHE /* toggle L2 cache */ +#define CONFIG_BTB /* toggle branch predition */ Toggle? Do you really toggle, or enable?

Re: [U-Boot] [PATCH 2/2] Allow newlines within command environment vars

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message capnjgz1bmmrn-+bhfr9gch-5wf4wsz_7qa53c_chplebl2y...@mail.gmail.com you wrote: ... The environment variables preboot, bootcmd and menucmd can hold a command to execute. This change permits these variables to have newlines so that they work the

Re: [U-Boot] [PATCH 4/4] USB:gadget:designware Fix memory nonalignment issue

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 04:51:57 Marek Vasut wrote: On 3/5/2012 11:51 PM, Marek Vasut wrote: Amit Virdi wrote: While receiving packets from FIFO sometimes the buffer provided was nonaligned. Fix this by taking a temporary aligned buffer and then copying the content to nonaligned

Re: [U-Boot] [PATCH 4/4] USB:gadget:designware Fix memory nonalignment issue

2012-03-06 Thread Mike Frysinger
On Thursday 16 February 2012 07:03:38 Amit Virdi wrote: --- a/drivers/usb/gadget/designware_udc.c +++ b/drivers/usb/gadget/designware_udc.c + /* copy back tmp buffer to bufp if bufp is not word aligned */ + if ((int)bufp 0x3) { + bytp = (u8 *)tmp[0]; + for

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 07:06:22 Amit Virdi wrote: On 2/29/2012 3:55 PM, Amit Virdi wrote: On 2/28/2012 6:26 AM, Mike Frysinger wrote: On Monday 27 February 2012 15:53:29 Marek Vasut wrote: On Monday 27 February 2012 08:14:26 Marek Vasut wrote: On 2/25/2012 3:42 PM, Albert ARIBAUD wrote:

Re: [U-Boot] [PATCH] usb: replace wait_ms() with mdelay()

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 10:03:19 Tom Rini wrote: On Mon, Mar 05, 2012 at 09:04:41PM -0500, Mike Frysinger wrote: On Monday 05 March 2012 20:46:40 Graeme Russ wrote: On Tue, Mar 6, 2012 at 12:42 PM, Mike Frysinger wrote: On Monday 05 March 2012 19:15:54 Marek Vasut wrote: Acked-by:

Re: [U-Boot] [PATCH] lib: zlib: update to 1.2.6

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 03:55:19 Lei Wen wrote: In this patch, I update the current zlib from 1.2.5 to 1.2.6. There is a lot of warnings when using checkpatch script, I don't know whether I should fix it or not... Since it is just copy from as it is from upstream zlib 1.2.6, so I didn't do

Re: [U-Boot] [PATCH v3 11/28] arm: Use sections header to obtain link symbols

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 01:24:21 Simon Glass wrote: On Mon, Mar 5, 2012 at 9:03 PM, Mike Frysinger wrote: On Thursday 16 February 2012 09:48:58 Simon Glass wrote: --- a/board/cm4008/flash.c +++ b/board/cm4008/flash.c #include common.h +#include asm-generic/sections.h arches

Re: [U-Boot] [PATCH v5 6/9] Create a single cmd_call() function to handle command execution

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 01:14:10 Simon Glass wrote: On Mon, Mar 5, 2012 at 8:40 PM, Mike Frysinger wrote: On Wednesday 15 February 2012 00:59:23 Simon Glass wrote: --- a/include/command.h +++ b/include/command.h @@ -150,4 +152,5 @@ extern int do_reset(cmd_tbl_t *cmdtp, int flag, int

Re: [U-Boot] [PATCH v4] usb: align buffers at cacheline

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 03:24:34 Marek Vasut wrote: On Friday 02 March 2012 11:45:15 Wolfgang Denk wrote: That's what I did in original patch where I am aligning it by adding the line +/* Device Descriptor */ +#ifdef ARCH_DMA_MINALIGN + struct

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Eric Nelson
On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, ensure that transmit and receive buffers are cache-line aligned invalidate cache after each packet received flush cache before transmitting Original patch by Marek:

Re: [U-Boot] [PATCH] env: Add the ability to merge the saved env with the default.

2012-03-06 Thread Doug Anderson
Mike, On Mon, Mar 5, 2012 at 8:27 PM, Mike Frysinger vap...@gentoo.org wrote: this is kind of a crappy interface. Agreed. also, doesn't the existing `env import` do this ? * env import [-d] [-t | -b | -c] addr [size] * -d: delete existing environment before importing; *

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Eric Nelson
On 03/06/2012 10:06 AM, Eric Nelson wrote: On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, snip + if (!fec-rbd_base) { + ret = -ENOMEM; + goto err2; + } + memset(fec-rbd_base, 0, size); + } We might want to flush the descriptors to memory after they have been inited?

[U-Boot] OneNAND custodian (was: Re: [RESEND 0/4] onenand: OneNAND board dependent probe and fixes for Samsung targets)

2012-03-06 Thread Scott Wood
On 03/06/2012 12:54 AM, Lukasz Majewski wrote: This patch sets add board dependent onenand probes. Several fixes for GONI and Exynos4210 (C210_universal) targets have been added. Tested at: Samsung S5PC110 GONI Samsung Exynos4210 (S5PC210 Universal) Lukasz Majewski (4):

Re: [U-Boot] [PATCH] env: Add the ability to merge the saved env with the default.

2012-03-06 Thread Wolfgang Denk
Dear Doug Anderson, In message CAD=FV=Ws+FuCqUXRd3-PJS-2y5PTspgegMftvTOQqhK=96y...@mail.gmail.com you wrote: It's not quite possible to just import the default from the saved for two reasons: 1. I don't know of any way to import the default. It's not stored at any well-known address or

Re: [U-Boot] [PATCH v3] net: allow setting env enetaddr from net device setting

2012-03-06 Thread Wolfgang Denk
Dear Rob Herring, In message 1328138854-28612-1-git-send-email-robherri...@gmail.com you wrote: --- a/doc/README.enetaddr +++ b/doc/README.enetaddr @@ -32,7 +32,9 @@ Correct flow of setting up the MAC address (summarized): 1. Read from hardware in initialize() function 2. Read from

Re: [U-Boot] [PATCH v5 0/9] Unified command execution in one place

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-1-git-send-email-...@chromium.org you wrote: At present two parsers have similar code to execute commands. Also cmd_usage() is called all over the place. This series adds a single function which processes commands called cmd_process(). This

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Marek Vasut
Dear Eric Nelson, On 03/06/2012 10:06 AM, Eric Nelson wrote: On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, snip + if (!fec-rbd_base) { + ret = -ENOMEM; + goto err2; + } + memset(fec-rbd_base, 0, size); + } We might want to flush the descriptors to

Re: [U-Boot] [PATCH v3] net: allow setting env enetaddr from net device setting

2012-03-06 Thread Rob Herring
On 03/06/2012 01:30 PM, Wolfgang Denk wrote: Dear Rob Herring, In message 1328138854-28612-1-git-send-email-robherri...@gmail.com you wrote: --- a/doc/README.enetaddr +++ b/doc/README.enetaddr @@ -32,7 +32,9 @@ Correct flow of setting up the MAC address (summarized): 1. Read from

Re: [U-Boot] [PATCH v5 0/9] Unified command execution in one place

2012-03-06 Thread Simon Glass
Hi Wolfgang, On Tue, Mar 6, 2012 at 11:51 AM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message 1329285566-30386-1-git-send-email-...@chromium.org you wrote: At present two parsers have similar code to execute commands. Also cmd_usage() is called all over the place. This series

Re: [U-Boot] [PATCH] env: Add the ability to merge the saved env with the default.

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 12:07:10 you wrote: On Mon, Mar 5, 2012 at 8:27 PM, Mike Frysinger wrote: also, doesn't the existing `env import` do this ? * env import [-d] [-t | -b | -c] addr [size] * -d: delete existing environment before importing; * otherwise overwrite /

Re: [U-Boot] [PATCH v5 1/9] Remove CMD_PXE's static on run_command()

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-2-git-send-email-...@chromium.org you wrote: It really isn't clear why this is here and there is no comment, so drop it. Signed-off-by: Simon Glass s...@chromium.org --- common/main.c|3 --- include/common.h |2 -- 2 files

Re: [U-Boot] [PATCH v5 2/9] Rename run_command() to builtin_run_command()

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-3-git-send-email-...@chromium.org you wrote: The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its

Re: [U-Boot] [PATCH v5 3/9] Rename run_command2() to run_command()

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-4-git-send-email-...@chromium.org you wrote: This is a more sensible name, so rename it. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_pxe.c |2 +- common/main.c| 10 +- include/common.h |2 +- 3 files

Re: [U-Boot] [PATCH v5 5/9] Don't include standard parser if hush is used

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-6-git-send-email-...@chromium.org you wrote: This saves about 1KB of code space on ARM with CONFIG_SYS_HUSH_PARSER defined. Signed-off-by: Simon Glass s...@chromium.org --- common/main.c |2 ++ 1 files changed, 2 insertions(+), 0

Re: [U-Boot] [PATCH v5 6/9] Create a single cmd_call() function to handle command execution

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-7-git-send-email-...@chromium.org you wrote: We should aim for a single point of entry to the commands, whichever parser is used. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Move cmd_call() prototype inside existing

Re: [U-Boot] [PATCH v5 7/9] Remove interleave of non-U-Boot code in hush

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-8-git-send-email-...@chromium.org you wrote: There is a nasty interleave of #ifdefs in hush.c where the two code paths have different indents. Remove this ickiness. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Mike Frysinger

Re: [U-Boot] [PATCH v5 8/9] Add cmd_process() to process commands in one place

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-9-git-send-email-...@chromium.org you wrote: We currently have the same code in hush.c and main.c. This brings the code into one place. As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage

Re: [U-Boot] [PATCH v5 9/9] Convert cmd_usage() calls in common to use a return value

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message 1329285566-30386-10-git-send-email-...@chromium.org you wrote: Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. This saves about 100 byte or so on ARM. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: -

Re: [U-Boot] [PATCH 1/2] PPC: Drop mv6436x_eth_initialize() from net/eth.c

2012-03-06 Thread Wolfgang Denk
Dear Marek Vasut, In message 1330763972-28106-1-git-send-email-ma...@denx.de you wrote: This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Reinhard Arlt reinhard.a...@esd-electronics.com ---

Re: [U-Boot] [PATCH 2/2] PPC: Drop mv6446x_eth_initialize() from net/eth.c

2012-03-06 Thread Wolfgang Denk
Dear Marek Vasut, In message 1330763972-28106-2-git-send-email-ma...@denx.de you wrote: This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Stefan Roese s...@denx.de ---

Re: [U-Boot] Please pull u-boot-ti/master

2012-03-06 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4f55bcdc.70...@aribaud.net you wrote: With the documentation / related changes, Wolfgang said on IRC he was OK for now with the additional SPL bits going on. All these commits are feature additions posted after the merge window, aren't they? Yes, but they

Re: [U-Boot] Pull request: u-boot-x86/master

2012-03-06 Thread Wolfgang Denk
Dear Graeme Russ, In message 4f55e395.1080...@gmail.com you wrote: Hi Wolfgang, The following changes since commit fca94c3fd5deef33442813475a5af1650f2d2830: integrator: remove fragile delay loop from PCI code (2012-03-04 21:15:31 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH v3] net: allow setting env enetaddr from net device setting

2012-03-06 Thread Wolfgang Denk
Dear Rob, In message 4f566d05.5020...@gmail.com you wrote: +3. Write value to environment if setup in struct eth_device-enetaddr by driver + initialize() function. Give priority to the value in the environment if a + conflict. Sorry, but this description is not correct. You

Re: [U-Boot] [PATCH v5 0/9] Unified command execution in one place

2012-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message capnjgz3p_qt42ye+hxe86owden8c9gr+m4e+jwkgdhngd7u...@mail.gmail.com you wrote: OK good. Hoping it sorts out the command success/failure problem you saw with the last version also. I've pulled it, further testing will show ;-) Out of interest what tool are you

Re: [U-Boot] [PATCH v2] main: unify command parsing functions

2012-03-06 Thread Wolfgang Denk
Dear Michael Walle, In message 1326499314-8121-1-git-send-email-mich...@walle.cc you wrote: Introduce source_commands() which incorporates run_command2() and parts of source(). All command script are now treated the same, that is newlines are accepted within a command script and variable.

Re: [U-Boot] [PATCH] Makefile: Remove mmc_spl related enteries

2012-03-06 Thread Wolfgang Denk
Dear Chander Kashyap, In message 1320727394-3427-1-git-send-email-chander.kash...@linaro.org you wrote: As mmc_spl now follows spl infrastructure, removed unwanted enteries in Makefile for mmc_spl related compilation. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- Makefile

Re: [U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-03-06 Thread Wolfgang Denk
Dear Xiangfu Liu, In message 1326207993-17791-1-git-send-email-xian...@openmobilefree.net you wrote: Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- Changes for v2: -Add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST -Cleanup jz4740_nand.c a little Changes for v3: -Remove

Re: [U-Boot] [PATCH] tools: checkstack.pl from Linux added to tools

2012-03-06 Thread Wolfgang Denk
Dear Tom Rini, In message 1328227625-24653-1-git-send-email-tr...@ti.com you wrote: Added from Linux - commit 62aa2b537c6f5957afd98e29f96897419ed5ebab Signed-off-by: Tom Rini tr...@ti.com --- Makefile|5 ++ tools/checkstack.pl | 172

Re: [U-Boot] [PATCH] cmd_cache: use cache/invalidate functions available in common.h

2012-03-06 Thread Wolfgang Denk
Dear Stefan Kristiansson, In message 1320121272-17613-1-git-send-email-stefan.kristians...@saunalahti.fi you wrote: flush_dcache()/flush_icache() aren't defined in common.h, flush_dcache_all()/invalidate_icache_all() however are. Let the icache and dcache commands use those instead.

Re: [U-Boot] [PATCH v2 2/3] image: Support FDTs already loaded at their load address

2012-03-06 Thread Wolfgang Denk
Dear Stephen Warren, In message 1320164902-24190-2-git-send-email-swar...@nvidia.com you wrote: boot_get_fdt() expects a uImage-wrapped FDT to be loaded to a staging location, and then memmove()s it to the load address specified in the header. This change enhances boot_get_fdt() to detect when

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Eric Nelson
On 03/06/2012 12:49 PM, Marek Vasut wrote: Dear Eric Nelson, On 03/06/2012 10:06 AM, Eric Nelson wrote: On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, snip + if (!fec-rbd_base) { + ret = -ENOMEM; + goto err2; + } + memset(fec-rbd_base, 0, size); + } We might want to

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Marek Vasut
Dear Eric Nelson, On 03/06/2012 12:45 PM, Marek Vasut wrote: Dear Eric Nelson, On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, ensure that transmit and receive buffers are cache-line aligned invalidate cache after each packet received flush

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Eric Nelson
On 03/06/2012 02:22 PM, Marek Vasut wrote: Dear Eric Nelson, On 03/06/2012 12:45 PM, Marek Vasut wrote: Dear Eric Nelson, On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, ensure that transmit and receive buffers are cache-line aligned invalidate

[U-Boot] (no subject)

2012-03-06 Thread Wolfgang Denk
Mike Frysinger vap...@gentoo.org From: Wolfgang Denk w...@denx.de Fcc: +U-Boot Subject: Re: [U-Boot] [PATCH v4 1/8] sandbox: fdt: Add support for CONFIG_OF_CONTROL MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to:

[U-Boot] [PATCH 1/3] spl: add ymodem support

2012-03-06 Thread Mikhail Kshevetskiy
We have an omap l138 based board without jtag and empty spi flash. UART is an only way to load something on this board, so we are using uart to load spl image u-boot and then we are using ymodem to load the rest part of u-boot. --- arch/arm/cpu/arm926ejs/davinci/spl.c | 25 +++

[U-Boot] [PATCH 3/3] arm/davinci/da850: add uart0 pinmux

2012-03-06 Thread Mikhail Kshevetskiy
--- arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c |5 + arch/arm/include/asm/arch-davinci/hardware.h|1 + arch/arm/include/asm/arch-davinci/pinmux_defs.h |1 + 3 files changed, 7 insertions(+), 0 deletions(-) Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com

[U-Boot] [PATCH 2/3] ns16550 has a different register layout on SOC_DA8XX

2012-03-06 Thread Mikhail Kshevetskiy
also fix NS16550_init() as we need 16x divider --- drivers/serial/ns16550.c |2 +- include/ns16550.h|9 + 2 files changed, 10 insertions(+), 1 deletions(-) Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com diff --git a/drivers/serial/ns16550.c

Re: [U-Boot] [PATCH 1/3] spl: add ymodem support

2012-03-06 Thread Fabio Estevam
On Tue, Mar 6, 2012 at 5:54 PM, Mikhail Kshevetskiy mikhail.kshevets...@gmail.com wrote: We have an omap l138 based board without jtag and empty spi flash. UART is an only way to load something on this board, so we are using uart to load spl image u-boot and then we are using ymodem to load

Re: [U-Boot] [PATCH V2] net: fec_mxc: allow use with cache enabled

2012-03-06 Thread Marek Vasut
Dear Eric Nelson, On 03/06/2012 12:49 PM, Marek Vasut wrote: Dear Eric Nelson, On 03/06/2012 10:06 AM, Eric Nelson wrote: On 03/05/2012 01:06 PM, Marek Vasut wrote: Dear Eric Nelson, snip + if (!fec-rbd_base) { + ret = -ENOMEM; + goto err2; + } +

Re: [U-Boot] (no subject)

2012-03-06 Thread Mike Frysinger
On Tuesday 06 March 2012 16:29:12 Wolfgang Denk wrote: I have nearly 50 sandbox related patches in my queue, many based on stuff that was posted before close of the merge window, and I have to admit that I lost track which of these are supposed to be applied, which were merely for RFC, or

Re: [U-Boot] [PATCH 1/3] spl: add ymodem support

2012-03-06 Thread Laurence Withers
On Wed, Mar 07, 2012 at 12:54:05AM +0400, Mikhail Kshevetskiy wrote: We have an omap l138 based board without jtag and empty spi flash. UART is an only way to load something on this board, so we are using uart to load spl image u-boot and then we are using ymodem to load the rest part of

Re: [U-Boot] [PATCH v2] main: unify command parsing functions

2012-03-06 Thread Michael Walle
Hi Wolfgang, Am Dienstag 06 März 2012, 21:39:16 schrieb Wolfgang Denk: In message 1326499314-8121-1-git-send-email-mich...@walle.cc you wrote: Introduce source_commands() which incorporates run_command2() and parts of source(). All command script are now treated the same, that is

Re: [U-Boot] [PATCH 1/8 v3] powerpc/srio: Rewrite the struct ccsr_rio

2012-03-06 Thread Andy Fleming
On Tue, Mar 6, 2012 at 3:45 AM, Liu Gang gang@freescale.com wrote: Rewrite this struct for the support of two ports and two message units registers. Signed-off-by: Liu Gang gang@freescale.com --- Changes in v2:  - Change the subject and commit message.  - Remove the offsets in the

Re: [U-Boot] [PATCH v2] main: unify command parsing functions

2012-03-06 Thread Simon Glass
Hi, On Tue, Mar 6, 2012 at 2:29 PM, Michael Walle mich...@walle.cc wrote: Hi Wolfgang, Am Dienstag 06 März 2012, 21:39:16 schrieb Wolfgang Denk: In message 1326499314-8121-1-git-send-email-mich...@walle.cc you wrote: Introduce source_commands() which incorporates run_command2() and parts

[U-Boot] [RFC PATCH 0/5] add bootable partition support

2012-03-06 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com The primary goal of this series is to enable using the 1st bootable partition as the default partition for disk boot related commands. Every command that takes a dev[:part] option duplicates the same parsing code, so this series consolidates the parsing

  1   2   >