[U-Boot] Not able read more than 12kb with fatload command

2011-11-01 Thread sadashiva reddy
*Hi Sir,* ** *I am able read 12kb size into my memory using below command * ** *=> fatload usb 0:1 40 debug.txt 3000 reading debug.txt* *12288 bytes read* ** * but I give same command even one byte more the board crashes and restarts.* ** *suppose if I given * => fatload usb 0:1 40 d

Re: [U-Boot] [PATCH 1/2] pantheon: define CONFIG_SYS_CACHELINE_SIZE

2011-11-01 Thread Prafulla Wadaskar
> -Original Message- > From: Lei Wen [mailto:lei...@marvell.com] > Sent: Monday, October 31, 2011 8:36 PM > To: Prafulla Wadaskar; u-boot@lists.denx.de > Subject: [PATCH 1/2] pantheon: define CONFIG_SYS_CACHELINE_SIZE > > By default, on Pantheon SoC DCache Lnd ICache line > lengths are 3

Re: [U-Boot] [PATCH 2/2] armada100: define CONFIG_SYS_CACHELINE_SIZE

2011-11-01 Thread Prafulla Wadaskar
> -Original Message- > From: Lei Wen [mailto:lei...@marvell.com] > Sent: Monday, October 31, 2011 8:36 PM > To: Prafulla Wadaskar; u-boot@lists.denx.de > Subject: [PATCH 2/2] armada100: define > CONFIG_SYS_CACHELINE_SIZE > > By default, on Armada100 SoC DCache Lnd ICache line > lengths a

Re: [U-Boot] [PATCH 1/3] netspace_v2: fix SDRAM configuration

2011-11-01 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:si...@sequanux.org] > Sent: Monday, October 31, 2011 7:29 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH 1/3] netspace_v2: fix SDRAM configuration > > From: Simon Guinot > > Network Space (Max) v2

Re: [U-Boot] [PATCH 2/3] netspace_v2: enable I2C EEPROM support

2011-11-01 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:si...@sequanux.org] > Sent: Monday, October 31, 2011 7:29 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH 2/3] netspace_v2: enable I2C EEPROM support > > From: Simon Guinot > > An I2C EEPROM HT24LC0

Re: [U-Boot] [PATCH v2 5/8] nand: Merge new implementation of 1-bit ECC from Linux nand driver

2011-11-01 Thread Christian Hitz
Am 31.10.2011 21:15, schrieb Scott Wood: > On 10/31/2011 07:22 AM, Christian Hitz wrote: >> Am 29.10.2011 00:30, schrieb Scott Wood: >>> On 10/12/2011 02:32 AM, Christian Hitz wrote: [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] This patch synchronizes the nan

[U-Boot] [PATCH v2] ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

2011-11-01 Thread Valentin Longchamp
We got dropped from Linux mach-types.h because of a lack of mainline support and this is needed since the last Linux/u-boot mach-types synchro. This patch also defines CONFIG_MACH_TYPE for all keymile boards, as this is a mandatory CONFIG for ARM boards now. The initialization of gd->bd->bi_arch_n

Re: [U-Boot] [PATCH v2] ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

2011-11-01 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Valentin Longchamp > Sent: Tuesday, November 01, 2011 1:27 PM > To: u-boot@lists.denx.de > Cc: Holger Brunck; Valentin Longchamp > Subject: [U-Boot] [PATCH v2] ARM: Reintroduce

[U-Boot] Pull request for u-boot-marvell.git

2011-11-01 Thread Prafulla Wadaskar
Hi Albert Please pull The following changes since commit d0a755e860362ca35c6d6e4fa8a7a0d5fc7e3ea6: Michael Walle (1): kirkwood: define CONFIG_SYS_CACHELINE_SIZE are available in the git repository at: u-boot-marvell.git master branch. Holger Brunck (4): arm/km: add boardid and

[U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Ajay Bhargav
sdhci_readw does not work for host version read in Armada100 series SoCs. This patch fix this issue by making a sdhci_readl call to get host version. Signed-off-by: Ajay Bhargav --- drivers/mmc/mv_sdhci.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/m

[U-Boot] sandbox: Crash on startup

2011-11-01 Thread Matthias Weisser
Dear Simon I just wanted to play around with the sandbox "arch" of u-boot maybe adding tun/tap support. Current head compiled successfully but crashed immediately after startup in board_init_f: gd = malloc(sizeof(gd_t)); assert(gd); memset((void *)gd, 0, sizeof(gd_t)); T

Re: [U-Boot] [PATCH 3/4] EHCI: adjust for mx5

2011-11-01 Thread Igor Grinberg
Hi Jana, On 10/31/11 22:46, Jana Rapava wrote: > > > 2011/10/31 Igor Grinberg > > > > > +struct mxc_ulpi_regs { > > + u8 vendor_id_low; /* 0x00 - Vendor ID lower byte */ > > + u8 vendor_id_high; /* 0x01 - Vendor I

Re: [U-Boot] [PATCH v2 3/4] EHCI: adjust for mx5

2011-11-01 Thread Igor Grinberg
On 11/01/11 01:35, Jana Rapava wrote: > Add macros and structures needed by Efika USB support code. > Move shared offset and bits definitions into common header file. > > Signed-off-by: Jana Rapava > Cc: Marek Vasut > Cc: Remy Bohmer > Cc: Stefano Babic > Cc: Igor Grinberg > --- > Changes for

Re: [U-Boot] [PATCH] ARM: define CONFIG_MACH_TYPE for all ronetix boards

2011-11-01 Thread Igor Grinberg
On 10/31/11 20:54, Asen Chavdarov Dimov wrote: > > Signed-off-by: Asen Chavdarov Dimov Acked-by: Igor Grinberg ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V3] Arm: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

2011-11-01 Thread Igor Grinberg
On 10/31/11 20:52, Jens Scharsig wrote: > > * re-introduce the MACH_TYPE_XX for EB_CPUX9K2 board > > Signed-off-by: Jens Scharsig Acked-by: Igor Grinberg ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: define CONFIG_MACH_TYPE for all keymile boards

2011-11-01 Thread Igor Grinberg
On 10/31/11 20:28, Mike Frysinger wrote: > On Monday 31 October 2011 06:48:06 Igor Grinberg wrote: >> On 10/31/11 12:07, Valentin Longchamp wrote: >>> --- a/include/configs/km/km_arm.h >>> +++ b/include/configs/km/km_arm.h >>> @@ -48,6 +48,8 @@ >>> >>> #define CONFIG_KW88F6281 /* SOC Nam

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Marek Vasut
> sdhci_readw does not work for host version read in Armada100 series > SoCs. This patch fix this issue by making a sdhci_readl call to get host > version. > > Signed-off-by: Ajay Bhargav > --- > drivers/mmc/mv_sdhci.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff -

Re: [U-Boot] [PATCH 1/2] PXA: Add MMC driver using the generic MMC framework

2011-11-01 Thread Igor Grinberg
Hi Marek, On 08/29/11 01:02, Marek Vasut wrote: > Signed-off-by: Marek Vasut > --- > arch/arm/include/asm/arch-pxa/regs-mmc.h | 155 +++ > drivers/mmc/Makefile |1 + > drivers/mmc/pxa_mmc_gen.c| 442 > ++ > 3 files ch

Re: [U-Boot] [PATCH 1/2] PXA: Add MMC driver using the generic MMC framework

2011-11-01 Thread Marek Vasut
> Hi Marek, Hi Igor, > > On 08/29/11 01:02, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > --- > > > > arch/arm/include/asm/arch-pxa/regs-mmc.h | 155 +++ > > drivers/mmc/Makefile |1 + > > drivers/mmc/pxa_mmc_gen.c| 442 > > +++

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Ajay Bhargav
- "Marek Vasut" wrote: > > sdhci_readw does not work for host version read in Armada100 series > > SoCs. This patch fix this issue by making a sdhci_readl call to get > host > > version. > > > > Signed-off-by: Ajay Bhargav > > --- > > drivers/mmc/mv_sdhci.c |6 ++ > > 1 files chan

[U-Boot] [PATCH] fsl_ifc:Fixed a bug in the erratum handling code for IFC_A003399

2011-11-01 Thread Poonam Aggrwal
Wrong pointer was being used to copy code into L2SRAM. Also removed the unreferenced variable l2srbar. Signed-off-by: Poonam Aggrwal --- Thanks Wolfgang and Kumar for identifying the issue. arch/powerpc/cpu/mpc85xx/cpu_init_early.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) di

[U-Boot] [PATCH 0/2] LaCie 2Big Network v2 support

2011-11-01 Thread Simon Guinot
From: Simon Guinot This patch series provides support for the LaCie NAS 2Big Network v2. Simon Guinot (2): mvsata: fix ide_preinit for missing disks ARM: add support for LaCie 2Big Network v2 MAINTAINERS |1 + board/LaCie/net2big_v2/Makefile | 49 +

[U-Boot] [PATCH 1/2] mvsata: fix ide_preinit for missing disks

2011-11-01 Thread Simon Guinot
From: Simon Guinot Consider that ide_preinit() succeed if at least one port is successfully initialized. This allows to iniatialize IDE support on a board with two SATA ports but a single hard disk available. Signed-off-by: Simon Guinot --- drivers/block/mvsata_ide.c | 14 -- 1 f

[U-Boot] [PATCH 2/2] ARM: add support for LaCie 2Big Network v2

2011-11-01 Thread Simon Guinot
From: Simon Guinot This patch adds support for the LaCie 2Big Network v2 board, based on the Marvell Kirkwood 6281 SoC. Additional information is available at: http://lacie-nas.org/doku.php?id=2big_network_v2 Signed-off-by: Simon Guinot --- MAINTAINERS |1 + board/

Re: [U-Boot] sandbox: Crash on startup

2011-11-01 Thread Simon Glass
Mi Matthias, On Tue, Nov 1, 2011 at 2:50 AM, Matthias Weisser wrote: > Dear Simon > > I just wanted to play around with the sandbox "arch" of u-boot maybe > adding tun/tap support. Current head compiled successfully but crashed > immediately after startup in board_init_f: > >        gd = malloc(s

[U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Using mmap we can simulate RAM at a specific address. This also eliminated the use of system malloc function. Signed-off-by: Matthias Weisser --- arch/sandbox/cpu/os.c |9 + arch/sandbox/lib/board.c | 19 +++ include/configs/sandbox.h |1 + include/os.h

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Lei Wen
Hi Ajay, On Tue, Nov 1, 2011 at 5:39 PM, Ajay Bhargav wrote: > sdhci_readw does not work for host version read in Armada100 series > SoCs. This patch fix this issue by making a sdhci_readl call to get host > version. > > Signed-off-by: Ajay Bhargav > --- >  drivers/mmc/mv_sdhci.c |    6 ++ >

Re: [U-Boot] sandbox: Crash on startup

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 15:01, schrieb Simon Glass: > Mi Matthias, > > On Tue, Nov 1, 2011 at 2:50 AM, Matthias Weisser wrote: >> Dear Simon >> >> I just wanted to play around with the sandbox "arch" of u-boot maybe >> adding tun/tap support. Current head compiled successfully but crashed >> immediately af

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

2011-11-01 Thread Simon Glass
Hi Reinhard, On Sat, Oct 22, 2011 at 20:57, Reinhard Meyer wrote: > 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/**Makefil

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-11-01 Thread Tom Rini
On Thu, Oct 27, 2011 at 2:18 PM, Igor Grinberg wrote: > On 10/26/2011 11:13 PM, Tom Rini wrote: [snip] >>  board/ti/beagle/config.mk             |   33 --- [snip] > config.mk removal does not belong to that patch... > It should be a separate one, say cleanup patch. I can do this in its own pa

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Marek Vasut
> - "Marek Vasut" wrote: > > > sdhci_readw does not work for host version read in Armada100 series > > > SoCs. This patch fix this issue by making a sdhci_readl call to get > > > > host > > > > > version. > > > > > > Signed-off-by: Ajay Bhargav > > > --- > > > > > > drivers/mmc/mv_sdhci.

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

2011-11-01 Thread Mike Frysinger
i think the ppc guys might need to rename some of their funcs, and it seems like boards/drivers that use these are ppc-only, so there probably won't be any tree breakage ... Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

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

2011-11-01 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 --- Changes in v2: - Removed unneeded i2c config - Added machine type define board/bluewater/snapper9g45/Makefile | 43 +++ board/bluew

Re: [U-Boot] [PATCH 4/5] e1000: Export core EEPROM access functions for SPI support

2011-11-01 Thread Tabi Timur-B04825
On Tue, Oct 18, 2011 at 4:05 PM, Kyle Moffett wrote: > A followup patch will be adding a configurable feature to enable > programming of E1000 EEPROMs from the command line or via the generic > U-Boot SPI interface. > > In order for it to work it needs access to certain E1000-internal > functions,

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Mike Frysinger
On Tuesday 01 November 2011 10:07:31 Matthias Weisser wrote: > --- a/arch/sandbox/cpu/os.c > +++ b/arch/sandbox/cpu/os.c > > +void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, > + off_t offset) > +{ > + return mmap((void *)addr, length, PROT_READ | PROT_WRITE, v

Re: [U-Boot] [PATCH 4/5] e1000: Export core EEPROM access functions for SPI support

2011-11-01 Thread Mike Frysinger
On Tuesday 01 November 2011 11:22:09 Tabi Timur-B04825 wrote: > On Tue, Oct 18, 2011 at 4:05 PM, Kyle Moffett wrote: > > A followup patch will be adding a configurable feature to enable > > programming of E1000 EEPROMs from the command line or via the generic > > U-Boot SPI interface. > > > > In o

Re: [U-Boot] [PATCH v5 05/11] arm, davinci: add support for new spl framework

2011-11-01 Thread Scott Wood
On 11/01/2011 12:06 AM, Heiko Schocher wrote: > Hello Scott, > > Scott Wood wrote: >> On 10/30/2011 11:53 PM, Heiko Schocher wrote: >> This is common to most NAND SPLs. It would be nice to stick this in a >> common place (at least the loading part, maybe not the jump). Not >> nand_spl_simple.c,

[U-Boot] Ref: UN-Habitat023/6

2011-11-01 Thread United Nations
After much attempts to reach you on phone, I deemed it necessary and urgent to contact you via your e-mail and to notify you finally about your outstanding compensation payment. During our last annual calculation of your banking activities we have realized that you are eligible to receive a com

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 16:28, schrieb Mike Frysinger: > On Tuesday 01 November 2011 10:07:31 Matthias Weisser wrote: >> --- a/arch/sandbox/cpu/os.c >> +++ b/arch/sandbox/cpu/os.c >> >> +void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, >> +off_t offset) >> +{ >> +return m

[U-Boot] [PATCH] e1000: remove duplicate macros in e1000.h

2011-11-01 Thread Timur Tabi
Some of the EEPROM Word Offset macros, and a few others, are defined twice in e1000.h. Signed-off-by: Timur Tabi --- drivers/net/e1000.h | 11 --- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/net/e1000.h b/drivers/net/e1000.h index d8400d4..fd1d8f8 100644 --

[U-Boot] [PATCH v2 1/3] image: Make image_get_fdt work like image_get_{ram_disk, kernel}

2011-11-01 Thread Stephen Warren
image_get_ram_disk() and image_get_kernel() perform operations in a consistent order. Modify image_get_fdt() to do things the same way. This allows a later change to insert some image header manipulations into these three functions in a consistent fashion. v2: New patch Signed-off-by: Stephen War

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

2011-11-01 Thread Stephen Warren
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 the image has already been loaded to the correct address, and skip this memmove(). The detection alg

[U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-11-01 Thread Stephen Warren
The legacy uImage format includes an absolute load and entry- point address. When presented with a uImage in memory that isn't loaded at the address in the image's load address, U-Boot will relocate the image to its address in the header. Some payloads can actually be loaded and used at any arbitr

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Simon Glass
Hi Matthias, On Tue, Nov 1, 2011 at 7:07 AM, Matthias Weisser wrote: > Using mmap we can simulate RAM at a specific address. This also > eliminated the use of system malloc function. > > Signed-off-by: Matthias Weisser Thanks for the patch! > --- >  arch/sandbox/cpu/os.c     |    9 + >

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Simon Glass
Hi Matthias, On Tue, Nov 1, 2011 at 9:05 AM, Matthias Weisser wrote: > Am 01.11.2011 16:28, schrieb Mike Frysinger: >> On Tuesday 01 November 2011 10:07:31 Matthias Weisser wrote: >>> --- a/arch/sandbox/cpu/os.c >>> +++ b/arch/sandbox/cpu/os.c >>> >>> +void *os_mmap(void *addr, size_t length, int

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Mike Frysinger
On Tuesday 01 November 2011 12:05:05 Matthias Weisser wrote: > Am 01.11.2011 16:28, schrieb Mike Frysinger: > > On Tuesday 01 November 2011 10:07:31 Matthias Weisser wrote: > >> --- a/arch/sandbox/lib/board.c > >> +++ b/arch/sandbox/lib/board.c > >> > >> +static gd_t gd_mem; > > > > i don't think

Re: [U-Boot] [PATCH v5 0/4] Buffer overruns in printf

2011-11-01 Thread Simon Glass
Hi, On Tue, Oct 25, 2011 at 4:42 PM, Simon Glass wrote: > The printf family of functions in U-Boot cannot deal with a situation where > the caller provides a buffer which turns out to be too small for the format > string. This can result in buffer overflows, stack overflows and other bad > behavi

[U-Boot] [PATCH] mx31pdk: Enable D and I caches

2011-11-01 Thread Fabio Estevam
Enable D and I caches on mx31pdk. Signed-off-by: Fabio Estevam --- Stefano, You explained that enabling cache may cause some drivers like FEC and MMC not to work properly. As mx31pdk does not have FEC or MMC driver I thought this should be OK. Tested by booting Linux kernel via TFTP and mounti

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 17:45, schrieb Simon Glass: +#define CONFIG_SYS_SDRAM_BASE 0x2000 ... -mem = malloc(size); +mem = os_mmap((void *)CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE, +0, 0, -1, 0); >>> >>> mmap() makes no guarantee that

[U-Boot] Web service Administrator

2011-11-01 Thread Ensor, Lauren L
You have reached the limit of your mailbox by your web mail service, you are above your limit which is 20GB as set by your administrator, you are currently running on 20.9GB, you may not be able to send or receive emails. To Prevent this! Please click on the link below to upgrade your Quota ht

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Mike Frysinger
On Tuesday 01 November 2011 14:37:24 Matthias Weisser wrote: > I don't know the memory layout strategies for all the Linux/Unix variant > out there. But typically text/bss/data is in the lower address range > (some megs above 0) and in the upper range (right under kernel space) > there is space use

Re: [U-Boot] sandbox: Crash on startup

2011-11-01 Thread Mike Frysinger
On Tuesday 01 November 2011 10:01:53 Simon Glass wrote: > On Tue, Nov 1, 2011 at 2:50 AM, Matthias Weisser wrote: > > I just wanted to play around with the sandbox "arch" of u-boot maybe > > adding tun/tap support. Current head compiled successfully but crashed > > immediately after startup in boar

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 19:52, schrieb Mike Frysinger: > On Tuesday 01 November 2011 14:37:24 Matthias Weisser wrote: >> I don't know the memory layout strategies for all the Linux/Unix variant >> out there. But typically text/bss/data is in the lower address range >> (some megs above 0) and in the upper ran

Re: [U-Boot] [PATCH v2 3/4] EHCI: adjust for mx5

2011-11-01 Thread Jana Rapava
2011/11/1 Igor Grinberg > > Do you already have a header for the generic ULPI support? > Can't the above be put in that header and the next patch set > (ULPI) will just extend this? > Ok, I'll send ulpi header as a separate patch, thanks for suggestion. > > > -- > Regards, > Igor. > ___

[U-Boot] [PATCH] ulpi: add generic ULPI support header file

2011-11-01 Thread Jana Rapava
Add ULPI header file needed by Efika USB support patchset and generic ULPI support patch, which is to be posted soon. Signed-off-by: Jana Rapava Cc: Marek Vasut Cc: Remy Bohmer Cc: Stefano Babic Cc: Igor Grinberg --- include/usb/ulpi.h | 195 +

[U-Boot] [PATCH v3 3/4] EHCI: adjust for mx5

2011-11-01 Thread Jana Rapava
Add macros and structures needed by Efika USB support code. Move shared offset and bits definitions into common header file. Signed-off-by: Jana Rapava Cc: Marek Vasut Cc: Remy Bohmer Cc: Stefano Babic Cc: Igor Grinberg --- Changes for v2: - whitespace and coding style changes Changes

[U-Boot] [PATCH v7 4/4] usb: add USB support for Efika

2011-11-01 Thread Jana Rapava
This commit adds USB support for EfikaMX and EfikaSB. Signed-off-by: Jana Rapava Signed-off-by: Marek Vasut Cc: Remy Bohmer Cc: Stefano Babic Acked-by: Marek Vasut --- Changes for v2: - introduce temporary variable in ulpi_write - whitespace changes Changes for v3: - add protect

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Mike Frysinger
On Tuesday 01 November 2011 15:01:55 Matthias Weisser wrote: > Am 01.11.2011 19:52, schrieb Mike Frysinger: > > On Tuesday 01 November 2011 14:37:24 Matthias Weisser wrote: > >> I don't know the memory layout strategies for all the Linux/Unix variant > >> out there. But typically text/bss/data is i

Re: [U-Boot] [PATCH v2 5/8] nand: Merge new implementation of 1-bit ECC from Linux nand driver

2011-11-01 Thread Scott Wood
On 11/01/2011 02:49 AM, Christian Hitz wrote: > Am 31.10.2011 21:15, schrieb Scott Wood: >> On 10/31/2011 07:22 AM, Christian Hitz wrote: >>> Am 29.10.2011 00:30, schrieb Scott Wood: On 10/12/2011 02:32 AM, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020

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

2011-11-01 Thread Andre Renaud
Hi Simon, On 02/11/11 04:22, Simon Glass wrote: > + /* Need to reset PHY -> 500ms reset */ > + erstl = readl(&rstc->mr) & AT91_RSTC_MR_ERSTL_MASK; > + writel(AT91_RSTC_KEY | AT91_RSTC_MR_ERSTL(13) | > +AT91_RSTC_MR_URSTEN, &rstc->mr); > + writel(AT91_RSTC_KEY | AT91_RST

Re: [U-Boot] [PATCH v5 0/4] Buffer overruns in printf

2011-11-01 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > I have suggested making these functions available by default, and > having CONFIG_NO_SYS_VSNPRINT to remove them. The rationale is that it This makes little sense to me. We don't need an opt out here, but an opt in instead. Otherwise you willprobab

Re: [U-Boot] [PATCH v2 4/8] nand: Merge changes from Linux nand driver

2011-11-01 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote: > @@ -1862,6 +1927,13 @@ static int nand_do_write_ops(struct mtd_info *mtd, > loff_t to, > if (!writelen) > return 0; > > + /* reject writes, which are not page aligned */ > + if (NOTALIGNED(to) || NOTALI

Re: [U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable

2011-11-01 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:06AM +0200, Christian Hitz wrote: > The software ECC algorithm is not necessary when hardware ECC > is available and can be left out for a smaller image size. > Enable with CONFIG_MTD_ECC_SOFT. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Saves 2312

Re: [U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable

2011-11-01 Thread Scott Wood
On 11/01/2011 05:04 PM, Scott Wood wrote: > On Wed, Oct 12, 2011 at 09:32:06AM +0200, Christian Hitz wrote: >> The software ECC algorithm is not necessary when hardware ECC >> is available and can be left out for a smaller image size. >> Enable with CONFIG_MTD_ECC_SOFT. >> >> Signed-off-by: Christi

Re: [U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable

2011-11-01 Thread Scott Wood
On 11/01/2011 05:08 PM, Scott Wood wrote: > On 11/01/2011 05:04 PM, Scott Wood wrote: >> On Wed, Oct 12, 2011 at 09:32:06AM +0200, Christian Hitz wrote: >>> The software ECC algorithm is not necessary when hardware ECC >>> is available and can be left out for a smaller image size. >>> Enable with C

Re: [U-Boot] [PATCH 4/4] PXA: Adapt Voipac PXA270 to OneNAND SPL

2011-11-01 Thread Marek Vasut
> On 10/31/2011 08:23 AM, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > Cc: Albert ARIBAUD > > --- [...] > > > + for (page = 0; page <= total_pages; page++) { > > + ret = spl_onenand_read_page(0, page, addr, data.pagesize); > > + if (ret) > > + to

Re: [U-Boot] [PATCH 4/4] PXA: Adapt Voipac PXA270 to OneNAND SPL

2011-11-01 Thread Scott Wood
On 11/01/2011 05:12 PM, Marek Vasut wrote: >> On 10/31/2011 08:23 AM, Marek Vasut wrote: >>> Signed-off-by: Marek Vasut >>> Cc: Albert ARIBAUD >>> --- > [...] > >> >>> + for (page = 0; page <= total_pages; page++) { >>> + ret = spl_onenand_read_page(0, page, addr, data.pagesize); >>>

Re: [U-Boot] [PATCH 4/4] PXA: Adapt Voipac PXA270 to OneNAND SPL

2011-11-01 Thread Marek Vasut
> On 11/01/2011 05:12 PM, Marek Vasut wrote: > >> On 10/31/2011 08:23 AM, Marek Vasut wrote: > >>> Signed-off-by: Marek Vasut > >>> Cc: Albert ARIBAUD > >>> --- > > > > [...] > > > >>> + for (page = 0; page <= total_pages; page++) { > >>> + ret = spl_onenand_read_page(0, page, addr, dat

[U-Boot] [PATCH 2/4 V2] PXA: Rework start.S to be closer to other ARMs

2011-11-01 Thread Marek Vasut
The start.S on PXA was very obscure. This reworks it back to be close to arm1136 start.S and others. Signed-off-by: Marek Vasut Cc: Albert ARIBAUD --- arch/arm/cpu/pxa/cpu.c | 16 ++ arch/arm/cpu/pxa/start.S | 384 - 2 files changed, 153 insertio

[U-Boot] [PATCH 3/4 V2] OneNAND: Add simple OneNAND SPL

2011-11-01 Thread Marek Vasut
This introduces small OneNAND loader, fitting into 1kB of space (smallest possible OneNAND RAM size). Some devices equipped with such crappy chips will use this. Signed-off-by: Marek Vasut Cc: Albert ARIBAUD Cc: Kyungmin Park Cc: Scott Wood --- drivers/mtd/onenand/Makefile |4 + driv

[U-Boot] [PATCH 4/4 V2] PXA: Adapt Voipac PXA270 to OneNAND SPL

2011-11-01 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Albert ARIBAUD --- board/vpac270/Makefile |4 ++ board/vpac270/onenand.c | 66 board/vpac270/u-boot-spl.lds | 97 ++ board/vpac270/vpac270.c |2 + include/configs/vpac2

[U-Boot] [PATCH 1/2 V2] PXA: Add MMC driver using the generic MMC framework

2011-11-01 Thread Marek Vasut
Signed-off-by: Marek Vasut --- arch/arm/include/asm/arch-pxa/regs-mmc.h | 154 +++ drivers/mmc/Makefile |1 + drivers/mmc/pxa_mmc_gen.c| 442 ++ 3 files changed, 597 insertions(+), 0 deletions(-) create mode 100644 arc

[U-Boot] [PATCH 01/14] davinci_emac: compilation fix, phy is array now

2011-11-01 Thread Ilya Yanok
Fix compilation issues introduced by recent multiply PHY patch. Signed-off-by: Ilya Yanok --- drivers/net/davinci_emac.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 7dacb23..a900480 100644 --- a/drivers/n

[U-Boot] [PATCH 00/14] Support for HTKW mcx board

2011-11-01 Thread Ilya Yanok
Hello All, these patches introduce support for HTKW mcx board (AM3517-based). Previously posted DaVinci EMAC patches ( http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/112309 ) and NAND SPL patches ( http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/112890 ) are also included as long a

[U-Boot] [PATCH 04/14] davinci_emac: conditionally compile specific PHY support

2011-11-01 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- drivers/net/davinci_emac.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index b2a6076..0e9fbc2 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -790,

[U-Boot] [PATCH 06/14] davinci_emac: hardcode 100Mbps for AM35xx and RMII

2011-11-01 Thread Ilya Yanok
For some reason code setting the speed based on the PHY feedback causes troubles on AM3517 so hardcode 100Mbps for now. Signed-off-by: Ilya Yanok --- drivers/net/davinci_emac.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/davinci_emac.c b/drivers/net/dav

[U-Boot] [PATCH 02/14] davinci_emac: move arch-independent defines to separate header

2011-11-01 Thread Ilya Yanok
DaVinci EMAC is found not only on DaVinci SoCs but on some OMAP3 SoCs also. This patch moves common defines from arch-davinci/emac_defs.h to drivers/net/davinci_emac.h Signed-off-by: Ilya Yanok --- arch/arm/include/asm/arch-davinci/emac_defs.h | 289 --- drivers/net/davinci_

[U-Boot] [PATCH 05/14] davinci_emac: fix for running with dcache enabled

2011-11-01 Thread Ilya Yanok
DaVinci EMAC is present on TI AM35xx SoCs (ARMv7) which run with D-Cache enabled by default. So we have to take care and flush/invalidate the cache before/after the DMA operations. Please note that the receive buffer alignment to 32 byte boundary comes from the old driver version I don't know if i

[U-Boot] [PATCH 03/14] davinci_emac: use internal addresses in buffer descriptors

2011-11-01 Thread Ilya Yanok
On AM35xx CPPI RAM had different addresses when accessed from the CPU and from the EMAC. We need to account this to deal with the buffer descriptors correctly. Signed-off-by: Ilya Yanok --- drivers/net/davinci_emac.c | 39 ++- 1 files changed, 30 insertions(

[U-Boot] [PATCH 10/14] nand_spl_simple: add support for software ECC

2011-11-01 Thread Ilya Yanok
This patch adds support for software ECC to the nand_spl_simple driver. To enable this one have to define CONFIG_SPL_NAND_SOFTECC. Tested on OMAP3. Signed-off-by: Ilya Yanok --- drivers/mtd/nand/nand_ecc.c|2 +- drivers/mtd/nand/nand_spl_simple.c | 11 ++- 2 files changed,

[U-Boot] [PATCH 08/14] AM3517: move AM3517 specific mux defines to generic header

2011-11-01 Thread Ilya Yanok
AM3517 specific CONTROL_PADCONF_* defines moved from board-specific files to Signed-off-by: Ilya Yanok --- arch/arm/include/asm/arch-omap3/mux.h | 41 + board/logicpd/am3517evm/am3517evm.h | 40 board/ti/am3517crane/am3517cr

[U-Boot] [PATCH 09/14] omap/spl: actually enable the console

2011-11-01 Thread Ilya Yanok
Currently OMAP SPL code does all the initialization but does not set the gd->have_console value so no output is actually performed. This patch sets gd->have_console to 1. Signed-off-by: Ilya Yanok --- arch/arm/cpu/armv7/omap-common/spl.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-

[U-Boot] [PATCH 07/14] AM35xx: add EMAC support

2011-11-01 Thread Ilya Yanok
AM35xx has DaVinci-compatible EMAC. Signed-off-by: Ilya Yanok --- arch/arm/cpu/armv7/omap3/Makefile |1 + arch/arm/cpu/armv7/omap3/emac.c | 44 + arch/arm/include/asm/arch-omap3/am35x_def.h |3 + arch/arm/include/asm/arch-omap3/emac_defs.h |

[U-Boot] [PATCH 14/14] mcx: support for HTKW mcx board

2011-11-01 Thread Ilya Yanok
This patch adds support for the HTKW mcx AM3517-based board. Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both NAND and MMC SPLs are supported. Requires updated mach-types file. Signed-off-by: Ilya Yanok --- MAINTAINERS |4 + board/htkw/mcx/Makefile | 38 + board/ht

[U-Boot] [PATCH 11/14] omap_gpmc: use SOFTECC in SPL if it's enabled

2011-11-01 Thread Ilya Yanok
Use software ECC for the SPL build if support for software ECC in SPL is enabled. Signed-off-by: Ilya Yanok --- drivers/mtd/nand/omap_gpmc.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c index 5bbec48..1dfe

[U-Boot] [PATCH 12/14] nand_spl_simple: store temp data at CONFIG_SPL_NAND_WORKSPACE

2011-11-01 Thread Ilya Yanok
Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. I can't see any way to determine some safe address automagically so make it up to board porter to provide the safe-to-use address via CONFIG_SPL_NAND_WORKSPACE value. Signed-off

[U-Boot] [PATCH 13/14] ehci-omap: driver for EHCI host on OMAP3

2011-11-01 Thread Ilya Yanok
Taken from Beagle code. Tested on mcx board (AM3517-based). Signed-off-by: Ilya Yanok --- Please note that I wasn't able to test this patch on Beagle. Testers are welcome! Also we have one strange bug in our setup (mcx board, USB storage device, keyboard, mouse and BT stick connected through sev

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-01 Thread Kim Phillips
On Thu, 27 Oct 2011 13:47:48 +0800 wrote: > From: Jerry Huang > > The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to > support QE 500MHZ and this new board supports 512MB DDR since 2008, > but the u-boot only supports 256MB DDR and 66.6MHz oscillator on top tree, > > For

Re: [U-Boot] [PATCH v5 0/4] Buffer overruns in printf

2011-11-01 Thread Simon Glass
Hi Wolfgang, On Tue, Nov 1, 2011 at 2:21 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> I have suggested making these functions available by default, and >> having CONFIG_NO_SYS_VSNPRINT to remove them. The rationale is that it > > This makes little sense to m

Re: [U-Boot] [PATCH 00/14] Support for HTKW mcx board

2011-11-01 Thread Tom Rini
On Tue, Nov 1, 2011 at 4:15 PM, Ilya Yanok wrote: > Hello All, > > these patches introduce support for HTKW mcx board (AM3517-based). > > Previously posted DaVinci EMAC patches > ( http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/112309 ) > and NAND SPL patches > ( http://thread.gmane.org/gm

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-01 Thread Huang Changming-R66093
Kim, Since 2008, the boards shipped to customer are the new boards with 33.33MHz oscillator and 512MB DDR. How can I deal with the new board and old board? Thanks and Best Regards Jerry Huang > -Original Message- > From: Phillips Kim-R1AAHA > Sent: Wednesday, November 02, 2011 7:53 AM >

[U-Boot] [PATCH 1/2] DIU: 1080P and 720P support

2011-11-01 Thread Chang-Ming.Huang
From: Jerry Huang Add the 1920x1080 and 1280x720 resolution support. Acked-by: Timur Tabi Signed-off-by: Jerry Huang CC: Anatolij Gustschin --- drivers/video/fsl_diu_fb.c | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/drivers/v

[U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB

2011-11-01 Thread Chang-Ming.Huang
From: Jerry Huang In order to support 1920x01080 resolution, we must increase the alloc length. Acked-by: Timur Tabi Signed-off-by: Jerry Huang CC: Anatolij Gustschin --- include/configs/P1022DS.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/P102

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-01 Thread Tabi Timur-B04825
On Tue, Nov 1, 2011 at 9:08 PM, Huang Changming-R66093 wrote: > Kim, > Since 2008, the boards shipped to customer are the new boards with 33.33MHz > oscillator and 512MB DDR. > How can I deal with the new board and old board? Check the board revision at runtime. -- Timur Tabi Linux kernel deve

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Ajay Bhargav
- "Lei Wen" wrote: > Hi Ajay, > > On Tue, Nov 1, 2011 at 5:39 PM, Ajay Bhargav > wrote: > > sdhci_readw does not work for host version read in Armada100 series > > SoCs. This patch fix this issue by making a sdhci_readl call to get > host > > version. > > > > Signed-off-by: Ajay Bhargav >

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-01 Thread Ajay Bhargav
- "Marek Vasut" wrote: > > - "Marek Vasut" wrote: > > > > sdhci_readw does not work for host version read in Armada100 > series > > > > SoCs. This patch fix this issue by making a sdhci_readl call to > get > > > > > > host > > > > > > > version. > > > > > > > > Signed-off-by: Ajay Bh

[U-Boot] [PATCH v6 00/11] arm, davinci: add support for dm368 based cam_enc_4xx board

2011-11-01 Thread Heiko Schocher
This is a repost of the cam_enc_4xx board support patches from http://lists.denx.de/pipermail/u-boot/2011-October/107651.html changes for v6: - moved arch/arm/cpu/arm926ejs/davinci/spl_nand.c to drivers/mtd/nand/nand_spl_load.c as Scoot Wood suggested. compiled through CONFIG_SPL_NAND_LO

[U-Boot] [PATCH v6 01/11] usb, davinci: add enable_vbus() weak function

2011-11-01 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Remy Bohmer Cc: Albert ARIBAUD Cc: Igor Grinberg --- changes for v4: - patch is new since v4, as Igor Grinberg suggested. changes for v6: - make enable_vbus() weak with alias drivers/usb/musb/davinci.c | 14 -- 1 files changed, 12 insertions(+)

[U-Boot] [PATCH v6 04/11] spl: add option for adding post memory test to the SPL framework

2011-11-01 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj Cc: Sergei Shtylyov --- changes for v4: - add comment from Sergei Shtylyov: - remove Leftmost open parent in dox/README.SPL doc/README.SPL |1 + spl/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-

[U-Boot] [PATCH v6 03/11] net, davinci_emac: make clock divider in MDIO control register configurable

2011-11-01 Thread Heiko Schocher
Define CONFIG_SYS_EMAC_TI_CLKDIV for setting the clkdiv value in the MDIO control register. Signed-off-by: Heiko Schocher cc: Sandeep Paulraj cc: Wolfgang Denk --- drivers/net/davinci_emac.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/davinci_em

  1   2   >