[U-Boot] [PATCH 2/5] EXYNOS: Add Exynos4 I2C spacing

2012-09-23 Thread Piotr Wilczek
This patch add the spacing for i2c for Exynos4 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- arch/arm/include/asm/arch-exynos/cpu.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/inclu

[U-Boot] [PATCH 5/5] DRIVERS: MISC: PMIC: Modify pmic driver to support multibus I2C

2012-09-23 Thread Piotr Wilczek
This patch modify Max8997 driver to support multibus I2C Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- drivers/misc/pmic_max8997.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/misc/pmic_max8997.c b/drivers/misc/pmic_max8

[U-Boot] [PATCH 4/5] DRIVERS: I2C: Modify I2C driver for EXYNOS4

2012-09-23 Thread Piotr Wilczek
This patch modifies the S3C i2c driver to support both EXYNOS4 and EXYNOS5 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- drivers/i2c/s3c24x0_i2c.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c

[U-Boot] [PATCH 3/5] EXYNOS: PINMUX: Add pinmux support for i2c

2012-09-23 Thread Piotr Wilczek
This patch add pinmux for I2C for Exynos4 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- arch/arm/cpu/armv7/exynos/pinmux.c | 51 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/pinm

[U-Boot] [PATCH 0/5] EXYNOS4: Enable I2C support

2012-09-23 Thread Piotr Wilczek
This patchset enables hardware I2C support for Exynos 4. The s3c24x0 I2C driver is modified to use for for both Exynos 4 and Exynos 5. Pinmux setting is add for Exynos 4. PMIC MAX8997 driver is modified to support multi channel hardware I2C. Piotr Wilczek (5): EXYNOS: CLK: Add i2c clock EXYNOS

[U-Boot] [PATCH 1/5] EXYNOS: CLK: Add i2c clock

2012-09-23 Thread Piotr Wilczek
This patch adds i2c clock for Exynos4 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- arch/arm/cpu/armv7/exynos/clock.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/cl

[U-Boot] iMx31 Litekit U-boot not working

2012-09-23 Thread Vipin Gahlaut
Hi Experts, I have downloaded u-boot version u-boot-2012.07 and build it for i.Mx31 litekit board (make imx31_litekit_coinfig; make). u-boot builds fine. When I am loading u-boot in to RAM using Logic Loader as described at following link nothing happens. I do not get u-boot prompt. https://comm

Re: [U-Boot] [PATCH 1/3] mmc: sdhci: increase the timeout value for data transfer

2012-09-23 Thread Jaehoon Chung
Hi Rommel, On 09/24/2012 11:34 AM, Rommel Custodio wrote: > Hello Jaehoon, > >> I didn't think so..Our environment is support the >> CONFIG_SYS_MMC_MAX_BLK_COUNT. > > This is defined in mmc.c right after the include definitions. > The comment says that: > Set block count limit because of 16 bi

[U-Boot] [PATCH] Fix ml507 Xilinx uartlite driver hang

2012-09-23 Thread Rommel Custodio
The default configuration for ml507 will generate a hang() in the Xilinx uartlite driver. userial_ports[] in drivers/serial/serial_xuartlite.c does not get initialized properly. CONFIG_SERIAL_BASE is unused. XILINX_UARTLITE_BASEADDR is used instead. Signed-off-by: Rommel Custodio --- include/c

Re: [U-Boot] [PATCH 1/3] mmc: sdhci: increase the timeout value for data transfer

2012-09-23 Thread Rommel Custodio
Hello Jaehoon, > I didn't think so..Our environment is support the > CONFIG_SYS_MMC_MAX_BLK_COUNT. This is defined in mmc.c right after the include definitions. The comment says that: Set block count limit because of 16 bit register limit on some hardware So my use of this define is a bit of

Re: [U-Boot] [PATCH 1/3] mmc: sdhci: increase the timeout value for data transfer

2012-09-23 Thread Jaehoon Chung
Hi Rommel, I didn't think so..Our environment is support the CONFIG_SYS_MMC_MAX_BLK_COUNT. Did you know how get the timeout value "1000"? If the timeout value "1000" is reasonable, i want to know what basis. Well, i don't think that my timeout value is reasonable. Actually i want to remove the t

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 24.09.2012 01:25, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 24.09.2012 01:05, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 23.09.2012 23:31, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 23:04, Marek Vasut wrote:

[U-Boot] [PATCH 2/3] common: Implement support for linker-generated arrays

2012-09-23 Thread Marek Vasut
This patch adds support for linker-generated array. These arrays are a generalization of the U-Boot command declaration approach. Basically, the idea is to generate an array, where elements of the array are statically initialized at compiler time and each element is declared separatelly at differe

[U-Boot] [PATCH 1/3] common: Add symbol handling for generic lists into Makefile

2012-09-23 Thread Marek Vasut
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially ge

[U-Boot] [RFC] [PATCH 0/3] Linker-generated arrays

2012-09-23 Thread Marek Vasut
This is a first stab at the linker-generated array. Basically, this concept is a generic abstraction of how u_boot_cmd works today. The patch 2/3 contains a huge pile of documentation which should clarify most of the questions. NOTE: Compile-testing in progress, but it works with m28evk and sandbo

Re: [U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Graeme Russ
Hi Thomas, On Mon, Sep 24, 2012 at 10:35 AM, Tomas Hlavacek wrote: > Hi Graeme! > > On Mon, Sep 24, 2012 at 2:00 AM, Graeme Russ wrote: >> Hi Tomas, >> >> On Mon, Sep 24, 2012 at 2:15 AM, Tomas Hlavacek wrote: >>> early_malloc for DM with support for more heaps and lightweight >>> first heap in

Re: [U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Tomas Hlavacek
Hi Graeme! On Mon, Sep 24, 2012 at 2:00 AM, Graeme Russ wrote: > Hi Tomas, > > On Mon, Sep 24, 2012 at 2:15 AM, Tomas Hlavacek wrote: >> early_malloc for DM with support for more heaps and lightweight >> first heap in the same memory as an early stack. >> >> Adaptation layer for seamless calling

Re: [U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Graeme Russ
Hi Tomas, On Mon, Sep 24, 2012 at 2:15 AM, Tomas Hlavacek wrote: > early_malloc for DM with support for more heaps and lightweight > first heap in the same memory as an early stack. > > Adaptation layer for seamless calling of early_malloc or dlmalloc from > DM based on init stage added (dmmalloc

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 24.09.2012 01:25, Marek Vasut wrote: Dear Łukasz Dałek, On 24.09.2012 01:05, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 23:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 23:04, Marek Vasut wrote: PXA2xx is OHCI host with one OTG port. From pxa255 documentati

Re: [U-Boot] [PATCH V2 08/21] mx6: add plugin file for use with imximage.cfg

2012-09-23 Thread Eric Nelson
On 09/23/2012 10:08 AM, Stefano Babic wrote: On 23/09/2012 18:23, Eric Nelson wrote: On 09/23/2012 03:17 AM, Stefano Babic wrote: On 22/09/2012 04:39, Troy Kisky wrote: The "plugin" command of mkimage can take this file as an argument. Signed-off-by: Troy Kisky --- Hi Troy, I agree with Vi

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 24.09.2012 01:05, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 23:31, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 23.09.2012 23:04, Marek Vasut wrote: > > PXA2xx is OHCI host with one OTG port. > > > From pxa255 docum

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 24.09.2012 01:05, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 23:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 23:04, Marek Vasut wrote: PXA2xx is OHCI host with one OTG port. From pxa255 documentation: "The UDC supports 16 endpoints and can operate half-duplex a

Re: [U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Marek Vasut
Dear Tomas Hlavacek, [..] > + > + if (early_malloc_active()) { > + addr = early_malloc(size); > + for (i=0; i + addr[i] = 0; memset() ? > + > + return addr; > + } > +#endif /* CONFIG_SYS_EARLY_MALLOC */ > + return calloc(n, elem

Re: [U-Boot] [PATCH 6/6] fdt: Add a Linux tool for reading values from FDT files

2012-09-23 Thread Marek Vasut
Dear Mike Frysinger, > On Monday 20 August 2012 20:51:32 Joe Hershberger wrote: > > On Mon, Aug 20, 2012 at 7:24 PM, Mike Frysinger wrote: > > > On Monday 20 August 2012 19:40:45 Joe Hershberger wrote: > > >> On Fri, Aug 17, 2012 at 6:35 PM, Mike Frysinger wrote: > > >> > On Friday 17 August 2012

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 23:31, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 23:04, Marek Vasut wrote: > >>> PXA2xx is OHCI host with one OTG port. > >>> > >>From pxa255 documentation: > >> "The UDC supports 16 endpoints and can operate half-duplex at a rate of

[U-Boot] [PATCH 3/3] i.MX6: mx6qsabrelite: Include hdmidet command.

2012-09-23 Thread Eric Nelson
Signed-off-by: Eric Nelson --- board/freescale/mx6qsabrelite/mx6qsabrelite.c |6 ++ include/configs/mx6qsabrelite.h |1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsab

[U-Boot] [PATCH 1/3] i.MX6: add HDMI transmitter register declarations from kernel WIP.

2012-09-23 Thread Eric Nelson
Original source from Pengutronix HDMI driver work: http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commitdiff;h=72c31cd67ac880bd90785af86f8e46f8ea7b3bb0 Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mxc_hdmi.h | 1053 ++ 1 files changed, 1053

[U-Boot] [PATCH 2/3] i.MX6: Add hdmidet command to detect attached HDMI monitor

2012-09-23 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/imx-common/Makefile |1 + arch/arm/imx-common/cmd_hdmidet.c | 37 + 2 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 arch/arm/imx-common/cmd_hdmidet.c diff --git a/arch/arm/imx-common/Make

[U-Boot] [PATCH 0/3] i.MX6: implement hdmidet command

2012-09-23 Thread Eric Nelson
This series implements an HDMI detection command for i.MX6 boards and configures mx6qsabrelite to use it as discussed in this thread on the ML: http://lists.denx.de/pipermail/u-boot/2012-September/135037.html ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] How to manage RMOBILE patches?

2012-09-23 Thread Nobuhiro Iwamatsu
Hi, ping Best regards, Nobuhiro On Mon, Sep 10, 2012 at 9:41 AM, Nobuhiro Iwamatsu wrote: > Hi, > > On Sat, Sep 8, 2012 at 2:09 AM, Albert ARIBAUD > wrote: >> Hi Tom, >> >> On Thu, 6 Sep 2012 13:58:57 -0700, Tom Rini wrote: >> >>> On 09/06/2012 12:28 PM, Albert ARIBAUD wrote: >>> > Hi N

Re: [U-Boot] [PATCH V4] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-23 Thread Eric Nelson
On 09/22/2012 10:19 AM, Eric Nelson wrote: On 09/22/2012 10:02 AM, Fabio Estevam wrote: Hi Eric, On Sat, Sep 22, 2012 at 1:51 PM, Eric Nelson wrote: Interestingly, I saw U-Boot display on HDMI during my testing, so I'm pretty certain that all we need is the HDMI transmitter initialization se

Re: [U-Boot] [NEXT PATCH v1 2/7] NAND: added NAND type to nand_ids

2012-09-23 Thread Eric Bénard
Hi Stefano, Le Mon, 10 Sep 2012 14:09:21 +0200, Stefano Babic a écrit : > The chip supports ONFI, but it seems the i.MX driver does not. Quite as > described in http://patchwork.ozlabs.org/patch/60042/. READ-ID is always > sent with address 0, I do not know if we can convince the driver to send >

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

2012-09-23 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Marek, > > On Sun, 23 Sep 2012 20:21:54 +0200, Marek Vasut wrote: > > Dear Albert ARIBAUD, > > > > > Hi Marek, > > > > > > On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > > > > Copied from Linux kernel: > > > > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 23:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 23:04, Marek Vasut wrote: PXA2xx is OHCI host with one OTG port. From pxa255 documentation: "The UDC supports 16 endpoints and can operate half-duplex at a rate of 12 Mbps (as a slave only, not as a host or hub contr

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

2012-09-23 Thread Albert ARIBAUD
Hi Marek, On Sun, 23 Sep 2012 20:21:54 +0200, Marek Vasut wrote: > Dear Albert ARIBAUD, > > > Hi Marek, > > > > On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > > > Copied from Linux kernel: > > > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 > > > Date: Wed Apr 8 16:58:57 2009 +0

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 23:04, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 22:52, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 23.09.2012 22:05, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 21:31, Marek Vasut wrote:

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 23:04, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 22:52, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 22:05, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 21:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 17:43, Marek Vasut wrote: + g

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 22:52, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 22:05, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 23.09.2012 21:31, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 17:43, Marek Vasut wrote:

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 22:52, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 22:05, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 21:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 17:43, Marek Vasut wrote: + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; + return 0; +} diff

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 22:05, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 21:31, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 23.09.2012 17:43, Marek Vasut wrote: > >> + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; > >> + return 0; > >>>

Re: [U-Boot] [PATCH v2 2/2] add Eukrea's CPUIMX25

2012-09-23 Thread Eric Bénard
Hi Stefano, Le Sun, 23 Sep 2012 19:46:50 +0200, Stefano Babic a écrit : > > nand_spl/board/eukrea/cpuimx25/Makefile | 79 > > nand_spl/board/eukrea/cpuimx25/config.mk |1 + > > nand_spl/board/eukrea/cpuimx25/u-boot.lds | 83 > > There is a main issue with the

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 22:05, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 21:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 17:43, Marek Vasut wrote: + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; + return 0; +} diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h new file mo

[U-Boot] [PATCH] i2c_probe: update for use in scripting

2012-09-23 Thread Eric Nelson
Allow the use of an I2C address to test and return success if one or more devices is found. This allows device presence to alter the flow of a script. e.g. if i2c probe 0x04 ; then echo found Hannstar touch ; fi Signed-off-by: Eric Nelson --- common/cmd_i2c.c | 20 ++

Re: [U-Boot] Performance of the ARM's PL310 L2 cache.

2012-09-23 Thread Marek Vasut
Dear Tom Rini, > On Fri, Aug 17, 2012 at 05:49:53PM +0200, Lukasz Majewski wrote: > > Hi Aneesh, > > > > I've enabled the L2 cache for Trats board. Please find results from > > performance tests. > > The test function as well as my way for enabling L2 are attached to > > this e-mail. > > [snip]

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 21:32, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 20:24, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 23.09.2012 17:44, Marek Vasut wrote: > > Dear Lukasz Dalek, > > > >> Add to pxa25x based devices support for

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 21:31, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 17:43, Marek Vasut wrote: > +gd->ram_size = CONFIG_SYS_SDRAM_SIZE; > +return 0; > +} > diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h > new f

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 21:32, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 20:24, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 17:44, Marek Vasut wrote: Dear Lukasz Dalek, Add to pxa25x based devices support for USB ethernet gadget. This is a port of pxa25x UDC driver from Linux kern

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 21:31, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 17:43, Marek Vasut wrote: + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; + return 0; +} diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h new file mode 100644 Do you need this file at all? Can the udc_disconnec

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 20:24, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 23.09.2012 17:44, Marek Vasut wrote: > >>> Dear Lukasz Dalek, > >>> > Add to pxa25x based devices support for USB ethernet gadget. This is a > port of pxa25x UDC driver from Linux kernel. >

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 17:43, Marek Vasut wrote: > >> + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; > >> + return 0; > >> +} > >> diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h > >> new file mode 100644 > > > > Do you need this file at all? Can the udc_disconnect() not be put > >

Re: [U-Boot] [NEXT PATCH v1 4/7] MX35: Add soc_boot_mode and soc_boot_device to MX35

2012-09-23 Thread Eric Bénard
Hi Stefano, Le Thu, 6 Sep 2012 10:04:57 +0200, Stefano Babic a écrit : > +#define RCSR_MEM_CTL_WEIM0 > +#define RCSR_MEM_CTL_NAND1 > +#define RCSR_MEM_CTL_SD 2 > +#define RCSR_MEM_TYPE_NOR0 > +#define RCSR_MEM_TYPE_ONENAND2 > +#define RCSR_MEM_TYPE_SD 0 > +#d

Re: [U-Boot] [PATCH v2 2/2] add Eukrea's CPUIMX25

2012-09-23 Thread Eric Bénard
Hi Vikram, Le Sun, 23 Sep 2012 23:02:18 +0530, Vikram Narayanan a écrit : > Why the clock init is in two places? > imximage.cfg and this file. Am I missing something? > imximage.cfg for internal boot, lowlevel_init.S for external boot. Eric ___ U-Boot

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 17:43, Marek Vasut wrote: + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; + return 0; +} diff --git a/board/h2200/h2200.h b/board/h2200/h2200.h new file mode 100644 Do you need this file at all? Can the udc_disconnect() not be put somewhere into usb.h ? Can I just move this d

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 20:24, Marek Vasut wrote: Dear Łukasz Dałek, On 23.09.2012 17:44, Marek Vasut wrote: Dear Lukasz Dalek, Add to pxa25x based devices support for USB ethernet gadget. This is a port of pxa25x UDC driver from Linux kernel. Signed-off-by: Lukasz Dalek --- drivers/usb/gadget/Ma

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

2012-09-23 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Marek, > > On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > > Copied from Linux kernel: > > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 > > Date: Wed Apr 8 16:58:57 2009 +0800 > > > > This function converts static number to string in preprocessor. > > Thi

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Marek Vasut
Dear Łukasz Dałek, > On 23.09.2012 17:44, Marek Vasut wrote: > > Dear Lukasz Dalek, > > > >> Add to pxa25x based devices support for USB ethernet gadget. This is a > >> port of pxa25x UDC driver from Linux kernel. > >> > >> Signed-off-by: Lukasz Dalek > >> --- > >> > >> drivers/usb/gadget/Mak

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-23 Thread Sascha Hauer
On Sun, Sep 23, 2012 at 07:27:41PM +0200, Stefano Babic wrote: > > > > > I would like to see a handoff of display settings from U-Boot to > > the kernel, but that's also a tricky thing as long as we're supporting > > different mechanisms (DT in main-line and kernel parameters in > > older kernels

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Łukasz Dałek
On 23.09.2012 17:44, Marek Vasut wrote: Dear Lukasz Dalek, Add to pxa25x based devices support for USB ethernet gadget. This is a port of pxa25x UDC driver from Linux kernel. Signed-off-by: Lukasz Dalek --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/pxa25x_udc.c | 2059 +++

Re: [U-Boot] Displays on i.MX (was Re: [PATCH 1/2])

2012-09-23 Thread Eric Nelson
Hi Stefano, I changed the subject line because we've veered off-topic. On 09/23/2012 10:27 AM, Stefano Babic wrote: On 23/09/2012 18:46, Eric Nelson wrote: Hi Stefano, On 09/23/2012 08:56 AM, Stefano Babic wrote: On 22/09/2012 16:37, Fabio Estevam wrote: On Sat, Sep 22, 2012 at 10:42 AM, Ot

Re: [U-Boot] [PATCH 1/2] mx25: add CPU revision 1.2

2012-09-23 Thread Eric Bénard
Hi, Le Sun, 23 Sep 2012 14:02:17 +0200, Eric Bénard a écrit : > tested on a MCIMX257CJM4A which now reports : > CPU: Freescale i.MX25 rev1.2 at 399 MHz > > Signed-off-by: Eric Bénard > Acked-by: Otavio Salvador > --- > v2 : rebased against 2012.10-rc1, added Otavio's ack > sorry for the no

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

2012-09-23 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] mx51evk: Add CONFIG_REVISION_TAG

2012-09-23 Thread Stefano Babic
On 18/09/2012 16:48, Benoît Thébaudeau wrote: > FSL 2.6.35 kernel assumes that the bootloader passes the CONFIG_REVISION_TAG > information. > > If this data is not present, the kernel misconfigures the TZIC, which results > in > the timer interrupt handler never being called, so the kernel deadlo

Re: [U-Boot] [PATCH] mx6qsabresd: Add 8-bit USDHC support

2012-09-23 Thread Stefano Babic
On 18/09/2012 21:27, Fabio Estevam wrote: > USDHC3 has 8 pins wired in mx6qsabresd. Configure the extra pins. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH] mx6qsabresd: Add Ethernet support

2012-09-23 Thread Stefano Babic
On 19/09/2012 05:24, Fabio Estevam wrote: > From: Fabio Estevam > > mx6qsabresd has a AR8031 Gigabit PHY. > > Add support for it. > > Also increase CONFIG_SYS_MALLOC_LEN so that FEC buffer allocation does not > fail. > > Tested on 1Gbp and 100Mbps networks. > > Suggested-by: Kim Phillips >

Re: [U-Boot] [PATCH v2 2/2] add Eukrea's CPUIMX25

2012-09-23 Thread Stefano Babic
On 23/09/2012 14:03, Eric Bénard wrote: > this board is based on an i.MX25 from Freescale. > It consists of a SOM containing : > - NAND flash (internal or external boot supported and tested) > - mDDR (64MB tested) > - ethernet PHY connected in RMII mode (tested) > and a baseboard containing : > - a

Re: [U-Boot] [PATCH] FAT: split block device interactions from filesystem logic

2012-09-23 Thread Benoît Thébaudeau
Hi Pavel, On Sunday, September 23, 2012 5:28:31 PM, Pavel Herrmann wrote: > add some CCs > > On Wednesday 19 September 2012 16:34:02 Pavel Herrmann wrote: > > Put block device interaction code into separate file from > > filesystem logic. > > This makes it easier to change block device API, and i

[U-Boot] [PATCH V2 0/2] i.MX: ipufb: shut down IPU frame buffer before booting

2012-09-23 Thread Eric Nelson
V2 moves arch_preboot_os() into arch/arm/imx-common/cpu.c ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH V2 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU frame buffer

2012-09-23 Thread Eric Nelson
Signed-off-by: Eric Nelson Tested-by: Fabio Estevam --- V2 is unchanged from V1 drivers/video/mxc_ipuv3_fb.c | 20 include/ipu_pixfmt.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv

[U-Boot] [PATCH V2 2/2] i.MX: shut down video before launch of O/S

2012-09-23 Thread Eric Nelson
Signed-off-by: Eric Nelson --- V2 moves arch_preboot_os() into imx-common/cpu.c instead of adding file imx-common/preboot.c arch/arm/imx-common/cpu.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index fa1

Re: [U-Boot] [PATCH v2 2/2] add Eukrea's CPUIMX25

2012-09-23 Thread Vikram Narayanan
On 9/23/2012 5:33 PM, Eric Bénard wrote: this board is based on an i.MX25 from Freescale. It consists of a SOM containing : - NAND flash (internal or external boot supported and tested) - mDDR (64MB tested) - ethernet PHY connected in RMII mode (tested) and a baseboard containing : - a serial tra

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-23 Thread Stefano Babic
On 23/09/2012 18:46, Eric Nelson wrote: > Hi Stefano, > > On 09/23/2012 08:56 AM, Stefano Babic wrote: >> On 22/09/2012 16:37, Fabio Estevam wrote: >>> On Sat, Sep 22, 2012 at 10:42 AM, Otavio Salvador >>> wrote: Hello Eric, On Fri, Sep 21, 2012 at 5:36 PM, Eric Nelson wrot

Re: [U-Boot] [PATCH V2 08/21] mx6: add plugin file for use with imximage.cfg

2012-09-23 Thread Stefano Babic
On 23/09/2012 18:23, Eric Nelson wrote: > On 09/23/2012 03:17 AM, Stefano Babic wrote: >> On 22/09/2012 04:39, Troy Kisky wrote: >>> The "plugin" command of mkimage can take this >>> file as an argument. >>> >>> Signed-off-by: Troy Kisky >>> --- >> >> Hi Troy, >> >> I agree with Vikram that a bette

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

2012-09-23 Thread Albert ARIBAUD
Hi Marek, On Sun, 23 Sep 2012 17:41:22 +0200, Marek Vasut wrote: > Copied from Linux kernel: > commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 > Date: Wed Apr 8 16:58:57 2009 +0800 > > This function converts static number to string in preprocessor. > This is useful as it allows higher usage o

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-23 Thread Fabio Estevam
On Sun, Sep 23, 2012 at 1:46 PM, Eric Nelson wrote: > As it stands, if we leave the IPU running, we'll see garbage on > the display as the kernel re-purposes the RAM used by U-Boot's > frame buffer. And on mx53qsb we get kernel hangs at about half of the boots (tested on 2.6.35 FSL kernel). So

Re: [U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Tomas Hlavacek
Dear Wolfgang Denk, On Sun, Sep 23, 2012 at 6:32 PM, Wolfgang Denk wrote: >> >> Changelog since v7: >> dmcalloc() implmentation added. >> Comments added to header. > > Your change log does not make much sense to me. It appears there has > been some dmcalloc() implementation already in v5 (and ee

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-23 Thread Eric Nelson
Hi Stefano, On 09/23/2012 08:56 AM, Stefano Babic wrote: On 22/09/2012 16:37, Fabio Estevam wrote: On Sat, Sep 22, 2012 at 10:42 AM, Otavio Salvador wrote: Hello Eric, On Fri, Sep 21, 2012 at 5:36 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson Did you test it in mx5 too? We seem to

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-23 Thread Dirk Behme
On 23.09.2012 17:56, Stefano Babic wrote: On 22/09/2012 16:37, Fabio Estevam wrote: On Sat, Sep 22, 2012 at 10:42 AM, Otavio Salvador wrote: Hello Eric, On Fri, Sep 21, 2012 at 5:36 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson Did you test it in mx5 too? We seem to need to handle i

Re: [U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Wolfgang Denk
Dear Tomas Hlavacek, In message <1348416940-20319-1-git-send-email-tmshl...@gmail.com> you wrote: > early_malloc for DM with support for more heaps and lightweight > first heap in the same memory as an early stack. > > Adaptation layer for seamless calling of early_malloc or dlmalloc from > DM ba

Re: [U-Boot] [PATCH v4 10/11] Add u-boot-pad.bin target to the Makefile

2012-09-23 Thread Wolfgang Denk
Dear Marek Vasut, In message <201209212124.05075.ma...@denx.de> you wrote: > > Leave u-boot.bin be, that's the u-boot binary ... the new name might be u- > boot.img (as in flash image), what do you say ? Please re-read my earlier posting here: http://article.gmane.org/gmane.comp.boot-loaders.u-

Re: [U-Boot] [PATCH V2 08/21] mx6: add plugin file for use with imximage.cfg

2012-09-23 Thread Eric Nelson
On 09/23/2012 03:17 AM, Stefano Babic wrote: On 22/09/2012 04:39, Troy Kisky wrote: The "plugin" command of mkimage can take this file as an argument. Signed-off-by: Troy Kisky --- Hi Troy, I agree with Vikram that a better explanation of what a plugin is can help to understand without readi

[U-Boot] [PATCH v8] [RFC] early_malloc for DM added.

2012-09-23 Thread Tomas Hlavacek
early_malloc for DM with support for more heaps and lightweight first heap in the same memory as an early stack. Adaptation layer for seamless calling of early_malloc or dlmalloc from DM based on init stage added (dmmalloc() and related functions). Signed-off-by: Tomas Hlavacek --- Changelog sin

Re: [U-Boot] [PATCH 1/3] mx25: add CPU revision 1.2

2012-09-23 Thread Stefano Babic
On 22/09/2012 22:50, Eric Bénard wrote: > tested on a MCIMX257CJM4A which now reports : > CPU: Freescale i.MX25 rev1.2 at 399 MHz > > Signed-off-by: Eric Bénard > --- > arch/arm/cpu/arm926ejs/mx25/generic.c |3 +++ > arch/arm/include/asm/arch-mx25/imx-regs.h |1 + > 2 files changed

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-23 Thread Stefano Babic
On 22/09/2012 16:37, Fabio Estevam wrote: > On Sat, Sep 22, 2012 at 10:42 AM, Otavio Salvador > wrote: >> Hello Eric, >> >> On Fri, Sep 21, 2012 at 5:36 PM, Eric Nelson >> wrote: >>> Signed-off-by: Eric Nelson >> >> Did you test it in mx5 too? We seem to need to handle it in mx5 too as >> we had

Re: [U-Boot] [PATCH v2 2/6] pxa25x: Add support for USB ethernet gadget

2012-09-23 Thread Marek Vasut
Dear Lukasz Dalek, > Add to pxa25x based devices support for USB ethernet gadget. This is a > port of pxa25x UDC driver from Linux kernel. > > Signed-off-by: Lukasz Dalek > --- > drivers/usb/gadget/Makefile |1 + > drivers/usb/gadget/pxa25x_udc.c | 2059 > +++

Re: [U-Boot] [PATCH v2 1/6] h2200: Add support for iPAQ h2200 palmtop

2012-09-23 Thread Marek Vasut
Dear Lukasz Dalek, [...] > +int dram_init(void) > +{ > + /* > + * Everything except MSC0 was already set up by > + * 1st stage bootloader > + */ > + clrsetbits_le32(MSC0, 0x, 0x246c7ffc); This magic would use more description eventually. > + gd->ram_size = CON

[U-Boot] [PATCH 4/4] COMMON: Use __stringify() instead of rest of implementations

2012-09-23 Thread Marek Vasut
Fix up the rest of implementations of __stringify(). Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- board/logicpd/zoom2/zoom2_serial.h |7 +++ include/configs/astro_mcf5373l.h |7 +++ include/configs/tegra20-common.h | 12 +++- include/nios2.h

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

2012-09-23 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 1/4] COMMON: Add __stringify() function

2012-09-23 Thread Marek Vasut
Copied from Linux kernel: commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 Date: Wed Apr 8 16:58:57 2009 +0800 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 -

Re: [U-Boot] [PATCH V2 06/21] imximage: add plugin commands

2012-09-23 Thread Stefano Babic
On 22/09/2012 04:39, Troy Kisky wrote: > Add commands > plugin address filename > iomux_entry addr, data1 [, data2, [, data3]] > write_entry addr, data1 [, data2, [, data3]] Why do we need explicitely an IOMUX command ? As far as I can see, the program image defined in V2 defines a plugin, but not

[U-Boot] [PATCH v7] [RFC] early_malloc for DM added.

2012-09-23 Thread Tomas Hlavacek
early_malloc for DM with support for more heaps and lightweight first heap in the same memory as an early stack. Adaptation layer for seamless calling of early_malloc or dlmalloc from DM based on init stage added (dmmalloc() and related functions). Signed-off-by: Tomas Hlavacek --- Changelog sin

Re: [U-Boot] [PATCH] ZFS: fix some warnings, cleanup

2012-09-23 Thread Marek Vasut
Dear Pavel Herrmann, Did you test the changes? > Add some CCs > > On Wednesday 19 September 2012 17:32:36 Pavel Herrmann wrote: > > Fix warnings about type mismatch in cmd_zfs. > > Dont use a global block_dev_desc, instead use a local one in each cmd. The warnings generated would be appreciated

Re: [U-Boot] [PATCH] FAT: split block device interactions from filesystem logic

2012-09-23 Thread Pavel Herrmann
add some CCs On Wednesday 19 September 2012 16:34:02 Pavel Herrmann wrote: > Put block device interaction code into separate file from filesystem logic. > This makes it easier to change block device API, and is similar to what > other filesystems do. > Cleanup some logic inconsistencies as well. >

Re: [U-Boot] [PATCH] ZFS: fix some warnings, cleanup

2012-09-23 Thread Pavel Herrmann
Add some CCs On Wednesday 19 September 2012 17:32:36 Pavel Herrmann wrote: > Fix warnings about type mismatch in cmd_zfs. > Dont use a global block_dev_desc, instead use a local one in each cmd. > > Signed-off-by: Pavel Herrmann > --- > common/cmd_zfs.c | 7 +-- > fs/zfs/zfs.c |

Re: [U-Boot] [PATCH v6] [RFC] early_malloc for DM added.

2012-09-23 Thread Tomas Hlavacek
Hello! On Sun, Sep 23, 2012 at 3:06 PM, Graeme Russ wrote: > > On Sep 23, 2012 8:09 AM, "Tomas Hlavacek" wrote: >> >> early_malloc for DM with support for more heaps and lightweight >> first heap in the same memory as an early stack. >> >> Adaptation layer for seamless calling of early_malloc or

[U-Boot] [PATCH] env: checkpatch clean env_fat

2012-09-23 Thread Igor Grinberg
env_fat has several checkpatch warnings - clean those up. Signed-off-by: Igor Grinberg --- common/env_fat.c | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/common/env_fat.c b/common/env_fat.c index ca76967..6ef5318 100644 --- a/common/env_fat.c +++ b/

Re: [U-Boot] Please pull u-boot-mpc85xx (for v2012.10)

2012-09-23 Thread Andy Fleming
Argh, actually I think I sent the pull request, but it got stuck in our mail system, and I didn't notice. Thanks for sending this out, Kumar. On Sep 22, 2012, at 9:09, Kumar Gala wrote: > Tom, > > Sorry for both sending this and the late request. I think Andy's been > swamped with some chip

Re: [U-Boot] [PATCH V2 17/21] mx6: soc: add get_cpu_type

2012-09-23 Thread Stefano Babic
On 22/09/2012 19:07, Troy Kisky wrote: > On 9/21/2012 7:50 PM, Fabio Estevam wrote: >> Hi Troy, >> >> On Fri, Sep 21, 2012 at 11:39 PM, Troy Kisky >> wrote: >>> Add function to return the processor type. >>> >>> i.e. MX6Q, MX6DL, MX6SOLO, MX6SOLOLITE >> On arch/arm/imx-common/cpu.c we have: >> >>

Re: [U-Boot] [PATCH V2 05/21] imximage: add expression evaluation

2012-09-23 Thread Stefano Babic
On 22/09/2012 04:39, Troy Kisky wrote: > Basic expressions with order precedence is > now supported. > ie. (3 + ((1+2*3)/--2 + --5 *(8/4))) is 16. > > Signed-off-by: Troy Kisky > --- Hi Troy, > tools/imximage.c | 172 > ++ > 1 file chan

[U-Boot] [PATCH] env: remove duplicated env_get_char_spec()

2012-09-23 Thread Igor Grinberg
env_fat and env_remote have an implementation of env_get_char_spec() function that is not different than the default. Remove the duplicated code. Signed-off-by: Igor Grinberg --- common/env_fat.c|5 - common/env_remote.c |5 - 2 files changed, 0 insertions(+), 10 deletions(-)

[U-Boot] [PATCH v2 6/6] usbether: Removed DEV_CONFIG_{CDC,SUBSET}

2012-09-23 Thread Lukasz Dalek
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET. Signed-off-by: Lukasz Dalek --- drivers/usb/gadget/ether.c | 75 +-- 1 files changed, 30 insertions(+), 45 deletions(-) diff --git a/drivers/

  1   2   >