Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-28 Thread Steve Rae
On 15-01-27 03:00 PM, Marek Vasut wrote: On Monday, January 26, 2015 at 06:44:14 PM, Steve Rae wrote: [...] No, unless there's a convincing technical argument that the currently mainline DWC2 gadget driver (the s3c one) can absolutelly not be used for the broadcom SoC, I want to avoid h

Re: [U-Boot] [PATCH] fastboot: Add USB cable detect check

2015-01-29 Thread Steve Rae
("\rUSB cable not detected.\n" \ +"Command exit.\n"); + return CMD_RET_FAILURE; + } + while (1) { if (g_dnl_detach()) break; (question: the leading "\r" ?!?!) Reviewed

Re: [U-Boot] [PATCH 1/2] fastboot: add "fastboot oem" command support

2015-01-29 Thread Steve Rae
_info[] = { .cb = cb_flash, }, #endif + { + .cmd = "oem", + .cb = cb_oem, + }, }; static void rx_handler_command(struct usb_ep *ep, struct usb_request *req) Tested-by: Steve Rae

Re: [U-Boot] [PATCH 2/2] fastboot: add support for "oem format" command

2015-01-29 Thread Steve Rae
stboot_tx_write_str("OKAY"); + } else +#endif if (strncmp("unlock", cmd + 4, 8) == 0) { fastboot_tx_write_str("FAILnot implemented"); } Reviewed-by: Steve Rae ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-10 Thread Steve Rae
Hi, Dileep On 15-02-10 12:49 AM, Dileep Katta wrote: Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid erasing other partitions. The start address and the size is aligned to the erase group size for this. Cu

Re: [U-Boot] [PATCH 2/2] fastboot: add support for "oem format" command

2015-02-11 Thread Steve Rae
On 15-01-26 01:49 PM, Rob Herring wrote: Add "oem format" command to write partition table. This relies on the env variable partitions to contain the list of partitions as required by the gpt command. Note that this does not erase any data other than the partition table. Signed-off-by: Rob He

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-12 Thread Steve Rae
On 15-02-12 01:21 AM, Dileep Katta wrote: Hi Rob, On 12 February 2015 at 14:35, Rob Herring wrote: On Tue, Feb 10, 2015 at 2:49 AM, Dileep Katta wrote: Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid

Re: [U-Boot] [PATCH v1 2/3] fastboot: Correct fastboot_fail and fastboot_okay strings

2015-02-13 Thread Steve Rae
strncat(response_str, s, RESPONSE_LEN - 4 - 1); } THANKS! Reviewed-by: Steve Rae ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v1 3/3] usb: gadget: fastboot: Set the Serial Number for Fastboot Gadget

2015-02-13 Thread Steve Rae
10 @@ static int fastboot_bind(struct usb_configuration *c, struct usb_function *f) hs_ep_out.bEndpointAddress = fs_ep_out.bEndpointAddress; + s = getenv("serial#"); + if (s) + g_dnl_set_serialnumber((char *)s); + return 0;

Re: [U-Boot] [PATCH v2 1/3] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2015-02-13 Thread Steve Rae
On 15-02-13 09:59 AM, Dileep Katta wrote: OUT transactions must be aligned to wMaxPacketSize for each transfer, or else transfer will not complete successfully. This patch modifies rx_bytes_expected to return a transfer length that is aligned to wMaxPacketSize. Note that the value of wMaxPacke

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-13 Thread Steve Rae
On 15-02-12 12:29 AM, Dileep Katta wrote: Hi Steve, On 11 February 2015 at 05:25, Steve Rae wrote: Hi, Dileep On 15-02-10 12:49 AM, Dileep Katta wrote: Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-16 Thread Steve Rae
On 15-02-16 12:40 PM, Dileep Katta wrote: Hi Steve, On 14 February 2015 at 02:15, Steve Rae wrote: On 15-02-12 12:29 AM, Dileep Katta wrote: Hi Steve, On 11 February 2015 at 05:25, Steve Rae wrote: Hi, Dileep On 15-02-10 12:49 AM, Dileep Katta wrote: Adds the fastboot erase

Re: [U-Boot] [PATCH] usb: gadget: fastboot: make high-speed work

2015-02-19 Thread Steve Rae
Hi Matt: On 15-02-19 10:25 AM, Matt Reimer wrote: Make fastboot work in high-speed mode by specifying separate sets of usb_descriptor_headers for full-speed and high-speed. Tested on s5p_ds5. Signed-off-by: Matt Reimer --- drivers/usb/gadget/f_fastboot.c | 27 ---

[U-Boot] [PATCH 0/4] Introducing the Broadcom Cygnus and NSP boards.

2014-07-18 Thread Steve Rae
This series adds the bcm958300k and the bcm958622hr boards which share the iproc architecture code. Scott Branden (4): arm: iproc: Initial commit of iproc architecture code arm: bcmcygnus: Add bcmcygnus u-architecture arm: bcmnsp: Add bcmnsp u-architecture arm: add Cygnus and NSP boards

[U-Boot] [PATCH 3/4] arm: bcmnsp: Add bcmnsp u-architecture

2014-07-18 Thread Steve Rae
From: Scott Branden Base support for the Broadcom NSP SoC. Based on iproc-common and the SoC specific reset function. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- arch/arm/cpu/armv7/bcmnsp/Makefile | 7 +++ arch/arm/cpu/armv7/bcmnsp/reset.c | 19 +++ 2

[U-Boot] [PATCH 1/4] arm: iproc: Initial commit of iproc architecture code

2014-07-18 Thread Steve Rae
From: Scott Branden The iproc architecture code is present in several Broadcom chip architectures, including Cygnus and NSP. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- arch/arm/cpu/armv7/Makefile | 1 + arch/arm/cpu/armv7/iproc-common/Makefile

[U-Boot] [PATCH 2/4] arm: bcmcygnus: Add bcmcygnus u-architecture

2014-07-18 Thread Steve Rae
From: Scott Branden Base support for the Broadcom Cygnus SoC. Based on iproc-common and the SoC specific reset function. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- arch/arm/cpu/armv7/bcmcygnus/Makefile | 7 +++ arch/arm/cpu/armv7/bcmcygnus/reset.c | 20

[U-Boot] [PATCH 4/4] arm: add Cygnus and NSP boards

2014-07-18 Thread Steve Rae
From: Scott Branden The bcm_ep board configuration is used by a number of boards including Cygnus and NSP. Add builds for the bcm958300k and the bcm958622hr boards. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 25 ++ arch/arm

Re: [U-Boot] [PATCH 4/4] arm: add Cygnus and NSP boards

2014-07-21 Thread Steve Rae
On 14-07-20 12:54 AM, Wolfgang Denk wrote: Dear Steve Rae, In message <1405733854-20194-5-git-send-email-s...@broadcom.com> you wrote: The bcm_ep board configuration is used by a number of boards including Cygnus and NSP. Add builds for the bcm958300k and the bcm958622hr

Re: [U-Boot] [PATCH 1/4] arm: iproc: Initial commit of iproc architecture code

2014-07-21 Thread Steve Rae
On 14-07-20 12:46 AM, Wolfgang Denk wrote: Dear Steve Rae, In message <1405733854-20194-2-git-send-email-s...@broadcom.com> you wrote: From: Scott Branden The iproc architecture code is present in several Broadcom chip architectures, including Cygnus and NSP. ... +

[U-Boot] [PATCH v2 0/4] Introducing the Broadcom Cygnus and NSP boards.

2014-07-22 Thread Steve Rae
This series adds the bcm958300k and the bcm958622hr boards which share the iproc architecture code. Changes in v2: - remove unused include file - reformat multi-line comment(s) - remove deprecated "SZ_" definitions - remove misc_init_r() - update CONFIG_ENV_SIZE Scott Branden (4): arm: iproc: I

[U-Boot] [PATCH v2 1/4] arm: iproc: Initial commit of iproc architecture code

2014-07-22 Thread Steve Rae
From: Scott Branden The iproc architecture code is present in several Broadcom chip architectures, including Cygnus and NSP. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v2: - remove unused include file arch/arm/cpu/armv7/Makefile | 1 + arch

[U-Boot] [PATCH v2 2/4] arm: bcmcygnus: Add bcmcygnus u-architecture

2014-07-22 Thread Steve Rae
From: Scott Branden Base support for the Broadcom Cygnus SoC. Based on iproc-common and the SoC specific reset function. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v2: None arch/arm/cpu/armv7/bcmcygnus/Makefile | 7 +++ arch/arm/cpu/armv7/bcmcygnus/reset.c

[U-Boot] [PATCH v2 3/4] arm: bcmnsp: Add bcmnsp u-architecture

2014-07-22 Thread Steve Rae
From: Scott Branden Base support for the Broadcom NSP SoC. Based on iproc-common and the SoC specific reset function. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v2: None arch/arm/cpu/armv7/bcmnsp/Makefile | 7 +++ arch/arm/cpu/armv7/bcmnsp/reset.c | 19

[U-Boot] [PATCH v2 4/4] arm: add Cygnus and NSP boards

2014-07-22 Thread Steve Rae
From: Scott Branden The bcm_ep board configuration is used by a number of boards including Cygnus and NSP. Add builds for the bcm958300k and the bcm958622hr boards. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v2: - reformat multi-line comment(s) - remove deprecated

[U-Boot] [PATCH] arm: bcm281xx: Add Ethernet Clock support

2014-07-25 Thread Steve Rae
From: Jiandong Zheng Enable Ethernet clock when Broadcom StarFighter2 Ethernet block (CONFIG_BCM_SF2_ETH) is enabled. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- - added board with this feature enabled arch/arm/cpu/armv7/bcm281xx/Makefile| 1 + arch/arm/cpu/armv7

Re: [U-Boot] [PATCH v2 0/4] Introducing the Broadcom Cygnus and NSP boards.

2014-07-30 Thread Steve Rae
On 14-07-22 03:41 PM, Steve Rae wrote: This series adds the bcm958300k and the bcm958622hr boards which share the iproc architecture code. Changes in v2: - remove unused include file - reformat multi-line comment(s) - remove deprecated "SZ_" definitions - remove misc_init_r(

Re: [U-Boot] [PATCH v3 0/4] Implement "fastboot flash" for eMMC

2014-07-30 Thread Steve Rae
On 14-06-26 01:13 PM, Steve Rae wrote: This series implements the "fastboot flash" command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the "fastboot flash" command is enabled with CONFIG_FASTBOOT_FLASH - the support for

Re: [U-Boot] [PATCH v3 0/4] Implement "fastboot flash" for eMMC

2014-07-31 Thread Steve Rae
On 14-07-30 06:23 PM, Marek Vasut wrote: On Thursday, July 31, 2014 at 03:02:37 AM, Steve Rae wrote: On 14-06-26 01:13 PM, Steve Rae wrote: This series implements the "fastboot flash" command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the

Re: [U-Boot] [PATCH v3 1/4] usb/gadget: fastboot: add sparse image definitions

2014-07-31 Thread Steve Rae
On 14-07-30 06:25 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:21 PM, Steve Rae wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae --- This file is ASIS from: https://raw.githubusercontent.com/AOSB/android_system_core/master/libspars e

[U-Boot] [PATCH v2 1/3] arm: bcm281xx: Add Ethernet Clock support

2014-08-01 Thread Steve Rae
From: Jiandong Zheng Enable Ethernet clock when Broadcom StarFighter2 Ethernet block (CONFIG_BCM_SF2_ETH) is enabled. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- - with the changes to boards.cfg, the board with this feature will be added separately Changes in v2: - removed

[U-Boot] [PATCH v2 2/3] arm: bcm281xx: net: Add Ethernet Driver

2014-08-01 Thread Steve Rae
From: Jiandong Zheng The Broadcom StarFighter2 Ethernet driver is used in multiple Broadcom SoC(s) and: - supports multiple MAC blocks, - provides support for the Broadcom GMAC. This driver requires MII and PHYLIB. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- Changes in v2

[U-Boot] [PATCH v2 3/3] arm: bcm281xx: add board with Ethernet capability

2014-08-01 Thread Steve Rae
Add board which has Broadcom StarFighter2 Ethernet capability. Signed-off-by: Steve Rae --- Changes in v2: - created from previous boards.cfg board/broadcom/bcm28155_w1d/MAINTAINERS | 6 ++ configs/bcm28155_w1d_defconfig | 3 +++ 2 files changed, 9 insertions(+) create mode

Re: [U-Boot] [PATCH v3 1/4] usb/gadget: fastboot: add sparse image definitions

2014-08-05 Thread Steve Rae
On 14-08-05 07:00 AM, Tom Rini wrote: On Thu, Jul 31, 2014 at 10:32:51AM -0700, Steve Rae wrote: On 14-07-30 06:25 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:21 PM, Steve Rae wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae --- This

Re: [U-Boot] [PATCH v3 3/4] usb/gadget: fastboot: add support for flash command

2014-08-06 Thread Steve Rae
On 14-07-30 06:39 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:23 PM, Steve Rae wrote: - implement 'fastboot flash' for eMMC devices Signed-off-by: Steve Rae Reviewed-by: Marek Vasut Thanks, Steve Best regards, M

Re: [U-Boot] [PATCH v3 4/4] usb/gadget: fastboot: minor cleanup

2014-08-06 Thread Steve Rae
On 14-07-30 06:40 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:24 PM, Steve Rae wrote: - update static function - additional debugging statements Signed-off-by: Steve Rae --- Changes in v3: None Changes in v2: - new in v2 drivers/usb/gadget/f_fastboot.c | 10 +++--- 1

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-06 Thread Steve Rae
On 14-07-30 06:37 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:22 PM, Steve Rae wrote: [...] + +#include +#include +#include +#include + +/* The 64 defined bytes plus \0 */ +#define RESPONSE_LEN (64 + 1) + +static char *response_str; I'd suggest to pass

[U-Boot] [PATCH v4 0/5] Implement "fastboot flash" for eMMC

2014-08-06 Thread Steve Rae
writing sparse image - update README.android-fastboot file - new in v2 Steve Rae (5): usb/gadget: fastboot: add eMMC support for flash command usb/gadget: fastboot: add support for flash command usb/gadget: fastboot: minor cleanup usb/gadget: fastboot: add sparse imag

[U-Boot] [PATCH v4 1/5] usb/gadget: fastboot: add eMMC support for flash command

2014-08-06 Thread Steve Rae
- add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae --- Changes in v4: - rearranged this patchset so that "sparse_format.h" can be dropped (if we cannot resolve the copyright/licensing issues) - update mmc_get_dev(...) to get_dev("m

[U-Boot] [PATCH v4 3/5] usb/gadget: fastboot: minor cleanup

2014-08-06 Thread Steve Rae
- update static function - additional debugging statements - update "fastboot command" information - add missing include file - update spelling Signed-off-by: Steve Rae --- Changes in v4: - update debug string as per feedback Changes in v3: None Changes in v2: - new in v

[U-Boot] [PATCH v4 2/5] usb/gadget: fastboot: add support for flash command

2014-08-06 Thread Steve Rae
- implement 'fastboot flash' for eMMC devices Signed-off-by: Steve Rae Reviewed-by: Marek Vasut --- Changes in v4: None Changes in v3: None Changes in v2: - update README.android-fastboot file README | 10 ++ doc/README.android-fastboo

[U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-06 Thread Steve Rae
- to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae --- This file is ASIS from: https://raw.githubusercontent.com/AOSB/android_system_core/master/libsparse/sparse_format.h (commit 28fa5bc347390480fe190294c6c385b6a9f0d68b) except for the __UBOOT__ conditional

[U-Boot] [PATCH v4 5/5] usb/gadget: fastboot: implement sparse format

2014-08-06 Thread Steve Rae
- add capability to "fastboot flash" with sparse format images Signed-off-by: Steve Rae --- I suspect that the "sparse image" handling (ie. the "while (remaining_chunks)" loop) has been implemented elsewhere -- I need help finding the original code to determine a

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-06 Thread Steve Rae
On 14-08-06 05:13 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:48:06 AM, Steve Rae wrote: On 14-07-30 06:37 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:22 PM, Steve Rae wrote: [...] + +#include +#include +#include +#include + +/* The 64 defined bytes plus \0

Re: [U-Boot] [PATCH v4 0/5] Implement "fastboot flash" for eMMC

2014-08-06 Thread Steve Rae
On 14-08-06 05:16 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:55:08 AM, Steve Rae wrote: This series implements the "fastboot flash" command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the "fastboot flash" com

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-06 Thread Steve Rae
On 14-08-06 05:14 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:55:12 AM, Steve Rae wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae --- Are we discussing the licensing issues here still ? Tom ? Best regards, Marek Vasut I hope so

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-07 Thread Steve Rae
On 14-08-07 06:51 AM, Sebastian Andrzej Siewior wrote: On 08/07/2014 03:45 PM, Marek Vasut wrote: I agree. Is there a version of this file with BSD license on it ? Then that'd be a problem solved, right ? Right. I don't recall the locations of the second tree but if Steve is going to search

Re: [U-Boot] [PATCH v3 2/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-07 Thread Steve Rae
On 14-08-07 06:23 AM, Marek Vasut wrote: On Thursday, August 07, 2014 at 02:28:13 AM, Steve Rae wrote: On 14-08-06 05:13 PM, Marek Vasut wrote: On Thursday, August 07, 2014 at 01:48:06 AM, Steve Rae wrote: On 14-07-30 06:37 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:22 PM

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: fastboot: add sparse image definitions

2014-08-09 Thread Steve Rae
( Google agreed to submit a patch with BSD3 license stay tuned!!! ) On 14-08-09 05:48 AM, Marek Vasut wrote: On Friday, August 08, 2014 at 12:17:38 AM, Wolfgang Denk wrote: Dear Marek, In message <201408072343.58591.ma...@denx.de> you wrote: OK, so we need a GPLv2-compatible header file

Re: [U-Boot] [PATCH 2/2 v2] fastboot: Flash command support

2014-08-11 Thread Steve Rae
On 14-08-10 06:59 PM, Dileep Katta wrote: Flash command internally uses DFU, and Fastboot command initialization is modified to add DFU and partition initialization Added oem format functionality for GPT table creation partitioning code is added as disk/part_fastboot.c for better usability Fa

[U-Boot] [PATCH v3 1/5] arm: iproc: Initial commit of iproc architecture code

2014-08-11 Thread Steve Rae
From: Scott Branden The iproc architecture code is present in several Broadcom chip architectures, including Cygnus and NSP. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v3: None Changes in v2: - remove unused include file arch/arm/cpu/armv7/Makefile

[U-Boot] [PATCH v3 0/5] Introducing the Broadcom Cygnus and NSP boards.

2014-08-11 Thread Steve Rae
deprecated "SZ_" definitions - remove misc_init_r() - update CONFIG_ENV_SIZE Scott Branden (4): arm: iproc: Initial commit of iproc architecture code arm: bcmcygnus: Add bcmcygnus u-architecture arm: bcmnsp: Add bcmnsp u-architecture arm: add Cygnus and NSP boards Steve Rae (1): ar

[U-Boot] [PATCH v3 3/5] arm: bcmnsp: Add bcmnsp u-architecture

2014-08-11 Thread Steve Rae
From: Scott Branden Base support for the Broadcom NSP SoC. Based on iproc-common and the SoC specific reset function. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/bcmnsp/Makefile | 7 +++ arch/arm/cpu/armv7/bcmnsp

[U-Boot] [PATCH v3 5/5] arm: convert Cygnus and NSP boards to Kconfig

2014-08-11 Thread Steve Rae
Convert the bcm958300k and the bcm958622hr boards from "boards.cfg" to Kconfig. Signed-off-by: Steve Rae --- Changes in v3: - add required files for Kconfig Changes in v2: None arch/arm/Kconfig | 8 board/broadcom/bcm958300k/Kconfig

[U-Boot] [PATCH v3 2/5] arm: bcmcygnus: Add bcmcygnus u-architecture

2014-08-11 Thread Steve Rae
From: Scott Branden Base support for the Broadcom Cygnus SoC. Based on iproc-common and the SoC specific reset function. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/bcmcygnus/Makefile | 7 +++ arch/arm/cpu/armv7

[U-Boot] [PATCH v3 4/5] arm: add Cygnus and NSP boards

2014-08-11 Thread Steve Rae
From: Scott Branden The bcm_ep board configuration is used by a number of boards including Cygnus and NSP. Add builds for the bcm958300k and the bcm958622hr boards. Signed-off-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v3: - remove boards.cfg - improve error checking of

[U-Boot] [PATCH v1 0/4] Implement "sparse format" for fastboot

2014-08-23 Thread Steve Rae
"aboot.c" suitable for U-Boot NOTE: The original license in "aboot.c" does not exactly match the wording in the BSD-3-Clause. I propose adding BSD-3L-Clause to solve this issue. This series depends on: http://patchwork.ozlabs.org/patch/379438/ Steve Rae (4): add co

[U-Boot] [PATCH v1 2/4] update code which handles Android sparse image format

2014-08-23 Thread Steve Rae
- remove unnecessary functions Signed-off-by: Steve Rae --- common/aboot.c | 2438 1 file changed, 2438 deletions(-) diff --git a/common/aboot.c b/common/aboot.c index 3b5092d..a302c92 100644 --- a/common/aboot.c +++ b/common/aboot.c

[U-Boot] [PATCH v1 1/4] add code to handle Android sparse image format

2014-08-23 Thread Steve Rae
Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] Signed-off-by: Steve Rae --- common/aboot.c | 2643 1 file changed, 2643

[U-Boot] [PATCH v1 3/4] cleanup code which handles the Android sparse image format

2014-08-23 Thread Steve Rae
- update license format - port dprintf() to debug() - update formatting Signed-off-by: Steve Rae --- Licenses/bsd-3L-clause.txt | 24 + common/aboot.c | 120 + 2 files changed, 79 insertions(+), 65 deletions(-) create mode

[U-Boot] [PATCH v1 4/4] implement the Android sparse image format

2014-08-23 Thread Steve Rae
update to provide usable implementation to U-Boot Signed-off-by: Steve Rae --- common/aboot.c| 128 +- include/aboot.h | 28 +++ include/sparse_defs.h | 7 +++ 3 files changed, 110 insertions(+), 53 deletions(-) create

[U-Boot] [PATCH v5 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-23 Thread Steve Rae
- add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae --- Changes in v5: None Changes in v4: - rearranged this patchset so that "sparse_format.h" can be dropped (if we cannot resolve the copyright/licensing issues) - update mmc_get_dev(

[U-Boot] [PATCH v5 3/4] usb/gadget: fastboot: minor cleanup

2014-08-23 Thread Steve Rae
- update static function - additional debugging statements - update "fastboot command" information - add missing include file - update spelling Signed-off-by: Steve Rae --- Changes in v5: None Changes in v4: - update debug string as per feedback Changes in v3: None Changes in v2: -

[U-Boot] [PATCH v5 4/4] usb/gadget: fastboot: implement sparse format

2014-08-23 Thread Steve Rae
- add capability to "fastboot flash" with sparse format images Signed-off-by: Steve Rae --- Changes in v5: - use the common/aboot.c for the "sparse format" handling Changes in v4: - rearranged "sparse format" support in this patchset, in order to isolate... Cha

[U-Boot] [PATCH] patman: implement 'reverse' in LogCmd()

2014-08-23 Thread Steve Rae
- add missing capability 'git log --reverse' Signed-off-by: Steve Rae - a recent change (cda2a61) broke patman, the "Changes in v?" tags are being applied to the wrong commits! END --- tools/patman/gitutil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools

[U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-25 Thread Steve Rae
andling of response messages - additional partition size checking when writing sparse image - update README.android-fastboot file - new in v2 Steve Rae (4): usb/gadget: fastboot: add eMMC support for flash command usb/gadget: fastboot: add support for flash command usb/gadget: fastboot:

[U-Boot] [PATCH v5 2/4] usb/gadget: fastboot: add support for flash command

2014-08-25 Thread Steve Rae
- implement 'fastboot flash' for eMMC devices Signed-off-by: Steve Rae Reviewed-by: Marek Vasut --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - update README.android-fastboot file README | 10 ++ doc/README.androi

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-25 Thread Steve Rae
king when writing sparse image - update README.android-fastboot file - new in v2 Steve Rae (4): usb/gadget: fastboot: add eMMC support for flash command usb/gadget: fastboot: add support for flash command usb/gadget: fastboot: minor cleanup usb/gadget: fastboot: impleme

Re: [U-Boot] [PATCH 1/4] vexpress64: kconfig: consolidate CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI

2014-08-25 Thread Steve Rae
Reviewed-by: Steve Rae Thanks, Steve On 14-08-16 11:16 PM, Masahiro Yamada wrote: We do not have to distinguish CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI from CONFIG_TARGET_VEXPRESS_AEMV8A. Rename the former to the latter. Signed-off-by: Masahiro Yamada Cc: David Feng Cc: Steve Rae --- arch

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-26 Thread Steve Rae
mmc_get_dev() Changes in v2: - split large function into three - improved handling of response messages - additional partition size checking when writing sparse image - update README.android-fastboot file - new in v2 Steve Rae (4): usb/gadget: fastboot: add eMMC support for flash command u

[U-Boot] [PATCH v6 0/4] Implement "fastboot flash" for eMMC

2014-08-26 Thread Steve Rae
ction into three - improved handling of response messages - additional partition size checking when writing sparse image - update README.android-fastboot file - new in v2 Steve Rae (4): usb/gadget: fastboot: add eMMC support for flash command usb/gadget: fastboot: add support for flash command

[U-Boot] [PATCH v6 2/4] usb/gadget: fastboot: add support for flash command

2014-08-26 Thread Steve Rae
- implement 'fastboot flash' for eMMC devices Signed-off-by: Steve Rae Acked-by: Lukasz Majewski Reviewed-by: Marek Vasut --- Changes in v6: - fix spelling Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - update README.android-fastboot fil

[U-Boot] [PATCH v6 4/4] usb/gadget: fastboot: implement sparse format

2014-08-26 Thread Steve Rae
- add capability to "fastboot flash" with sparse format images Signed-off-by: Steve Rae Acked-by: Lukasz Majewski --- Changes in v6: - remove excess braces Changes in v5: - use the common/aboot.c for the "sparse format" handling Changes in v4: - rearranged "spars

[U-Boot] [PATCH v6 3/4] usb/gadget: fastboot: minor cleanup

2014-08-26 Thread Steve Rae
- update static function - additional debugging statements - update "fastboot command" information - add missing include file - update spelling Signed-off-by: Steve Rae --- Changes in v6: - printf() to error() Changes in v5: None Changes in v4: - update debug string as per feedback

[U-Boot] [PATCH v6 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-26 Thread Steve Rae
- add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae --- Changes in v6: - printf() to error() Changes in v5: None Changes in v4: - rearranged this patchset so that "sparse_format.h" can be dropped (if we cannot resolve the copyright/licens

Re: [U-Boot] [PATCH v5 1/4] usb/gadget: fastboot: add eMMC support for flash command

2014-08-26 Thread Steve Rae
;fastboot flash' command for eMMC devices Signed-off-by: Steve Rae If those are only small things, I think we can fix them up ourselves before applying, no? Let's do just that if Steve agrees, no ? Best regards, Marek Vasut ___ U

Re: [U-Boot] [PATCH v6 4/4] usb/gadget: fastboot: implement sparse format

2014-08-27 Thread Steve Rae
Hi Michael On 14-08-26 10:07 PM, Michael Trimarchi wrote: Hi Il 26/ago/2014 20:46 "Steve Rae" ha scritto: - add capability to "fastboot flash" with sparse format images Signed-off-by: Steve Rae Acked-by: Lukasz Majewski --- Changes in v6: - remove excess braces Chan

[U-Boot] buildman: suspect issue with patman tags

2014-08-27 Thread Steve Rae
rrent/.bm-work/00/build/u-boot.map -rw-r--r-- 1 srae srae 245242 Aug 26 15:39 ../current/.bm-work/01/build/u-boot.map srae@host1:~/work/to_denx$ *From:*Steve Rae *Sent:* Monday, August 25, 2014 09:06 *To:* Simon Glass *Subject:* buildman: issue with patman tags Simon, When I combine multiple p

[U-Boot] buildman: selection question

2014-08-27 Thread Steve Rae
question: Two of the boards that I support are almost the same: Active arm armv7 bcm281xxbroadcom bcm28155_ap bcm28155_ap - Active arm armv7 bcm281xxbroadcom bcm28155_ap bcm28155_w1d bcm28155_ap:BCM_SF2_ETH,BCM_SF2_ETH

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-28 Thread Steve Rae
On 14-08-28 06:24 AM, Tom Rini wrote: On Wed, Aug 27, 2014 at 09:04:09AM +0200, Lukasz Majewski wrote: Hi Steve, On 14-08-26 02:14 AM, Lukasz Majewski wrote: Hi Steve, On 14-08-25 07:57 AM, Lukasz Majewski wrote: [.. snip ...] Is fair as I know bsd-3L-clause license is compatib

Re: [U-Boot] buildman: selection question

2014-08-28 Thread Steve Rae
Ahhh -- that would work! Thanks, Steve On 14-08-28 07:54 AM, Simon Glass wrote: Hi Steve, On 27 August 2014 15:23, Steve Rae wrote: question: Two of the boards that I support are almost the same: Active arm armv7 bcm281xxbroadcom bcm28155_ap bcm28155_ap

Re: [U-Boot] buildman: suspect issue with patman tags

2014-08-28 Thread Steve Rae
On 14-08-28 07:45 AM, Simon Glass wrote: Hi Steve, On 27 August 2014 15:22, Steve Rae wrote: [... snip ...] *From:*Steve Rae *Sent:* Monday, August 25, 2014 09:06 *To:* Simon Glass *Subject:* buildman: issue with patman tags Simon, When I combine multiple patch-series, each with their

Re: [U-Boot] [U-Boot, v1, 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Steve Rae
OK - AWESOME! Can you just update the one line, ( and drop the bsd-3l-clause.txt ) Or would you like me to submit a "v2" ? Thanks, Steve On 14-08-28 10:11 AM, Tom Rini wrote: On Sat, Aug 23, 2014 at 10:39:02AM -0700, Steve Rae wrote: - update license format - port dprintf(

[U-Boot] [PATCH v2 2/4] update code which handles Android sparse image format

2014-08-28 Thread Steve Rae
- remove unnecessary functions Signed-off-by: Steve Rae --- Changes in v2: None common/aboot.c | 2438 1 file changed, 2438 deletions(-) diff --git a/common/aboot.c b/common/aboot.c index 3b5092d..a302c92 100644 --- a/common/aboot.c

[U-Boot] [PATCH v2 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Steve Rae
- update license format - port dprintf() to debug() - update formatting Signed-off-by: Steve Rae --- Changes in v2: - use BSD-3-Clause common/aboot.c | 120 ++--- 1 file changed, 55 insertions(+), 65 deletions(-) diff --git a/common/aboot.c

[U-Boot] [PATCH v2 0/4] Implement "sparse format" for fastboot

2014-08-28 Thread Steve Rae
t;aboot.c" suitable for U-Boot Changes in v2: - use BSD-3-Clause Steve Rae (4): add code to handle Android sparse image format update code which handles Android sparse image format cleanup code which handles the Android sparse image format implement the Android

[U-Boot] [PATCH v2 4/4] implement the Android sparse image format

2014-08-28 Thread Steve Rae
update to provide usable implementation to U-Boot Signed-off-by: Steve Rae --- Changes in v2: None common/aboot.c| 128 +- include/aboot.h | 28 +++ include/sparse_defs.h | 7 +++ 3 files changed, 110 insertions(+), 53

[U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-08-28 Thread Steve Rae
Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] Signed-off-by: Steve Rae --- Changes in v2: None common/aboot.c | 2643

Re: [U-Boot] [PATCH v3 0/5] Introducing the Broadcom Cygnus and NSP boards.

2014-08-28 Thread Steve Rae
On 14-08-11 01:58 PM, Steve Rae wrote: This series adds the bcm958300k and the bcm958622hr boards which share the iproc architecture code. Changes in v3: - remove boards.cfg - improve error checking of configs - add required files for Kconfig Changes in v2: - remove unused include file

Re: [U-Boot] [PATCH v2 1/3] arm: bcm281xx: Add Ethernet Clock support

2014-08-28 Thread Steve Rae
On 14-08-01 08:37 PM, Steve Rae wrote: From: Jiandong Zheng Enable Ethernet clock when Broadcom StarFighter2 Ethernet block (CONFIG_BCM_SF2_ETH) is enabled. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- - with the changes to boards.cfg, the board with this feature will be

Re: [U-Boot] [PATCH v2 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Steve Rae
On 14-08-28 12:43 PM, Tom Rini wrote: On Thu, Aug 28, 2014 at 10:53:53AM -0700, Steve Rae wrote: - update license format - port dprintf() to debug() - update formatting Signed-off-by: Steve Rae --- Changes in v2: - use BSD-3-Clause common/aboot.c | 120

Re: [U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-08-28 Thread Steve Rae
On 14-08-28 02:16 PM, Tom Rini wrote: On Thu, Aug 28, 2014 at 10:53:51AM -0700, Steve Rae wrote: Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] Signed-off-by: Steve Rae

Re: [U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-08-28 Thread Steve Rae
On 14-08-28 02:31 PM, Steve Rae wrote: On 14-08-28 02:16 PM, Tom Rini wrote: On Thu, Aug 28, 2014 at 10:53:51AM -0700, Steve Rae wrote: Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master

Re: [U-Boot] buildman: suspect issue with patman tags

2014-08-29 Thread Steve Rae
On 14-08-28 05:59 PM, Simon Glass wrote: Hi Steve, On 28 August 2014 10:21, Steve Rae wrote: On 14-08-28 07:45 AM, Simon Glass wrote: Hi Steve, On 27 August 2014 15:22, Steve Rae wrote: [... snip ...] *From:*Steve Rae *Sent:* Monday, August 25, 2014 09:06 *To:* Simon Glass

Re: [U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-08-29 Thread Steve Rae
On 14-08-29 08:11 AM, Tom Rini wrote: On Thu, Aug 28, 2014 at 02:52:40PM -0700, Steve Rae wrote: On 14-08-28 02:31 PM, Steve Rae wrote: On 14-08-28 02:16 PM, Tom Rini wrote: On Thu, Aug 28, 2014 at 10:53:51AM -0700, Steve Rae wrote: Add original file (pristine) from : https

Re: [U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-08-29 Thread Steve Rae
On 14-08-29 01:54 PM, Marek Vasut wrote: On Friday, August 29, 2014 at 07:38:39 PM, Steve Rae wrote: On 14-08-29 08:11 AM, Tom Rini wrote: On Thu, Aug 28, 2014 at 02:52:40PM -0700, Steve Rae wrote: On 14-08-28 02:31 PM, Steve Rae wrote: On 14-08-28 02:16 PM, Tom Rini wrote: On Thu, Aug 28

Re: [U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-09-02 Thread Steve Rae
On 14-08-29 04:13 PM, Steve Rae wrote: On 14-08-29 01:54 PM, Marek Vasut wrote: On Friday, August 29, 2014 at 07:38:39 PM, Steve Rae wrote: On 14-08-29 08:11 AM, Tom Rini wrote: On Thu, Aug 28, 2014 at 02:52:40PM -0700, Steve Rae wrote: On 14-08-28 02:31 PM, Steve Rae wrote: On 14-08-28

[U-Boot] [PATCH v3 3/4] cleanup code which handles the Android sparse image format

2014-09-03 Thread Steve Rae
- port dprintf() to debug() - update formatting Signed-off-by: Steve Rae --- Changes in v3: - use original license text Changes in v2: - use BSD-3-Clause common/aboot.c | 97 +- 1 file changed, 56 insertions(+), 41 deletions(-) diff

[U-Boot] [PATCH v3 1/4] add code to handle Android sparse image format

2014-09-03 Thread Steve Rae
Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] Signed-off-by: Steve Rae --- Changes in v3: None Changes in v2: None common/aboot.c | 2643

[U-Boot] [PATCH v3 0/4] Implement "sparse format" for fastboot

2014-09-03 Thread Steve Rae
t;aboot.c" suitable for U-Boot Changes in v3: - use original license text Changes in v2: - use BSD-3-Clause Steve Rae (4): add code to handle Android sparse image format update code which handles Android sparse image format cleanup code which handles the Android sparse image format

  1   2   3   4   >