[U-Boot] [PATCH] usb_storage: fix ehci driver max transfer size

2012-07-03 Thread Schneider, Kolja
> Am 03.07.2012 20:10, schrieb Marek Vasut: > >> The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: > >> Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in > >> usb_storage as it wrongly assumes that every transfer can use 4k > >> per qt_buffer. This is wrong if the s

[U-Boot] CONFIG_OF_EMBED/CONFIG_OF_SEPARATE and fdtcontroladdr

2012-07-03 Thread Michal Simek
Hi Simon, I have create another thread because this can be discuss separately. In board file there is this code (We discussed fdtcontroladdr separately). #ifdef CONFIG_OF_EMBED /* Get a pointer to the FDT */ gd->fdt_blob = _binary_dt_dtb_start; #elif defined CONFIG_OF_SEPARATE

Re: [U-Boot] [PATCH] usb_storage: fix ehci driver max transfer size

2012-07-03 Thread Stefan Herbrechtsmeier
Am 03.07.2012 20:10, schrieb Marek Vasut: The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in usb_storage as it wrongly assumes that every transfer can use 4k per qt_buffer. This is wrong if the start address of the d

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Michal Simek
On 07/03/2012 10:22 PM, Stephan Linz wrote: Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: Hi, On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: 2012/6/29 Stephan Linz: Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: On 06/29/2012 04:32 AM, Simon Glass wrote

Re: [U-Boot] [PATCH v2] ext2fs: fix warning: 'blocknxt' may be used uninitialized

2012-07-03 Thread Thierry Reding
On Tue, Jul 03, 2012 at 05:41:56PM -0500, Kim Phillips wrote: > This warning was introduced in 436da3c "ext2load: increase read > speed": > > ext2fs.c: In function 'ext2fs_read_file': > ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this > function [-Wuninitialized] > > this c

Re: [U-Boot] [RFC PATCH] net: emaclite: Support OF initialization

2012-07-03 Thread Michal Simek
2012/7/3 Simon Glass : > Hi Michal, > > On Thu, Jun 28, 2012 at 12:26 AM, Michal Simek wrote: >> >> Support new CONFIG_OF_CONTROL option where device >> probing is done based on device tree description. >> >> Signed-off-by: Michal Simek >> --- >> drivers/net/xilinx_emaclite.c | 30

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Michal Simek
On 07/04/2012 03:48 AM, Simon Glass wrote: Hi, On Tue, Jul 3, 2012 at 1:22 PM, Stephan Linz mailto:l...@li-pro.net>> wrote: Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: > Hi, > > On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek mailto:mon...@monstr.eu>> wrote:

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Michal Simek
On 07/03/2012 09:05 PM, Simon Glass wrote: Hi, On Fri, Jun 29, 2012 at 1:22 PM, Stephan Linz mailto:l...@li-pro.net>> wrote: Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > On 06/29/2012 04:32 AM, Simon Glass wrote: > > Hi, > > > > --snip-- > >

[U-Boot] [PATCH 10/10 V6] SMDK5250: Enable UART and MMC for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
This patch sets UART3 and MMC channle 0 for Exynos5250 Rev 1.0 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None. Changes in V3: - None Changes in V4: - None Changes in V5: - None Chnages in V6: - None board/samsung/smdk5250/smdk5250.c |6 +++--

[U-Boot] [PATCH 09/10 V6] EXYNOS5 : Modify pinnumx settings as per Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
This patch modifies the pinmux settings of MMC and UART as per Exynos5250 Rev 1.0. It also corrects the gpio offset calculations. Signed-off-by: Rajeshwari Shinde Acked-by: Joonyoung Shim --- Changes in V2: - None. Changes in V3: - Corrected the pinmux settings and offset calcuati

[U-Boot] [PATCH 08/10 V6] EXYNOS5: CLOCK: Add BPLL support

2012-07-03 Thread Rajeshwari Shinde
This patch adds support for BPLL clock. Signed-off-by: Rajeshwari Shinde Acked-by: Joonyoung Shim --- Changes in V3: - New Patch. Changes in V4: - Removed warning message. Changes in V5: - fixed indentation error Changes in V6: - None. arch/arm/cpu/armv7/exynos/c

[U-Boot] [PATCH 06/10 V6] Exynos5: DDR3: Add DDR3 memory setup for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
The patch adds the memory initialization sequence of DDR3. Signed-off-by: Hatim Ali Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None. Chnages in V3: - None. Changes in V4: - None Changes in V5: - None. Changes in V6: - Fixed compiler warning mess

[U-Boot] [PATCH 07/10 V6] EXYNOS5: CLOCK: Modify MPLL clock out for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
MPLL clock-out of Exynos5250 Rev 1.0 is always at 1.6GHz. Adjust the divisor value to get 800MHz as needed by devices like UART etc Signed-off-by: Hatim Ali Signed-off-by: Rajeshwari Shinde Acked-by: Joonyoung Shim --- Changes in V2: - None Changes in V3: - Incorported review co

[U-Boot] [PATCH 05/10 V6] EXYNOS5: CLOCK: Add clock support for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
Add new clock values for Exynos5250 Rev 1.0 Signed-off-by: Hatim Ali Signed-off-by: Rajeshwari Shinde --- Changes in V2: - None. Changes in V3: - Set Peric3 clock for PWM Ratio. Changes in V4: - None. Changes in V5: - None Changes in V6: - Fixed compiler w

[U-Boot] [PATCH 04/10 V6] EXYNOS5: CLOCK: define additional clock registers for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
Define additional registers for clock control in Exynos5250 Rev 1.0 Signed-off-by: Hatim Ali Signed-off-by: Rajeshwari Shinde Acked-by: Joonyoung Shim --- Changes in V2: - None. Changes in V3: - Modified Clocks as per Exynos5250 Rev 1.0. Changes in V4: - None. Changes in

[U-Boot] [PATCH 03/10 V6] SMDK5250: Add smdk5250-uboot-spl.lds

2012-07-03 Thread Rajeshwari Shinde
Default spl/u-boot-spl.lds created by spl/Makefile resolves the spl text load addr to 0x0. As 0x0 belongs to iROM addr so Global variables can not be used. Adding specific smdk5250-uboot-spl.lds makes possible to use Global Variables in spl. Signed-off-by: Alim Akhtar Signed-off-by: Rajeshwari S

[U-Boot] [PATCH 02/10 V6] SMDK5250: SPL: Define parametric board initializer

2012-07-03 Thread Rajeshwari Shinde
Define table-driven configuration mechanism for SMDK5250 rather than hard-coding board initialization parameters. Signed-off-by: Che-Liang Chiou Signed-off-by: Abhilash Kesavan Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Simon Glass Signed-off-by: Rajeshwari Shinde --- Changes in V2:

[U-Boot] [PATCH 01/10 V6] ARCH: SPL: Add parametric board initializer

2012-07-03 Thread Rajeshwari Shinde
Add a structure for table-driven configuration mechanism such that no recompilation is needed to update the configuration parameters, rather than hard-coding board initialization parameters. Signed-off-by: Che-Liang Chiou Signed-off-by: Abhilash Kesavan Signed-off-by: Tom Wai-Hong Tam Signed-o

[U-Boot] [PATCH 00/10 V6] EXYNOS5: Support for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Shinde
This patch set adds support for Exynos5250 Rev 1.0. Exynos5250 Rev 1.0 supports DDR3 Memory configuration and support for LPDDR2 is removed. Exynos5250 Rev 1.0 supports DWMMC controller and does not support SDHCI controller. After DWMMC driver is added to Mainline support for generic S5P MMC driver

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Michal Simek
On 07/03/2012 09:07 PM, Simon Glass wrote: Hi, On Tue, Jul 3, 2012 at 2:21 AM, Michal Simek mailto:mon...@monstr.eu>> wrote: On 06/29/2012 04:32 AM, Simon Glass wrote: Hi, On Wed, Jun 27, 2012 at 11:49 PM, Michal Simek mailto:mon...@monstr.eu>

Re: [U-Boot] [RFC][PATCH v2] net: nfs: make NFS_TIMEOUT configurable

2012-07-03 Thread Wolfgang Denk
Dear Tetsuyuki Kobayashi, In message <4ff3aec4.9050...@kmckk.co.jp> you wrote: > NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs to > adjust. > This patch enables to override NFS_TIMEOUT by defining CONFIG_NFS_TIMEOUT in > a board specific config file. > For example, >

Re: [U-Boot] [PATCH 00/10 V5] EXYNOS5: Support for Exynos5250 Rev 1.0

2012-07-03 Thread Rajeshwari Birje
Hi Minkyu Kang, Warning: ext2fs.c: In function 'ext2fs_read_file': ext2fs.c:443: warning: 'blocknxt' may be used uninitialized in this function Is not related to my code changes. Regards, Rajeshwari Shinde. On Tue, Jul 3, 2012 at 6:10 PM, Minkyu Kang wrote: > On 2 July 2012 20:36, Rajeshwari

Re: [U-Boot] [PATCH] video: fixed exynos_mipi_dsi_init() declaration

2012-07-03 Thread Donghwa Lee
On 4 July 2012 12:29, Minkyu Kang wrote: > On 2 July 2012 20:18, Donghwa Lee wrote: >> To avoid compilers error in case of not using >> CONFIG_EXYNOS_MIPI_DSIM, add no operation function. >> >> Signed-off-by: Donghwa Lee >> Signed-off-by: Kyungmin Park >> --- >> arch/arm/include/asm/arch-exyno

Re: [U-Boot] [PATCH] video: fixed exynos_mipi_dsi_init() declaration

2012-07-03 Thread Minkyu Kang
On 2 July 2012 20:18, Donghwa Lee wrote: > To avoid compilers error in case of not using > CONFIG_EXYNOS_MIPI_DSIM, add no operation function. > > Signed-off-by: Donghwa Lee > Signed-off-by: Kyungmin Park > --- > arch/arm/include/asm/arch-exynos/mipi_dsim.h |7 +++ > 1 files changed, 7

Re: [U-Boot] [PATCH 0/2] Add GPIO driver for BCM2835 SoC

2012-07-03 Thread Vikram Narayanan
Hello Stephen, On 7/4/2012 7:37 AM, Stephen Warren wrote: On 06/24/2012 11:19 AM, Vikram Narayanan wrote: Add a GPIO driver for the BCM2835 Soc. Refer Datasheet http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf Also, add the driver to the raspberrypi's default c

[U-Boot] [RFC][PATCH v2] net: nfs: make NFS_TIMEOUT configurable

2012-07-03 Thread Tetsuyuki Kobayashi
NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs to adjust. This patch enables to override NFS_TIMEOUT by defining CONFIG_NFS_TIMEOUT in a board specific config file. For example, #define CONFIG_NFS_TIMEOUT 1UL Signed-off-by: Tetsuyuki Kobayashi --- Changes for v2:

Re: [U-Boot] [PATCH 08/12] ARM: rpi_b: drop RAM size to 128M

2012-07-03 Thread Stephen Warren
On 07/03/2012 08:09 PM, Naren (Narendra) Sankar wrote: > This should not be hard-coded. > > The current board has 256MB but still allows the VC to use different RAM > configuration splits. So the u-boot/Linux partition can get more than 128MB. While that's true, I believe there's currently no ru

Re: [U-Boot] [PATCH 0/2] Add GPIO driver for BCM2835 SoC

2012-07-03 Thread Stephen Warren
On 06/24/2012 11:19 AM, Vikram Narayanan wrote: > Add a GPIO driver for the BCM2835 Soc. > Refer Datasheet > http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf > Also, add the driver to the raspberrypi's default config Vikram, Are you planning on revising this driv

[U-Boot] [PATCH 12/12] ARM: rpi_b: enabled bootz command

2012-07-03 Thread Stephen Warren
Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index edffda2..ee4887f 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -87,6 +87,7 @@ /* Commands */ #includ

[U-Boot] [PATCH 11/12] ARM: bcm2835: implement reset using watchdog

2012-07-03 Thread Stephen Warren
Signed-off-by: Stephen Warren --- arch/arm/cpu/arm1176/bcm2835/reset.c | 18 +++ arch/arm/include/asm/arch-bcm2835/wdog.h | 37 ++ 2 files changed, 50 insertions(+), 5 deletions(-) create mode 100644 arch/arm/include/asm/arch-bcm2835/wdog.h diff -

[U-Boot] [PATCH 10/12] ARM: rpi_b: re-order rpi_b.h to keep related defines adjacent

2012-07-03 Thread Stephen Warren
Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index 93dd701..edffda2 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -35,6 +35,7 @@ /* Memory

[U-Boot] [PATCH 09/12] ARM: rpi_b: move stack to top of RAM

2012-07-03 Thread Stephen Warren
Move the top-of-stack from 32k to near the top of RAM. This leaves the bottom of RAM free for ATAGs, or U-Boot scripts to use as they see fit. Extracted from work by Oleksandr Tymoshenko . Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |3 +-- 1 file changed, 1 insertion(+), 2 de

[U-Boot] [PATCH 08/12] ARM: rpi_b: drop RAM size to 128M

2012-07-03 Thread Stephen Warren
The board really has 256M. However, the VC (VideoCore co-processor) shares the RAM, and uses a configurable portion at the top. We tell U-Boot that a smaller amount of RAM is present in order to avoid stomping on the area the VC uses. Extracted from work by Oleksandr Tymoshenko . Signed-off-by: S

[U-Boot] [PATCH 07/12] ARM: rpi_b: add ATAG support for bootm/bootz

2012-07-03 Thread Stephen Warren
Newer kernels use device tree, so this isn't that useful. However, old kernels all use board files, so this might still see some use. Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/rpi_b.h b/include/configs/rpi

[U-Boot] [PATCH 05/12] ARM: rpi_b: enable CONFIG_OF_LIBFDT

2012-07-03 Thread Stephen Warren
This allows bootm/bootz to pass a device tree to the kernel. Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index 9268efb..52379b9 100644 --- a/include/configs/rpi_b.h +++ b/inc

[U-Boot] [PATCH 06/12] ARM: rpi_b: set bi_boot_params

2012-07-03 Thread Stephen Warren
This defines where ATAGs will be written to when booting a Linux kernel. Extracted from work by Oleksandr Tymoshenko . Signed-off-by: Stephen Warren --- board/raspberrypi/rpi_b/rpi_b.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/raspberrypi/rpi_b/rpi_b.c b/board/raspberrypi/r

[U-Boot] [PATCH 02/12] ARM: rpi_b: enable CONFIG_ARCH_CPU_INIT for icache

2012-07-03 Thread Stephen Warren
This causes arch_cpu_init() to be called, which enables the icache. Extracted from work by Oleksandr Tymoshenko . Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index f547027..8bd

[U-Boot] [PATCH 01/12] ARM: arm1176: enable instruction cache in arch_cpu_init()

2012-07-03 Thread Stephen Warren
Note that this affects all users of the ARM1176 CPU that enable CONFIG_ARCH_CPU_INIT, not just the BCM2835 SoC, potentially such as tnetv107x. Cc: Cyril Chemparathy Signed-off-by: Stephen Warren --- arch/arm/cpu/arm1176/cpu.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/ar

[U-Boot] [PATCH 04/12] ARM: rpi_b: include config_cmd_default.h

2012-07-03 Thread Stephen Warren
This enables a more typical default set of commands. Remove explicit enables for commands already in the default list. Signed-off-by: Stephen Warren --- include/configs/rpi_b.h |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/configs/rpi_b.h b/include/config

[U-Boot] [PATCH 03/12] ARM: rpi_b: define CONFIG_MACH_TYPE

2012-07-03 Thread Stephen Warren
Use MACH_TYPE_BCM2708 as the Linux machine type for the Raspberry Pi. The Raspberry Pi actually uses a BCM2835. However, the 2835 this is apparently a SKU in a series for which the BCM2708 is the first or perhaps primary version, such that the 2708 name has historically been used for this purpose.

[U-Boot] [PATCH 00/12] ARM: rpi_b: many minor enhancements

2012-07-03 Thread Stephen Warren
This is a slew of various small patches I've accumulated for the Raspberry Pi. They assume that the following have already been applied: 2230151 ARM: bcm2835: add Raspberry Pi model B board 3a43ab2 ARM: add basic support for the Broadcom BCM2835 SoC Stephen Warren (12): ARM: arm1176: enable ins

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Simon Glass
Hi, On Tue, Jul 3, 2012 at 1:22 PM, Stephan Linz wrote: > Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: > > Hi, > > > > On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: > > > > > 2012/6/29 Stephan Linz : > > > > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: >

Re: [U-Boot] [PATCH 7/7] arm:trats: Enable g_dnl composite USB gadget with embedded DFU function on TRATS

2012-07-03 Thread Minkyu Kang
On 3 July 2012 18:38, Lukasz Majewski wrote: > Enable the g_dnl composite USB gadget driver with embedded DFU function on it. > It now uses the composite gadget framework to support download specific > USB functions (like enabled DFU or USB Mass Storage). > > Signed-off-by: Lukasz Majewski > Sign

Re: [U-Boot] [PATCH 6/7] arm:trats: Support for USB UDC driver at TRATS board.

2012-07-03 Thread Minkyu Kang
Dear Lukasz, On 3 July 2012 18:38, Lukasz Majewski wrote: > Support for USB UDC driver at trats board. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > Cc: Minkyu Kang > --- > board/samsung/trats/trats.c |9 + > 1 files changed, 9 insertions(+

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Marek Vasut
Dear Ilya Yanok, > Hi Tom, > > 04.07.2012 00:43, Tom Rini wrote: > > On 07/03/2012 01:13 PM, Ilya Yanok wrote: > >> Dear Marek, > >> > >> 30.06.2012 23:28, Marek Vasut wrote: > Not exactly. It never worked (at least on my systems) with D-Cache > enabled. But at least we had a choice of

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Marek Vasut
Dear Tom Rini, > On Wed, Jul 04, 2012 at 12:31:14AM +0200, Marek Vasut wrote: > > Dear Tom Rini, > > > > [...] > > > > > > > > > + debug("%s: %s 0x%p\n", __func__, cmd_buf, cmd_buf); > > > > > > > + run_command(cmd_buf, 0); > > > > > > > > > > > > Holy Moly ... can we not make this into simple

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Stephen Warren
On 07/03/2012 05:38 PM, Tom Rini wrote: > On Tue, Jul 03, 2012 at 05:07:04PM -0600, Stephen Warren wrote: >> On 07/03/2012 04:33 PM, Tom Rini wrote: >>> On Wed, Jul 04, 2012 at 12:31:14AM +0200, Marek Vasut wrote: Dear Tom Rini, [...] > + debug("%s: %s 0x%p\n", __fun

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Tom Rini
On Tue, Jul 03, 2012 at 05:07:04PM -0600, Stephen Warren wrote: > On 07/03/2012 04:33 PM, Tom Rini wrote: > > On Wed, Jul 04, 2012 at 12:31:14AM +0200, Marek Vasut wrote: > >> Dear Tom Rini, > >> > >> [...] > >> > >>> + debug("%s: %s 0x%p\n", __func__, cmd_buf, cmd_buf); > >>> + run

Re: [U-Boot] [PATCH v3] arm : Atmel : add at91sam9x5ek board support

2012-07-03 Thread Andreas Bießmann
Dear Bo Shen, sorry, a few objections left. Wolfgang requested for last pull for -rc1 these days and I don't know if Albert is willing to pull the 6 other at91 related patches in for -rc1 or even 2012.07. So I think we don't need to hurry here. This board will make its way to mainline at least for

Re: [U-Boot] Issue with running commands

2012-07-03 Thread Graeme Russ
Hi Sughosh On Wed, Jul 4, 2012 at 4:35 AM, Sughosh Ganu wrote: > hi Christian, > > On Tue, Jul 3, 2012 at 11:52 AM, Christian Riesch < > christian.rie...@omicron.at> wrote: > >> Hi Sughosh, >> >> On Mon, Jul 2, 2012 at 9:24 PM, Sughosh Ganu >> wrote: >> > hi, >> > While testing on hawkboard with

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Stephen Warren
On 07/03/2012 04:33 PM, Tom Rini wrote: > On Wed, Jul 04, 2012 at 12:31:14AM +0200, Marek Vasut wrote: >> Dear Tom Rini, >> >> [...] >> >>> + debug("%s: %s 0x%p\n", __func__, cmd_buf, cmd_buf); >>> + run_command(cmd_buf, 0); >> >> Holy Moly ... can we not make this into

[U-Boot] [PATCH v2] ext2fs: fix warning: 'blocknxt' may be used uninitialized

2012-07-03 Thread Kim Phillips
This warning was introduced in 436da3c "ext2load: increase read speed": ext2fs.c: In function 'ext2fs_read_file': ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized] this change makes it go away. Cc: Eric Nelson Cc: Thierry Reding Cc: Jason Cooper

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Tom Rini
On Wed, Jul 04, 2012 at 12:31:14AM +0200, Marek Vasut wrote: > Dear Tom Rini, > > [...] > > > > > > > + debug("%s: %s 0x%p\n", __func__, cmd_buf, cmd_buf); > > > > > > + run_command(cmd_buf, 0); > > > > > > > > > > Holy Moly ... can we not make this into simple calls to those > > > > > subsy

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Marek Vasut
Dear Tom Rini, [...] > > > > > + debug("%s: %s 0x%p\n", __func__, cmd_buf, cmd_buf); > > > > > + run_command(cmd_buf, 0); > > > > > > > > Holy Moly ... can we not make this into simple calls to those > > > > subsystems ? Instead invoking command is crazy ;-) > > > > > > Are they really

Re: [U-Boot] [PATCH] ext2fs: fix warning: 'blocknxt' may be used uninitialized

2012-07-03 Thread Andreas Bießmann
Dear Kim Philips, On 03.07.12 18:05, Kim Phillips wrote: > ext2fs.c: In function 'ext2fs_read_file': > ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this > function [-Wuninitialized] > > Cc: Jason Cooper > Signed-off-by: Kim Phillips > --- > is this right? > > fs/ext2/ext

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Tom Rini
On Wed, Jul 04, 2012 at 12:01:27AM +0200, Marek Vasut wrote: > Dear Tom Rini, > > > On Tue, Jul 03, 2012 at 11:29:31PM +0200, Marek Vasut wrote: > > > Dear Lukasz Majewski, > > > > > > > Support for MMC storage devices to work with DFU framework. > > > > > > > > Signed-off-by: Lukasz Majewski >

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Marek Vasut
Dear Tom Rini, > On Tue, Jul 03, 2012 at 11:29:31PM +0200, Marek Vasut wrote: > > Dear Lukasz Majewski, > > > > > Support for MMC storage devices to work with DFU framework. > > > > > > Signed-off-by: Lukasz Majewski > > > Signed-off-by: Kyungmin Park > > > Cc: Marek Vasut > > > --- > > > >

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Tom Rini
On Tue, Jul 03, 2012 at 11:29:31PM +0200, Marek Vasut wrote: > Dear Lukasz Majewski, > > > Support for MMC storage devices to work with DFU framework. > > > > Signed-off-by: Lukasz Majewski > > Signed-off-by: Kyungmin Park > > Cc: Marek Vasut > > --- > > [...] > > > + > > +#include > > +#in

Re: [U-Boot] [PATCH 1/7] dfu:usb: Support for g_dnl composite download gadget.

2012-07-03 Thread Marek Vasut
Dear Lukasz Majewski, > Composite USB download gadget support (g_dnl) for download functions. > This code works on top of composite gadget. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > --- > drivers/usb/gadget/Makefile |1 + > drivers/usb/gadget/g_

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-03 Thread Marek Vasut
Dear Lukasz Majewski, > Support for u-boot's command line command "dfu [list]". > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > --- [...] > +int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > +{ > + char *str_env = NULL, *env_b

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-03 Thread Marek Vasut
Dear Lukasz Majewski, > Support for MMC storage devices to work with DFU framework. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > --- [...] > + > +#include > +#include > +#include > + > +int dfu_write_medium_mmc(struct dfu_entity *dfu, void *buf, lo

Re: [U-Boot] [PATCH 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-07-03 Thread Marek Vasut
Dear Lukasz Majewski, > Support for f_dfu USB function. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > --- [...] > + > +static const char dfu_name[] = "Device Firmware Upgrade"; > + > +/* static strings, in UTF-8 */ > +/* > + * dfu_genericiguration specif

Re: [U-Boot] [PATCH 3/7] dfu: DFU backend implementation

2012-07-03 Thread Marek Vasut
Dear Lukasz Majewski, > New, separate driver at ./drivers/dfu has been added. It allows platform > and storage independent operation of DFU. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > --- [...] > +#include > +#include > +#include > +#include > +

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Marek Vasut
Dear Ilya Yanok, > Dear Marek, > > 30.06.2012 23:27, Marek Vasut wrote: > >>> do { > >>> > >>> /* Invalidate dcache */ > >>> invalidate_dcache_range((uint32_t)&qh_list, > >>> > >>> (uint32_t)&qh_list +

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Marek Vasut
Dear Tom Rini, > On 07/03/2012 01:13 PM, Ilya Yanok wrote: > > Dear Marek, > > > > 30.06.2012 23:28, Marek Vasut wrote: > >>> Not exactly. It never worked (at least on my systems) with D-Cache > >>> enabled. But at least we had a choice of run-time disabled dcache. With > >>> the recent changes w

[U-Boot] [PATCH v4 0/1] fsl_elbc support for 4k devices and factory badblock migration

2012-07-03 Thread Rafael Beims
This is my implementation of the factory badblock migration process for the fsl_elbc driver using the hack to support nand devices with page sizes bigger than 2048k. As per last discussion with Scott Wood, I now write the marker in all the pages of the block, to add redundancy. The code that searc

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Ilya Yanok
Hi Tom, 04.07.2012 00:43, Tom Rini wrote: On 07/03/2012 01:13 PM, Ilya Yanok wrote: Dear Marek, 30.06.2012 23:28, Marek Vasut wrote: Not exactly. It never worked (at least on my systems) with D-Cache enabled. But at least we had a choice of run-time disabled dcache. With the recent changes we

[U-Boot] [PATCH v4] nand: Hack to support 4k page in fsl_elbc_nand

2012-07-03 Thread Rafael Beims
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip with pagesize larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Because of this, the in flash layout of the oob is different

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Tom Rini
On 07/03/2012 01:13 PM, Ilya Yanok wrote: > Dear Marek, > > 30.06.2012 23:28, Marek Vasut wrote: >>> Not exactly. It never worked (at least on my systems) with D-Cache >>> enabled. But at least we had a choice of run-time disabled dcache. With >>> the recent changes we have to disable cache suppor

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Stephan Linz
Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: > Hi, > > On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: > > > 2012/6/29 Stephan Linz : > > > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > > >> On 06/29/2012 04:32 AM, Simon Glass wrote: > > >> > Hi, > > >> >

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Ilya Yanok
Dear Marek, 30.06.2012 23:28, Marek Vasut wrote: Not exactly. It never worked (at least on my systems) with D-Cache enabled. But at least we had a choice of run-time disabled dcache. With the recent changes we have to disable cache support at compile time. I see what you're after. But do you co

Re: [U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

2012-07-03 Thread Ilya Yanok
Dear Marek, 30.06.2012 23:27, Marek Vasut wrote: do { /* Invalidate dcache */ invalidate_dcache_range((uint32_t)&qh_list, (uint32_t)&qh_list + sizeof(struct QH)); invalidate_dcache_range((uint32_t)&qh,

Re: [U-Boot] [RFC PATCH] net: emaclite: Support OF initialization

2012-07-03 Thread Simon Glass
Hi Michal, On Thu, Jun 28, 2012 at 12:26 AM, Michal Simek wrote: > Support new CONFIG_OF_CONTROL option where device > probing is done based on device tree description. > > Signed-off-by: Michal Simek > --- > drivers/net/xilinx_emaclite.c | 30 ++ > 1 files change

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Stephan Linz
Hi, Am Montag, den 02.07.2012, 07:43 +0200 schrieb Michal Simek: > 2012/6/29 Stephan Linz : > > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > >> On 06/29/2012 04:32 AM, Simon Glass wrote: > >> > Hi, > >> > > >> > --snip-- > >> > >> I have sent support for Microblaze. Currently w

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Simon Glass
Hi, On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: > 2012/6/29 Stephan Linz : > > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > >> On 06/29/2012 04:32 AM, Simon Glass wrote: > >> > Hi, > >> > > >> > --snip-- > >> > >> I have sent support for Microblaze. Currently without

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Simon Glass
Hi, On Tue, Jul 3, 2012 at 2:21 AM, Michal Simek wrote: > On 06/29/2012 04:32 AM, Simon Glass wrote: > >> Hi, >> >> >> On Wed, Jun 27, 2012 at 11:49 PM, Michal Simek > mon...@monstr.eu>> wrote: >> >> On 06/28/2012 07:57 AM, Simon Glass wrote: >> >> Hi Michal, >> >> >> On Wed,

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-03 Thread Simon Glass
Hi, On Fri, Jun 29, 2012 at 1:22 PM, Stephan Linz wrote: > Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > > On 06/29/2012 04:32 AM, Simon Glass wrote: > > > Hi, > > > > > > --snip-- > > > > I have sent support for Microblaze. Currently without dts because I want > to clear this

Re: [U-Boot] Issue with running commands

2012-07-03 Thread Sughosh Ganu
hi Christian, On Tue, Jul 3, 2012 at 11:52 AM, Christian Riesch < christian.rie...@omicron.at> wrote: > Hi Sughosh, > > On Mon, Jul 2, 2012 at 9:24 PM, Sughosh Ganu > wrote: > > hi, > > While testing on hawkboard with the latest commit, i hit an issue of > > commands not being accepted. > > > >

Re: [U-Boot] [PATCH] usb_storage: fix ehci driver max transfer size

2012-07-03 Thread Marek Vasut
Dear Stefan Herbrechtsmeier, > The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: > Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in > usb_storage as it wrongly assumes that every transfer can use 4k > per qt_buffer. This is wrong if the start address of the data >

Re: [U-Boot] environment access before relocation does not work on (some) arm

2012-07-03 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <4ff306fc.9040...@esd.eu> you wrote: > > > This is normal, and documented. Before relocation, you must not use > > getenv(). > Yes, I am aware of this. I even think that the getenv() implementation > falls back to getenv_f() before relocation. This is not guara

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Wolfgang Denk
Dear Prafulla, In message you wrote: > > Do you think I should pull this patch series, I hope it applies cleanly on > the recent master branch. > Please confirm. I have to admit that I neither reviewed the patches in question, nor did I follow the whole thread of communication in this patch s

[U-Boot] [PATCH 1/1] igep0020: set OMAP MUX mcspi1_cs2 pin to GPIO 176 mode

2012-07-03 Thread Javier Martinez Canillas
According to the IGEPv2 Rev.C data-sheet the LAN9221i pin 14 (IRQ) is connected to the OMAP3730 mcspi1_cs2 pin. Since this omap mux pin acts as an IRQ line, it has to be configured as an input GPIO. IGEPv2 platform code sets the smsc911x_cfg->gpio_irq to GPIO 176 but since the mux pin default mode

Re: [U-Boot] [PATCH] imx: Remove unused Macro CONFIG_DISCOVER_PHY

2012-07-03 Thread Fabio Estevam
On Tue, Jul 3, 2012 at 1:52 PM, Ashok wrote: > From 9da2bc23d24f9275390c193d62e2e95d3d7505ce Mon Sep 17 00:00:00 2001 > From: Ashok Kumar Reddy > Date: Tue, 3 Jul 2012 21:41:04 +0530 > Subject: [PATCH] imx: Remove unused Macro CONFIG_DISCOVER_PHY > > Remove the macro as this is not used anywhere

[U-Boot] [PATCH] imx: Remove unused Macro CONFIG_DISCOVER_PHY

2012-07-03 Thread Ashok
From 9da2bc23d24f9275390c193d62e2e95d3d7505ce Mon Sep 17 00:00:00 2001 From: Ashok Kumar Reddy Date: Tue, 3 Jul 2012 21:41:04 +0530 Subject: [PATCH] imx: Remove unused Macro CONFIG_DISCOVER_PHY Remove the macro as this is not used anywhere Signed-off-by: Ashok Kumar Reddy Kourla --- include/c

Re: [U-Boot] [PATCH v6 00/15] split tegra20 arm7 code into separate SPL

2012-07-03 Thread Allen Martin
On Tue, Jul 03, 2012 at 06:55:48AM -0700, Thierry Reding wrote: > > ... > > Successfully booted to login prompt on TEC. > > Tested-by: Thierry Reding That's great news, it sounds like it was the USE_PRIVATE_LIBGCC problem. Thank you very much for finding that and testing the fix. -Allen -- n

Re: [U-Boot] [PATCH] powerpc/mpc83xx: fix copyright string in serdes.c

2012-07-03 Thread Kim Phillips
On Mon, 18 Jun 2012 19:11:34 -0500 Timur Tabi wrote: > The misspelling of "semiconductor" causes some internal copyright analysis > tools to complain. > > Signed-off-by: Timur Tabi > --- applied, thanks. Kim ___ U-Boot mailing list U-Boot@lists.den

[U-Boot] [PATCH] ext2fs: fix warning: 'blocknxt' may be used uninitialized

2012-07-03 Thread Kim Phillips
ext2fs.c: In function 'ext2fs_read_file': ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized] Cc: Jason Cooper Signed-off-by: Kim Phillips --- is this right? fs/ext2/ext2fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/e

[U-Boot] [GIT PULL] mpc83xx: minor fixes

2012-07-03 Thread Kim Phillips
Wolfgang Denk, Please pull a couple of minor fixes for 83xx: The following changes since commit 558cd995d6d3eaa94fb342d142289a1fa2f76ba3: tools/mkenvimage.c: fix basename(3) usage (2012-07-02 20:21:49 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc83xx.git maste

Re: [U-Boot] [PATCH] powerpc/mpc83xx: increment malloc heap size

2012-07-03 Thread Kim Phillips
On Sat, 30 Jun 2012 18:29:20 -0500 Kim Phillips wrote: > extention of commit 3b6b256 "powerpc/mpc83xx: increment > malloc heap size for the MPC832x MDS boards" to all other > mpc83xx based boards. It fixes "Unable to save the rest > of sector" messages when trying to save the environment > to fl

Re: [U-Boot] [PATCH v6 05/15] tegra20: make board mkdir commands unconditional

2012-07-03 Thread Stephen Warren
On 07/02/2012 11:52 PM, Allen Martin wrote: > Change the mkdir commands for the object directories to be > unconditional. This fixes an issue when building for SPL where > SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE. > > Signed-off-by: Allen Martin All the patches which weren'

Re: [U-Boot] [PATCH 1/2] igep00x0: default to OMAP-specific serial driver

2012-07-03 Thread Enric Balletbò i Serra
2012/6/29 Javier Martinez Canillas > An OMAP specific serial driver was merged on the Linux kenel a long > time ago. So, it makes sense to default the console name to OMAP > ttyO instead of the generic ttyS naming. > > Signed-off-by: Javier Martinez Canillas > --- > include/configs/igep00x0.h |

Re: [U-Boot] [PATCH 2/2] igep00x0: default mmcrootfstype to EXT4

2012-07-03 Thread Enric Balletbò i Serra
2012/6/29 Javier Martinez Canillas > omap2plus_defconfig now has built-in compile support for EXT4 enabled > by default now. So, we can use EXT4 as the default root file system > type for MMC. > > Signed-off-by: Javier Martinez Canillas > --- > include/configs/igep00x0.h |2 +- > 1 files ch

Re: [U-Boot] [PATCH 0/6 V3] EXYNOS5: USB: Enable USB 2.0 support

2012-07-03 Thread Vivek Gautam
Hi Joonyoung Shim, We are currently working on this. We also needed stack support for xhci in U-boot. So both tasks are going on simultaneously, the stack as well as USB 3.0 DRD controller for exynos5250. Will soon come with the required support patchesets. Thanks Vivek On Tue, Jul 3, 2012 at 3

Re: [U-Boot] environment access before relocation does not work on (some) arm

2012-07-03 Thread Matthias Fuchs
Hi, On 29.06.2012 13:26, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <4fed7877.2020...@esd.eu> you wrote: >> >> I just noticed that using getenv (and friends) >> does not work on ARM (namely i.MX28) from board_init_f() >> after running through the init_sequence. > > This is normal

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 03 July 2012 19:13 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Valentin Longchamp; > albert.u.b...@aribaud.net; Detlev Zundel > Subject: Re: [PATCH v2 03/14] arm/km: convert mgcoge3un target to >

Re: [U-Boot] [RFC][PATCH] net: nfs: make NFS_TIMEOUT configurable

2012-07-03 Thread Tetsuyuki Kobayashi
Hello Joe, thanks to responding. On 2012/07/03, at 22:47, Joe Hershberger wrote: > > > On Jul 3, 2012, at 6:22 AM, Tetsuyuki Kobayashi wrote: > >> NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs >> to adjust. >> This patch enables to override NFS_TIMEOUT by definin

[U-Boot] [PATCH] nand: Support ONFI chip size detection for lun_count > 1

2012-07-03 Thread Rafael Beims
With the implementation of the fsl_elbc_nand driver that supports reading the ONFI parameter page, at least one of the NAND chip's started to have the size being wrongly reported. This is due to the fact that this chip reports having more than one LUN, and this was not being taken into account in t

[U-Boot] [PATCH 0/1] Correct ONFI chip size detection for LUN count > 1

2012-07-03 Thread Rafael Beims
Doing some tests with the new fsl_elbc code that enables the use of ONFI chip detection, I verified that one of the NAND chip's we use report a LUN count > 1. The size detection code doesn't take this into account, making these chips to have the wrong size detected. This patch corrected the problem

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Detlev Zundel
Hi Prafulla, [...] >> But 01-08 are not only bugfixes there are also two new boards in these >> patches. >> So will you pull these eight patches in if I post them again without >> 09-14? > > Pls post bug fixes and improvement patches first those will be pulled > faster. May I please ask you to r

Re: [U-Boot] [PATCH v6 00/15] split tegra20 arm7 code into separate SPL

2012-07-03 Thread Thierry Reding
On Mon, Jul 02, 2012 at 10:51:58PM -0700, Allen Martin wrote: > This patch series fixes a long standing problem with the tegra20 > u-boot build. Tegra20 contains an ARM7TDMI boot processor and a > Cortex A9 main processor. Prior to this patch series this was > accomplished by #ifdefing out any ar

  1   2   >