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: h

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 executin

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. > Simil

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 > Signed-off-b

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 each

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 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 hw_clkctrl_frac0 and >> h

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 >> y

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 > > 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 enables pxe booting

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

2012-03-06 Thread Fabio Estevam
On 3/6/12, Bud Miljkovic 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 need to do is: make mx53a

[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 for

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

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 u

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 12:58

[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 4-by

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

2012-03-06 Thread Marek Vasut
From: Marek Vasut 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 Cc: Bryan Hundven Cc: Michael Schwingen --- arch/arm/include/asm/arch-ixp/ixp425.h | 10

[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 Cc: Bryan Hundven Cc: Michael Schwingen --- Makefile | 12 boards.cfg |2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 11aac21..858ddb8 100644 --- a/Makefile +++ b/Makefile @@ -678,18 +678,6 @@ SX1_c

[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 ’ [-Wenum-compare] IxEthDBAPISupport.c: In function ‘ixEthDBPortAddressSet’: IxEthDBAPISupport.c:633:18: warning: variable ‘ackPortAddressLock’ set but not used [-Wunused-but-set-varia

[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 Cc: Bryan Hundven Cc: Michael Schwingen --- board/actux1/actux1.c|2 -- board/actux2/actux2.c|2 -- board/actux3/actux3.c

[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 Cc: Bryan Hundven

[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 Cc: Bryan Hundven Cc: Michael Schwingen --- examples/standalone/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[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 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- toolchains IXP: 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): Exam

[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 bui

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 bei

[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 --- 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 message units registers. Cha

[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 rele

[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 boots

[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 --- Changes in v2: - Subject changed to "powe

[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 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 wi

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 ve

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 Hashim > >> > >> While receiving packets from FIFO sometimes the buffer provided was > >> nonaligned. Fix this by taking a temporary aligned buffer and then > >> copying the co

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_descripto

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.htm

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 LDFL

[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 boots

[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 fu

[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: bbb

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 Hashim 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. Signed-off-by: Shiraz Has

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 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 b/drivers/video/cfb_console.c index 904c

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 arm-l

<    1   2