Re: [U-Boot] [RFC] [PATCH] Avoid R_ARM_ABS32 for bss start and end references -- tester(s) needed for non-ARM architectures also

2013-02-14 Thread Albert ARIBAUD
Hi Luka, On Thu, 14 Feb 2013 01:17:24 +0100, Luka Perkov l...@openwrt.org wrote: On Tue, Feb 12, 2013 at 06:27:27PM +0100, Albert ARIBAUD wrote: This patch SHOULD NOT BE applied in any official U-boot tree! It is submitted as an RFC and a request to test. I can confirm that this patch

Re: [U-Boot] [RFC] [PATCH] Avoid R_ARM_ABS32 for bss start and end references -- tester(s) needed for non-ARM architectures also

2013-02-14 Thread Andreas Bießmann
Hi Albert, On 02/14/2013 09:10 AM, Albert ARIBAUD wrote: Hi Luka, On Thu, 14 Feb 2013 01:17:24 +0100, Luka Perkov l...@openwrt.org wrote: On Tue, Feb 12, 2013 at 06:27:27PM +0100, Albert ARIBAUD wrote: This patch SHOULD NOT BE applied in any official U-boot tree! It is submitted as an

Re: [U-Boot] [PATCH] Introduced btrfs file-system with btrload command

2013-02-14 Thread Otavio Salvador
On Wed, Feb 13, 2013 at 4:07 PM, Adnan Ali adnan@codethink.co.uk wrote: This commit introduces btrfs file-system to read file I think we all know this is a commit ;-) so please start with: Introduces btrfs file-system ... from volume/sub-volumes with btrload command. This implementation

Re: [U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2013-02-14 Thread Andreas Bießmann
Dear Simon Glass, On 12/14/2012 07:49 AM, Simon Glass wrote: Move avr32 over to use generic global_data. Signed-off-by: Simon Glass s...@chromium.org this one produces compile warning in board.c for mimc200, I will try to fix it but can not test it on real hardware (cc'ing board maintainer).

Re: [U-Boot] [RFC] [PATCH] Avoid R_ARM_ABS32 for bss start and end references -- tester(s) needed for non-ARM architectures also

2013-02-14 Thread Albert ARIBAUD
Hi Andreas, On Thu, 14 Feb 2013 09:43:06 +0100, Andreas Bießmann andreas.de...@googlemail.com wrote: Hi Albert, On 02/14/2013 09:10 AM, Albert ARIBAUD wrote: Hi Luka, On Thu, 14 Feb 2013 01:17:24 +0100, Luka Perkov l...@openwrt.org wrote: On Tue, Feb 12, 2013 at 06:27:27PM

Re: [U-Boot] [PATCH] Introduced btrfs file-system with btrload command

2013-02-14 Thread Stefan Roese
On 14.02.2013 11:20, Otavio Salvador wrote: diff --git a/Makefile b/Makefile index 3305e8c..8d2855a 100644 --- a/Makefile +++ b/Makefile @@ -270,7 +270,8 @@ LIBS-y += fs/libfs.o \ fs/reiserfs/libreiserfs.o \ fs/ubifs/libubifs.o \ fs/yaffs2/libyaffs2.o \ -

[U-Boot] [PATCH] avr32: fix compile warning

2013-02-14 Thread Andreas Bießmann
From: Andreas Bießmann andreas.biessm...@corscience.de Commit 47a9789f25ce2bbc9860b3e11a09ecd79e4d9d46 introduced an compiler warning in arch/avr32/lib/board.c when setting the framebuffer address. This patch fixes this warning. Signed-off-by: Andreas Bießmann andreas.biessm...@corscience.de Cc:

Re: [U-Boot] [RFC] [PATCH] Avoid R_ARM_ABS32 for bss start and end references -- tester(s) needed for non-ARM architectures also

2013-02-14 Thread Andreas Bießmann
Hi Albert, On 02/14/2013 11:31 AM, Albert ARIBAUD wrote: Hi Andreas, On Thu, 14 Feb 2013 09:43:06 +0100, Andreas Bießmann andreas.de...@googlemail.com wrote: Hi Albert, On 02/14/2013 09:10 AM, Albert ARIBAUD wrote: I can on AVR32, would you provide the linker script (atstk1002

Re: [U-Boot] [PATCH] Introduced btrfs file-system with btrload command

2013-02-14 Thread Adnan Ali
On 14/02/13 10:42, Stefan Roese wrote: On 14.02.2013 11:20, Otavio Salvador wrote: diff --git a/Makefile b/Makefile index 3305e8c..8d2855a 100644 --- a/Makefile +++ b/Makefile @@ -270,7 +270,8 @@ LIBS-y += fs/libfs.o \ fs/reiserfs/libreiserfs.o \ fs/ubifs/libubifs.o \

[U-Boot] [PATCH 0/2] Add Arndale board support

2013-02-14 Thread Inderpal Singh
The Arndale board is based on samsung's exynos5250 SOC. First patch moves board specific options to board specific config file and the second patch adds the initial config and dts file for the arndale board. Inderpal Singh (2): smdk5250: move board specific options to board specific config

[U-Boot] [PATCH 1/2] smdk5250: move board specific options to board specific config file

2013-02-14 Thread Inderpal Singh
Signed-off-by: Inderpal Singh inderpal.si...@linaro.org --- include/configs/exynos5250-dt.h | 60 --- include/configs/smdk5250.h | 35 +++ 2 files changed, 35 insertions(+), 60 deletions(-) diff --git

[U-Boot] [PATCH 2/2] Exynos5: Arndale: Add support for exynos5250 based arndale board.

2013-02-14 Thread Inderpal Singh
The Arndale board is based on samsung's exynos5250 SOC. This patch adds a initial config and dts file. Signed-off-by: Inderpal Singh inderpal.si...@linaro.org --- This depends on the first 6 patches from Amar at [1] [1] http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/151523

[U-Boot] [PATCH v2] btrfs addition to uboot

2013-02-14 Thread Adnan Ali
Adnan Ali (1): Introduced btrfs file-system with btrload command Makefile |3 +- common/Makefile|1 + common/cmd_btr.c | 52 ++ fs/btrfs/Makefile | 51 ++ fs/btrfs/btrfs.c | 1131

[U-Boot] [PATCH v2] Introduced btrfs file-system with btrload command

2013-02-14 Thread Adnan Ali
Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code. --- Makefile |3 +- common/Makefile|1 + common/cmd_btr.c |

Re: [U-Boot] [PATCH v2] Introduced btrfs file-system with btrload command

2013-02-14 Thread Stefan Roese
On 14.02.2013 14:04, Adnan Ali wrote: Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code. Signed-off-by missing. And could you please add a more

Re: [U-Boot] [PATCH 4/4] x86: Remove 16-bit reset code

2013-02-14 Thread Simon Glass
Hi Graeme, On Sun, Feb 10, 2013 at 2:20 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Sat, Feb 9, 2013 at 3:42 AM, Simon Glass s...@chromium.org wrote: This code is not needed now, since we boot U-Boot from Coreboot on x86. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v2 4/5] x86: Rename CONFIG_NO_X86_RESET_VECTOR to CONFIG_X86_RESET_VECTOR

2013-02-14 Thread Simon Glass
Invert the polarity of this option to simplify the Makefile logic. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to invert CONFIG_NO_X86_RESET_VECTOR polarity README | 6 +++--- arch/x86/cpu/Makefile | 4 ++-- arch/x86/cpu/u-boot.lds

[U-Boot] [PATCH v2 3/5] x86: Remove unneeded cruft from main Makefile

2013-02-14 Thread Simon Glass
These lines are dealt with in the x86 Makefile and link script, so punt them. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to tidy up main Makefile Makefile | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index

[U-Boot] [PATCH v2 0/5] Remove old unused x86 boards and code

2013-02-14 Thread Simon Glass
As suggested by Graeme Russ this series attempts to remove old unused boards and code from x86 U-Boot. This includes: - Dumping the eNET boards - Dumping the SC520 CPU - Dumping 16-bit 'Real Mode' support (other than what is needed for the reset vector and protected mode switch) No restructuring

Re: [U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2013-02-14 Thread Simon Glass
Hi Andreas, On Thu, Feb 14, 2013 at 2:29 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Simon Glass, On 12/14/2012 07:49 AM, Simon Glass wrote: Move avr32 over to use generic global_data. Signed-off-by: Simon Glass s...@chromium.org this one produces compile warning in

Re: [U-Boot] [PATCH] avr32: fix compile warning

2013-02-14 Thread Simon Glass
On Thu, Feb 14, 2013 at 2:48 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: From: Andreas Bießmann andreas.biessm...@corscience.de Commit 47a9789f25ce2bbc9860b3e11a09ecd79e4d9d46 introduced an compiler warning in arch/avr32/lib/board.c when setting the framebuffer address. This patch

Re: [U-Boot] [PATCH 13/14] tegra114: add SPI driver

2013-02-14 Thread Simon Glass
Hi Allen, On Wed, Feb 13, 2013 at 2:59 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Subject: tegra114: add SPI driver This really touches the SPI sub-system more than Tegra, and the Tegra subsystem is just (and all of) Tegra not

Re: [U-Boot] [PATCH v2] Introduced btrfs file-system with btrload command

2013-02-14 Thread Adnan Ali
On 14/02/13 13:32, Stefan Roese wrote: On 14.02.2013 14:04, Adnan Ali wrote: Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code. Signed-off-by missing. And

Re: [U-Boot] [PATCH 01/12] cmd_sf: Add wr_inst argument to 'sf write' command

2013-02-14 Thread Simon Glass
Hi Jagan, On Wed, Jan 16, 2013 at 2:52 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Fri, Jan 11, 2013 at 7:41 AM, Simon Glass s...@chromium.org wrote: Hi Jagannadha, On Mon, Dec 31, 2012 at 3:13 AM, Jagannadha Sutradharudu Teki jagannadh.t...@gmail.com wrote: This patch

[U-Boot] support all dataflash for at91sam9g20ek_2mmc

2013-02-14 Thread John Stile
I am using uboot-2013.01, with at91sam9g20ek_2mmc and I am trying to build for dataflash, using at91bootstrap-1.16, and buildroot-2011.11 Initially I built for nand flash, with a patch to boards.cfg and at91sam9260ek.c This was fine if I used the reset button, but from a cold boot, startup

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
Thanks! On Thu, Feb 14, 2013 at 12:19 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Feb 13, 2013 at 02:44:47PM -0700, Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of

Re: [U-Boot] [PATCH v3 3/3] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-14 Thread Tom Warren
Stephen, On Wed, Feb 13, 2013 at 5:17 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/13/2013 02:44 PM, Tom Warren wrote: tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. Tested on Seaboard, fully functional. Tamonten boards (medcom-wide, plutux, and tec) use a

[U-Boot] AM335x : failure to boot SPL from NAND

2013-02-14 Thread Mark Jackson
I'm trying to diagnose why our AM335x based CPU board (based on the AM335x Starter Kit) can boot SPL and U-Boot from an MMC card, but is unable to boot from NAND (connected to CS0). Following the TI wiki

Re: [U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2013-02-14 Thread Andreas Bießmann
Hi Simon, On 02/14/2013 03:25 PM, Simon Glass wrote: Hi Andreas, On Thu, Feb 14, 2013 at 2:29 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Simon Glass, On 12/14/2012 07:49 AM, Simon Glass wrote: Move avr32 over to use generic global_data. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 1/3] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-14 Thread Tom Warren
Stephen, On Wed, Feb 13, 2013 at 5:10 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/13/2013 02:44 PM, Tom Warren wrote: Linux dts files were used for those boards that didn't already have sdhci info populated. Tamonten has their own dtsi file with common sdhci nodes (sourced from

Re: [U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

2013-02-14 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/14/2013 11:11 AM, Andreas Bie￟mann wrote: Hi Simon, On 02/14/2013 03:25 PM, Simon Glass wrote: Hi Andreas, On Thu, Feb 14, 2013 at 2:29 AM, Andreas Bie￟mann andreas.de...@googlemail.com wrote: Dear Simon Glass, On 12/14/2012 07:49

Re: [U-Boot] [PATCH 2/4] Tegra: Medcom-Wide: Enable NAND and boot script support

2013-02-14 Thread Stephen Warren
On 02/14/2013 12:54 AM, Thierry Reding wrote: Boot script support brings Medcom-Wide in line with other Tegra boards. In order to enable booting a Linux kernel with initial ramdisk, also add support for the new FIT image type. I don't care if you enable FIT on your boards, but I would like to

[U-Boot] usb storage/fatload: Should it work with SmartPhones?

2013-02-14 Thread ANDY KENNEDY
All, I was playing with the USB support within u-boot. I can see various jump-drives just fine. I attempted to plug in my smart phone (a Motorola) and run the 'usb start' command. The command detects that there is something on the USB wire, it even sees that there is a USB storage device, it

Re: [U-Boot] [PATCH v2 03/10] mx23evk: Adjust DRAM control register to use full 128MB of RAM

2013-02-14 Thread Marek Vasut
Dear Otavio Salvador, On Wed, Feb 13, 2013 at 7:33 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Wed, Feb 13, 2013 at 7:13 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, Adjust HW_DRAM_CTL14 to enable the chip selects to allow usage of full 128MB

Re: [U-Boot] support all dataflash for at91sam9g20ek_2mmc

2013-02-14 Thread John Stile
On Thu, 2013-02-14 at 07:20 -0800, John Stile wrote: I am using uboot-2013.01, with at91sam9g20ek_2mmc and I am trying to build for dataflash, using at91bootstrap-1.16, and buildroot-2011.11 Initially I built for nand flash, with a patch to boards.cfg and at91sam9260ek.c This was fine if

Re: [U-Boot] [PATCH v2 10/10] mx23_olinuxino: Add ethernet support

2013-02-14 Thread Marek Vasut
Dear Otavio Salvador, On Wed, Feb 13, 2013 at 7:36 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Wed, Feb 13, 2013 at 7:19 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, This adds support to the LAN9512 chip included in the board and extend the

Re: [U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-14 Thread Marek Vasut
Dear Lucas Stach, This moves out the Tegra EHCI driver from a platform specific directory to the standard driver/usb/host dir. This is a preparation needed to share this driver between Tegra20 and Tegra30. No functional change in here, so Tegra30 is still not working. Patch 6 could be a

Re: [U-Boot] [PATCH v2 10/10] mx23_olinuxino: Add ethernet support

2013-02-14 Thread Otavio Salvador
On Thu, Feb 14, 2013 at 2:44 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Wed, Feb 13, 2013 at 7:36 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Wed, Feb 13, 2013 at 7:19 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, This adds

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-02-14 Thread Jason Cooper
On Mon, Feb 11, 2013 at 02:46:57PM -0800, Prafulla Wadaskar wrote: -Original Message- From: Luka Perkov [mailto:l...@openwrt.org] Sent: 11 February 2013 02:08 To: Sebastian Hesselbarth Cc: Prafulla Wadaskar; u-boot@lists.denx.de; Rabeeh Khoury; Albert Aribaud; Andy Fleming;

Re: [U-Boot] [PATCH 03/14] tegra: spi: pull register structs out of headers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:32:44PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Move register structs from headers into .c files and use common name. This is in preparation of making common fdt front end for SPI drivers. Why not move all the register defines

Re: [U-Boot] [PATCH 2/4] Tegra: Medcom-Wide: Enable NAND and boot script support

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 10:19:28AM -0700, Stephen Warren wrote: On 02/14/2013 12:54 AM, Thierry Reding wrote: Boot script support brings Medcom-Wide in line with other Tegra boards. In order to enable booting a Linux kernel with initial ramdisk, also add support for the new FIT image type.

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 08:19:54AM +0100, Thierry Reding wrote: On Wed, Feb 13, 2013 at 02:44:47PM -0700, Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:30:26PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation for commonization and addition of tegra114_spi. This isn't logically quite right. Both types (sflash, slink) of

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:36:10PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation for commonization and addition of tegra114_spi. board/nvidia/common/uart-spi-switch.c |2 +-

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Allen Martin
On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple SPI drivers in the table, the first driver

Re: [U-Boot] [PATCH 01/14] tegra: spi: rename tegra SPI drivers

2013-02-14 Thread Stephen Warren
On 02/14/2013 12:58 PM, Allen Martin wrote: On Wed, Feb 13, 2013 at 02:30:26PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Rename tegra SPI drivers to tegra20_spi and tegra30_spi in preparation for commonization and addition of tegra114_spi. This isn't logically

[U-Boot] [PATCH] common/main: move set_working_fdt_addr to enable usage of $fdtaddr

2013-02-14 Thread Barak Wasserstrom
When using $fdtaddr in $bootcmd and $bootcmd is automatically called, $fdtaddr is yet not defined. Signed-off-by: Barak Wasserstrom wba...@gmail.com --- common/main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/main.c b/common/main.c index e2d2e09..77b9076

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Stephen Warren
On 02/14/2013 01:07 PM, Allen Martin wrote: On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple

Re: [U-Boot] [PATCH v3 1/3] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-14 Thread Stephen Warren
On 02/14/2013 09:14 AM, Tom Warren wrote: Stephen, On Wed, Feb 13, 2013 at 5:10 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/13/2013 02:44 PM, Tom Warren wrote: Linux dts files were used for those boards that didn't already have sdhci info populated. Tamonten has their own dtsi

[U-Boot] break command.

2013-02-14 Thread Sean Omalley
Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :)

[U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function arguments. I've tested this on my Seaboard and everything works fine, including card detect. For the other T20 boards, I've used

[U-Boot] [PATCH v4 1/4] fdt: Add dts/dtsi file include paths to DTC command line

2013-02-14 Thread Tom Warren
This requires a version of dtc that can handle the 'i' argument Signed-off-by: Tom Warren twar...@nvidia.com --- v4: new dts/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dts/Makefile b/dts/Makefile index 922c78c..2ef31e9 100644 --- a/dts/Makefile +++

[U-Boot] [PATCH v4 2/4] Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files

2013-02-14 Thread Tom Warren
Linux dts files were used for those boards that didn't already have sdhci info populated. Tamonten has their own dtsi file with common sdhci nodes (sourced from Linux). Signed-off-by: Tom Warren twar...@nvidia.com Tested-by: Thierry Reding thierry.red...@avionic-design.de --- v2: - cleanup

[U-Boot] [PATCH v4 3/4] Tegra: fdt: tamonten: Add common tamonten.dtsi file from linux

2013-02-14 Thread Tom Warren
Tamonten boards (medcom-wide, plutux, and tec) use a different/new dtsi file w/common settings. Signed-off-by: Tom Warren twar...@nvidia.com Acked-by: Thierry Reding thierry.red...@avionic-design.de --- v3: new v4: no change board/avionic-design/dts/tegra20-tamonten.dtsi | 489

[U-Boot] [PATCH v4 4/4] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-14 Thread Tom Warren
tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. Tested on Seaboard, fully functional. Tamonten boards (medcom-wide, plutux, and tec) use a different/new dtsi file w/common settings. Signed-off-by: Tom Warren twar...@nvidia.com Signed-off-by: Thierry Reding

[U-Boot] [PATCH v6 03/17] imx: mx5: lowlevel_init: Simplify code

2013-02-14 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Stefano Babic sba...@denx.de --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - New patch. Changes in v2: None

[U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
Add some abstraction to NFC defitnitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3:

[U-Boot] [PATCH v6 02/17] nand: mxc: Add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting from behavioral changes. Changes in v2: None arch/arm/include/asm/arch-mx5/imx-regs.h |9 +++

[U-Boot] [PATCH v6 04/17] imx: mx53ard: Add support for NAND Flash

2013-02-14 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by:

[U-Boot] [PATCH v6 09/17] arm1136: Remove redundant relocate_code() return

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch, extracted from nand: mxc: Switch NAND SPL to generic SPL. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm1136/start.S |2 -- 1 file changed, 2

[U-Boot] [PATCH v6 05/17] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-02-14 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: None Changes in v5: - Replace

[U-Boot] [PATCH v6 06/17] nand: mxc: Use appropriate page number in syndrome functions

2013-02-14 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v6 08/17] arm: relocate_code() is no longer noreturn

2013-02-14 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v6 07/17] arm: start.S: Fix _TEXT_BASE for SPL

2013-02-14 Thread Benoît Thébaudeau
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 13/17] Makefile: u-boot-with-spl.bin: Fix SPL padding

2013-02-14 Thread Benoît Thébaudeau
PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE instead. We want to use --pad-to with a size, but this option expects an address, so make addresses start at 0 with --change-addresses. This does not affect the binary image. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v6 12/17] arm: crt0.S: Remove bogus .globl

2013-02-14 Thread Benoît Thébaudeau
The purpose of .globl is to export symbols for ld, not to declare external symbols. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/lib/crt0.S | 21

[U-Boot] [PATCH v6 14/17] imx: Fix automatic make targets for imx images

2013-02-14 Thread Benoît Thébaudeau
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not

[U-Boot] [PATCH v6 16/17] arm926ejs: Remove deprecated and now unused NAND SPL

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/start.S | 10 -- 1 file changed, 10 deletions(-) diff --git

[U-Boot] [PATCH v6 17/17] arm: Remove unused relocate_code() parameters

2013-02-14 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch. Changes in v5:

[U-Boot] [PATCH v6 10/17] arm: relocate_code(): Remove useless relocation offset computation

2013-02-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm1136/start.S |1 - arch/arm/cpu/arm1176/start.S |1 - arch/arm/cpu/arm720t/start.S |

[U-Boot] [PATCH v6 15/17] nand: mxc: Switch NAND SPL to generic SPL

2013-02-14 Thread Benoît Thébaudeau
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - Automate 'u-boot.imx' and 'SPL' make targets for all imx processors. - Move board_init_f()

[U-Boot] [PATCH v6 11/17] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-02-14 Thread Benoît Thébaudeau
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca72, but applied to all ARM start.S. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes

Re: [U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Fabio Estevam
Hi Benoît, On Thu, Feb 14, 2013 at 7:14 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Add some abstraction to NFC defitnitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau

Re: [U-Boot] [PATCH 05/14] spi: add common fdt SPI driver interface

2013-02-14 Thread Allen Martin
On Thu, Feb 14, 2013 at 12:21:34PM -0800, Stephen Warren wrote: On 02/14/2013 01:07 PM, Allen Martin wrote: On Wed, Feb 13, 2013 at 02:40:29PM -0800, Stephen Warren wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Add a common interface to fdt based SPI drivers. Each driver is

Re: [U-Boot] [PATCH 13/14] tegra114: add SPI driver

2013-02-14 Thread Allen Martin
On Thu, Feb 14, 2013 at 06:32:06AM -0800, Simon Glass wrote: Hi Allen, On Wed, Feb 13, 2013 at 2:59 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/12/2013 08:23 PM, Allen Martin wrote: Subject: tegra114: add SPI driver This really touches the SPI sub-system more than Tegra, and

[U-Boot] [PATCH] powerpc/p1022ds: Add support for NAND and NAND boot using SPL

2013-02-14 Thread Matthew McClintock
Add defines needed to access NAND, remove second flash bank that is actually connected to NAND. Add nand booting support for P1022DS with hardcoded DDR config using SPL framework from 2011 Signed-off-by: Matthew McClintock m...@freescale.com Signed-off-by: Jerry Huang

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-02-14 Thread Jason Cooper
On Thu, Feb 14, 2013 at 01:35:47PM -0800, Daniel Stodden wrote: On Thu, 2013-02-14 at 13:38 -0500, Jason Cooper wrote: On Mon, Feb 11, 2013 at 02:46:57PM -0800, Prafulla Wadaskar wrote: -Original Message- From: Luka Perkov [mailto:l...@openwrt.org] Sent: 11 February

Re: [U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
Hi Fabio, On Thursday, February 14, 2013 10:39:43 PM, Fabio Estevam wrote: Hi Benoît, On Thu, Feb 14, 2013 at 7:14 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Add some abstraction to NFC defitnitions so that some parts of the current code can also be used for future

Re: [U-Boot] [PATCH v6 01/17] nand: mxc: Prepare to add support for i.MX5

2013-02-14 Thread Benoît Thébaudeau
On Thursday, February 14, 2013 10:14:26 PM, Benoît Thébaudeau wrote: Add some abstraction to NFC defitnitions so that some parts of the current ^ Typo detected. Will fix. code can also be used for future i.MX5 code. Clean

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Graeme Russ
Hi Simon, On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass s...@chromium.org wrote: This code is pretty old and we want to support only 32-bit systems now. Keep the real mode-to-protected code in case we want to boot an x86 from power-up, but invert the polarity of the option. Signed-off-by:

Re: [U-Boot] [PATCH v3 2/3] Tegra114: fdt: Update DT files with I2C info for T114/Dalmore

2013-02-14 Thread Tom Warren
Stephen/Laxman, On Tue, Feb 12, 2013 at 12:07 PM, Tom Warren twarren.nvi...@gmail.com wrote: Stephen, On Tue, Feb 12, 2013 at 11:10 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/12/2013 10:40 AM, Tom Warren wrote: Laxman, On Tue, Feb 12, 2013 at 5:02 AM, Laxman Dewangan

Re: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-02-14 Thread Daniel Stodden
On Thu, 2013-02-14 at 13:38 -0500, Jason Cooper wrote: On Mon, Feb 11, 2013 at 02:46:57PM -0800, Prafulla Wadaskar wrote: -Original Message- From: Luka Perkov [mailto:l...@openwrt.org] Sent: 11 February 2013 02:08 To: Sebastian Hesselbarth Cc: Prafulla Wadaskar;

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Marc Dietrich
Hi Tom, On Thursday 14 February 2013 14:03:57 Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function arguments. I've tested this on my Seaboard and everything

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
Marc, On Thu, Feb 14, 2013 at 3:48 PM, Marc Dietrich marvi...@gmx.de wrote: Hi Tom, On Thursday 14 February 2013 14:03:57 Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Stephen Warren
On 02/14/2013 03:48 PM, Marc Dietrich wrote: Hi Tom, On Thursday 14 February 2013 14:03:57 Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function arguments.

Re: [U-Boot] [PATCH v4 4/4] Tegra: MMC: Add DT support to MMC driver for all T20 boards

2013-02-14 Thread Stephen Warren
On 02/14/2013 02:04 PM, Tom Warren wrote: tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. Tested on Seaboard, fully functional. Tamonten boards (medcom-wide, plutux, and tec) use a different/new dtsi file w/common settings. diff --git a/drivers/mmc/tegra_mmc.c

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Stephen Warren
On 02/13/2013 02:44 PM, Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function arguments. I've tested this on my Seaboard and everything works fine, including

[U-Boot] [PATCH v2] tpm: Add TPM command library

2013-02-14 Thread Che-Liang Chiou
TPM command library implements a subset of TPM commands defined in TCG Main Specification 1.2 that are useful for implementing secure boot. More TPM commands could be added out of necessity. You may exercise these commands through the 'tpm' command. However, the raw TPM commands are too

Re: [U-Boot] [PATCH v3 0/3] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Tom Warren
Stephen, On Thu, Feb 14, 2013 at 4:27 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/13/2013 02:44 PM, Tom Warren wrote: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config

Re: [U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-14 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 17:27 +0100 schrieb Marek Vasut: Dear Lucas Stach, This moves out the Tegra EHCI driver from a platform specific directory to the standard driver/usb/host dir. This is a preparation needed to share this driver between Tegra20 and Tegra30. No functional

Re: [U-Boot] [PATCH v4 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

2013-02-14 Thread Lucas Stach
Am Donnerstag, den 14.02.2013, 14:03 -0700 schrieb Tom Warren: This patchset adds device-tree support to the Tegra MMC driver. All device config is done via properties in the DT files instead of hard-coded config options/function arguments. I've tested this on my Seaboard and everything

Re: [U-Boot] [PATCH v2 4/5] x86: Rename CONFIG_NO_X86_RESET_VECTOR to CONFIG_X86_RESET_VECTOR

2013-02-14 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass s...@chromium.org wrote: Invert the polarity of this option to simplify the Makefile logic. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to invert

Re: [U-Boot] [PATCH v2 3/5] x86: Remove unneeded cruft from main Makefile

2013-02-14 Thread Gabe Black
Acked-by: Gabe Black gabebl...@chromium.org On Thu, Feb 14, 2013 at 6:18 AM, Simon Glass s...@chromium.org wrote: These lines are dealt with in the x86 Makefile and link script, so punt them. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to tidy up main

Re: [U-Boot] [PATCH V5 REPOST 6/7] mmc: add bcm2835 driver

2013-02-14 Thread Stephen Warren
On 02/03/2013 04:27 AM, Albert ARIBAUD wrote: On Tue, 15 Jan 2013 19:26:58 -0700, Stephen Warren swar...@wwwdotorg.org wrote: This adds a simple driver for the BCM2835's SD controller. Workarounds are implemented for: * Register writes can't be too close to each-other in time, or they will

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
Hi Graeme, On Thu, Feb 14, 2013 at 2:36 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass s...@chromium.org wrote: This code is pretty old and we want to support only 32-bit systems now. Keep the real mode-to-protected code in case we want to

Re: [U-Boot] Patches for this merge window

2013-02-14 Thread Simon Glass
Hi Tom, On Mon, Feb 11, 2013 at 12:47 PM, Tom Rini tr...@ti.com wrote: [take 2 for me, gmail defaults to reply not reply-all] On Sun, Feb 10, 2013 at 11:48 PM, Simon Glass s...@google.com wrote: Hi Tom, I see quite a lot of non-x86 patches in my todo list - does that mean that I should

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Graeme Russ
Hi Simon, On Fri, Feb 15, 2013 at 2:35 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Thu, Feb 14, 2013 at 2:36 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Fri, Feb 15, 2013 at 1:18 AM, Simon Glass s...@chromium.org wrote: This code is pretty old and we want to

Re: [U-Boot] [PATCH v3 5/5] x86: Remove unused real mode code

2013-02-14 Thread Graeme Russ
Hi Simon, On Fri, Feb 15, 2013 at 2:38 PM, Simon Glass s...@chromium.org wrote: This code is pretty old and we want to support only 32-bit systems now. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Punt the real mode flag altogether Changes in v2: - Keep the real

Re: [U-Boot] [PATCH v2 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
Hi Graham, On Thu, Feb 14, 2013 at 7:47 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Fri, Feb 15, 2013 at 2:35 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Thu, Feb 14, 2013 at 2:36 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Fri, Feb 15, 2013 at 1:18

Re: [U-Boot] [PATCH v3 5/5] x86: Remove unused real mode code

2013-02-14 Thread Simon Glass
Hi Graeme, On Thu, Feb 14, 2013 at 7:48 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Fri, Feb 15, 2013 at 2:38 PM, Simon Glass s...@chromium.org wrote: This code is pretty old and we want to support only 32-bit systems now. Signed-off-by: Simon Glass s...@chromium.org ---

  1   2   >