[U-Boot] [PATCH] Add support for D-Link DUB-E100 h/w-rev C1

2013-03-05 Thread Vanveerdeghem, Simon
>From ae2858eecd529a697f0d510e66d2b142c47089f3 Mon Sep 17 00:00:00 2001 From: Simon Vanveerdeghem Date: Mon, 4 Mar 2013 16:27:02 +0100 Subject: [PATCH] Add support for D-Link DUB-E100 h/w-rev C1 Signed-off-by: Simon Vanveerdeghem --- drivers/usb/eth/asix.c |2 ++ 1 file changed, 2

Re: [U-Boot] [PATCH 2/2] Exynos5: spl: Reduce clock init in spl

2013-03-05 Thread Alim Akhtar
Hi Akshay, On Tue, Feb 19, 2013 at 8:01 PM, Akshay Saraswat wrote: > This patch subtracts a part of clock init from spl > and executes it after relocation. spl_clock_init > executes in spl and system_clock_init executes after > relocation in u-boot. This is done to gain some space by > removing i

Re: [U-Boot] [PATCH 1/2] Exynos5: spl: Reorganize mem_timing struct to gain space in spl

2013-03-05 Thread Alim Akhtar
Hi Akshay, On Tue, Feb 19, 2013 at 8:01 PM, Akshay Saraswat wrote: > Distributes struct mem_timings into new different structures > to gain space in spl by removing necessity of maintaining > two big and almost similar mem_timings instances. > > Signed-off-by: Akshay Saraswat > --- > This i

Re: [U-Boot] [PATCH] powerpc/85xx: Add workaround for errata USB-14 (enable on P204x/P3041/P50x0)

2013-03-05 Thread xulei
Hello, Wolfgang Thank you and I agree with you. It is a little ugly but because these registers info are not publicly, so I did not use C struct to describe them, then for this case it it ok or other method such as define a struct but keep all other registers and bits in this register rese

Re: [U-Boot] [PATCH] powerpc/85xx: Add workaround for errata USB-14 (enable on P204x/P3041/P50x0)

2013-03-05 Thread xulei
Hello, Wolfgang Thank you, will modify it in the next version. Regards Lei On Monday, 2013-03-04 at 10:24 +0100, Wolfgang Denk wrote: > Dear xulei, > > In message <1362368146-738-1-git-send-email-b33...@freescale.com> you wrote: > > > > + /* On P204x/P304x/P50x0 Rev1.0, USB transmit w

[U-Boot] [PATCH 0/2 v2] Exynos5: spl: Reduce spl size

2013-03-05 Thread Akshay Saraswat
This patch set tries to gain some space in spl by restructuring and reorganising some code in two different clock init's for two different times of execution. Compiler arm-2011.09: With patches u-boot-spl.bin size - 3900 bytes. Without patches u-boot-spl.bin size - 4924 bytes. Compiler arm-2009q3

[U-Boot] [PATCH 2/2 v2] Exynos5: spl: Reduce clock init in spl

2013-03-05 Thread Akshay Saraswat
This patch subtracts a part of clock init from spl and executes it after relocation. spl_clock_init executes in spl and system_clock_init executes after relocation in u-boot. This is done to gain some space by removing initially not necessary code. Signed-off-by: Akshay Saraswat --- Changes since

[U-Boot] [PATCH 1/2 v2] Exynos5: spl: Reorganize mem_timing struct to gain space in spl

2013-03-05 Thread Akshay Saraswat
Distributes struct mem_timings into new different structures to gain space in spl by removing necessity of maintaining two big and almost similar mem_timings instances. Signed-off-by: Akshay Saraswat --- Changes since v1: - None. board/samsung/smdk5250/clock_init.c| 177

[U-Boot] [PATCH RESEND v2 0/4] usb:gadget: USB Mass Storage Gadget

2013-03-05 Thread Piotr Wilczek
This patch series add support for the USB Mass Storage (UMS) New "ums" command provide access to on-device persistent memory. The storage_common.c and f_mass_storage.c source files are ported from v2.6.36 Linux kernel Changes in v2: - removed commented code; Lukasz Majewski (3): usb:composite:

[U-Boot] [PATCH RESEND v2 1/4] usb:composite: USB Mass Storage - storage_common.c from Linux kernel

2013-03-05 Thread Piotr Wilczek
From: Lukasz Majewski The storage_common.c source file from v2.6.36 Linux kernel. commit d26a6aa08b9f12b44fb1ee65625e7480d3d5bb81 Author: Michal Nazarewicz Date: Mon Nov 9 14:15:23 2009 +0100 USB: g_mass_storage: code cleaned up and comments updated Signed-off-by: Lukasz Majewski Signed-of

[U-Boot] [PATCH RESEND v2 3/4] usb:gadget: USB Mass Storage Gadget support

2013-03-05 Thread Piotr Wilczek
From: Lukasz Majewski This patch adds the USB Mass Storage Gadget to u-boot New command called "ums" is implemented to provide access to on-device embedded persistent memory. USB Mass Storage is supposed to work on top of the USB Gadget framework Signed-off-by: Lukasz Majewski Signed-off-by: P

[U-Boot] [PATCH RESEND v2 4/4] arm:trats: Use new ums command

2013-03-05 Thread Piotr Wilczek
From: Lukasz Majewski This patch enables new "ums" command on Trats board Signed-off-by: Lukasz Majewski Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: None board/samsung/trats/trats.c | 63 +++ include

Re: [U-Boot] [PATCH] ARM: global_data: make tbl long long

2013-03-05 Thread Wolfgang Denk
Dear Dirk, In message <5134adb7.2000...@de.bosch.com> you wrote: > > Many thanks for this explanation! You are welcome... > This patch is obsolete now, replaced by > > http://patchwork.ozlabs.org/patch/224740/ Thanks, looks good to me. I hesitate to add an Acked-by: or even Reviewed-by: as t

[U-Boot] [PATCH RESEND v2 0/4] usb:gadget: USB Mass Storage Gadget

2013-03-05 Thread y
From: Piotr Wilczek This patch series add support for the USB Mass Storage (UMS) New "ums" command provide access to on-device persistent memory. The storage_common.c and f_mass_storage.c source files are ported from v2.6.36 Linux kernel Changes in v2: - removed commented code; Lukasz Majewski

[U-Boot] [PATCH RESEND v2 1/4] usb:composite: USB Mass Storage - storage_common.c from Linux kernel

2013-03-05 Thread y
From: Lukasz Majewski The storage_common.c source file from v2.6.36 Linux kernel. commit d26a6aa08b9f12b44fb1ee65625e7480d3d5bb81 Author: Michal Nazarewicz Date: Mon Nov 9 14:15:23 2009 +0100 USB: g_mass_storage: code cleaned up and comments updated Signed-off-by: Lukasz Majewski Signed-of

[U-Boot] [PATCH RESEND v2 3/4] usb:gadget: USB Mass Storage Gadget support

2013-03-05 Thread y
From: Lukasz Majewski This patch adds the USB Mass Storage Gadget to u-boot New command called "ums" is implemented to provide access to on-device embedded persistent memory. USB Mass Storage is supposed to work on top of the USB Gadget framework Signed-off-by: Lukasz Majewski Signed-off-by: P

[U-Boot] [PATCH RESEND v2 4/4] arm:trats: Use new ums command

2013-03-05 Thread y
From: Lukasz Majewski This patch enables new "ums" command on Trats board Signed-off-by: Lukasz Majewski Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: None board/samsung/trats/trats.c | 63 +++ include

[U-Boot] [PATCH V7 00/10] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-03-05 Thread Amar
This patch set enables and initialises DWMMC for Exynos5250 on SMDK5250. Adds driver changes required for DWMMC. Adds FDT support for DWMMC. Adds EMMC boot support for SMDK5250. This patch set is based on: "EXYNOS: mmc: support DesignWare Controller for Samsung-SoC", which is merged in u-boot-mmc.

[U-Boot] [PATCH V7 01/10] FDT: Add compatible string for DWMMC

2013-03-05 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung --- Changes since V1: No change. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No chang

[U-Boot] [PATCH V7 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-03-05 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH V7 03/10] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-03-05 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar Acked-by: Jaehoon Ch

[U-Boot] [PATCH V7 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-03-05 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same signatur

[U-Boot] [PATCH V7 05/10] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-03-05 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)

[U-Boot] [PATCH V7 06/10] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-03-05 Thread Amar
This patch enables and initialises DWMMC for SMDK5250. Supports both FDT and non-FDT. This patch creates a new file 'exynos5-dt.c' meant for FDT support. exynos5-dt.c: This file shall contain all code which supports FDT. Any addition of FDT support for any module n

[U-Boot] [PATCH V7 07/10] MMC: APIs to support resize of EMMC boot partition

2013-03-05 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change.

[U-Boot] [PATCH V7 08/10] SMDK5250: Enable EMMC booting

2013-03-05 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of comm

[U-Boot] [PATCH V7 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-03-05 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message a

[U-Boot] [PATCH V7 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-03-05 Thread Amar
This patch adds FDT and non-FDT support for I2C, and initialise the I2C channels. Signed-off-by: Amar --- Changes since V4: New patch. Changes since V5: 1)Removed the function call i2c_init() present inside the function board_i2c_init(). Changes since V6: No chan

[U-Boot] [PATCH 0/5 v4] Add ACE HW support for SHA 256

2013-03-05 Thread Akshay Saraswat
This patch set adds hardware acceleration for SHA 256 with the help of ACE. Changes since v1: - Patch-1: Fixed few nits. - Patch-2: Removed not required config. - Patch-3: Added sha256 to hash command instead of new sha256 command. Changes since v2: - Patch-1:

[U-Boot] [PATCH 1/5 v4] Exynos: Add hardware accelerated SHA 256

2013-03-05 Thread Akshay Saraswat
SHA-256 and SHA-1 accelerated using ACE hardware. Tested with command "hash sha256 0x40008000 0x2B 0x40009000". Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat ---

[U-Boot] [PATCH 2/5 v4] Exynos: config: Enable ACE HW for SHA 256 for Exynos

2013-03-05 Thread Akshay Saraswat
This enables SHA 256 for exynos. Tested with command "hash sha256 0x40008000 0x2B 0x40009000". Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat Acked-by: Simon Glas

[U-Boot] [PATCH 3/5 v4] gen: Change return type to int for hash_func_ws function pointer

2013-03-05 Thread Akshay Saraswat
This patch changes return type for hash_func_ws function pointer to int because hash.c is the host for all the crypto algorithm requests. Ace h/w acceleration as of now and many more to be included in future may require a type to convey the result ("encoding success or failure") to the caller. Sig

[U-Boot] [PATCH 4/5 v4] gen: Add ACE acceleration to hash

2013-03-05 Thread Akshay Saraswat
ACE H/W acceleration support is added to hash which can be used to test SHA 256 hash algorithm. Tested with command "hash sha256 0x40008000 0x2B 0x40009000". Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN

[U-Boot] [PATCH 5/5 v4] Exynos: config: Enable hash command

2013-03-05 Thread Akshay Saraswat
This enables hash command. Tested with command "hash sha256 0x40008000 0x2B 0x40009000". Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat --- Changes since v2:

Re: [U-Boot] [PATCH v2 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-03-05 Thread Vivek Gautam
Hi, On Thu, Feb 14, 2013 at 10:22 AM, Simon Glass wrote: > Hi, > > On Tue, Feb 12, 2013 at 10:26 PM, Vivek Gautam > wrote: >> With current FDT support driver tries to parse device node >> twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't >> happen ideally. >> Making provision to st

[U-Boot] [PATCH 1/2] SMDK5250: Fix compiler warning for non-dt systems

2013-03-05 Thread Vivek Gautam
Compiling for non-dt systems gives folowing warning: smdk5250.c: In function 'board_eth_init': smdk5250.c:152:6: warning: unused variable 'node' [-Wunused-variable] Declare variable 'node' only for dt enabled systems to remove this warning. Signed-off-by: Vivek Gautam --- board/samsung/smdk5250

[U-Boot] [PATCH 2/2] spi: exynos: Fix compiler warnings for non-dt systems

2013-03-05 Thread Vivek Gautam
Enclosing process_nodes() and spi_get_config() inside CONFIG_OF_CONTROL, since they are compiled only for DT systems. This fixes following warning: exynos_spi.c:391:12: warning: 'process_nodes' defined but not used [-Wunused-function] Signed-off-by: Vivek Gautam --- drivers/spi/exynos_spi.c |

Re: [U-Boot] DFU on OMAP4?

2013-03-05 Thread Michael Cashwell
On Feb 20, 2013, at 2:52 AM, Lukasz Majewski wrote: > Hi Michael, > >> Greetings, >> >> I've been trying to do some feasibility (performance / features) testing of >> DFU to see if it might work on a project I'm involved with. Due to >> architecture similarities I'm trying to do this using a

Re: [U-Boot] [PATCH 3/5] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Tom Warren
On Mon, Mar 4, 2013 at 5:28 PM, Stephen Warren wrote: > On 03/04/2013 04:11 PM, Tom Warren wrote: >> Stephen, >> >> On Wed, Feb 27, 2013 at 11:08 AM, Stephen Warren >> wrote: >>> On 02/27/2013 09:59 AM, Tom Warren wrote: Stephen, On Tue, Feb 26, 2013 at 4:26 PM, Stephen Warren >

[U-Boot] [PATCH] VCMA9: Enable CONFIG_CMD_NAND_YAFFS

2013-03-05 Thread Tom Rini
As this board has NAND and supports YAFFS2, add CONFIG_MD_NAND_YAFFS Cc: David Müller Signed-off-by: Tom Rini --- include/configs/VCMA9.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h index fb7d922..2b3d59f 100644 --- a/include/configs/

Re: [U-Boot] [PATCH 1/2 v2] Exynos5: spl: Reorganize mem_timing struct to gain space in spl

2013-03-05 Thread Alim Akhtar
Hi Akshay, On Tue, Mar 5, 2013 at 4:23 PM, Akshay Saraswat wrote: > Distributes struct mem_timings into new different structures > to gain space in spl by removing necessity of maintaining > two big and almost similar mem_timings instances. > > Signed-off-by: Akshay Saraswat > --- > Now board bo

Re: [U-Boot] [PATCH 2/2 v2] Exynos5: spl: Reduce clock init in spl

2013-03-05 Thread Alim Akhtar
Hi Akshay On Tue, Mar 5, 2013 at 4:23 PM, Akshay Saraswat wrote: > This patch subtracts a part of clock init from spl > and executes it after relocation. spl_clock_init > executes in spl and system_clock_init executes after > relocation in u-boot. This is done to gain some space by > removing ini

[U-Boot] [PATCH v2 0/6] Tegra30: MMC: Add DT-based MMC driver for Tegra30/Cardhu

2013-03-05 Thread Tom Warren
This patchset adds SDMMC device-tree support to the Tegra30 dts files, and enables the Tegra MMC driver on Tegra30 Cardhu. I've tested this on my Cardhu-A04 and everything works fine, including card detect. All Tegra boards also build w/o error, and Seaboard MMC functionality is unchanged. Change

[U-Boot] [PATCH v2 1/6] Tegra30: fdt: Add SDMMC (sdhci) nodes for T30 boards (Cardhu for now)

2013-03-05 Thread Tom Warren
Took these values directly from the kernel dts files. Signed-off-by: Tom Warren --- v2: - no change arch/arm/dts/tegra30.dtsi | 32 board/nvidia/dts/tegra30-cardhu.dts | 15 +++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --

[U-Boot] [PATCH v2 3/6] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Tom Warren
T30 requires specific SDMMC pad programming, and bus power-rail bringup. Signed-off-by: Tom Warren --- v2: - rewrite pad_init_mmc to use mmc_id instead of SDMMC base address - add PMU-specific comments to board_sdmmc_voltage_init sequence board/nvidia/cardhu/cardhu.c | 51

[U-Boot] [PATCH v2 2/6] Tegra: MMC: Added/update SDMMC registers/base addresses for T20/T30

2013-03-05 Thread Tom Warren
Removed SDMMC base addresses from tegra.h since they're no longer used. Added pad control settings for T30 from the TRM, and added additional vendor-specific SD/MMC registers and bus power defines. Signed-off-by: Tom Warren --- v2: - change pad_init_mmc prototype - remove all TEGRA_SDMMCx_BASE de

[U-Boot] [PATCH v2 6/6] Tegra30: MMC: Enable DT MMC driver support for Tegra30 Cardhu boards

2013-03-05 Thread Tom Warren
Tested on my Cardhu-A04 tablet, eMMC and SD-Card work fine, can load a kernel off of an SD card OK, card detect works, and the env is now stored in eMMC (end of the 2nd 'boot' sector, same as Tegra20). Signed-off-by: Tom Warren --- v2: - no change include/configs/cardhu.h | 20 +++

[U-Boot] [PATCH v2 5/6] Tegra30: mmc: Add Tegra30 SDMMC compatible entry to fdtdec & driver

2013-03-05 Thread Tom Warren
Tegra30 SD/MMC controller differs enough from Tegra20 that it needs its own entry in the compat_names/compat_id tables and in the Tegra MMC driver. Signed-off-by: Tom Warren --- v2: new include/fdtdec.h |3 ++- lib/fdtdec.c |1 + 2 files changed, 3 insertions(+), 1 deletions(-) dif

[U-Boot] [PATCH v2 4/6] mmc: Tegra: Add SD bus power/voltage function and MMC pad init call.

2013-03-05 Thread Tom Warren
Tegra30 requires the SD Bus Voltage & Power bits be set in the SD Power Control register. Tegra20 works w/o them set, but do it anyway for those SoCs as it's part of the SD spec. Also call a common board pad init routine (pad_init_mmc) in mmc_reset(), used by Tegra30 only for now. Note that Tegra2

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-03-05 Thread Jagan Teki
Hi Tom, On Tue, Mar 5, 2013 at 2:38 AM, Tom Rini wrote: > On Sat, Mar 02, 2013 at 01:59:38PM +0530, Jagan Teki wrote: > > [snip] >> Since these changes I have sent long back, I am just re-modified the >> framework to >> add new features at the same time with backward comparability for >> current

Re: [U-Boot] [PATCH 3/5] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Stephen Warren
On 03/05/2013 08:28 AM, Tom Warren wrote: > On Mon, Mar 4, 2013 at 5:28 PM, Stephen Warren wrote: >> On 03/04/2013 04:11 PM, Tom Warren wrote: >>> On Wed, Feb 27, 2013 at 11:08 AM, Stephen Warren >>> wrote: On 02/27/2013 09:59 AM, Tom Warren wrote: > On Tue, Feb 26, 2013 at 4:26 PM, Ste

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-03-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2013 12:00 PM, Jagan Teki wrote: > Hi Tom, > > On Tue, Mar 5, 2013 at 2:38 AM, Tom Rini wrote: >> On Sat, Mar 02, 2013 at 01:59:38PM +0530, Jagan Teki wrote: >> >> [snip] >>> Since these changes I have sent long back, I am just >>> re-modif

Re: [U-Boot] [PATCH 3/5] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Tom Warren
On Tue, Mar 5, 2013 at 10:03 AM, Stephen Warren wrote: > On 03/05/2013 08:28 AM, Tom Warren wrote: >> On Mon, Mar 4, 2013 at 5:28 PM, Stephen Warren wrote: >>> On 03/04/2013 04:11 PM, Tom Warren wrote: On Wed, Feb 27, 2013 at 11:08 AM, Stephen Warren wrote: > On 02/27/2013 09:59 A

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-03-05 Thread Jagan Teki
Hi Tom, On Tue, Mar 5, 2013 at 10:38 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/05/2013 12:00 PM, Jagan Teki wrote: >> Hi Tom, >> >> On Tue, Mar 5, 2013 at 2:38 AM, Tom Rini wrote: >>> On Sat, Mar 02, 2013 at 01:59:38PM +0530, Jagan Teki wrote: >>> >>> [snip]

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-03-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2013 12:21 PM, Jagan Teki wrote: > Hi Tom, > > On Tue, Mar 5, 2013 at 10:38 PM, Tom Rini wrote: On > 03/05/2013 12:00 PM, Jagan Teki wrote: Hi Tom, On Tue, Mar 5, 2013 at 2:38 AM, Tom Rini wrote: > On Sat, Mar 02, 2

Re: [U-Boot] [PATCH 3/5] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Stephen Warren
On 03/05/2013 10:21 AM, Tom Warren wrote: > On Tue, Mar 5, 2013 at 10:03 AM, Stephen Warren wrote: >> On 03/05/2013 08:28 AM, Tom Warren wrote: >>> On Mon, Mar 4, 2013 at 5:28 PM, Stephen Warren >>> wrote: On 03/04/2013 04:11 PM, Tom Warren wrote: > On Wed, Feb 27, 2013 at 11:08 AM, Ste

Re: [U-Boot] [PATCH v2 3/6] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Stephen Warren
On 03/05/2013 09:29 AM, Tom Warren wrote: > T30 requires specific SDMMC pad programming, and bus power-rail bringup. > diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > +void pad_init_mmc(struct mmc_host *host) > + if (id == PERIPH_ID_SDMMC1) { > + val = re

Re: [U-Boot] [PATCH v2 3/6] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Tom Warren
On Tue, Mar 5, 2013 at 10:55 AM, Stephen Warren wrote: > On 03/05/2013 09:29 AM, Tom Warren wrote: >> T30 requires specific SDMMC pad programming, and bus power-rail bringup. > >> diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > >> +void pad_init_mmc(struct mmc_host *host)

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-03-05 Thread Jagan Teki
Hi Tom, On Tue, Mar 5, 2013 at 11:15 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/05/2013 12:21 PM, Jagan Teki wrote: >> Hi Tom, >> >> On Tue, Mar 5, 2013 at 10:38 PM, Tom Rini wrote: On >> 03/05/2013 12:00 PM, Jagan Teki wrote: > Hi Tom, > > On Tue

Re: [U-Boot] [PATCH v2 3/6] Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines

2013-03-05 Thread Stephen Warren
On 03/05/2013 11:23 AM, Tom Warren wrote: > On Tue, Mar 5, 2013 at 10:55 AM, Stephen Warren wrote: >> On 03/05/2013 09:29 AM, Tom Warren wrote: >>> T30 requires specific SDMMC pad programming, and bus power-rail bringup. >> >>> diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c

Re: [U-Boot] dtb vs. kernel command line arguments

2013-03-05 Thread Simon Glass
Hi Kim, On Mon, Mar 4, 2013 at 4:03 PM, Kim Phillips wrote: > On Mon, 4 Mar 2013 10:30:45 -0800 > Curt Brune wrote: > >> Hello - >> >> I want to pass a number of arguments from u-boot to the booted kernel. >> The arguments are needed by user space applications, not the kernel. >> >> I can think

Re: [U-Boot] [PATCH 1/5 v4] Exynos: Add hardware accelerated SHA 256

2013-03-05 Thread Simon Glass
Hi Akshay, On Tue, Mar 5, 2013 at 5:19 AM, Akshay Saraswat wrote: > SHA-256 and SHA-1 accelerated using ACE hardware. > > Tested with command "hash sha256 0x40008000 0x2B 0x40009000". > Used mm and md to write a standard string to memory location > 0x40008000 and ran the above command to verify t

Re: [U-Boot] Beginners Questions on modding a NAS

2013-03-05 Thread JPT
Hi, wow, thanks. bootm worked fine. :) *** Next step, booting from disk I created a root fs on USB drive and tried to boot it. usb start ext2load usb 0:1 0x0200 /boot/kernel-DUO-1.0.22 bootm this works, but the kernel doesn't know where to find the root partition. how do I have to pass th

Re: [U-Boot] dtb vs. kernel command line arguments

2013-03-05 Thread Tom Rini
On Tue, Mar 05, 2013 at 11:16:17AM -0800, Simon Glass wrote: > Hi Kim, > > On Mon, Mar 4, 2013 at 4:03 PM, Kim Phillips > wrote: > > On Mon, 4 Mar 2013 10:30:45 -0800 > > Curt Brune wrote: > > > >> Hello - > >> > >> I want to pass a number of arguments from u-boot to the booted kernel. > >> The

Re: [U-Boot] [PATCH] Add support for D-Link DUB-E100 h/w-rev C1

2013-03-05 Thread Marek Vasut
Dear Vanveerdeghem, Simon, CCing Joe > From ae2858eecd529a697f0d510e66d2b142c47089f3 Mon Sep 17 00:00:00 2001 > > From: Simon Vanveerdeghem > > Date: Mon, 4 Mar 2013 16:27:02 +0100 > > Subject: [PATCH] Add support for D-Link DUB-E100 h/w-rev C1 > > > > > > Signed-off-by: Simon Vanveerdeg

Re: [U-Boot] DFU on OMAP4?

2013-03-05 Thread Tom Rini
On Tue, Mar 05, 2013 at 09:30:18AM -0500, Michael Cashwell wrote: > On Feb 20, 2013, at 2:52 AM, Lukasz Majewski wrote: > > > Hi Michael, > > > >> Greetings, > >> > >> I've been trying to do some feasibility (performance / features) testing > >> of DFU to see if it might work on a project I'm

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-03-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2013 01:34 PM, Jagan Teki wrote: >> Okay.. what I understand is - Currently, all the flash supported >> commands are provided to user as choice. what what i suppose to >> implement. He needs to choose the best option based on what the >> cont

Re: [U-Boot] Beginners Questions on modding a NAS

2013-03-05 Thread Michael Cashwell
On Mar 5, 2013, at 2:25 PM, JPT wrote: > Hi, > > wow, thanks. bootm worked fine. :) Spiffy. > *** Next step, booting from disk > I created a root fs on USB drive and tried to boot it. > > usb start > ext2load usb 0:1 0x0200 /boot/kernel-DUO-1.0.22 > bootm > > this works, but the kernel d

Re: [U-Boot] [PATCH] powerpc/85xx: Add workaround for errata USB-14 (enable on P204x/P3041/P50x0)

2013-03-05 Thread Wolfgang Denk
Dear Xu Lei-B33228, Please do not top post / full quote. Thanks. In message <8cb6a38adf9e994697ff8a45e96e0853388...@039-sn1mpn1-004.039d.mgd.msft.net> you wrote: > > Thank you and I agree with you. It is a little ugly but because these > registers info are not publicly, so I did not us

Re: [U-Boot] [PATCH V7 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-03-05 Thread Wolfgang Denk
Dear Amar, In message <1362489090-7745-10-git-send-email-amarendra...@samsung.com> you wrote: > This patch adds commands to access(open/close) and resize boot partitions on > EMMC. > > Signed-off-by: Amar > Acked-by: Simon Glass Can you please make this code conditional, so only boards that

Re: [U-Boot] [PATCH V7 07/10] MMC: APIs to support resize of EMMC boot partition

2013-03-05 Thread Wolfgang Denk
Dear Amar, In message <1362489090-7745-8-git-send-email-amarendra...@samsung.com> you wrote: > This patch adds APIs to access(open / close) and to resize boot partiton of > EMMC. Can you please make this code conditional, so only boards that want this feature (and actually use EMMC) suffer from

Re: [U-Boot] dtb vs. kernel command line arguments

2013-03-05 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > > please don't dual-purpose device trees as a mechanism of getting > > arguments through the kernel into userspace - device trees strictly > > describe the hardware. > > That's certainly the primary purpose, but it is also true that the > device tree is a

[U-Boot] [PATCH] MAKEALL: allow regex matches for -s option

2013-03-05 Thread Stephen Warren
From: Stephen Warren This allows: MAKEALL -s tegra* to replace: MAKEALL -s tegra20 -s tegra30 -s tegra114 Signed-off-by: Stephen Warren --- MAKEALL |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAKEALL b/MAKEALL index 5b06c54..0ed6986 100755 --- a/MAKEALL +++ b/

Re: [U-Boot] [PATCH] MAKEALL: allow regex matches for -s option

2013-03-05 Thread Wolfgang Denk
Dear Stephen Warren, In message <1362518101-5742-1-git-send-email-swar...@wwwdotorg.org> you wrote: > From: Stephen Warren > > This allows: > > MAKEALL -s tegra* > > to replace: > > MAKEALL -s tegra20 -s tegra30 -s tegra114 > > Signed-off-by: Stephen Warren > --- > MAKEALL |4 ++-- > 1

Re: [U-Boot] [PATCH] MAKEALL: allow regex matches for -s option

2013-03-05 Thread Stephen Warren
On 03/05/2013 02:37 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <1362518101-5742-1-git-send-email-swar...@wwwdotorg.org> you wrote: >> From: Stephen Warren >> >> This allows: >> >> MAKEALL -s tegra* >> >> to replace: >> >> MAKEALL -s tegra20 -s tegra30 -s tegra114 >> >> Signed-

Re: [U-Boot] [PATCH 1/2 v2] Exynos5: spl: Reorganize mem_timing struct to gain space in spl

2013-03-05 Thread Simon Glass
Hi Akshay, On Tue, Mar 5, 2013 at 2:53 AM, Akshay Saraswat wrote: > Distributes struct mem_timings into new different structures > to gain space in spl by removing necessity of maintaining > two big and almost similar mem_timings instances. > > Signed-off-by: Akshay Saraswat > --- > Changes sinc

Re: [U-Boot] [PATCH 2/2 v2] Exynos5: spl: Reduce clock init in spl

2013-03-05 Thread Simon Glass
Hi Akshay, On Tue, Mar 5, 2013 at 2:53 AM, Akshay Saraswat wrote: > This patch subtracts a part of clock init from spl > and executes it after relocation. spl_clock_init > executes in spl and system_clock_init executes after > relocation in u-boot. This is done to gain some space by > removing in

Re: [U-Boot] [PATCH 4/5 v4] gen: Add ACE acceleration to hash

2013-03-05 Thread Kim Phillips
On Tue, 5 Mar 2013 08:19:59 -0500 Akshay Saraswat wrote: > Tested with command "hash sha256 0x40008000 0x2B 0x40009000". > Used mm and md to write a standard string to memory location > 0x40008000 and ran the above command to verify the output. patches 1,2,4,5 all contain this "tested with" text

Re: [U-Boot] [PATCH] MAKEALL: allow regex matches for -s option

2013-03-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2013 04:43 PM, Stephen Warren wrote: > On 03/05/2013 02:37 PM, Wolfgang Denk wrote: >> Dear Stephen Warren, >> >> In message >> <1362518101-5742-1-git-send-email-swar...@wwwdotorg.org> you >> wrote: >>> From: Stephen Warren >>> >>> This all

Re: [U-Boot] [PATCH] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-05 Thread Marek Vasut
Dear Lukasz Majewski, > Hi Marek, > > > Dear Lukasz Majewski, > > > > > This commit fixes problems with some non-standard requests send with > > > device address instead of interface address (bmRequestType.Receipent > > > field). > > > > > > This happens with dfu-util (debian version: 0.5), whi

Re: [U-Boot] [PATCH] MAKEALL: allow regex matches for -s option

2013-03-05 Thread Stephen Warren
On 03/05/2013 04:08 PM, Tom Rini wrote: > On 03/05/2013 04:43 PM, Stephen Warren wrote: >> On 03/05/2013 02:37 PM, Wolfgang Denk wrote: >>> Dear Stephen Warren, >>> >>> In message >>> <1362518101-5742-1-git-send-email-swar...@wwwdotorg.org> you >>> wrote: From: Stephen Warren This a

Re: [U-Boot] [PATCH] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2013 06:24 PM, Marek Vasut wrote: > Dear Lukasz Majewski, > >> Hi Marek, >> >>> Dear Lukasz Majewski, >>> This commit fixes problems with some non-standard requests send with device address instead of interface address (bmReq

Re: [U-Boot] [PATCH] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-05 Thread Marek Vasut
Dear Tom Rini, > On 03/05/2013 06:24 PM, Marek Vasut wrote: > > Dear Lukasz Majewski, > > > >> Hi Marek, > >> > >>> Dear Lukasz Majewski, > >>> > This commit fixes problems with some non-standard requests > send with device address instead of interface address > (bmRequestType.Re

Re: [U-Boot] [PATCH] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-05 Thread Tom Rini
On Wed, Mar 06, 2013 at 12:54:45AM +0100, Marek Vasut wrote: > Dear Tom Rini, > > > On 03/05/2013 06:24 PM, Marek Vasut wrote: > > > Dear Lukasz Majewski, > > > > > >> Hi Marek, > > >> > > >>> Dear Lukasz Majewski, > > >>> > > This commit fixes problems with some non-standard requests > >

[U-Boot] [PATCH v6 01/31] Introduce generic u-boot.h file

2013-03-05 Thread Simon Glass
This file holds the board info structure. We need this to be generic for the unified board series, so create a structure which contains the basic fields required by the main architectures. Signed-off-by: Simon Glass --- Changes in v6: - Add bi_ip_addr field back into struct bd_info Changes in v5

[U-Boot] [PATCH v6 04/31] arm: Use sections header to obtain link symbols

2013-03-05 Thread Simon Glass
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: - Remove avr32 changes from what should be an arm patch Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h Changes in v3: None Cha

[U-Boot] [PATCH v6 03/31] Introduce generic link section.h symbol files

2013-03-05 Thread Simon Glass
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us. Each

[U-Boot] [PATCH v6 08/31] Declare watchdog functions in watchdog.h

2013-03-05 Thread Simon Glass
These functions are only available for powerpc and are not declared in a header file. We want to use the rest function in two places (board_f and board_r), so declare the functions in watchdog.h. Signed-off-by: Simon Glass --- Changes in v6: - Fix up watchdog support for m68k and sh Changes in v

[U-Boot] [PATCH v6 12/31] arm: Remove use of board_early_init_r/last_stage_init()

2013-03-05 Thread Simon Glass
These boards define CONFIG_LAST_STAGE_INIT and CONFIG_BOARD_EARLY_INIT_R but these options are not available on ARM. Move them into the powerpc common file instead. This change affects: km_kirkwood_pci, mgcoge3un, kmnusa, kmcoge5un, km_kirkwood and portl2. Signed-off-by: Simon Glass --- Changes

[U-Boot] [PATCH v6 06/31] Introduce a basic initcall implementation

2013-03-05 Thread Simon Glass
This library supports calling a list of functions one after the other. It is intended that we move to a more powerful initcall implementation as proposed by Graeme Russ . For now, this allows us to do the basics. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: - Add debug() cod

[U-Boot] [PATCH v6 05/31] Change stub example to use asm-generic/sections.h

2013-03-05 Thread Simon Glass
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass --- Changes in v6: - Remove x86: nds32: tags from stub example patch Changes in v5: - Adjust u-boot-nds32.h link symbols to keep U-Boot building Changes in v4: - Us

[U-Boot] [PATCH v6 07/31] Define CONFIG_SYS_LEGACY_BOARD everywhere

2013-03-05 Thread Simon Glass
We are introducing a new unified board setup and we want this to be the default. So we need to opt all architectures out first. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None README| 11 +

[U-Boot] [PATCH v6 11/31] Add spl load feature

2013-03-05 Thread Simon Glass
This adds secondary program loader support to the generic board. Signed-off-by: Simon Glass --- Changes in v6: - Unify code in reserve_stacks() and reserve_stacks_spl() Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/board_f.c | 13 + 1 file c

[U-Boot] [PATCH v6 10/31] Introduce generic post-relocation board_r.c

2013-03-05 Thread Simon Glass
This file handles common post-relocation init for boards which use the generic framework. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: - Add code from arch/arm/lib/board.c to control loading of environment - Put watchdog init function definitions in watchdog.h - Adjust ppc to

[U-Boot] [PATCH v6 13/31] arm: Enable generic board support

2013-03-05 Thread Simon Glass
This enables generic board support so that ARM boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/config.mk| 3 --- arch/arm/include/asm/u-boot.h | 9

[U-Boot] [PATCH v6 23/31] x86: Enable generic board

2013-03-05 Thread Simon Glass
This will be used exclusively on x86, so enable it for the whole architecture. Signed-off-by: Simon Glass --- Changes in v6: - Add new patch to enable generic board on x86 Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/x86/include/asm/config.h | 1 + 1 fil

[U-Boot] [PATCH v6 14/31] Add CONFIG_SYS_SYM_OFFSETS to support offset symbols

2013-03-05 Thread Simon Glass
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so that we can support both. As we convert architectures over to generic board, we can see if this option is actually needed, or whether it is possible to u

[U-Boot] [PATCH v6 09/31] Introduce generic pre-relocation board_f.c

2013-03-05 Thread Simon Glass
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass --- Changes in v6: - Tidy up stack reservation code to separate out ARM - Fix up orderin

[U-Boot] [PATCH v6 16/31] Adjust board_r.c for ppc

2013-03-05 Thread Simon Glass
This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass --- Changes in v6: - Don't use scsi_init() on ARM Changes in v5: - Add prototype for update_flash_size() to include/common.h - Updates in board_r.c to make ppc build correctly - Add prototype for board_s

[U-Boot] [PATCH v6 15/31] Adjust board_f.c for ppc

2013-03-05 Thread Simon Glass
This adds ppc features to the generic pre-relocation board init. This is a separate commit so that these features are clearly shown. Signed-off-by: Simon Glass --- Changes in v6: - Tidy up stack reservation code to separate out PowerPC Changes in v5: - Use watchdog.h for watchdog functions - Ad

  1   2   >