Re: [U-Boot] [PATCH v2 3/7] microblaze: intc: Registering interrupt should return value

2012-08-08 Thread Michal Simek
On 08/07/2012 10:10 PM, Stephan Linz wrote: Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: Return value to find out if un/registration was succesful. Signed-off-by: Michal Simek --- v2: Add comment to header file to describe parameters and return codes --- arch/microblaze/cpu/

Re: [U-Boot] [PATCH v2 5/7] microblaze: timer: Prepare for device-tree initialization

2012-08-08 Thread Michal Simek
On 08/07/2012 10:10 PM, Stephan Linz wrote: Hi Michal, looks fine, but ... (see below) Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: microblaze: Fix CONFIG_SYS_HZ usage in board config Do not use hardcoded value. Use CONFIG_SYS_HZ instead. Separate static configuration to singl

[U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-08 Thread Jim Lin
Add support for command line "usb reset" or "usb start" to initialize , "usb stop" to stop multiple USB controllers at once. Other command like "usb tree" also supports multiple controllers. New added definitions in header file are: CONFIG_USB_MULTI CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by:

[U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-08 Thread Marek Vasut
This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf() Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- include/common.h |1 + include/linux/stringify.h | 12 2 files changed, 13 insert

[U-Boot] [PATCH 2/3] COMMON: Use __stringify() instead of xstr()

2012-08-08 Thread Marek Vasut
Kill multiple occurances and redeclaration of xstr in favor of __stringify(). Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- include/configs/MPC8308RDB.h|9 +++-- include/configs/amcc-common.h | 25 +++- include/configs/at91sam9263ek.h |5 +-

[U-Boot] [PATCH] PXA: Fix up the timer

2012-08-08 Thread Marek Vasut
Add missing functions into the timer, so CONFIG_CMD_TIME works. Signed-off-by: Marek Vasut Cc: Albert Aribaud --- arch/arm/cpu/pxa/timer.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/pxa/timer.c b/arch/arm/cpu/pxa/timer.c index a8f7462..d394f79 1006

[U-Boot] [PATCH 03/14] dm: Add GPIO API transition document

2012-08-08 Thread Marek Vasut
From: Viktor Křivák Signed-off-by: Viktor Křivák --- doc/driver-model/UDM-gpio.txt | 106 + 1 file changed, 106 insertions(+) create mode 100644 doc/driver-model/UDM-gpio.txt diff --git a/doc/driver-model/UDM-gpio.txt b/doc/driver-model/UDM-gpio.txt ne

[U-Boot] [PATCH 01/14] dm: Initial import of design documents

2012-08-08 Thread Marek Vasut
From: Marek Vasut This patch contains UDM-design.txt, which is document containing general description of the driver model. The remaining files contains descriptions of conversion process of particular subsystems. Signed-off-by: Marek Vasut --- doc/driver-model/UDM-design.txt | 315

[U-Boot] [PATCH 04/14] dm: Add MMC subsystem analysis

2012-08-08 Thread Marek Vasut
From: Marek Vasut Signed-off-by: Marek Vasut --- doc/driver-model/UDM-mmc.txt | 319 ++ 1 file changed, 319 insertions(+) create mode 100644 doc/driver-model/UDM-mmc.txt diff --git a/doc/driver-model/UDM-mmc.txt b/doc/driver-model/UDM-mmc.txt new file

[U-Boot] [PATCH 08/14] dm: Add POWER API transition document

2012-08-08 Thread Marek Vasut
From: Viktor Krivak Signed-off-by: Viktor Krivak --- doc/driver-model/UDM-power.txt | 88 1 file changed, 88 insertions(+) create mode 100644 doc/driver-model/UDM-power.txt diff --git a/doc/driver-model/UDM-power.txt b/doc/driver-model/UDM-power.txt

[U-Boot] [PATCH 06/14] dm: Add SPI API transition document

2012-08-08 Thread Marek Vasut
From: Viktor Krivak Signed-off-by: Viktor Krivak --- doc/driver-model/UDM-spi.txt | 200 ++ 1 file changed, 200 insertions(+) create mode 100644 doc/driver-model/UDM-spi.txt diff --git a/doc/driver-model/UDM-spi.txt b/doc/driver-model/UDM-spi.txt new f

[U-Boot] [PATCH 02/14] dm: Add Driver cores design document

2012-08-08 Thread Marek Vasut
From: Pavel Herrmann Signed-off-by: Pavel Herrmann --- doc/driver-model/UDM-cores.txt | 127 1 file changed, 127 insertions(+) create mode 100644 doc/driver-model/UDM-cores.txt diff --git a/doc/driver-model/UDM-cores.txt b/doc/driver-model/UDM-cores.t

[U-Boot] [PATCH 12/14] dm: Add pcmcia design document

2012-08-08 Thread Marek Vasut
From: Viktor Krivak Signed-off-by: Viktor Krivak --- doc/driver-model/UDM-pcmcia.txt | 79 +++ 1 file changed, 79 insertions(+) create mode 100644 doc/driver-model/UDM-pcmcia.txt diff --git a/doc/driver-model/UDM-pcmcia.txt b/doc/driver-model/UDM-pcmcia.t

[U-Boot] [PATCH 13/14] dm: RTC subsystem analysis added.

2012-08-08 Thread Marek Vasut
From: Tomas Hlavacek Signed-off-by: Tomas Hlavacek --- doc/driver-model/UDM-rtc.txt | 258 ++ 1 file changed, 258 insertions(+) create mode 100644 doc/driver-model/UDM-rtc.txt diff --git a/doc/driver-model/UDM-rtc.txt b/doc/driver-model/UDM-rtc.txt new

[U-Boot] [PATCH 05/14] dm: Add networking subsystem analysis

2012-08-08 Thread Marek Vasut
Signed-off-by: Marek Vasut --- doc/driver-model/UDM-net.txt | 434 ++ 1 file changed, 434 insertions(+) create mode 100644 doc/driver-model/UDM-net.txt diff --git a/doc/driver-model/UDM-net.txt b/doc/driver-model/UDM-net.txt new file mode 100644 index 00

[U-Boot] [PATCH 11/14] dm: add PCI design document

2012-08-08 Thread Marek Vasut
From: Pavel Herrmann Signed-off-by: Pavel Herrmann --- doc/driver-model/UDM-pci.txt | 265 ++ 1 file changed, 265 insertions(+) create mode 100644 doc/driver-model/UDM-pci.txt diff --git a/doc/driver-model/UDM-pci.txt b/doc/driver-model/UDM-pci.txt new

[U-Boot] [PATCH 07/14] dm: Add block device document

2012-08-08 Thread Marek Vasut
From: Pavel Herrmann Signed-off-by: Pavel Herrmann --- doc/driver-model/UDM-block.txt | 279 1 file changed, 279 insertions(+) create mode 100644 doc/driver-model/UDM-block.txt diff --git a/doc/driver-model/UDM-block.txt b/doc/driver-model/UDM-block.t

[U-Boot] [PATCH 09/14] dm: Hwmon UDM subsystem analysis added.

2012-08-08 Thread Marek Vasut
From: Tomas Hlavacek Signed-off-by: Tomas Hlavacek --- doc/driver-model/UDM-hwmon.txt | 119 1 file changed, 119 insertions(+) create mode 100644 doc/driver-model/UDM-hwmon.txt diff --git a/doc/driver-model/UDM-hwmon.txt b/doc/driver-model/UDM-hwmon.t

[U-Boot] [PATCH 10/14] dm: Driver model analysis document for Watchdog subsystem has been added.

2012-08-08 Thread Marek Vasut
From: Tomas Hlavacek Signed-off-by: Tomas Hlavacek --- doc/driver-model/UDM-watchdog.txt | 335 + 1 file changed, 335 insertions(+) create mode 100644 doc/driver-model/UDM-watchdog.txt diff --git a/doc/driver-model/UDM-watchdog.txt b/doc/driver-model/UDM-

[U-Boot] [PATCH 14/14] dm: Add twserial device document

2012-08-08 Thread Marek Vasut
From: Tomáš Hlaváček Signed-off-by: Tomas Hlavacek --- doc/driver-model/UDM-twserial.txt | 47 + 1 file changed, 47 insertions(+) create mode 100644 doc/driver-model/UDM-twserial.txt diff --git a/doc/driver-model/UDM-twserial.txt b/doc/driver-model/UDM-tw

Re: [U-Boot] early_malloc outline

2012-08-08 Thread Tomas Hlavacek
Dear Wolfgang, On Tue, Aug 7, 2012 at 11:07 PM, Wolfgang Denk wrote: > But "relocation" means that you have to add the address difference > (aka relocation offset) to _all_ pointers pointing into this area. > And there is no way to keep track of _all_ such pointers. Sure there is no way to do r

[U-Boot] [PATCH v2] rtc: imxdi: Initial support

2012-08-08 Thread Benoît Thébaudeau
Add support for Freescale's i.MX DryIce RTC, present on i.MX25. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Cc: Stefano Babic --- Changes for v2: - Define registers with struct instead of #define's. - Call di_init() only once, except if requested by rtc_reset(). .../drivers/rtc/Makef

[U-Boot] [PATCH] mx6qsabrelite: enable DCache and MMC bounce buffer

2012-08-08 Thread Dirk Behme
The recent U-Boot version 2012.07 has improved drivers (e.g. MMC and network/FEC) regarding DCache handling. So it should be safe to use the DCache on the i.MX6, now. Signed-off-by: Dirk Behme --- include/configs/mx6qsabrelite.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff

Re: [U-Boot] [PATCH] Save/restore global data pointer on API boundary

2012-08-08 Thread Leif Lindholm
On 08/07/12 19:30, Wolfgang Denk wrote: Most architectures keep the global data pointer (gd) in a register. This may, or may not be. You should not make any assumptions on how gd is implemented. The comment did, the code didn't, as long as gd was a pointer (which should be a safe assumption)

[U-Boot] [PATCH] omap4 i2c: add support for i2c bus 4

2012-08-08 Thread Koen Kooi
Signed-off-by: Koen Kooi --- arch/arm/include/asm/arch-omap4/cpu.h |1 + arch/arm/include/asm/arch-omap4/i2c.h |2 +- drivers/i2c/omap24xx_i2c.c|8 3 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-omap4/cpu.h b/arch/arm/in

[U-Boot] [PATCH] KARO TX25: Fix NAND Flash R/W cycle times

2012-08-08 Thread Benoît Thébaudeau
The NAND Flash of the KARO TX25 board is a Samsung K9F1G08U0B with 25-ns R/W cycle times. However, the NFC clock for this board was set to 66.5 MHz, so using the NFC driver in symmetric mode (i.e. 1 NFC clock cycle = 1 NF R/W cycle) resulted in NF R/W cycle times of 15 ns, hence corrupted NF access

Re: [U-Boot] [PATCH] KARO TX25: Fix NAND Flash R/W cycle times

2012-08-08 Thread Stefano Babic
On 08/08/2012 15:55, Benoît Thébaudeau wrote: > The NAND Flash of the KARO TX25 board is a Samsung K9F1G08U0B with 25-ns R/W > cycle times. However, the NFC clock for this board was set to 66.5 MHz, so > using > the NFC driver in symmetric mode (i.e. 1 NFC clock cycle = 1 NF R/W cycle) > resulted

Re: [U-Boot] [PATCH v2] rtc: imxdi: Initial support

2012-08-08 Thread Stefano Babic
On 08/08/2012 13:57, Benoît Thébaudeau wrote: > Add support for Freescale's i.MX DryIce RTC, present on i.MX25. > > Signed-off-by: Benoît Thébaudeau > Cc: Wolfgang Denk > Cc: Stefano Babic > --- Hi Benoît, checkpatch reports an error when I run your patch. Can you fix it ? ERROR: code indent

[U-Boot] [PATCH v3] rtc: imxdi: Initial support

2012-08-08 Thread Benoît Thébaudeau
Add support for Freescale's i.MX DryIce RTC, present on i.MX25. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Cc: Stefano Babic --- Changes for v2: - Define registers with struct instead of #define's. - Call di_init() only once, except if requested by rtc_reset(). Changes for v3: - Fix

Re: [U-Boot] [PATCH v2] rtc: imxdi: Initial support

2012-08-08 Thread Benoît Thébaudeau
Hi Stefano, On 08/08/2012 16:29, Stefano Babic wrote: > On 08/08/2012 13:57, Benoît Thébaudeau wrote: > > Add support for Freescale's i.MX DryIce RTC, present on i.MX25. > > > > Signed-off-by: Benoît Thébaudeau > > Cc: Wolfgang Denk > > Cc: Stefano Babic > > --- > > Hi Benoît, > > checkpatch

[U-Boot] [PATCH] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-08 Thread Holger Brunck
commit 54652991 Work around bug in Numonyx P33/P30 256-Mbit 65nm flash chips fixes a problem for Numonyx P33/P30 flashes for 256-Mbit, but this leads to problems for smaller versions of this chip e.g. the 32Mbit version with deviceid 0x16 on mgcoge. So move the code for this work around to an own

[U-Boot] [PATCH 1/2] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem

2012-08-08 Thread Lukasz Majewski
This commit makes the video subsystem code cache aware. Memory allocated for decompressed BMP memory is now cache line aligned. Flushing of the dcache is also performed after copying BMP data to fb address. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Anatolij Gustschin ---

[U-Boot] [PATCH 2/2] video:trats:logo: Make tizen_hd_logo cache line aligned.

2012-08-08 Thread Lukasz Majewski
The tizen_hd_logo is now aligned to cache line size. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Anatolij Gustschin --- lib/tizen/tizen_hd_logo.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/tizen/tizen_hd_logo.h b/lib/tizen/tizen_hd_logo.

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-08 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-08 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] COMMON: Use __stringify() instead of xstr()

2012-08-08 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-08 Thread Mike Frysinger
On Wednesday 08 August 2012 06:52:17 Marek Vasut wrote: > This function converts static number to string in preprocessor. > This is useful as it allows higher usage of puts() in favour of printf() a few more to convert: include/nios2.h:#define _str_(x) #x include/configs/astro_mcf5373l.h:#define _

Re: [U-Boot] [PATCH 1/2] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem

2012-08-08 Thread Mike Frysinger
On Wednesday 08 August 2012 11:10:34 Lukasz Majewski wrote: > This commit makes the video subsystem code cache aware. > Memory allocated for decompressed BMP memory is now cache line aligned. > > Flushing of the dcache is also performed after copying BMP data to fb > address. i think this is a mo

Re: [U-Boot] [PATCH v2] rtc: imxdi: Initial support

2012-08-08 Thread Stefano Babic
On 08/08/2012 16:57, Benoît Thébaudeau wrote: > Hi Stefano, > > On 08/08/2012 16:29, Stefano Babic wrote: >> On 08/08/2012 13:57, Benoît Thébaudeau wrote: >>> Add support for Freescale's i.MX DryIce RTC, present on i.MX25. >>> >>> Signed-off-by: Benoît Thébaudeau >>> Cc: Wolfgang Denk >>> Cc: St

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-08 Thread Marek Vasut
Dear Mike Frysinger, > On Wednesday 08 August 2012 06:52:17 Marek Vasut wrote: > > This function converts static number to string in preprocessor. > > This is useful as it allows higher usage of puts() in favour of printf() > > a few more to convert: > include/nios2.h:#define _str_(x) #x > includ

Re: [U-Boot] [PATCH] mx6qsabrelite: enable DCache and MMC bounce buffer

2012-08-08 Thread Stefano Babic
On 08/08/2012 14:26, Dirk Behme wrote: > The recent U-Boot version 2012.07 has improved drivers > (e.g. MMC and network/FEC) regarding DCache handling. > So it should be safe to use the DCache on the i.MX6, now. > > Signed-off-by: Dirk Behme > --- > include/configs/mx6qsabrelite.h |3 +-- >

Re: [U-Boot] Regarding BDI2000 connection problem with MPC8280 based board

2012-08-08 Thread Thirumalesha N
Dear sir, I'm porting u-boot for mpc8280 based CPU board by taking mpc8260ads reference, its hanging at some some point. i enabled debug mode. U-Boot 1.3.1 (Aug 8 2012 - 09:19:16) MPC8260 Reset Status: Check Stop, External Soft, External Hard MPC8260 Clock Configuration - Bus-to-Core

[U-Boot] [PATCH] rtc: add support of mx27 rtc

2012-08-08 Thread Philippe Reynes
This driver has been tested on board armadeus apf27. Signed-off-by: Philippe Reynes --- arch/arm/include/asm/arch-mx27/imx-regs.h |3 + arch/arm/include/asm/arch-mx27/regs-rtc.h | 40 ++ drivers/rtc/Makefile |1 + drivers/rtc/mx27rtc.c

Re: [U-Boot] uboot nor xip support

2012-08-08 Thread Amol Bhise
Hi Graeme, We are using TI's 8148 EVM board, which is bit modified for NOR booting and the uboot version is 'U-Boot 2010.06'. On board flash is CFi compliant (16bit x 16bit) 64Mib. The flash works all fine when we boot from RAM as normal. Regards Amol On Wed, Aug 8, 2012 at 2:36 AM, Graeme Rus

Re: [U-Boot] [PATCH v2 3/7] microblaze: intc: Registering interrupt should return value

2012-08-08 Thread Stephan Linz
Am Mittwoch, den 08.08.2012, 10:27 +0200 schrieb Michal Simek: > On 08/07/2012 10:10 PM, Stephan Linz wrote: > > Am Montag, den 06.08.2012, 09:46 +0200 schrieb Michal Simek: > >> Return value to find out if un/registration was succesful. > >> > >> Signed-off-by: Michal Simek > >> > >> --- > >> v2

[U-Boot] [PATCH] tegra20: add assembly wrapper for lowlevel_init()

2012-08-08 Thread Allen Martin
lowlevel_init() is called before stack is initialized, so it's not safe to call directly into C code. Copy this wrapper from omap that saves off the ip register and sets up a temporary stack. This fixes a hang using CodeSourcery toolchain. Signed-off-by: Allen Martin --- arch/arm/cpu/armv7/teg

Re: [U-Boot] [PATCH 01/14] dm: Initial import of design documents

2012-08-08 Thread Stephen Warren
On 08/08/2012 05:42 AM, Marek Vasut wrote: > From: Marek Vasut > > This patch contains UDM-design.txt, which is document containing > general description of the driver model. The remaining files contains > descriptions of conversion process of particular subsystems. > diff --git a/doc/driver-mod

Re: [U-Boot] [PATCH 01/14] dm: Initial import of design documents

2012-08-08 Thread Marek Vasut
Dear Stephen Warren, > On 08/08/2012 05:42 AM, Marek Vasut wrote: > > From: Marek Vasut > > > > This patch contains UDM-design.txt, which is document containing > > general description of the driver model. The remaining files contains > > descriptions of conversion process of particular subsyste

Re: [U-Boot] [PATCH 01/14] dm: Initial import of design documents

2012-08-08 Thread Stephen Warren
On 08/08/2012 12:37 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 08/08/2012 05:42 AM, Marek Vasut wrote: >>> From: Marek Vasut >>> >>> This patch contains UDM-design.txt, which is document containing >>> general description of the driver model. The remaining files contains >>> descriptio

Re: [U-Boot] [PATCH 01/14] dm: Initial import of design documents

2012-08-08 Thread Marek Vasut
Dear Stephen Warren, > On 08/08/2012 12:37 PM, Marek Vasut wrote: > > Dear Stephen Warren, > > > >> On 08/08/2012 05:42 AM, Marek Vasut wrote: > >>> From: Marek Vasut > >>> > >>> This patch contains UDM-design.txt, which is document containing > >>> general description of the driver model. The

Re: [U-Boot] early_malloc outline

2012-08-08 Thread Wolfgang Denk
Dear Tomas Hlavacek, In message you wrote: > > > But "relocation" means that you have to add the address difference > > (aka relocation offset) to _all_ pointers pointing into this area. > > And there is no way to keep track of _all_ such pointers. > > Sure there is no way to do relocation of a

Re: [U-Boot] Regarding BDI2000 connection problem with MPC8280 based board

2012-08-08 Thread Wolfgang Denk
Dear Thirumalesha N, In message you wrote: > > I'm porting u-boot for mpc8280 based CPU board by taking mpc8260ads > reference, its hanging at some some point. i enabled debug mode. > > > U-Boot 1.3.1 (Aug 8 2012 - 09:19:16) U-Boot v1.3.1 is more than 5 years old. Consider it dead a

Re: [U-Boot] [PATCH] tegra20: add assembly wrapper for lowlevel_init()

2012-08-08 Thread Wolfgang Denk
Dear Allen Martin, In message <138286-14144-1-git-send-email-amar...@nvidia.com> you wrote: > lowlevel_init() is called before stack is initialized, so it's not > safe to call directly into C code. Copy this wrapper from omap that > saves off the ip register and sets up a temporary stack. Th

Re: [U-Boot] [PATCH] tegra20: add assembly wrapper for lowlevel_init()

2012-08-08 Thread Tom Rini
On 08/08/2012 12:44 PM, Wolfgang Denk wrote: > Dear Allen Martin, > > In message <138286-14144-1-git-send-email-amar...@nvidia.com> you wrote: >> lowlevel_init() is called before stack is initialized, so it's not >> safe to call directly into C code. Copy this wrapper from omap that >> saves

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional

2012-08-08 Thread Andy Fleming
Please copy me on any 85xx U-Boot patches. > > +#define HWCONFIG_BUFFER_SIZE 128 [...] > + char buffer[HWCONFIG_BUFFER_SIZE]; > + char *buf = NULL; > + > + if (getenv_f("hwconfig", buffer, sizeof(buffer)) > 0) > + buf = buffer; This seems fragile. I suppose th

Re: [U-Boot] [PATCH][v3] powerpc/CoreNet: add tool to support pbl image build.

2012-08-08 Thread Andy Fleming
On Tue, Jun 12, 2012 at 3:11 AM, Shaohui Xie wrote: > Provides a tool to build boot Image for PBL(Pre boot loader) which is > used on Freescale CoreNet SoCs, PBL can be used to load some instructions > and/or data for pre-initialization. The default output image is u-boot.pbl, > for more details p

[U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-08 Thread Ilya Yanok
Current MUSB driver in U-Boot uses old UDC API while new gagdet client drivers need new gadget API. Also current MUSB driver has some significant limitations (like inability to handle tx for endpoints other than ep0). So I think port of new Linux driver is desirable. This is initial port, performe

[U-Boot] [RFC PATCH 1/5] linux/usb/ch9.h: update with the version from Linux tree

2012-08-08 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- drivers/usb/gadget/config.c |1 - drivers/usb/gadget/epautoconf.c |1 - drivers/usb/gadget/ether.c |1 - drivers/usb/gadget/s3c_udc_otg.c |1 - drivers/usb/gadget/usbstring.c |1 - include/linux/usb/ch9.h | 514 +++

[U-Boot] [RFC PATCH 5/5] am335x_evm: enable musb gadget on port 0

2012-08-08 Thread Ilya Yanok
Enable musb gadget in Ethernet mode on port 0. Signed-off-by: Ilya Yanok --- include/configs/am335x_evm.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index c827ebf..e0f0656 100644 --- a/include/configs/am3

[U-Boot] [RFC PATCH 4/5] am33xx: init OTG hardware and new musb gadget driver

2012-08-08 Thread Ilya Yanok
AM33xx has support for dual port MUSB OTG controller. This patch adds initialization for the controller using new MUSB gadget driver and ether gadget. Signed-off-by: Ilya Yanok --- arch/arm/cpu/armv7/am33xx/board.c | 81 ++- arch/arm/cpu/armv7/am33xx/clock.c

[U-Boot] [RFC PATCH 3/5] musb-new: dsps backend driver

2012-08-08 Thread Ilya Yanok
Backend driver for MUSB OTG controllers found on TI AM33xx and TI81xx SoCs (tested with AM33xx only). Signed-off-by: Ilya Yanok --- arch/arm/include/asm/omap_musb.h | 25 ++ drivers/usb/musb-new/Makefile|1 + drivers/usb/musb-new/musb_dsps.c | 769 +

[U-Boot] Using u-boot to update the kernel and root-file system on NAND chip on imx28evk from USB memory stick

2012-08-08 Thread Bill
All, I'm needing the ability to upgrade the kernel and root-filesystem on the NAND chip on the imx28evk from new files that reside on a USB memory stick. That is I want to partition the NAND (mtd) into 3 sections that contain u-boot, kernel, rootfs. Then whenever the system is booted,

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx: Enable workaround for erratum CPU_A011 for P3041

2012-08-08 Thread Andy Fleming
BTW, please merge this with the other AO11 patches, too (I've already marked this as "changes requested" in patchworks). On Fri, Jul 20, 2012 at 3:59 PM, York Sun wrote: > P3041 was left out in previous commit 5e23ab0a. > Erratum NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in rev 3.0. > It

Re: [U-Boot] [PATCH v2 2/5] ehci-hcd: Boost transfer speed

2012-08-08 Thread Benoît Thébaudeau
Dear Marek Vasut, On Sat, Aug 4, 2012 at 09:45:33 AM, Marek Vasut wrote: > > On Tue, Jul 31, 2012 at 03:06:00 AM, Benoît Thébaudeau wrote: > > > > > Marek, what do you think? > > > > > > > > Had a good evening with the EHCI r10 spec, hope I answered most > > > > of > > > > your > > > > questions.

Re: [U-Boot] [PATCH v2 2/5] ehci-hcd: Boost transfer speed

2012-08-08 Thread Marek Vasut
Dear Benoît Thébaudeau, > Dear Marek Vasut, > > On Sat, Aug 4, 2012 at 09:45:33 AM, Marek Vasut wrote: > > > On Tue, Jul 31, 2012 at 03:06:00 AM, Benoît Thébaudeau wrote: > > > > > > Marek, what do you think? > > > > > > > > > > Had a good evening with the EHCI r10 spec, hope I answered most > >

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional

2012-08-08 Thread York Sun
On Wed, 2012-08-08 at 15:09 -0500, Andy Fleming wrote: > Please copy me on any 85xx U-Boot patches. > > > > > > +#define HWCONFIG_BUFFER_SIZE 128 > > > [...] > > > + char buffer[HWCONFIG_BUFFER_SIZE]; > > + char *buf = NULL; > > + > > + if (getenv_f("hwconfig", buffer, sizeof

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional

2012-08-08 Thread Andy Fleming
On Wed, Aug 8, 2012 at 6:16 PM, York Sun wrote: > On Wed, 2012-08-08 at 15:09 -0500, Andy Fleming wrote: >> Please copy me on any 85xx U-Boot patches. >> >> >> > >> > +#define HWCONFIG_BUFFER_SIZE 128 >> >> >> [...] >> >> > + char buffer[HWCONFIG_BUFFER_SIZE]; >> > + char *buf = NULL;

Re: [U-Boot] [PATCH 2/6] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-08 Thread Andy Fleming
On Thu, Jun 7, 2012 at 1:43 AM, Liu Gang wrote: > Signed-off-by: Liu Gang > --- > arch/powerpc/cpu/mpc85xx/cpu_init.c | 17 +++-- > arch/powerpc/cpu/mpc8xxx/srio.c | 137 > --- The change here (and in fsl_pci_init.c in another patch) causes horrible build

Re: [U-Boot] early_malloc outline

2012-08-08 Thread Graeme Russ
Hi Tomas & Wolfgang, On Thu, Aug 9, 2012 at 5:32 AM, Wolfgang Denk wrote: > Dear Tomas Hlavacek, > > In message > you > wrote: [snip] > If so, my argument goes, you must not use the standard malloc() / > calloc() / free() API for the early_malloc implementation. If you do, > there my be any

[U-Boot] Please pull u-boot-mpc85xx.git

2012-08-08 Thread Andy Fleming
powerpc/82xx: adapt SDRAM settings for mgcoge3ne (2012-07-31 22:36:38 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master for you to fetch changes up to 5c5befda58e4a3f198a033e8a9952b2b309acc86: powerpc/85xx: use CONFIG_SYS_FSL_PCIE_COMPAT macro

Re: [U-Boot] [PATCH 1/2] powerpc/p1022ds: add support for SPI and SD boot

2012-08-08 Thread Andy Fleming
On Fri, May 18, 2012 at 11:04 AM, Timur Tabi wrote: > From: Matthew McClintock > > Add TLB mappings, board target options, and configuration items > need for SPI/SD boot. > > Since P1022DS RevB board, the NOR flash have been changed to 16 bit/28bit > address flash, therefore, when SDHC/ESPI booti

Re: [U-Boot] [PATCH] powerpc/p1022ds: fix DIU/LBC switching with NAND enabled

2012-08-08 Thread Andy Fleming
On Fri, May 18, 2012 at 2:09 PM, Timur Tabi wrote: > In order for indirect mode on the PIXIS to work properly, both chip selects > need to be set to GPCM mode, otherwise writes to the chip select base > addresses will not actually post to the local bus -- they'll go to the > NAND controller instea

Re: [U-Boot] [PATCH] powerpc/85xx: improve definition of BR_PHYS_ADDR macro

2012-08-08 Thread Andy Fleming
On Fri, Jul 6, 2012 at 12:39 PM, Timur Tabi wrote: > The BR_PHYS_ADDR(x) macro was missing parentheses around "x" in the macro > definition, so callers had to supply their own parenthesis. > > Signed-off-by: Timur Tabi Applied, thanks ___ U-Boot mailin

Re: [U-Boot] [PATCH] powerpc/85xx: remove support for the Freescale P3060

2012-08-08 Thread Andy Fleming
On Fri, Jul 6, 2012 at 12:39 PM, Timur Tabi wrote: > The P3060 was cancelled before it went into production, so there's no point > in supporting it. > > Signed-off-by: Timur Tabi Please rebase this off the top of my current tree. ___ U-Boot mailing lis

[U-Boot] [PATCH] MAKEALL: Allow empty ERR directory

2012-08-08 Thread Andy Fleming
If we build everything correctly with multiple builds, and an ERR directory had been previously created, we failed to report that everything was fine because grep failed to find anything in the ERR directory. Use grep -r, which doesn't complain if there are no input files. Signed-off-by: Andy Flem

Re: [U-Boot] [PATCH] powerpc/sgmii: To support PHY link state auto detect in SGMII mode

2012-08-08 Thread Andy Fleming
On Thu, Jul 12, 2012 at 4:39 AM, Jia Hongtao wrote: > PHYs on SGMII riser card are used in SGMII mode with different external > IRQs from eTSEC. This means in SGMII mode phy-handle and phy-connection-type > under ethernet node should be updated. Otherwise the PHY interrupt can not > be handled the

Re: [U-Boot] [PATCH] powerpc/corenet: fix compile error when CONFIG_SYS_NO_FLASH is defined

2012-08-08 Thread Andy Fleming
Please copy me on 85xx patches (That includes corenet) On Fri, Jun 29, 2012 at 4:35 AM, Shaohui Xie wrote: > ENV location compile logic is wrong, and when CONFIG_SYS_NO_FLASH is defined > and non-NOR u-boot is building, it will cause compile error. Also, add > CONFIG_SYS_FLASH_USE_BUFFER_WRITE fo

Re: [U-Boot] [PATCH] powerpc/ddr: fix fsl_ddr_get_dimm_params compile error

2012-08-08 Thread Andy Fleming
Please copy me on 85xx patches On Fri, Jun 29, 2012 at 4:36 AM, Shaohui Xie wrote: > fsl_ddr_get_dimm_params() should be wrapped by > CONFIG_SYS_DDR_RAW_TIMING, otherwise, when using fixed_sdram() instead of > using SPD, it will cause compile error. > > Signed-off-by: Shaohui Xie > Acked-by: Yor

Re: [U-Boot] [PATCH] powerpc/p2041: configure the CPLD lane_mux according to RCW

2012-08-08 Thread Andy Fleming
On Fri, Jun 29, 2012 at 4:37 AM, Shaohui Xie wrote: > Lane muxing on p2041 is controlled by a reg in CPLD, offset of this reg > is 0xc, CPLD supports SATA by default, we should re-configure the lane > muxing according to RCW, which indicates what SerDes protocol it is running. > > Default lane mux

[U-Boot] Early malloc() summary

2012-08-08 Thread Graeme Russ
Hi All, While the need for early malloc() came about from the driver model and the desire to make drivers usable before relocation, I think we can all agree that its scope may well not be limited to use by drivers. A few examples I can think of the top of my head include: - pre-console buffer

[U-Boot] [PATCH 1/2] nand/fsl_elbc: shrink SPL a bit by converting out_be32() to __raw_writel()

2012-08-08 Thread Scott Wood
This is needed to make room for a bugfix on p1_p2_rdb_pc. A sync is used before the final write to LSOR that initiates the transaction, to ensure all the other set up has been completed. Signed-off-by: Scott Wood --- nand_spl/nand_boot_fsl_elbc.c | 47 ++---

[U-Boot] [PATCH 2/2] powerpc/mpc85xx/p1_p2_rdb: add all LAWs during SPL

2012-08-08 Thread Scott Wood
LAW init is skipped in the SPL payload because it's assumed that the SPL has taken care of it -- so make sure the SPL loads all the LAWs as is done on other boards. This bug was introduced by: commit 4589728e214958a4e6e011a081a68d360c49d7a5 Author: Kumar Gala Date: Fri Nov 11 08:14:53 20

[U-Boot] [PATCH V3 3/3] mx53evk: add resetmode support

2012-08-08 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb/serial downloader, or boot from an sdcard. Signed-off-by: Troy Kisky Compile tested only, I don't have a mx53evk. --- board/freescale/mx53evk/mx53evk.c | 13 + include/configs/mx53evk.h |3 +++ 2 files changed, 16 ins

[U-Boot] [PATCH V3 2/3] mx6qsabrelite: add resetmode support

2012-08-08 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb downloader, or boot from an sdcard. Signed-off-by: Troy Kisky --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 14 ++ include/configs/mx6qsabrelite.h |3 +++ 2 files changed, 17 insertions(+) diff --git a/boa

[U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command

2012-08-08 Thread Troy Kisky
This is useful for forcing the ROM's usb downloader to activate upon a watchdog reset. Or, you can boot from either SD Card. Currently, support added for MX53 and MX6Q Signed-off-by: Troy Kisky Note: MX53 support untested. --- arch/arm/cpu/armv7/imx-common/Makefile|1 + arch/arm/cpu

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-08 Thread Mike Frysinger
On Wednesday 08 August 2012 12:01:07 Marek Vasut wrote: > Dear Mike Frysinger, > > On Wednesday 08 August 2012 06:52:17 Marek Vasut wrote: > > > This function converts static number to string in preprocessor. > > > This is useful as it allows higher usage of puts() in favour of > > > printf() > >

[U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-08 Thread Tyler Olmstead
Remove linker command line options from the SPL makefile that force the inclusion of unreferenced command code from linked object files. As commands are not used in the SPL, these options resulted in an unnecessary increase in the image size, in addition to introducing the possibility of tricky lin

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx/p1_p2_rdb: add all LAWs during SPL

2012-08-08 Thread McClintock Matthew-B29882
On Wed, Aug 8, 2012 at 8:06 PM, Scott Wood wrote: > LAW init is skipped in the SPL payload because it's assumed that the SPL > has taken care of it -- so make sure the SPL loads all the LAWs as is > done on other boards. It might be good to try this on a few different compilers to see if they are

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx/p1_p2_rdb: add all LAWs during SPL

2012-08-08 Thread McClintock Matthew-B29882
On Wed, Aug 8, 2012 at 9:27 PM, Matthew McClintock wrote: > On Wed, Aug 8, 2012 at 8:06 PM, Scott Wood wrote: >> LAW init is skipped in the SPL payload because it's assumed that the SPL >> has taken care of it -- so make sure the SPL loads all the LAWs as is >> done on other boards. > > It might

Re: [U-Boot] [PATCH v3]: video: support exynos fimd driver for various exynos series

2012-08-08 Thread Minkyu Kang
On 27 July 2012 10:30, Donghwa Lee wrote: > This patch supports exynos fimd driver for various exynos series different > from > existing it supports only exynos4 chip. > > Signed-off-by: Donghwa Lee > Signed-off-by: Kyungmin Park > --- > Changes for v1: > - moves exynos_fimd_get_base_of

Re: [U-Boot] [PATCH][v3] powerpc/CoreNet: add tool to support pbl image build.

2012-08-08 Thread Xie Shaohui-B21989
>-Original Message- >From: Andy Fleming [mailto:aflem...@gmail.com] >Sent: Thursday, August 09, 2012 5:10 AM >To: Xie Shaohui-B21989 >Cc: u-boot@lists.denx.de >Subject: Re: [U-Boot] [PATCH][v3] powerpc/CoreNet: add tool to support pbl >image build. > >On Tue, Jun 12, 2012 at 3:11 AM, Shaohu

[U-Boot] [PATCH 2/2] tegra20: Initialize multiple USB controllers at once

2012-08-08 Thread Jim Lin
Add support for command line "usb reset" or "usb start" to initialize , "usb stop" to stop multiple USB controllers at once. Other commands like "usb tree" also support multiple controllers. Example to add definitions in header file like include/configs/seaboard.h are: define CONFIG_USB_MULTI defi

[U-Boot] [PATCH v2 1/2] USB: EHCI: Initialize multiple USB controllers at once

2012-08-08 Thread Jim Lin
Add support for command line "usb reset" or "usb start" to initialize , "usb stop" to stop multiple USB controllers at once. Other command like "usb tree" also supports multiple controllers. New added definitions in header file are: CONFIG_USB_MULTI CONFIG_USB_MAX_CONTROLLER_COUNT Signed-off-by:

[U-Boot] [PATCH v2] powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional

2012-08-08 Thread York Sun
This erratum applies to the following SoCs: P4080 rev 1.0, 2.0, fixed in rev 3.0 P2041 rev 1.0, 1.1, fixed in rev 2.0 P3041 rev 1.0, 1.1, fixed in rev 2.0. Workaround for erratum NMG_CPU_A011 is enabled by default. This workaround may degrade performance. P4080 erratum CPU22 shares the same workar

[U-Boot] Fcall to lib_ppc/board.c/trap_init() results in Machine Check Exception

2012-08-08 Thread Vic
uboot sets up the trap handler (function trap_init called from lib_ppc/board.c). As soon this is called the processor seems to be getting an machine check exception/trap. (Refer to the logs below) This also apparently causes processor to freeze, such that I am not able to read any CPU registers us

Re: [U-Boot] [PATCH] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-08 Thread Stefan Roese
Hi Holger, thanks for this patch. I do have a minor comment though below. On 08/08/2012 04:52 PM, Holger Brunck wrote: > commit 54652991 > Work around bug in Numonyx P33/P30 256-Mbit 65nm flash chips > > fixes a problem for Numonyx P33/P30 flashes for 256-Mbit, but this leads > to problems for s

[U-Boot] Porting u-boot for MPC8280 based Board by taking MPC8260ads reference, Its hanging at some point

2012-08-08 Thread Thirumalesha N
Dear sir, I'm porting u-boot for mpc8280 based CPU board by taking mpc8260ads reference, its hanging at some some point. i enabled debug mode. U-Boot 1.3.1 (Aug 8 2012 - 09:19:16) MPC8260 Reset Status: Check Stop, External Soft, External Hard MPC8260 Clock Configuration - Bus-to-Core

[U-Boot] [PATCH] cfi_flash: add support for Spansion flash PPB sector protection

2012-08-08 Thread Anatolij Gustschin
Erasing flash sectors protected with persistent protection bit (PPB) mechanism on Spansion flash chips doesn't work. Add sector protection status checking and sector lock and unlock commands to fix this. Signed-off-by: Anatolij Gustschin Cc: Stefan Roese --- drivers/mtd/cfi_flash.c | 52 +

[U-Boot] [PATCH 1/4] rmobile: armadillo-800eva: Change init function of SCIFA1

2012-08-08 Thread Nobuhiro Iwamatsu
This initializes GPIO, without using PFC framework in board_early_init_f function. It is because it cannot initialize normally when PFC is used. Signed-off-by: Nobuhiro Iwamatsu --- board/atmark-techno/armadillo-800eva/armadillo-800eva.c |8 +--- 1 file changed, 5 insertions(+), 3 deleti

[U-Boot] [PATCH 3/4] rmobile: armadillo-800eva: Add Support NFS and BOOTZ command

2012-08-08 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- include/configs/armadillo-800eva.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h index 5b634fd..d1a0b62 100644 --- a/include/configs/armadillo-800eva.h +++ b/include/configs/ar

  1   2   >