Re: [U-Boot] [PATCH] i2c: fix SDA contention in read_byte()

2010-07-13 Thread Reinhard Meyer
Thomas Chou schrieb: > Reinhard Meyer wrote: >> Thomas Chou schrieb: >>> Reinhard Meyer wrote: Its even simpler, provided the hardware can do open collector. Here was my solution for AVR32AP7000: >>> Then we could add a config for open drain similar to that of linux driver. >>> >>>

Re: [U-Boot] (imp) uboot image size

2010-07-13 Thread Wolfgang Denk
Dear Sagar Heroorkar, In message you wrote: > > I changed the TEXT_BASE address to something different. I see that the image > size of the uboot is changed so much. It seems you did not really understand what your change is doing, so maybe you explain why you made this change in the first plac

[U-Boot] [PATCH 20/28] SPEAr1300: Workaround the UHC problem (issue #101435)

2010-07-13 Thread Vipin KUMAR
From: Armando Visconti Signed-off-by: Armando Visconti --- arch/arm/cpu/arm_cortexa8/spear13xx/cpu.c | 33 + include/configs/spear13xx_evb.h |3 ++ 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm_cortexa8/spear13xx/cpu

[U-Boot] [PATCH 15/28] SPEAr : spear1300 SoC support added

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR SPEAr1300 SoC support contains basic spear1300 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver Signed-off-by: Vipin Kumar --- MAINTAINERS|1 + MAKEALL

[U-Boot] [PATCH 23/28] SPEAr : Enable usb device high speed support

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR This patch enables the support for usb high speed device for spear platform SOCs Signed-off-by: Vipin Kumar --- include/configs/spear-common.h |1 + include/configs/spear13xx_evb.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/s

[U-Boot] [PATCH 24/28] SPEAr : Network support configuration

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR This patch implements the review feedbacks provided by Ben according to which board_eth_init routine should not return -1. Instead, it should handle the errors itself (by printing error banner / somethign else) For more info http://lists.denx.de/pipermail/u-boot/2010-May/071357

[U-Boot] [PATCH 28/28] SPEAr1310 : spear1310 support added

2010-07-13 Thread Vipin KUMAR
This patch adds the support for spear1310 SoC. Currently spear1310 uses the following drivers - UART (PL011) - designware i2c - st smi (Serial Memory Interface) - designware usb device - designware ethernet Signed-off-by: Vipin Kumar --- MAINTAINERS |1 + MAKEAL

[U-Boot] [PATCH 21/28] Enable high speed support for usb device framework and usbtty

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR This patch adds the support for high speed in usb device framework and usbtty driver. This feature has been kept within a macro CONFIG_USBD_HS, so the board configuration files have to define this macro to enable high speed support. Along with that specific peripheral drivers a

[U-Boot] [PATCH 14/28] SPEAr : Basic spear1300 architecture support added

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR SPEAr1300 is an ARMCortexA9 dual core based SoC which supports multiple peripherals such as 1. Ethernet Controller 2. USB Device Controller 3. USB Host Controllers 4. MTD interfaces for NAND and NOR(serial and parallel) flash devices etc For more information, visit www.st.com/

[U-Boot] [PATCH 13/28] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Also, renaming the include/configs/spearxxx.h files to spear3xx_evb.h, spear6xx_evb.h etc to depic

[U-Boot] [PATCH 27/28] SPEAr : Ethernet issue workaround is not needed when uboot is acting as flashing

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Ethernet/UHC issue workaround which resets the SoC has an unexpected effect while using uboot as flashing utils firmware. So, excluding the changes for uboot built as usbtty firmware Enable overwriting of env variables. The env variables ethaddr, serial# etc support a feture of

[U-Boot] [PATCH 19/28] SPEAr : Changing the default environment variable bootargs

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Linux expects the console to be set to ttyAMA0,115200, so this change is to make default bootargs to console=ttyAMA0,115200 This patch modifies the default bootargs for all spear devices as following For environment present in NOR flash ...root=/dev/mtdblock3... For enviro

[U-Boot] [PATCH 18/28] SPEAr : Network driver fixes.

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR The network controller mac resets hardware address stored in MAC_HI and MAC_LO registers if mac is resetted. So, hw mac address needs to be restored in case mac is explicitly resetted from driver. Also the max frame length for Normal descriptor can be 0x7FF i.e 2047, so reducing

[U-Boot] [PATCH 22/28] SPEAr : High speed support for designware peripheral

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR This patch adds the support for usb device high speed for designware peripheral. Signed-off-by: Vipin Kumar --- drivers/usb/gadget/designware_udc.c | 13 + include/usb/designware_udc.h|3 +++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --

[U-Boot] [PATCH 12/28] SPEAr : USB Device Controller driver support added

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR The earlier usb device controller driver was specific to spear platforms. This patch implements the usb device controller driver as a generic controller which can be reused by other platforms using this peripheral. Signed-off-by: Vipin Kumar --- drivers/serial/usbtty.h

[U-Boot] [PATCH 11/28] SPEAr : smi driver moved completely into drivers/mtd

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR SMI is the serial memory interface controller provided by ST. The earlier driver was specific to spear platform. The driver files are renamed to st_smi.c and st_smi.h and moved into drivers/mtd folder for reusability by other platforms using smi controller peripheral. Signed-o

[U-Boot] [PATCH 03/28] SPEAr : Placing ethaddr write and read within CONFIG_CMD_NET

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR ethaddr can be optionally read from i2c memory. So, chip_config command supports reading/writing hw mac id into i2c memory. Placing this code within CONFIG_CMD_NET as this would only be needed when network interface is configured Signed-off-by: Vipin Kumar --- board/spear/com

[U-Boot] [PATCH 16/28] SPEAr : Removing extraneous code

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR This sub-patch removes extraneous code from the spear platform code Signed-off-by: Vipin Kumar --- include/configs/spear-common.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index c03

[U-Boot] [PATCH 25/28] SPEAr : Enabling GPT clock explicitly

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR uboot needs gpt for timer operations. This clock was enabled from previous level booting software until now. This patch enables it in uboot explicitly Signed-off-by: Vipin Kumar --- arch/arm/cpu/arm926ejs/spear/cpu.c |6 ++ arch/arm/include/asm/arch-spear/spr_

[U-Boot] [PATCH 26/28] SPEAr : smi_init moved to board_init

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR flash reading is required earlier than flash_init is called since the env_init is called before flash_init. This makes the smi_init necessary before env_init being called This patch adds these changes Signed-off-by: Vipin Kumar --- board/spear/common/spr_misc.c |

[U-Boot] [PATCH 08/28] SPEAr : FSMC driver support added

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Flexible static memory controller is a peripheral provided by ST, which controls the access to NAND chips along with many other memory device chips eg NOR, SRAM. This patch adds the driver support for FSMC controller interfacing with NAND memory. Signed-off-by: Vipin Kumar --

[U-Boot] [PATCH 09/28] SPEAr : Configuring FSMC driver for NAND interface

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Since FSMC is a standard IP and it supports different memory interfaces, it is supported independent of spear platform and spear is configured to use that driver for interfacing with the NAND device Spear platform uses generic FSMC driver and spear specific files i.e drivers/mt

[U-Boot] [PATCH 10/28] SPEAr : i2c driver moved completely into drivers/i2c

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR The earlier i2c driver was specific to spear platforms. This patch implements the i2c controller as a generic driver which can be used by multiple platforms The driver files are now renamed to designware_i2c.c and designware_i2c.h and these are moved into drivers/i2c folder for

[U-Boot] [PATCH 17/28] SPEAr : USB device controller bugfixes

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR This patch fixes a few bugs in USB device controller driver. The fixes are as follows 1. Adding error condition checks eg. NULL return 2. Endpoint other than endpoint 0 (control endpoint) are initialized only if usb state machine reaches STATE_ADDRESSED or above 3. Zero length p

[U-Boot] [PATCH 06/28] SPEAr : Network support configured for spear SoCs

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/hardware.h |1 + board/spear/spear300/spear300.c| 10 ++ board/spear/spear310/spear310.c| 10 ++ board/spear/spear320/spear320.c| 10 ++ board/s

[U-Boot] [PATCH 01/28] change_bit routine defined

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR change_bit routine is left implementation dependent until now. This routine is now defined for arm platforms in asm-arm/bitops.h The Flexible Static memory controller driver, placed in mtd/nand/fsmc_nand.c needs this routine. FSMC is a memory controller peripheral from ST. The

[U-Boot] [PATCH 07/28] SPEAr : macb driver support added for spear310 and spear320

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR SPEAr310 and SPEAr320 SoCs have an extra ethernet controller. The driver for this device is already supported by u-boot, so configuring board configuration file and defining base addresses etc to make use of the common driver Signed-off-by: Vipin Kumar --- arch/arm/include/as

[U-Boot] [PATCH 00/28] Support for SPEAr13xx boards added

2010-07-13 Thread Vipin KUMAR
The following patch-set adds the support for the following 1. SPEAr13xx boards (SPEAr1300 and SPEAr1310) 2. Addition of High speed support for USB device for usbtty framework 3. Miscellneous fixes in Network and FSMC (NAND controller) drivers Please consider the patch-set for inclusion in the main

[U-Boot] [PATCH 02/28] SPEAr : SMI erase and write timeouts increased

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR SMI driver fails because of low timeout values. Increasing the write mode timeout and transfer timeouts to 15 ms Signed-off-by: Vipin Kumar --- arch/arm/include/asm/arch-spear/spr_smi.h |4 +- drivers/mtd/spr_smi.c | 57 ++---

[U-Boot] [PATCH 05/28] SPEAr : Basic arch related support added for SPEAr SoCs

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Adding CONFIG_DISPLAY_CPUINFO and CONFIG_ARCH_CPU_INIT support for SPEAr3xx and SPEAr6xx SoCs CONFIG_DISPLAY_CPUINFO includes the built CPU related information Earlier, architecture specific init code was mixed with board initialization code in board/spear/... CONFIG_ARCH_CPU_

[U-Boot] [PATCH 04/28] SPEAr : Reducing the max RAM size to 128MB

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR Signed-off-by: Vipin Kumar --- include/configs/spear-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index cc52e39..b526558 100644 --- a/include/configs/spear-common.h +++ b/incl

Re: [U-Boot] [PATCH] i2c: fix SDA contention in read_byte()

2010-07-13 Thread Thomas Chou
Reinhard Meyer wrote: > Thomas Chou schrieb: >> Reinhard Meyer wrote: >>> Its even simpler, provided the hardware can do open collector. Here >>> was my solution for AVR32AP7000: >>> >> Then we could add a config for open drain similar to that of linux driver. >> >> # ifndef I2C_SDA >> # ifdef CO

Re: [U-Boot] Pull request u-boot-blackfin.git

2010-07-13 Thread Mike Frysinger
ive rebased my tree to include Ben's acked-by tags, but there are no content changes otherwise ... -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/listi

Re: [U-Boot] [PATCH 14/35] Blackfin: bfin_mac: convert to portmux framework

2010-07-13 Thread Mike Frysinger
On Monday, July 12, 2010 02:56:55 Ben Warren wrote: > On 7/11/2010 11:52 PM, Ben Warren wrote: > > On 7/5/2010 2:30 AM, Mike Frysinger wrote: > >> Rather than bang MMRs directly, use the new portmux framework to handle > >> the details. While we're doing this, let boards declare the exact list > >

Re: [U-Boot] [PATCH v4] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-07-13 Thread Ben Gardiner
On Tue, Jul 13, 2010 at 3:26 PM, Scott Wood wrote: > I thought I sent this yesterday when applying the patch, but I guess not... > > On Mon, Jul 05, 2010 at 01:27:07PM -0400, Ben Gardiner wrote: >> This is a re-submission of the patch by Harald Welte >> with minor modifications for rebase and cha

Re: [U-Boot] Hi All, is anybody involved into Renesas SH development?

2010-07-13 Thread Guennadi Liakhovetski
On Tue, 13 Jul 2010, Fabio Giovagnini wrote: > Good morning, > if any of you is involved in such a develop, I'd like to have discussion if > possible about u-boot onto sh architecture You're probably aware, that U-Boot is already running on SH. So, just post your specific questions, you might w

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Remy Bohmer
Hi, 2010/7/13 Vitaly Kuzmichev : > FYI I'm doing some work on this branch too. Great! > Actually I have ported it to 2010.03 What do you mean with ported to 2010.03? It was already working on latest git, do you mean you backported it to an older version? (I would not expect this would be a big

[U-Boot] Non standard CFI detection tweaks

2010-07-13 Thread Rogan Dawes
Hi Stefan, I'm trying to add support for my D-Link DNS323 (Orion5x-based) to U-Boot, building on the efforts of Albert Aribaud. One place where I am struggling is with the detection of the flash chip. The flash part is a 8 MB Spansion S29GL064M90TFIR4, and the data sheet can be found at: http:

Re: [U-Boot] [PATCH v4] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-07-13 Thread Scott Wood
I thought I sent this yesterday when applying the patch, but I guess not... On Mon, Jul 05, 2010 at 01:27:07PM -0400, Ben Gardiner wrote: > This is a re-submission of the patch by Harald Welte > with minor modifications for rebase and changes > as suggested by Scott Wood [1] [2]. Applied to u-b

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Remy Bohmer
Hi Stefano, 2010/7/13 Stefano Babic : > Hi Remy, > > I would like to add support for Ethernet over USB (CDC) for the musb > (musb_udc) controller, basing on your cdc branch in u-boot-usb. Great! > I have seen there are some conflicts and some duplicated structure > between the header imported fr

Re: [U-Boot] (imp) uboot image size

2010-07-13 Thread Albert ARIBAUD
Le 13/07/2010 20:38, Sagar Heroorkar a écrit : > Hi All, > > I changed the TEXT_BASE address to something different. I see that the image > size of the uboot is changed so much. > > Image size became to 28MB. I dotn know how to make it to 384k. > > Earliar text base was at address fffa > now i

[U-Boot] (imp) uboot image size

2010-07-13 Thread Sagar Heroorkar
Hi All, I changed the TEXT_BASE address to something different. I see that the image size of the uboot is changed so much. Image size became to 28MB. I dotn know how to make it to 384k. Earliar text base was at address fffa now i changed to fe40 let me know what else i should change so

Re: [U-Boot] Error detecting CFI-compliant NOR flash on Orion5x (DNS323)

2010-07-13 Thread Albert ARIBAUD
Le 13/07/2010 16:10, Rogan Dawes a écrit : > On 2010/07/10 1:31 PM, Rogan Dawes wrote: >> Hi folks, >> >> I am trying to get a recent U-Boot working on my DNS323 (B1). Building >> on the work of Albert Aribaud, I have been able to get it to boot >> successfully from the existing U-Boot boot loader

Re: [U-Boot] Error detecting CFI-compliant NOR flash on Orion5x (DNS323)

2010-07-13 Thread Rogan Dawes
On 2010/07/10 1:31 PM, Rogan Dawes wrote: > Hi folks, > > I am trying to get a recent U-Boot working on my DNS323 (B1). Building > on the work of Albert Aribaud, I have been able to get it to boot > successfully from the existing U-Boot boot loader having defined > CONFIG_SKIP_LOWLEVEL_INIT, and (w

Re: [U-Boot] [PATCH] NAND: formatting cleanups from env.oob support

2010-07-13 Thread Ben Gardiner
On Mon, Jul 12, 2010 at 7:22 PM, Scott Wood wrote: > Change if (ok) { >        bunch of stuff > } else { >        error > } > > to > > if (error) { >        get out > } > > proceed with bunch of stuff > > Plus a few whitespace cleanups. > > Signed-off-by: Scott Wood > --- > Applied to u-boot-nand

[U-Boot] [PATCH V5 4/4] edminiv2: add mvsata_ide and cmd_ide support

2010-07-13 Thread Albert Aribaud
Add mvsata_ide port 1 initialization in edminiv2 init code Add mvsata_ide and cmd_ide configuration in edminiv2 config Signed-off-by: Albert Aribaud --- board/LaCie/edminiv2/edminiv2.c |7 ++ include/configs/edminiv2.h | 46 ++- 2 files changed,

[U-Boot] [PATCH V5 3/4] cmd_ide: add support for orion5x

2010-07-13 Thread Albert Aribaud
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by: Albert Aribaud --- arch/arm/include/asm/arch-orion5x/orion5x.h |3 +++ common/cmd_ide.c|4 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/incl

[U-Boot] [PATCH V5 2/4] ide: add mvsata_ide driver

2010-07-13 Thread Albert Aribaud
This driver only provides initialization code; actual driving is done by cmd_ide.c using the ATA compatibility mode of the Marvell SATAHC controller. Signed-off-by: Albert Aribaud --- drivers/block/Makefile |7 +++-- drivers/block/mvsata_ide.c | 60 +

[U-Boot] [PATCH V5 1/4] ide: add configuration CONFIG_IDE_SWAP_IO

2010-07-13 Thread Albert Aribaud
This configuration option replaces a complex conditional in cmd_ide.c with an explicit define to be added to SoC or board configs. Signed-off-by: Albert Aribaud --- This patch set introduces CONFIG_IDE_SWAP_IO as suggested by Wolfgang Denk, adds orion5x support to cmd_ide.c and adds IDE support t

Re: [U-Boot] [PATCH V4 2/4] ide: add mvsata_ide driver

2010-07-13 Thread Rogan Dawes
On 2010/07/13 1:40 PM, Albert Aribaud wrote: > +/* Mask and values for device Interface Power Management */ > +#define MVSATA_SCONTROL_IMP_MASK 0x0F00 > +#define MVSATA_SCONTROL_IMP_NO_LP_ALLOWED0x0300 Should this not then be: +#define MVSATA_SCONTROL_IPM_MASK

[U-Boot] [PATCH V4 4/4] edminiv2: add mvsata_ide and cmd_ide support

2010-07-13 Thread Albert Aribaud
Add mvsata_ide port 1 initialization in edminiv2 init code Add mvsata_ide and cmd_ide configuration in edminiv2 config Signed-off-by: Albert Aribaud --- board/LaCie/edminiv2/edminiv2.c |7 ++ include/configs/edminiv2.h | 46 ++- 2 files changed,

[U-Boot] [PATCH V4 3/4] cmd_ide: add support for orion5x

2010-07-13 Thread Albert Aribaud
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by: Albert Aribaud --- arch/arm/include/asm/arch-orion5x/orion5x.h |3 +++ common/cmd_ide.c|4 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/incl

[U-Boot] [PATCH V4 2/4] ide: add mvsata_ide driver

2010-07-13 Thread Albert Aribaud
This driver only provides initialization code; actual driving is done by cmd_ide.c using the ATA compatibility mode of the Marvell SATAHC controller. Signed-off-by: Albert Aribaud --- drivers/block/Makefile |7 +++-- drivers/block/mvsata_ide.c | 60 +

[U-Boot] [PATCH V4 1/4] ide: add configuration CONFIG_IDE_SWAP_IO

2010-07-13 Thread Albert Aribaud
This configuration option replaces a complex conditional in cmd_ide.c with an explicit define to be added to SoC or board configs. Signed-off-by: Albert Aribaud --- This patch set introduces CONFIG_IDE_SWAP_IO as suggested by Wolfgang Denk, adds orion5x support to cmd_ide.c and adds IDE support t

Re: [U-Boot] USB CDC branch

2010-07-13 Thread Vitaly Kuzmichev
FYI I'm doing some work on this branch too. Actually I have ported it to 2010.03, added RNDIS support and made integration into 'usb' command. However these changes aren't tested yet so the work is still under progress. Probably someone knows about any possible issues with CDC/RNDIS support? And a

Re: [U-Boot] [PATCH V4 0/4] Marvell GbE multiple SoC support

2010-07-13 Thread Albert ARIBAUD
Le 13/07/2010 08:05, Prafulla Wadaskar a écrit : > Acked-by: Prafulla Wadaskar Le 13/07/2010 08:46, Ben Warren a écrit : > Patchset v4 has been applied to net repo. Thanks to both of you. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists

[U-Boot] One of your Facebook friends invites you to join the App of the Day

2010-07-13 Thread Facebook App of the Day
One of Your Facebook Friends wants you to play the Facebook App of the Day with them. Click here to find out who invited you: http://apps.facebook.com/appofday/ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] USB CDC branch

2010-07-13 Thread Stefano Babic
Hi Remy, I would like to add support for Ethernet over USB (CDC) for the musb (musb_udc) controller, basing on your cdc branch in u-boot-usb. I have seen there are some conflicts and some duplicated structure between the header imported from linux (linux/usb/ch9.h) and the headers in u-boot (usbd

[U-Boot] [PATCH] orion5x: allow overriding default mappings windows

2010-07-13 Thread Albert Aribaud
Turn all ORION5X_DEF{ADR,SZ}_xxx macros into ORION5X_{ADR,SZ}_xxx and allow defining them from board code to override defaults. This is particularly useful for defining board-specific FLASH address and size in board header file rather than having to tweak orion5x code. Signed-off-by: Albert Aribau