Re: [U-Boot] [PATCH 2/4] net: round up before calling flush_cache

2012-04-02 Thread Stefano Babic
On 01/04/2012 21:23, Mike Frysinger wrote: > On Sunday 01 April 2012 09:22:59 Stefano Babic wrote: >> If the range passed to flush_cache is not multiple of >> ARCH_DMA_MINALIGN, a warning due to mislaignment is printed. >> Detected with fec_mxc, mx35 boards: >> >> CACHE: Misaligned operation at r

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Graeme Russ
Hi Joakim, On Apr 2, 2012 4:55 PM, "Joakim Tjernlund" wrote: > > > > > Hi Marek, > > > > On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut wrote: > > > Dear Mike Frysinger, > > > > > >> On Sunday 01 April 2012 20:25:44 Graeme Russ wrote: > > >> > b) The code calling malloc(0) is making a perfectly leg

Re: [U-Boot] [PATCH v2 0/2] misc:pmic: Support for MAX8997 PMIC at Trats Samsung device

2012-04-02 Thread Lukasz Majewski
On Thu, 29 Mar 2012 13:29:16 +0200 Lukasz Majewski wrote: > This patch series adds support for MAX8997 PMIC device. This device > has been used at Trats Samsung target board. > > --- > Changes for v2: > - function for converting voltage to register value has been removed > > --- > Lukasz Majew

Re: [U-Boot] [PATCH v2 1/2] misc:pmic:max8997 MAX8997 support for PMIC driver

2012-04-02 Thread Stefano Babic
On 29/03/2012 13:29, Lukasz Majewski wrote: > This commit adds support for MAX8997 PMIC driver. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Stefano Babic > --- > Changes for v2: > - Function for converting voltage to proper register value has been removed > > --- >

Re: [U-Boot] [PATCH v2 0/2] misc:pmic: Support for MAX8997 PMIC at Trats Samsung device

2012-04-02 Thread Stefano Babic
On 02/04/2012 09:26, Lukasz Majewski wrote: > Hi Stefano, > Hi Lukasz, > Please look into those resend patches. > I've added changes, which only fix the Trats board. No new functionality > for the PMIC framework is included. > > New functionality will be added after releasing 2012.04 u-boot. no

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Joakim Tjernlund
Hi Grame Graeme Russ wrote on 2012/04/02 09:17:44: > > Hi Joakim, > On Apr 2, 2012 4:55 PM, "Joakim Tjernlund" > wrote: > > > > > > > > Hi Marek, > > > > > > On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut wrote: > > > > Dear Mike Frysinger, > > > > > > > >> On Sunday 01 April 2012 20:25:44 Graeme

Re: [U-Boot] [PATCH v2 1/2] misc:pmic:max8997 MAX8997 support for PMIC driver

2012-04-02 Thread Lukasz Majewski
Hi Stefano, > > Acked-by: Stefano Babic > > Best regards, > Stefano Babic > Thanks for ACK, Since it is PMIC related, I'd like to ask you to take it to your (IMX?) tree. BTW: I predict that PMIC subsytem will grow (since PMIC's are more and more complicated - e.g. MAX8997). Up to now the

Re: [U-Boot] [PATCH v2 0/2] misc:pmic: Support for MAX8997 PMIC at Trats Samsung device

2012-04-02 Thread Minkyu Kang
Dear Stefano Babic, On 2 April 2012 16:37, Stefano Babic wrote: > On 02/04/2012 09:26, Lukasz Majewski wrote: >> Hi Stefano, >> > > Hi Lukasz, > >> Please look into those resend patches. >> I've added changes, which only fix the Trats board. No new functionality >> for the PMIC framework is inclu

Re: [U-Boot] [PATCH v2 1/2] misc:pmic:max8997 MAX8997 support for PMIC driver

2012-04-02 Thread Stefano Babic
On 02/04/2012 09:54, Lukasz Majewski wrote: > > Hi Stefano, > >> >> Acked-by: Stefano Babic >> >> Best regards, >> Stefano Babic >> > > Thanks for ACK, > > Since it is PMIC related, I'd like to ask you to take it to your (IMX?) > tree. > I have also a u-boot-staging tree. I will use this, as

[U-Boot] [PATCH v6] kirkwood: add NAS62x0 board support

2012-04-02 Thread Luka Perkov
Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220. Only difference between boards is number of SATA ports. More information about the boards can be found here: http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7036 http://www.raidsonic.de/en/products/nas-systems.php?

Re: [U-Boot] [PATCH v6] kirkwood: add NAS62x0 board support

2012-04-02 Thread Simon Baatz
Hi Luka, Am 01.04.2012 01:17, schrieb Luka Perkov: Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220. Only difference between boards is number of SATA ports. just realizing that you make a difference in the number of SATA ports between 6210 and 6220 here. However, the 6210 ha

[U-Boot] please add me to email list

2012-04-02 Thread wchfuestc
wchfue...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 0/2] misc:pmic: Support for MAX8997 PMIC at Trats Samsung device

2012-04-02 Thread Stefano Babic
On 02/04/2012 09:59, Minkyu Kang wrote: > Dear Stefano Babic, > > On 2 April 2012 16:37, Stefano Babic wrote: >> On 02/04/2012 09:26, Lukasz Majewski wrote: >>> Hi Stefano, >>> >> >> Hi Lukasz, >> >>> Please look into those resend patches. >>> I've added changes, which only fix the Trats board. N

Re: [U-Boot] [PATCH v2 1/2] misc:pmic:max8997 MAX8997 support for PMIC driver

2012-04-02 Thread Lukasz Majewski
Hi Stefano, > On 02/04/2012 09:54, Lukasz Majewski wrote: > > > > Hi Stefano, > > > >> > >> Acked-by: Stefano Babic > >> > >> Best regards, > >> Stefano Babic > >> > > > > Thanks for ACK, > > > > Since it is PMIC related, I'd like to ask you to take it to your > > (IMX?) tree. > > > > I hav

Re: [U-Boot] [PATCH v2 1/2] misc:pmic:max8997 MAX8997 support for PMIC driver

2012-04-02 Thread Stefano Babic
On 02/04/2012 10:13, Lukasz Majewski wrote: >> >> Ok - I will go on. > > No topic then :-) Minkyu has confirmed he will pick up both patches in Samsung's tree. Best regards, Stefano -- = DENX Software Engineering GmbH, MD

[U-Boot] [PATCH v3 0/4] ARM: EXYNOS: add display driver for EXYNOS SoC

2012-04-02 Thread Donghwa Lee
This patch is for display driver version 3 of EXYNOS SoC. [1/4]: ARM: EXYNOS: definition of system registers - to contorl FIMD of LBLK0 bypass selection, add missed definitions of system register [2/4]: ARM: EXYNOS: add data structure for EXYNOS display driver - It is n

[U-Boot] [PATCH v3 1/4] ARM: EXYNOS: definition of system registers

2012-04-02 Thread Donghwa Lee
This is definition of system registers for EXYNOS SoC. Signed-off-by: Donghwa Lee Signed-off-by: Kyungmin Park --- arch/arm/cpu/armv7/exynos/Makefile|2 +- arch/arm/cpu/armv7/exynos/system.c| 48 ++ arch/arm/include/asm/arch-exynos/cpu.h|2 +

[U-Boot] [PATCH v3 2/4] ARM: EXYNOS: add data structure for EXYNOS display driver

2012-04-02 Thread Donghwa Lee
add vidinfo data structure for EXYNOS display driver Signed-off-by: Donghwa Lee Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- include/lcd.h | 63 + 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/include/lcd.h

[U-Boot] [PATCH v3 3/4] ARM: EXYNOS: add exynos lcd clock interface

2012-04-02 Thread Donghwa Lee
To get lcd clock in EXYNOS display driver, added get_lcd_clk() interface. Signed-off-by: Donghwa Lee Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/cpu/armv7/exynos/clock.c | 79 arch/arm/include/asm/arch-exynos/clk.h |2 + 2 files

[U-Boot] [PATCH v3 4/4] ARM: EXYNOS: support EXYNOS display driver

2012-04-02 Thread Donghwa Lee
This patch is for EXYNOS Display driver. Signed-off-by: Donghwa Lee Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/fb.h | 446 + drivers/video/Makefile|1 + drivers/video/exynos_fb.c |

Re: [U-Boot] [PATCH 00/11] MIPS: fixes and updates

2012-04-02 Thread Daniel Schwierzeck
Hi Marek, Am 31.03.2012 22:49, schrieb Marek Vasut: > > My apologies for picking the rest of this series so late. Looks like the MIPS > maintainer is n/a so I'll pull these through my staging tree once we'll fix > some > issues. > > Best regards, > Marek Vasut thanks for looking into this but p

Re: [U-Boot] [PATCH 00/11] MIPS: fixes and updates

2012-04-02 Thread Anatolij Gustschin
Hi Daniel, On Mon, 2 Apr 2012 13:54:18 +0200 Daniel Schwierzeck wrote: > Hi Marek, > > Am 31.03.2012 22:49, schrieb Marek Vasut: > > > > > My apologies for picking the rest of this series so late. Looks like the > > MIPS > > maintainer is n/a so I'll pull these through my staging tree once we

[U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

2012-04-02 Thread Thomas Weber
From: Bernhard Walle In addition to the error message also display the error code. I had the problem that my malloc memory was not enough (ENOMEM), and if u-boot had displayed the error code immediately that would have saved me some debugging. Signed-off-by: Bernhard Walle Use ubifs_err instea

Re: [U-Boot] [PATCH 00/11] MIPS: fixes and updates

2012-04-02 Thread Daniel Schwierzeck
Hi Anatolij, On Mon, Apr 2, 2012 at 2:01 PM, Anatolij Gustschin wrote: > Hi Daniel, > > On Mon, 2 Apr 2012 13:54:18 +0200 > Daniel Schwierzeck wrote: > ... >> I'll resend a new series with bugfixes only as soon as MAKEALL is working >> again. >> Currently the MIPS tree is completely broken. All

Re: [U-Boot] Pull request: u-boot-nios/master

2012-04-02 Thread Thomas Chou
Dear Wolfgang, On 04/02/2012 10:50 AM, Thomas Chou wrote: I hit more build error after rc1. I will send new pull request after I fix them. The problem was solved with Marek's recent patch as Mike Frysinger said. http://patchwork.ozlabs.org/patch/149924/ So please pull the u-boot-nios/

[U-Boot] [PATCH] cm-t35: add I2C multi-bus support

2012-04-02 Thread Igor Grinberg
From: Nikita Kiryanov Enable I2C multi-bus support and config I2C muxes for I2C2 and I2C3. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/cm_t35/cm_t35.c|6 ++ include/configs/cm_t35.h |1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/

Re: [U-Boot] [PATCH v2] mvgbe: remove warning for unused methods

2012-04-02 Thread Prafulla Wadaskar
> -Original Message- > From: Prafulla Wadaskar > Sent: 26 March 2012 15:54 > To: 'Valentin Longchamp'; u-boot@lists.denx.de > Cc: Stefan Bigler; Gerlando Falauto; Holger Brunck > Subject: RE: [PATCH v2] mvgbe: remove warning for unused methods > > > > > -Original Message- > >

[U-Boot] [PATCH 0/3] MIPS: fixes for 2012.04-rc1

2012-04-02 Thread Daniel Schwierzeck
Hi Marek, this series collects the bugfix patches from the open patches at patchwork delegated to you. Only these patches should be merged for the release. The other patches are superseeded for now. The series is rebased against v2012.04-rc1 and needs your patch http://patchwork.ozlabs.org/patch/

[U-Boot] [PATCH 1/3] MIPS: board.c: fix init of flash data in bd_info

2012-04-02 Thread Daniel Schwierzeck
Boards with CONFIG_SYS_NO_FLASH should not forced to define CONFIG_SYS_FLASH_BASE. In this case the flash data in bd_info should be initialized with 0 like the other archs do. Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/board.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletion

[U-Boot] [PATCH 3/3] MIPS: fix endianess handling

2012-04-02 Thread Daniel Schwierzeck
Make endianess of target CPU configurable. Use the new config option for dbau1550_el and pb1000 boards. Adapt linking of standalone applications to pass through endianess options to LD. Build tested with: - ELDK 4 mips_4KC- and mips4KCle - Sourcery CodeBench Lite 2011.03-93 With this patch all

[U-Boot] [PATCH 2/3] MIPS: fix inconsistency in config option for cache operation mode

2012-04-02 Thread Daniel Schwierzeck
Commit ab2a98b11716364bc5a8c43cdfa7fee176cda1d8 missed to use the new config option in dcache_enable(). Fix this to avoid inconsistencies if someone wants to disable and enable D-caches. Signed-off-by: Daniel Schwierzeck --- arch/mips/cpu/mips32/cache.S |6 +- 1 file changed, 5 insertio

Re: [U-Boot] [PATCH 00/11] MIPS: fixes and updates

2012-04-02 Thread Marek Vasut
Dear Daniel Schwierzeck, > Hi Marek, > > Am 31.03.2012 22:49, schrieb Marek Vasut: > > > > My apologies for picking the rest of this series so late. Looks like the > > MIPS maintainer is n/a so I'll pull these through my staging tree once > > we'll fix some issues. > > > > Best regards, > > Ma

Re: [U-Boot] [PATCH v2] spi/kirkwood: add weak functions board_spi_bus_claim/release

2012-04-02 Thread Valentin Longchamp
Dear Prafulla, On 03/30/2012 02:58 PM, Prafulla Wadaskar wrote: >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 30 March 2012 17:45 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; Gerlando Falauto; Holger Brunck >> Subject: Re: [PATC

Re: [U-Boot] [PATCH] Correct corrupted NAND Flash access on KARO TX25 modules

2012-04-02 Thread Marek Vasut
Dear Gachet Daniel, > Hi Marek, > > Thanks for your answer. Have I to do more? Did you submit the new patch into the ML? If so, did you CC sba...@denx.de? If so, the patch will be picked by him and applied :) Thanks for your patch! > > Have a good day. > > Cordially, > > Daniel > > -O

Re: [U-Boot] [PATCH 0/3] MIPS: fixes for 2012.04-rc1

2012-04-02 Thread Marek Vasut
Dear Daniel Schwierzeck, > Hi Marek, > > this series collects the bugfix patches from the open patches at patchwork > delegated to you. Only these patches should be merged for the release. > The other patches are superseeded for now. > > The series is rebased against v2012.04-rc1 and needs your

Re: [U-Boot] [PATCH][resubmit] eb_cpux9k2: add USB host support to board

2012-04-02 Thread Marek Vasut
Dear e...@bus-elektronik.de, > Am 2012-04-01 18:14, schrieb Marek Vasut: > > Dear Jens Scharsig, > > > >> * add USB host support to eb_cpux9k2 board > > > > Did you test this too? > > Of course, I've test this with/against current RC1. Ok, I can pick this up and push through my staging ... or

[U-Boot] MMC0: DMA transfer failed

2012-04-02 Thread Fabio Estevam
Hi, On a mx28evk board I am getting the following using top of tree U-boot: U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) Freescale i.MX28 family at 454 MHz DRAM: 128 MiB MMC: MXS MMC: 0 MMC0: DMA transfer failed MMC0: DMA transfer failed MMC0: DMA transfer failed MMC0: DMA trans

Re: [U-Boot] [PATCH 2/4] net: round up before calling flush_cache

2012-04-02 Thread Marek Vasut
Dear Stefano Babic, > On 01/04/2012 21:23, Mike Frysinger wrote: > > On Sunday 01 April 2012 09:22:59 Stefano Babic wrote: > >> If the range passed to flush_cache is not multiple of > >> ARCH_DMA_MINALIGN, a warning due to mislaignment is printed. > >> Detected with fec_mxc, mx35 boards: > >> > >

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Marek Vasut
Dear Joakim Tjernlund, > Hi Grame > > Graeme Russ wrote on 2012/04/02 09:17:44: > > Hi Joakim, > > > > On Apr 2, 2012 4:55 PM, "Joakim Tjernlund" wrote: > > > > Hi Marek, > > > > > > > > On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut wrote: > > > > > Dear Mike Frysinger, > > > > > > > > > >>

Re: [U-Boot] [PATCH] i.MX28: Fix initial stack pointer position

2012-04-02 Thread Fabio Estevam
On Mon, Apr 2, 2012 at 1:21 AM, Marek Vasut wrote: > The patch: > >  m28evk: Use GENERATED_GBL_DATA_SIZE >  commit 1084606c972ea5f1d89f69bdbd978b867d0ee521 > > introduced usage of GENERATED_GBL_DATA_SIZE and calculation of initial stack > pointer position defived from that. Due to a small typo, th

Re: [U-Boot] [PATCH V2 12/24] SPEAr: Enable usb device high speed support

2012-04-02 Thread Tom Rini
On 04/01/2012 11:50 PM, Amit Virdi wrote: Dear Marek, On 3/31/2012 11:58 PM, Marek Vasut wrote: Dear Amit Virdi, From: Vipin KUMAR Cc me with usb related stuff please. Ok, I'll take care in future. Does USBTTY work for you? Tom complained about it. Yes it works and we haven't found

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-04-02 Thread Lei Wen
Dear Wolfgang, On Wed, Mar 28, 2012 at 10:23 AM, Lei Wen wrote: > Hi Tom, > > On Wed, Mar 28, 2012 at 2:12 AM, Tom Rini wrote: >> On Tue, Mar 27, 2012 at 04:04:29PM +0800, Lei Wen wrote: >>> Hi, >>> >>> On Sun, Mar 25, 2012 at 11:53 PM,   wrote: >>> > From: Lei Wen >>> > >>> > This patch set ad

Re: [U-Boot] [PATCH] cm-t35: add I2C multi-bus support

2012-04-02 Thread Tom Rini
On 04/02/2012 05:29 AM, Igor Grinberg wrote: From: Nikita Kiryanov Enable I2C multi-bus support and config I2C muxes for I2C2 and I2C3. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg Have you confirmed this is sufficient and there's no changes required in omap24xx_i2c.c ? Thank

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Joakim Tjernlund
Marek Vasut wrote on 2012/04/02 16:05:13: > > Dear Joakim Tjernlund, > > > Hi Grame > > > > Graeme Russ wrote on 2012/04/02 09:17:44: > > > Hi Joakim, > > > > > > On Apr 2, 2012 4:55 PM, "Joakim Tjernlund" > wrote: > > > > > Hi Marek, > > > > > > > > > > On Mon, Apr 2, 2012 at 1:36 PM, Marek Vas

Re: [U-Boot] [PATCH 2/4] net: round up before calling flush_cache

2012-04-02 Thread Stefano Babic
On 02/04/2012 16:03, Marek Vasut wrote: > > Well, it was there to catch bugs in drivers. We can probably turn it into > debug() now ? Agree, I set it into next version. Best regards, Stefano Babic -- = DENX Software Enginee

[U-Boot] MMC is broken on mx28evk

2012-04-02 Thread Lauri Hintsala
Hi Marek, I built U-Boot 2012.04-rc1 and tried it with mx28evk. MMC seems to be broken. Reverting your commit 3687c4 (i.MX28: Do data transfers via DMA in MMC driver) fix the issue. Also there is issue in setting MAC address. Console logs are at the end of this mail. Best regards, Lauri Hi

Re: [U-Boot] MMC is broken on mx28evk

2012-04-02 Thread Marek Vasut
Dear Lauri Hintsala, > Hi Marek, > > I built U-Boot 2012.04-rc1 and tried it with mx28evk. MMC seems to be > broken. Reverting your commit 3687c4 (i.MX28: Do data transfers via DMA > in MMC driver) fix the issue. CCing Fabio, can you test? Also, CCing proper ML. > Also there is issue in setting

Re: [U-Boot] MMC0: DMA transfer failed

2012-04-02 Thread Marek Vasut
Dear Fabio Estevam, > Hi, > > On a mx28evk board I am getting the following using top of tree U-boot: > > U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) > > Freescale i.MX28 family at 454 MHz > DRAM: 128 MiB > MMC: MXS MMC: 0 > MMC0: DMA transfer failed > MMC0: DMA transfer faile

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Marek Vasut
Dear Joakim Tjernlund, > Marek Vasut wrote on 2012/04/02 16:05:13: > > Dear Joakim Tjernlund, > > > > > Hi Grame > > > > > > Graeme Russ wrote on 2012/04/02 09:17:44: > > > > Hi Joakim, > > > > > > > > On Apr 2, 2012 4:55 PM, "Joakim Tjernlund" > > > > > > > > wrote: > > > > > > Hi Marek, >

Re: [U-Boot] MMC0: DMA transfer failed

2012-04-02 Thread Stefano Babic
On 02/04/2012 16:01, Fabio Estevam wrote: > Hi, > > On a mx28evk board I am getting the following using top of tree U-boot: > > U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) > > Freescale i.MX28 family at 454 MHz > DRAM: 128 MiB > MMC: MXS MMC: 0 > MMC0: DMA transfer failed > MMC

Re: [U-Boot] MMC0: DMA transfer failed

2012-04-02 Thread Marek Vasut
Dear Stefano Babic, > On 02/04/2012 16:01, Fabio Estevam wrote: > > Hi, > > > > On a mx28evk board I am getting the following using top of tree U-boot: > > > > U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) > > > > Freescale i.MX28 family at 454 MHz > > DRAM: 128 MiB > > MMC: MXS

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Joakim Tjernlund
Marek Vasut wrote on 2012/04/02 16:42:30: > > Dear Joakim Tjernlund, > > > Marek Vasut wrote on 2012/04/02 16:05:13: > > > Dear Joakim Tjernlund, > > > > > > > Hi Grame > > > > > > > > Graeme Russ wrote on 2012/04/02 09:17:44: > > > > > Hi Joakim, > > > > > > > > > > On Apr 2, 2012 4:55 PM, "Joa

Re: [U-Boot] [PATCH] mmc:fix: Set mmc width according to MMC host capabilities

2012-04-02 Thread Lukasz Majewski
Hi Andy, > Hi Andy, > > > This patch sets the MMC width according to the MMC host > > capabilities. It turned out, that there are some targets (e.g. > > GONI), which are able to read data from SPI only at 4 bit mode. > > This patch restricts the width number according to the MMC host. > > > > Si

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Marek Vasut
Dear Joakim Tjernlund, > Marek Vasut wrote on 2012/04/02 16:42:30: > > Dear Joakim Tjernlund, > > > > > Marek Vasut wrote on 2012/04/02 16:05:13: > > > > Dear Joakim Tjernlund, > > > > > > > > > Hi Grame > > > > > > > > > > Graeme Russ wrote on 2012/04/02 09:17:44: > > > > > > Hi Joakim, > >

Re: [U-Boot] MMC0: DMA transfer failed

2012-04-02 Thread Fabio Estevam
On Mon, Apr 2, 2012 at 11:41 AM, Marek Vasut wrote: > No, it means I might just have a good card and I didn't notice this. I really > do > need to get some crappy (new) cards to track down these issues. Fabio, can you > please try debugging this? Ok, I am debugging this. What do you think abou

Re: [U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012

2012-04-02 Thread Tom Rini
On Sat, Mar 31, 2012 at 02:59:06PM +0200, Marek Vasut wrote: > Hello guys, > > we now have exactly these boards not building for -RC1, can you please look > into > it?: [snip] > arm/hawkboard FAILED FOR: eldk4.2 > arm/hawkboard_uart FAILED FOR: eldk

Re: [U-Boot] [PATCH v8] usb: align buffers at cacheline

2012-04-02 Thread Tom Warren
Marek, Puneet, et al., > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, March 19, 2012 8:47 AM > To: Tom Warren > Cc: Puneet Saxena; Mike Frysinger; u-boot@lists.denx.de; s...@chromium.org; > li...@bohmer.net; tr...@ti.com; albert.u.b...@aribaud.net > Subject

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Joakim Tjernlund
Marek Vasut wrote on 2012/04/02 17:23:03: > > Dear Joakim Tjernlund, > > > Marek Vasut wrote on 2012/04/02 16:42:30: > > > Dear Joakim Tjernlund, > > > > > > > Marek Vasut wrote on 2012/04/02 16:05:13: > > > > > Dear Joakim Tjernlund, > > > > > > > > > > > Hi Grame > > > > > > > > > > > > Graeme

Re: [U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012

2012-04-02 Thread Marek Vasut
Dear Tom Rini, > On Sat, Mar 31, 2012 at 02:59:06PM +0200, Marek Vasut wrote: > > Hello guys, > > > > we now have exactly these boards not building for -RC1, can you please > > look into > > > it?: > [snip] > > > arm/hawkboard FAILED FOR: eldk4.2 > > arm/hawkboard_uart

Re: [U-Boot] [PATCH v8] usb: align buffers at cacheline

2012-04-02 Thread Marek Vasut
Dear Tom Warren, > Marek, Puneet, et al., > > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Monday, March 19, 2012 8:47 AM > > To: Tom Warren > > Cc: Puneet Saxena; Mike Frysinger; u-boot@lists.denx.de; > > s...@chromium.org; li...@bohmer.net; tr...@ti.com; >

Re: [U-Boot] [PATCH v8] usb: align buffers at cacheline

2012-04-02 Thread Tom Warren
Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, April 02, 2012 9:12 AM > To: Tom Warren > Cc: Puneet Saxena; Mike Frysinger; u-boot@lists.denx.de; s...@chromium.org; > li...@bohmer.net; tr...@ti.com; albert.u.b...@aribaud.net > Subject: Re: [PATCH v8]

[U-Boot] [PATCH V3 1/4] ARM1136: add cache flush and invalidate operations

2012-04-02 Thread Stefano Babic
From: Anatolij Gustschin Since commit 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031 (net: fec_mxc: allow use with cache enabled) the FEC_MXC driver uses flush_dcache_range() and invalidate_dcache_range() functions. This driver is also configured for ARM1136 based 'flea3' and 'mx35pdk' boards which cur

[U-Boot] [PATCH V2 2/4] ARM: 926ejs: use debug() for misaligned addresses

2012-04-02 Thread Stefano Babic
Misaligned warnings are useful to debug faulty drivers. A misaligned warning is printed also when the driver is correct - use debug() instead of printf(). Signed-off-by: Stefano Babic CC: Albert Aribaud CC: Mike Frysinger CC: Marek Vasut --- Changes since V1: This substitutes [PATCH 2/4] net

Re: [U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012

2012-04-02 Thread Tom Rini
On Mon, Apr 02, 2012 at 06:10:18PM +0200, Marek Vasut wrote: > Dear Tom Rini, > > > On Sat, Mar 31, 2012 at 02:59:06PM +0200, Marek Vasut wrote: > > > Hello guys, > > > > > > we now have exactly these boards not building for -RC1, can you please > > > look into > > > > > it?: > > [snip] > > > >

Re: [U-Boot] [PATCH V3 1/4] ARM1136: add cache flush and invalidate operations

2012-04-02 Thread Marek Vasut
Dear Stefano Babic, > From: Anatolij Gustschin > > Since commit 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031 > (net: fec_mxc: allow use with cache enabled) the FEC_MXC > driver uses flush_dcache_range() and invalidate_dcache_range() > functions. This driver is also configured for ARM1136 based > 'fl

Re: [U-Boot] [PATCH V2 2/4] ARM: 926ejs: use debug() for misaligned addresses

2012-04-02 Thread Marek Vasut
Dear Stefano Babic, > Misaligned warnings are useful to debug faulty drivers. > A misaligned warning is printed also when the driver > is correct - use debug() instead of printf(). > > Signed-off-by: Stefano Babic > CC: Albert Aribaud > CC: Mike Frysinger > CC: Marek Vasut Acked-by: Marek Va

Re: [U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012

2012-04-02 Thread Marek Vasut
Dear Tom Rini, > On Mon, Apr 02, 2012 at 06:10:18PM +0200, Marek Vasut wrote: > > Dear Tom Rini, > > > > > On Sat, Mar 31, 2012 at 02:59:06PM +0200, Marek Vasut wrote: > > > > Hello guys, > > > > > > > > we now have exactly these boards not building for -RC1, can you > > > > please look into > >

Re: [U-Boot] [PATCH v8] usb: align buffers at cacheline

2012-04-02 Thread Marek Vasut
Dear Tom Warren, > Marek, > > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Monday, April 02, 2012 9:12 AM > > To: Tom Warren > > Cc: Puneet Saxena; Mike Frysinger; u-boot@lists.denx.de; > > s...@chromium.org; li...@bohmer.net; tr...@ti.com; > > albert.u.b...

[U-Boot] [PATCH] hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

2012-04-02 Thread Tom Rini
With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link. Signed-off-by: Tom Rini --- include/configs/hawkboard.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/hawkboard.h b/include/configs/hawkboard.h ind

Re: [U-Boot] MMC0: DMA transfer failed

2012-04-02 Thread Marek Vasut
Dear Fabio Estevam, > On Mon, Apr 2, 2012 at 11:41 AM, Marek Vasut wrote: > > No, it means I might just have a good card and I didn't notice this. I > > really do need to get some crappy (new) cards to track down these > > issues. Fabio, can you please try debugging this? > > Ok, I am debugging

Re: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2012-04-02 Thread Marek Vasut
Dear Graeme Smecher, > Hi Marek, > > On 31/03/12 12:42 PM, Marek Vasut wrote: > > Dear Graeme Smecher, > > > >> Hi Wolfgang, > >> > >> On 18/09/10 01:02 PM, Wolfgang Denk wrote: > >>> Dear Graeme Smecher, > >>> > >>> In > >>> message<1280955847-2999-1-git-send-email-graeme.smec...@mail.mcgill.

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Marek Vasut
Dear Joakim Tjernlund, > Marek Vasut wrote on 2012/04/02 17:23:03: > > Dear Joakim Tjernlund, > > > > > Marek Vasut wrote on 2012/04/02 16:42:30: > > > > Dear Joakim Tjernlund, > > > > > > > > > Marek Vasut wrote on 2012/04/02 16:05:13: > > > > > > Dear Joakim Tjernlund, > > > > > > > > > >

Re: [U-Boot] [PATCH] hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

2012-04-02 Thread Sughosh Ganu
On Mon Apr 02, 2012 at 09:33:43AM -0700, Tom Rini wrote: > With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for > CONFIG_SPL_NAND_SUPPORT to link. > > Signed-off-by: Tom Rini > --- > include/configs/hawkboard.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >

Re: [U-Boot] [PATCH] hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

2012-04-02 Thread Tom Rini
On Mon, Apr 02, 2012 at 10:10:57PM +0530, Sughosh Ganu wrote: > On Mon Apr 02, 2012 at 09:33:43AM -0700, Tom Rini wrote: > > With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for > > CONFIG_SPL_NAND_SUPPORT to link. > > > > Signed-off-by: Tom Rini > > --- > > include/configs/h

Re: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller.

2012-04-02 Thread Graeme Smecher
Hi Marek, On 31/03/12 12:42 PM, Marek Vasut wrote: Dear Graeme Smecher, Hi Wolfgang, On 18/09/10 01:02 PM, Wolfgang Denk wrote: Dear Graeme Smecher, In message<1280955847-2999-1-git-send-email-graeme.smec...@mail.mcgill.ca> you wrote: This code differs in only trivial ways from the altera

[U-Boot] Please pull u-boot-ti/next

2012-04-02 Thread Tom Rini
Hello, The following changes since commit 37ee186fde3c48f90121a76e5039efe534a273f3: Ian Campbell (1): ARM: dreamplug: Enable FDT support are available in the git repository at: git://git.denx.de/u-boot-ti next Aneesh V (6): arm: adapt asm/linkage.h from Linux armv7: add

Re: [U-Boot] [PATCH V3 1/4] ARM1136: add cache flush and invalidate operations

2012-04-02 Thread Stefano Babic
On 02/04/2012 18:18, Stefano Babic wrote: > From: Anatolij Gustschin > > Since commit 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031 > (net: fec_mxc: allow use with cache enabled) the FEC_MXC > driver uses flush_dcache_range() and invalidate_dcache_range() > functions. This driver is also configured fo

Re: [U-Boot] [PATCH 1/2] Build u-boot.imx by default when board uses it

2012-04-02 Thread Stefano Babic
On 11/11/2011 14:26, Loïc Minier wrote: > On Fri, Nov 11, 2011, Daniel Schwierzeck wrote: >> ALL-$(CONFIG_UBOOT_IMG) += $(obj)u-boot.img >> ALL-$(CONFIG_UBOOT_IMX) += $(obj)u-boot.imx >> ALL-$(CONFIG_UBOOT_KWB) += $(obj)u-boot.kwb >> >> then you can define CONFIG_UBOOT_KWB or CONFIG_UBOOT_IMX in yo

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Joakim Tjernlund
Marek Vasut wrote on 2012/04/02 18:39:33: > From: Marek Vasut > > Dear Joakim Tjernlund, > > > Marek Vasut wrote on 2012/04/02 17:23:03: > > > Dear Joakim Tjernlund, > > > > > > > Marek Vasut wrote on 2012/04/02 16:42:30: > > > > > Dear Joakim Tjernlund, > > > > > > > > > > > Marek Vasut wrot

Re: [U-Boot] [PATCH] usb: increase delay after port reset

2012-04-02 Thread Marek Vasut
Dear Ilya Yanok, > In our setup (OMAP3 EHCI host, keyboard, mouse mass storage and BT > dongle devices connected via several hubs) keyboard fails to initialize > during the bus scan (stalled endpoint while get_descriptor/64) and after > that keyboard is unusable (even in Linux) until power off/on.

[U-Boot] [PATCH] mmc: mxsmmc: Fix operation with DMA

2012-04-02 Thread Fabio Estevam
Initialize the DMA controller so that the following errors are fixed: U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) Freescale i.MX28 family at 454 MHz DRAM: 128 MiB MMC: MXS MMC: 0 MMC0: DMA transfer failed MMC0: DMA transfer failed MMC0: DMA transfer failed MMC0: DMA transfer fai

Re: [U-Boot] [PATCH] mmc: mxsmmc: Fix operation with DMA

2012-04-02 Thread Marek Vasut
Dear Fabio Estevam, > Initialize the DMA controller so that the following errors are fixed: > > U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) > > Freescale i.MX28 family at 454 MHz > DRAM: 128 MiB > MMC: MXS MMC: 0 > MMC0: DMA transfer failed > MMC0: DMA transfer failed > MMC0: D

Re: [U-Boot] [PATCH] hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT

2012-04-02 Thread Marek Vasut
Dear Tom Rini, > On Mon, Apr 02, 2012 at 10:10:57PM +0530, Sughosh Ganu wrote: > > On Mon Apr 02, 2012 at 09:33:43AM -0700, Tom Rini wrote: > > > With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order > > > for CONFIG_SPL_NAND_SUPPORT to link. > > > > > > Signed-off-by: Tom Rini >

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Marek Vasut
Dear Joakim Tjernlund, > Marek Vasut wrote on 2012/04/02 18:39:33: > > From: Marek Vasut > > > > Dear Joakim Tjernlund, > > > > > Marek Vasut wrote on 2012/04/02 17:23:03: > > > > Dear Joakim Tjernlund, > > > > > > > > > Marek Vasut wrote on 2012/04/02 16:42:30: > > > > > > Dear Joakim Tjer

Re: [U-Boot] [PATCH] Correct corrupted NAND Flash access on KARO TX25 modules

2012-04-02 Thread stefano babic
Am 02/04/2012 19:47, schrieb Gachet Daniel: > Hi Stefano, > > Have I to do more for the patch? Are you ok with the proposal? > That is ok. Please use a shorter name: the function you patch is already surrounded by #ifdef MXC_NFC_V1_1, so it is not required to repeat it in the name (we have a lot

[U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA

2012-04-02 Thread Fabio Estevam
Initialize the DMA controller so that the following errors are fixed: U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) Freescale i.MX28 family at 454 MHz DRAM: 128 MiB MMC: MXS MMC: 0 MMC0: DMA transfer failed MMC0: DMA transfer failed MMC0: DMA transfer failed MMC0: DMA transfer fai

Re: [U-Boot] [PATCH V2 2/4] ARM: 926ejs: use debug() for misaligned addresses

2012-04-02 Thread Mike Frysinger
On Mon, Apr 2, 2012 at 12:18, Stefano Babic wrote: > Misaligned warnings are useful to debug faulty drivers. > A misaligned warning is printed also when the driver > is correct - use debug() instead of printf(). unfortunately, this turns the failure into a silent one. if i read the code correctly

Re: [U-Boot] [U-BOOT][PATCH] mmc: remove the hard setting for tran_speed

2012-04-02 Thread Jae hoon Chung
Hi Andy. How do you about this patch? I want to know your thinking. In my case, clock is set to 50MHz, but mmcinfo is produced the "25MHz". Because tran_speed is 25MHz. But mmc->card_caps is set to MMC_MODE_HS and MMC_MODE_HS_52MHZ. So we should be see the wrong information with mmcinfo. Best Reg

Re: [U-Boot] [PATCH 1/2] Build u-boot.imx by default when board uses it

2012-04-02 Thread Mike Frysinger
On Mon, Apr 2, 2012 at 13:03, Stefano Babic wrote: > On 11/11/2011 14:26, Loďc Minier wrote: >> On Fri, Nov 11, 2011, Daniel Schwierzeck wrote: >>> ALL-$(CONFIG_UBOOT_IMG) += $(obj)u-boot.img >>> ALL-$(CONFIG_UBOOT_IMX) += $(obj)u-boot.imx >>> ALL-$(CONFIG_UBOOT_KWB) += $(obj)u-boot.kwb >>> >>> the

Re: [U-Boot] [U-BOOT][PATCH] mmc: support the revision check for eMMC4.5

2012-04-02 Thread Jae hoon Chung
Hi, Anybody think about this patch? mmcinfo is produce correctly? if i miss something, let me know, plz. Best Regards, Jaehoon Chung 2012/3/27 Jaehoon Chung : > eMMC card is introduced the eMMC4.5. > But now eMMC card is checked up to eMMC4.0. > This patch is supported until eMMC4.5 > > Signed-

[U-Boot] [PATCH v3 2/6] env: make himport_r() selective on variables

2012-04-02 Thread Gerlando Falauto
Add 2 new arguments to himport_r(): o "nvars", "vars": number and list of variables to take into account (0 means ALL) NOTE: This patch does not change the current behaviour. Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c |3 ++- common/env_common.c |6 -- include/sear

[U-Boot] [PATCH v3 6/6] env: delete selected vars not present in imported env

2012-04-02 Thread Gerlando Falauto
When variables explicitly specified on the command line are not present in the imported env, delete them from the running env. If the variable is also missing from the running env, issue a warning. Signed-off-by: Gerlando Falauto --- lib/hashtable.c | 48 +++

[U-Boot] [PATCH v3 3/6] env: add check/apply logic to himport_r()

2012-04-02 Thread Gerlando Falauto
Change hashtable so that a callback function will decide whether a variable can be overwritten, and possibly apply the changes. So add a new field to struct hsearch_data: o "apply" callback function to check whether a variable can be overwritten, and possibly immediately apply the changes;

[U-Boot] [PATCH v3 4/6] env: check and apply changes on delete/destroy

2012-04-02 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c |2 +- include/search.h|5 +++-- lib/hashtable.c | 16 ++-- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index fc6165f..091cd46 100644 --- a/common/cm

[U-Boot] [PATCH v3 1/6] env: unify logic to check and apply changes

2012-04-02 Thread Gerlando Falauto
The logic of checking special parameters (e.g. baudrate, stdin, stdout, for a valid value and/or whether can be overwritten) and applying the new value to the running system is now all within a single function env_check_apply() which can be called whenever changes are made to the environment, no ma

[U-Boot] [PATCH v3 5/6] env: make "env default" selective, check and apply

2012-04-02 Thread Gerlando Falauto
Change the syntax (user API) for "env default": -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make changes effective by enabling do_apply argument to himport_r(). Signed-off

[U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-04-02 Thread Gerlando Falauto
This patchset modifies the handling of all the operations on the environment (set/import/default) so to unify handling of special variables. On top of that we implement a selective "env default". A selective "env import" would imply a user API change and should therefore be discussed separately.

Re: [U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA

2012-04-02 Thread Marek Vasut
Dear Fabio Estevam, > Initialize the DMA controller so that the following errors are fixed: > > U-Boot 2012.04-rc1-1-g037cbfd (Apr 02 2012 - 10:57:48) > > Freescale i.MX28 family at 454 MHz > DRAM: 128 MiB > MMC: MXS MMC: 0 > MMC0: DMA transfer failed > MMC0: DMA transfer failed > MMC0: D

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Joakim Tjernlund
Marek Vasut wrote on 2012/04/02 20:00:03: > > Dear Joakim Tjernlund, > > > Marek Vasut wrote on 2012/04/02 18:39:33: > > > From: Marek Vasut > > > > > > Dear Joakim Tjernlund, > > > > > > > Marek Vasut wrote on 2012/04/02 17:23:03: > > > > > Dear Joakim Tjernlund, > > > > > > > > > > > Marek Va

Re: [U-Boot] [PATCH V2 2/4] ARM: 926ejs: use debug() for misaligned addresses

2012-04-02 Thread Marek Vasut
Dear Mike Frysinger, > On Mon, Apr 2, 2012 at 12:18, Stefano Babic wrote: > > Misaligned warnings are useful to debug faulty drivers. > > A misaligned warning is printed also when the driver > > is correct - use debug() instead of printf(). > > unfortunately, this turns the failure into a silent

  1   2   >