Re: [U-Boot] [PATCH 2/4] dfu: generic backend parts

2012-01-09 Thread Andrzej Pietrasiewicz
Hello Mike, On Sunday, January 08, 2012 6:14 AM Mike Frysinger wrote: -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: Sunday, January 08, 2012 6:14 AM To: u-boot@lists.denx.de Cc: Andrzej Pietrasiewicz; Kyungmin Park; Marek Szyprowski Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH 0/4] use CFI driver for all MPL boards

2012-01-09 Thread Stefan Roese
On Thursday 22 December 2011 13:38:18 David Müller wrote: This patch set converts all MPL boards to make use the generic CFI driver by doing the following: - remove the old legacy flash driver and adjust the common code shared by all MPL boards - adjust each board specfic configuration

Re: [U-Boot] [PATCH] ppc4xx: Setup HICB on Io64

2012-01-09 Thread Stefan Roese
On Monday 02 January 2012 11:02:46 Dirk Eibach wrote: The FPGA High-Speed Interconnect Bus (HICB) is now setup by u-boot. Applied to u-boot-ppc4xx/master. Thanks. Best regards, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office:

Re: [U-Boot] [PATCH v2 1/3] image: add support for Android's boot image format

2012-01-09 Thread Sebastian Andrzej Siewior
* Aneesh V | 2011-12-29 13:13:29 [+0530]: ping Wonder what happened to this series. Is this ready to be merged this merge window? If so, who is going to merge it in the absence of a USB custodian? I've sent the series and Wolfgang kept nacking it due to some GPL vs BSD license incompatibilities

Re: [U-Boot] [PATCH v2 3/6] cm-t35: add EEPROM module and pass Linux a serial number

2012-01-09 Thread Nikita Kiryanov
On 01/05/2012 04:56 PM, Wolfgang Denk wrote: Dear Igor Grinberg, In message1325764937-7342-1-git-send-email-grinb...@compulab.co.il you wrote: From: Nikita Kiryanovnik...@compulab.co.il Add board specific EEPROM handling module, read the serial number from the EEPROM and pass it to Linux.

Re: [U-Boot] [PATCH V3] ARM: fix s3c2410 timer code

2012-01-09 Thread Andreas Bießmann
Dear David Müller, On 22.12.2011 12:16, David Müller wrote: This patch fixes the s3c24x0 timer code to work with the ARM relocation feature. Signed-off-by: David Mueller d.muel...@elsoft.ch --- arch/arm/cpu/arm920t/s3c24x0/timer.c | 64 ++--- 1 files

[U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Joe Woodward
Commit armv7: disable L2 cache in cleanup_before_linux() on 6th Dec 2011 by Aneesh V adds the following: arch/arm/cpu/armv7/cpu.c:cleanup_before_linux() ... v7_out_cache_disable(); ... The commit message implies this change was to make booting reliable on OMAP4 by disabling L2 cache before

Re: [U-Boot] Bug#655102: v2011.12 and later do not boot on dreamplug.

2012-01-09 Thread Holger Brunck
On 01/08/2012 09:00 PM, Ian Campbell wrote: On Sun, 2012-01-08 at 15:30 +, Ian Campbell wrote: v2011.12 hangs on boot on my dreamplug with: U-Boot 2011.12-dirty (Jan 08 2012 - 15:16:44) Marvell-DreamPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB

Re: [U-Boot] [RFC PATCH 01/19] Introduce generic global_data

2012-01-09 Thread Andreas Bießmann
Hi Simon and Graeme, On 08.01.2012 19:13, Simon Glass wrote: Hi Graeme, On Sun, Jan 8, 2012 at 2:48 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On 08/01/12 09:33, Simon Glass wrote: Hi Andreas, On Wed, Dec 28, 2011 at 11:47 PM, Andreas Bießmann andreas.de...@googlemail.com

[U-Boot] net: re-enumerating usb-ethernet devices hangs the system

2012-01-09 Thread Wolfgang Grandegger
Hi Vincent, as you already know, the re-enumerating of usb ethernet devices (calling usb start twice) hangs the system because eth_register() is called more than once. If have found a related patch from you with the subject eth: remove usb-ethernet devices before re-enumerating them in the

Re: [U-Boot] [PATCH 1/4] PXA: PXA27x Matrix keypad driver

2012-01-09 Thread Marek Vasut
From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Signed-off-by: Vasily Khoruzhick anars...@gmail.com [vasily: adapted Marek's old version for newer u-boot] --- arch/arm/include/asm/arch-pxa/pxa-regs.h |6 +- drivers/input/Makefile

Re: [U-Boot] [PATCH 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-09 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- include/configs/zipitz2.h | 83 ++--- 1 files changed, 78 insertions(+), 5 deletions(-) diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 26204af..5560bef 100644 ---

Re: [U-Boot] [PATCH 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-09 Thread Marek Vasut
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h |5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c index b093c2f..4075fb6 100644 ---

Re: [U-Boot] [PATCH 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-09 Thread Marek Vasut
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- include/configs/zipitz2.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-09 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h |5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c index b093c2f..4075fb6 100644 ---

[U-Boot] [PATCH 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-09 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- include/configs/zipitz2.h | 83 ++--- 1 files changed, 78 insertions(+), 5 deletions(-) diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 26204af..5560bef 100644 ---

[U-Boot] [PATCH 1/4] PXA: PXA27x Matrix keypad driver

2012-01-09 Thread Vasily Khoruzhick
From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Signed-off-by: Vasily Khoruzhick anars...@gmail.com [vasily: adapted Marek's old version for newer u-boot] --- arch/arm/include/asm/arch-pxa/pxa-regs.h |6 +- drivers/input/Makefile |

[U-Boot] [PATCH 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-09 Thread Vasily Khoruzhick
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- include/configs/zipitz2.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 3:27 AM, Joe Woodward j...@terrafix.co.uk wrote: Commit armv7: disable L2 cache in cleanup_before_linux() on 6th Dec 2011 by Aneesh V adds the following: arch/arm/cpu/armv7/cpu.c:cleanup_before_linux() ... v7_out_cache_disable(); ... The commit message implies

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Joe Woodward
I'm fairly certain... If I take the 2011.12 uBoot release the kernel takes about twice the time to boot (compared to 2011.09), and the device is noticably slower. Then if I comment out the v7_out_cache_disable() line in cpu.c and rebuild uBoot then everything speeds up again. I thought the

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Joe Woodward
-Original Message- From: Tom Rini tom.r...@gmail.com To: Joe Woodward j...@terrafix.co.uk Cc: u-boot@lists.denx.de Date: Mon, 9 Jan 2012 08:11:07 -0700 Subject: Re: [U-Boot] OMAP3 performance regression in 2011.12 On Mon, Jan 9, 2012 at 3:27 AM, Joe Woodward j...@terrafix.co.uk

Re: [U-Boot] [RFC PATCH v2 27/28] tegra: Mark board init files for ARMv4t

2012-01-09 Thread Stephen Warren
On 01/06/2012 05:25 PM, Simon Glass wrote: Since Tegra executes early code on an ARMv4T (but the rest on ARMv7) we must mark the new board init files for compilation with ARMv4t architecture. Signed-off-by: Simon Glass s...@chromium.org This and patch 28 seem fine to me (but I didn't look

Re: [U-Boot] [PATCH 2/4] dfu: generic backend parts

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 02:50:00 Andrzej Pietrasiewicz wrote: However, Wolfgang Denk was not convinced about introducing dfu support to u-boot the way it was proposed. Are there any new circumstances? i just had the thread marked unread, so i read it reviewed for some high level details.

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-09 Thread Mike Frysinger
On Sunday 08 January 2012 18:48:18 Simon Glass wrote: On Sun, Jan 8, 2012 at 11:58 AM, Mike Frysinger wrote: On Sunday 08 January 2012 12:43:09 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:08:07 Simon Glass wrote: ---

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-09 Thread Mike Frysinger
On Sunday 08 January 2012 12:42:02 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:35 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:08:05 Simon Glass wrote: --- a/include/bootstage.h +++ b/include/bootstage.h +static inline ulong bootstage_mark(enum bootstage_id id) { -

Re: [U-Boot] [PATCH v2] Blackfin: br4: new board port

2012-01-09 Thread Dimitar Penev
Hi Mike, The patch is working on BR4 Appliance hardware. Best Regards Dimitar Penev - Original Message - From: Mike Frysinger vap...@gentoo.org To: u-boot@lists.denx.de Cc: Dimitar Penev d...@switchfin.org Sent: Sunday, January 08, 2012 11:25 AM Subject: [PATCH v2] Blackfin: br4: new

Re: [U-Boot] [PATCH v2] Blackfin: pr1: new board port

2012-01-09 Thread Dimitar Penev
Hi Mike, The patch is working on the PR1 Appliance hardware. Best Regards Dimitar Penev - Original Message - From: Mike Frysinger vap...@gentoo.org To: u-boot@lists.denx.de Cc: Dimitar Penev d...@switchfin.org Sent: Sunday, January 08, 2012 11:24 AM Subject: [PATCH v2] Blackfin: pr1:

[U-Boot] Add ext4 write support

2012-01-09 Thread uma . shankar
Hi All, We have resolved the coding style issues and updated the copyrights correctly in the respective header files. Ext4fs code has been made independant of ext2 code. A separate config CONFIG_CMD_EXT4 is provided for ext4ls and load, also CONFIG_CMD_EXT4_WRITE for ext4 write feature. We are

[U-Boot] [PATCH V4 0/2] *** Add ext4 filesystem support in uboot ***

2012-01-09 Thread uma . shankar
From: uma.shankar uma.shan...@samsung.com *** This patch series adds support for ext4 ls,load and write features in uboot Journaling is supported for write feature. To Enable ext4 ls and load commands, modify the board specific config file with #define CONFIG_CMD_EXT4 To enable ext4 write

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Simon Glass
Hi Chander, On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap chander.kash...@linaro.org wrote: This patchset add support for Samsung's SMDK5250 board based on EXYNOS5250 based SoC. It also adds support for MMC SPL booting. The porting is done by Samsung engineers at HQ in System LSI Team. I

Re: [U-Boot] net: re-enumerating usb-ethernet devices hangs the system

2012-01-09 Thread Vincent Palatin
Hi, On Mon, Jan 9, 2012 at 04:02, Wolfgang Grandegger w...@grandegger.com wrote: as you already know, the re-enumerating of usb ethernet devices (calling usb start twice) hangs the system because eth_register() is called more than once. If have found a related patch from you with the subject

Re: [U-Boot] [RFC PATCH 01/19] Introduce generic global_data

2012-01-09 Thread Simon Glass
Hi Andreas, On Mon, Jan 9, 2012 at 3:21 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Hi Simon and Graeme, On 08.01.2012 19:13, Simon Glass wrote: Hi Graeme, On Sun, Jan 8, 2012 at 2:48 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On 08/01/12 09:33, Simon Glass

[U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Sughosh Ganu
The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. The V bit of the cp15's control register c1 is set to the value of VINITHI on reset. Do

[U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Vincent Palatin
When doing a GET_REPORT request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin vpala...@chromium.org --- common/usb_kbd.c |2 +- 1 files changed, 1 insertions(+), 1

[U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-09 Thread Sughosh Ganu
This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Making this change required some code refactoring with a couple of davinci based platforms which use spl. Removed the hawkboard_nand_config build option -- The spl code now gets compiled with hawkboard_config,

[U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Vincent Palatin
Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin vpala...@chromium.org Tested-by: Wolfgang Grandegger w...@denx.de --- drivers/usb/eth/usb_ether.c |7 +-- include/net.h |1 + net/eth.c

Re: [U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 13:25:50 Sughosh Ganu wrote: arch/arm/cpu/arm926ejs/start.S | 10 +++--- your patch summary should include a relevant prefix. something like arm: or arm926: . that way non-arm people can ignore this. -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Sughosh Ganu
On Mon Jan 09, 2012 at 01:41:58PM -0500, Mike Frysinger wrote: On Monday 09 January 2012 13:25:50 Sughosh Ganu wrote: arch/arm/cpu/arm926ejs/start.S | 10 +++--- your patch summary should include a relevant prefix. something like arm: or arm926: . that way non-arm people can

Re: [U-Boot] [PATCH 1/3] tegra2: Fix conflicting pinmux for UARTA

2012-01-09 Thread Simon Glass
On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren swar...@nvidia.com wrote: Tegra appears to boot with function UARTA pre-selected on mux group SDB. If two mux groups are both set to the same function, it's unclear which group's pins drive the RX signals into the HW module. For UARTA, SDB

Re: [U-Boot] [PATCH 2/3] tegra2: Fix default RAM size selection in odmdata

2012-01-09 Thread Simon Glass
On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren swar...@nvidia.com wrote: A value of 0 in the odmdata RAM size field means default, which is 512MB not 1GB. Fix this. For reference, see: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blob;\

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Scott Wood
On 01/08/2012 03:56 AM, Mike Frysinger wrote: On Wednesday 04 January 2012 18:56:23 Scott Wood wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. ---

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
Hi Stephen, On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren swar...@nvidia.com wrote: The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook derived from the NVIDIA Tegra Harmony reference board. It ships with Android, but is often repurposed to run Linux. This patch adds just

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Stephen Warren
On 01/09/2012 12:55 PM, Simon Glass wrote: On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren swar...@nvidia.com wrote: The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook derived from the NVIDIA Tegra Harmony reference board. It ships with Android, but is often repurposed to

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 12:00 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 12:55 PM, Simon Glass wrote: On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren swar...@nvidia.com wrote: The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook derived from the

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Stephen Warren
On 01/09/2012 12:55 PM, Simon Glass wrote: ... + debug(board_mmc_init: init eMMC\n); + /* init dev 0, eMMC chip, with 4-bit bus */ + /* The board has an 8-bit bus, but 8-bit doesn't work yet */ + tegra2_mmc_init(0, 4, -1, -1); Yes - I will see if I can do a patch to

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
HI Stephen, On Mon, Jan 9, 2012 at 12:04 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 12:55 PM, Simon Glass wrote: ... +       debug(board_mmc_init: init eMMC\n); +       /* init dev 0, eMMC chip, with 4-bit bus */ +       /* The board has an 8-bit bus, but 8-bit doesn't work

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Stephen Warren
On 01/09/2012 01:04 PM, Simon Glass wrote: Hi Stephen, On Mon, Jan 9, 2012 at 12:00 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 12:55 PM, Simon Glass wrote: On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren swar...@nvidia.com wrote: The Toshiba AC100 (Compal code-name Paz00, aka

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 12:10 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 01:04 PM, Simon Glass wrote: Hi Stephen, On Mon, Jan 9, 2012 at 12:00 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 12:55 PM, Simon Glass wrote: On Fri, Jan 6, 2012 at 2:14 PM,

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Marek Vasut
When doing a GET_REPORT request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin vpala...@chromium.org --- common/usb_kbd.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Vincent Palatin
On Mon, Jan 9, 2012 at 12:46, Marek Vasut marek.va...@gmail.com wrote: When doing a GET_REPORT request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin vpala...@chromium.org ---

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Marek Vasut
On Mon, Jan 9, 2012 at 12:46, Marek Vasut marek.va...@gmail.com wrote: When doing a GET_REPORT request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Marek Vasut
Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin vpala...@chromium.org Tested-by: Wolfgang Grandegger w...@denx.de --- drivers/usb/eth/usb_ether.c |7 +-- include/net.h |1 + net/eth.c

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Vincent Palatin
On Mon, Jan 9, 2012 at 12:57, Marek Vasut marek.va...@gmail.com wrote: Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin vpala...@chromium.org Tested-by: Wolfgang Grandegger w...@denx.de ---  drivers/usb/eth/usb_ether.c |  

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works (we've found 1 case so far where it doesn't), and add fine grained

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Scott Wood
On 01/09/2012 03:21 PM, Mike Frysinger wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works (we've found 1 case so far

Re: [U-Boot] [PATCH 1/7] tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: Change this name to fit with the current convention in the Tegra header file. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com -- nvpublic ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: Add support to funcmux for selecting I2C functions and programming the pinmux appropriately. Signed-off-by: Simon Glass s...@chromium.org Conceptually the changes here look fine. I think that adding the new I2C cases and the tests for valid config

Re: [U-Boot] [PATCH 3/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 1:36 PM, Stephen Warren swar...@nvidia.com wrote: On 12/26/2011 11:11 AM, Simon Glass wrote: Add support to funcmux for selecting I2C functions and programming the pinmux appropriately. Signed-off-by: Simon Glass s...@chromium.org Conceptually the changes

Re: [U-Boot] [PATCH 6/7] tegra: Select I2C ordering for Seaboard

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: Select the port ordering for I2C on Seaboard. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com -- nvpublic ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: This enables I2C on Seaboard. ... diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h ... +#define CONFIG_SYS_I2C_INIT_BOARD I don't think that option is correct for Seaboard; the description in the README indicates this causes a

[U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Zach Sadecki
There are 2 locations in the power init code for the mx28 where IRQs are not being cleared because incorrect methods to clear those bits were being used. This was causing my board to get stuck waiting for POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear the IRQs fixes

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: From: Yen Lin ye...@nvidia.com Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver supports building both with and without CONFIG_OF_CONTROL. Without CONFIG_OF_CONTROL a number of CONFIG options must be supplied in the

[U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Zach Sadecki
There are 2 locations in the power init code for the mx28 where IRQs are not being cleared because incorrect methods to clear those bits were being used. This was causing my board to get stuck waiting for POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear the IRQs fixes

Re: [U-Boot] [PATCH 5/9] sandbox: sort header files in os.c

2012-01-09 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:49 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 05 January 2012 22:54:53 Simon Glass wrote: --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c +#include errno.h  #include fcntl.h +#include linux/types.h  #include stdlib.h  #include

Re: [U-Boot] [PATCH 6/9] sandbox: Add required header to os.c

2012-01-09 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:49 AM, Mike Frysinger vap...@gentoo.org wrote: On Thursday 05 January 2012 22:54:54 Simon Glass wrote: --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c  #include unistd.h  #include sys/mman.h  #include sys/stat.h +#include sys/time.h  #include

[U-Boot] [PATCH v2 5/9] sandbox: sort header files in os.c

2012-01-09 Thread Simon Glass
Tidy this up as the list is long and likely to get longer. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Sort correctly: include/, sys/, linux/, asm/ arch/sandbox/cpu/os.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH v2 6/9] sandbox: Add required header to os.c

2012-01-09 Thread Simon Glass
We should include sys/time.h header to avoid warnings. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Rebase after changes to sandbox header sort patch arch/sandbox/cpu/os.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sandbox/cpu/os.c

[U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Simon Glass
This series expands funcmux_select() to support configs other than 0, and to support options associated with a config. This permits introduction of I2C support using multiple config options. The options parameter is used by MMC to select standard (4-bit) or 8-bit operation. Simon Glass (7):

[U-Boot] [PATCH 2/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Simon Glass
Add support to funcmux for selecting I2C functions and programming the pinmux appropriately. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/funcmux.c | 40 +++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 1/7] tegra: Adjust funcmux config test to permit expansion

2012-01-09 Thread Simon Glass
We want to support config options other than zero, so move the test to the end to allow intermediate code to OK such a config. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/funcmux.c| 35 +--

[U-Boot] [PATCH 4/7] tegra: Add SDMMC support to funcmux

2012-01-09 Thread Simon Glass
This adds support for SDMMC ports to the funcmux. Only one option is supported: FUNCMUXO_SDMMC_8BIT which selects an 8-bit wide SDIO interface where available. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/funcmux.c| 70

[U-Boot] [PATCH 6/7] tegra: Use funcmux for MMC on harmony

2012-01-09 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass s...@chromium.org --- board/nvidia/harmony/harmony.c | 19 --- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/board/nvidia/harmony/harmony.c

[U-Boot] [PATCH 5/7] tegra: Use funcmux for MMC on tamonten

2012-01-09 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass s...@chromium.org --- board/avionic-design/common/tamonten.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/board/avionic-design/common/tamonten.c

[U-Boot] [PATCH 7/7] tegra: Use funcmux for MMC on seaboard

2012-01-09 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass s...@chromium.org --- board/nvidia/seaboard/seaboard.c | 21 - 1 files changed, 4 insertions(+), 17 deletions(-) diff --git a/board/nvidia/seaboard/seaboard.c

Re: [U-Boot] [PATCH 3/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Simon Glass
Hi Stephe, On Mon, Jan 9, 2012 at 1:40 PM, Simon Glass s...@chromium.org wrote: Hi Stephen, On Mon, Jan 9, 2012 at 1:36 PM, Stephen Warren swar...@nvidia.com wrote: On 12/26/2011 11:11 AM, Simon Glass wrote: Add support to funcmux for selecting I2C functions and programming the pinmux

[U-Boot] [PATCH] usb: add numeric keypad support to HID driver

2012-01-09 Thread Vincent Palatin
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter. Signed-off-by: Vincent Palatin vpala...@chromium.org --- common/usb_kbd.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c

[U-Boot] [PATCH 3/7] tegra: Enhance funcmux to support options

2012-01-09 Thread Simon Glass
Add support for an options parameter to funcmux_select() which allows different pinmux options to be selected. An example of where this might be used is a UART which supports 2-wire and 4-wire operation. The option parameter in this case would specify which is required. Invalid options cause

Re: [U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Marek Vasut
There are 2 locations in the power init code for the mx28 where IRQs are not being cleared because incorrect methods to clear those bits were being used. This was causing my board to get stuck waiting for POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear the IRQs fixes

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Stephen Warren
On 01/09/2012 03:53 PM, Simon Glass wrote: This series expands funcmux_select() to support configs other than 0, and to support options associated with a config. This permits introduction of I2C support using multiple config options. The options parameter is used by MMC to select standard

Re: [U-Boot] [PATCH] usb: add numeric keypad support to HID driver

2012-01-09 Thread Marek Vasut
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter. Signed-off-by: Vincent Palatin vpala...@chromium.org --- common/usb_kbd.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/common/usb_kbd.c

[U-Boot] [PATCH v2] tegra: mmc: Support operation with dcache enabled

2012-01-09 Thread Simon Glass
When the data cache is enabled we must flush on write and invalidate on read. We also check that buffers are aligned to data cache lines boundaries. With recent work in U-Boot this should generally be the case but the warnings will catch problems. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v3] tegra2: Enable data cache

2012-01-09 Thread Simon Glass
This enables the data cache on Tegra2 boards. As discussed on the list, this is better off in the Tegra2 cpu code than in a particular vendor directory. We should be safe turning on the cache for all Tegra2 boards. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Enable caches

Re: [U-Boot] [PATCH 05/14] tegra: Add tegra_get_chip_type() to detect SKU

2012-01-09 Thread Stephen Warren
On 12/26/2011 12:32 PM, Simon Glass wrote: We want to know which type of chip we are running on - the Tegra family has several SKUs. This can be determined by reading a fuse register, so add this function to ap20. ... diff --git a/arch/arm/cpu/armv7/tegra2/ap20.c

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-09 Thread Tom Rini
On 01/09/2012 11:28 AM, Sughosh Ganu wrote: This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Making this change required some code refactoring with a couple of davinci based platforms which use spl. Removed the hawkboard_nand_config build option -- The

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 3:11 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 03:53 PM, Simon Glass wrote: This series expands funcmux_select() to support configs other than 0, and to support options associated with a config. This permits introduction of I2C support

Re: [U-Boot] [PATCH 06/14] tegra: Add EMC support for optimal memory timings

2012-01-09 Thread Stephen Warren
On 12/26/2011 12:32 PM, Simon Glass wrote: From: Jimmy Zhang jimmzh...@nvidia.com Add support for setting up the memory controller parameters. Boards can call tegra_set_emc() with a table containing the required parameters. ... diff --git a/arch/arm/cpu/armv7/tegra2/emc.c

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Stephen Warren
On 01/09/2012 04:36 PM, Simon Glass wrote: Hi Stephen, On Mon, Jan 9, 2012 at 3:11 PM, Stephen Warren swar...@nvidia.com wrote: On 01/09/2012 03:53 PM, Simon Glass wrote: This series expands funcmux_select() to support configs other than 0, and to support options associated with a config.

Re: [U-Boot] expection for help with ethernet driver for DP83849

2012-01-09 Thread Kim Phillips
On Thu, 5 Jan 2012 22:38:50 +0800 utf-8-chars-deleted brightjm...@163.com wrote: Sorry to bother you. I find your email on the website 'lists.denx.de'. I am anxious about the ethernet driver for DP83849. I am looking for the ethernet driver for DP83849 on MPC8387XERDB motherboard.

Re: [U-Boot] [PATCH] ns16550: tegra: Specify debugging serial port at boot.

2012-01-09 Thread Doug Anderson
On Fri, Jan 6, 2012 at 2:51 PM, Stephen Warren swar...@nvidia.com wrote: From: Doug Anderson diand...@chromium.org This works together with a kernel change that looks at the scratchpad register to determine which of the many UARTs it should use for early printing:

Re: [U-Boot] [PATCH 1/4] powerpc/83xx/km: update SDRAM parameters for km8321 boards

2012-01-09 Thread Kim Phillips
On Wed, 14 Dec 2011 16:21:42 +0100 Holger Brunck holger.bru...@keymile.com wrote: From: Marco Schmid marco.sch...@keymile.com Measurements during HW basic test showed, that the SDRAM timing has to be optimized. This patch adapted these timings accordingly. Signed-off-by: Marco Schmid

Re: [U-Boot] [PATCH] mpc8313erdb: fix mtdparts address

2012-01-09 Thread Kim Phillips
On Wed, 4 Jan 2012 16:48:26 -0600 Scott Wood scottw...@freescale.com wrote: Fix a copy-and-paste error when adapting mpc8315erdb mtdparts to mpc8313erdb. mtdids was already using the proper address on mpc8313erdb. Signed-off-by: Scott Wood scottw...@freescale.com --- applied, thanks.

[U-Boot] [GIT PULL] Please pull u-boot-mpc83xx: new 8321 tuge1, GPIO support, fixes

2012-01-09 Thread Kim Phillips
Dear Wolfgang Denk, Please pull 8321-based tuge1 board support, GPIO support for the mpc8313erdb, and other fixes: The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git

Re: [U-Boot] [PATCH v3 03/16] Add gpio_request() to asm-generic header

2012-01-09 Thread Kim Phillips
On Sun, 8 Jan 2012 03:44:19 -0500 Mike Frysinger vap...@gentoo.org wrote: On Tuesday 06 December 2011 20:24:02 Simon Glass wrote: +int gpio_request(unsigned gpio, const char *label); should add gpio_free too fyi, I just sent Wolfgang a pull request for this: commit

Re: [U-Boot] Add ext4 write support

2012-01-09 Thread Kim Phillips
On Mon, 9 Jan 2012 23:21:40 +0530 uma.shan...@samsung.com wrote: We are still keeping crc16.c file in fs/ext4 because the lib/crc16.c file ( Poly - x^16 + x^12 + x^5 + 1) is not compatible with Linux kernel crc implementation (Poly - x^16 + x^15 + x^2 + 1). I see that now - lib/crc16.c

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Chander Kashyap
Dear Simon, On 9 January 2012 23:25, Simon Glass s...@chromium.org wrote: Hi Chander, On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap chander.kash...@linaro.org wrote: This patchset add support for Samsung's SMDK5250 board based on EXYNOS5250 based SoC. It also adds support for MMC SPL

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Kyungmin Park
On 1/10/12, Chander Kashyap chander.kash...@linaro.org wrote: Dear Simon, On 9 January 2012 23:25, Simon Glass s...@chromium.org wrote: Hi Chander, On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap chander.kash...@linaro.org wrote: This patchset add support for Samsung's SMDK5250 board

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Wolfgang Denk
Dear Chander Kashyap, In message CANuQgHEWBf3ssfoLN6AqAU=kgstvegttakuntvnimu0jnua...@mail.gmail.com you wrote: Are you planning to reimplement most of these two files in C as per Wolfgang's comments on the TRATS board, or is that a separate issue? Not as of now. We have 14K for spl.

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-09 Thread Sughosh Ganu
On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: On 01/09/2012 11:28 AM, Sughosh Ganu wrote: snip --- a/arch/arm/cpu/arm926ejs/davinci/Makefile +++ b/arch/arm/cpu/arm926ejs/davinci/Makefile @@ -38,8 +38,11 @@ COBJS-$(CONFIG_DRIVER_TI_EMAC) += lxt972.o dp83848.o et1011c.o

  1   2   >