[U-Boot] uboot nor xip support

2012-08-08 Thread Amol Bhise
Hi, I need some help resolving system hang when booting from NOR flash (XIP boot). On our system we have CFI NOR flash sitting at base 0x0800. with CONFIG_SYS_MONITOR_BASE and TEXT_BASE being set at the flash base address in board config file. But the system hangs when we actually try to

Re: [U-Boot] uboot nor xip support

2012-08-08 Thread Graeme Russ
Hi Amol On Wed, Aug 8, 2012 at 12:57 PM, Amol Bhise amolbhi...@gmail.com wrote: Hi, I need some help resolving system hang when booting from NOR flash (XIP boot). On our system we have CFI NOR flash sitting at base 0x0800. with CONFIG_SYS_MONITOR_BASE and TEXT_BASE being set at the

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 mon...@monstr.eu --- v2: Add comment to header file to describe parameters and return codes ---

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

[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: Jim Lin

[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 ma...@denx.de Cc: Wolfgang Denk w...@denx.de --- include/common.h |1 + include/linux/stringify.h | 12

[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 ma...@denx.de Cc: Wolfgang Denk w...@denx.de --- include/configs/MPC8308RDB.h|9 +++-- include/configs/amcc-common.h | 25 +++-

[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 ma...@denx.de Cc: Albert Aribaud albert.u.b...@aribaud.net --- arch/arm/cpu/pxa/timer.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/pxa/timer.c

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

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

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

2012-08-08 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com 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 marek.va...@gmail.com ---

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

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

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

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

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

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

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

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

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

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

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

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

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

2012-08-08 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de --- 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

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

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

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

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

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

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

[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 tmshl...@gmail.com Signed-off-by: Tomas Hlavacek tmshl...@gmail.com --- doc/driver-model/UDM-watchdog.txt | 335 + 1 file changed, 335 insertions(+) create mode 100644 doc/driver-model/UDM-watchdog.txt diff --git

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

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

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 w...@denx.de 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

[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 benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Define registers with struct instead of #define's. - Call di_init() only once,

[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 dirk.be...@de.bosch.com --- include/configs/mx6qsabrelite.h |3 +-- 1 files changed, 1

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

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

2012-08-08 Thread Koen Kooi
Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- 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

[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

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 in

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 benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- Hi Benoît, checkpatch reports an error when I

[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 benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- Changes for v2: - Define registers with struct instead of #define's. - Call di_init() only once,

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 benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic

[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 l.majew...@samsung.com Signed-off-by: Kyungmin Park

[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 l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Anatolij Gustschin ag...@denx.de --- lib/tizen/tizen_hd_logo.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff

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

2012-08-08 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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 vap...@gentoo.org -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 vap...@gentoo.org -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 more

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 benoit.thebaud...@advansee.com Cc: Wolfgang

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

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 dirk.be...@de.bosch.com ---

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 -

[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 trem...@yahoo.fr --- 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

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 mon...@monstr.eu --- 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 amar...@nvidia.com ---

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 marek.va...@gmail.com 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

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 marek.va...@gmail.com 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

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 marek.va...@gmail.com This patch contains UDM-design.txt, which is document containing general description of the driver model. The remaining files contains

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 marek.va...@gmail.com 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 caeb7qld3kszx8r9q-gox8aww6woihkqd-avcu_ux7vy7v7t...@mail.gmail.com 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_

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

2012-08-08 Thread Wolfgang Denk
Dear Thirumalesha N, In message CAO1Rv-b3NJok1aar2ZXLMKgzY=l+5pmxkv7z-u1+scjlfoo...@mail.gmail.com 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)

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

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 off the ip

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 there's no

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 shaohui@freescale.com 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] [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,

[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 ilya.ya...@cogentembedded.com --- 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 -

[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 ilya.ya...@cogentembedded.com --- 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

[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 ilya.ya...@cogentembedded.com --- arch/arm/cpu/armv7/am33xx/board.c | 81 ++-

[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 ilya.ya...@cogentembedded.com --- 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 york...@freescale.com wrote: P3041 was left out in previous commit 5e23ab0a. Erratum NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed

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. Yes, thanks.

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 of your

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(buffer)) 0) +

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 york...@freescale.com 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 gang@freescale.com wrote: Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 17 +++-- arch/powerpc/cpu/mpc8xxx/srio.c | 137 --- The change here (and in fsl_pci_init.c

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 w...@denx.de wrote: Dear Tomas Hlavacek, In message caeb7qld3kszx8r9q-gox8aww6woihkqd-avcu_ux7vy7v7t...@mail.gmail.com you wrote: [snip] If so, my argument goes, you must not use the standard malloc() / calloc() / free()

[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 ti...@freescale.com wrote: From: Matthew McClintock m...@freescale.com 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,

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 ti...@freescale.com 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

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 ti...@freescale.com 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 ti...@freescale.com Applied, thanks

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 ti...@freescale.com wrote: The P3060 was cancelled before it went into production, so there's no point in supporting it. Signed-off-by: Timur Tabi ti...@freescale.com Please rebase this off the top of my current tree.

[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

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 b38...@freescale.com 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

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 shaohui@freescale.com 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

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 shaohui@freescale.com 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

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 shaohui@freescale.com 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

[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 scottw...@freescale.com --- 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 ga...@kernel.crashing.org

[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 troy.ki...@boundarydevices.com Compile tested only, I don't have a mx53evk. --- board/freescale/mx53evk/mx53evk.c | 13 + include/configs/mx53evk.h |

[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 troy.ki...@boundarydevices.com --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 14 ++ include/configs/mx6qsabrelite.h |3 +++ 2 files changed, 17

[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 troy.ki...@boundarydevices.com Note: MX53 support untested. ---

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() a few more

[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

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 scottw...@freescale.com 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

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 m...@freescale.com wrote: On Wed, Aug 8, 2012 at 8:06 PM, Scott Wood scottw...@freescale.com 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

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 dh09@samsung.com wrote: This patch supports exynos fimd driver for various exynos series different from existing it supports only exynos4 chip. Signed-off-by: Donghwa Lee dh09@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

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, Shaohui Xie

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

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

[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

[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