Re: [U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-12 Thread Steve Rae
an alias, add an environment setting as follows: fastboot_partition_alias_alias partition name=actual partition name Example: fastboot_partition_alias_boot=LNX Signed-off-by: Michael Scott michael.sc...@linaro.org Cc: Steve Rae s...@broadcom.com Cc: Lukasz Majewski l.majew...@samsung.com --- common

Re: [U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-12 Thread Steve Rae
On 15-03-12 10:17 AM, Michael Scott wrote: On 03/12/2015 09:23 AM, Steve Rae wrote: On 15-03-11 10:02 AM, Michael Scott wrote: Implement an alias name check for devices where GPT limitations prevent user-friendly partition names such as boot, system and cache. Or, where the actual

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

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

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

2015-01-29 Thread Steve Rae
[] = { .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 s...@broadcom.com

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

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

Re: [U-Boot] [PATCH v2 3/4] usb: board_usb_init and board_usb_cleanup calls in the fastboot command

2015-06-16 Thread Steve Rae
On 15-06-16 02:25 PM, Paul Kocialkowski wrote: Le mardi 16 juin 2015 à 13:58 -0700, Steve Rae a écrit : Hi Paul, On 15-06-12 10:57 AM, Paul Kocialkowski wrote: Each USB download function command calls board_usb_init before registering the USB gadget and board_usb_cleanup after de

Re: [U-Boot] [PATCH v2 3/4] usb: board_usb_init and board_usb_cleanup calls in the fastboot command

2015-06-16 Thread Steve Rae
Hi Paul, On 15-06-12 10:57 AM, Paul Kocialkowski wrote: Each USB download function command calls board_usb_init before registering the USB gadget and board_usb_cleanup after de-registering it. On devices currently using fasboot, musb-new is usually initialized earlier, but some other boards

[U-Boot] [PATCH v2 4/4] implement Fastboot via USB OTG on bcm28155_ap boards

2015-07-06 Thread Steve Rae
From: JD (Jiandong) Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: - rebased against u-boot-dfu board/broadcom/bcm28155_ap/bcm28155_ap.c | 40 drivers/usb/gadget/Makefile | 1 + include/configs

[U-Boot] [PATCH v2 1/4] g_dnl: add missing declaration

2015-07-06 Thread Steve Rae
Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None include/g_dnl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/g_dnl.h b/include/g_dnl.h index 4eeb5e4..ba49f1f 100644 --- a/include/g_dnl.h +++ b/include/g_dnl.h @@ -34,6 +34,7 @@ struct g_dnl_bind_callback

[U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-06 Thread Steve Rae
From: JD (Jiandong) Zheng jdzh...@broadcom.com Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7 drivers/usb/gadget/bcm_udc_otg.h| 17

[U-Boot] [PATCH v2 0/4] This series implements fastboot on the bcm28155_ap boards.

2015-07-06 Thread Steve Rae
The OTG hardware is a DWC2 controller and this series uses the existing gadget driver (s3c_udc_otg.c). Changes in v2: - rebased against u-boot-dfu JD (Jiandong) Zheng and Steve Rae (2): usb: gadget: bcm_udc_otg files implement Fastboot via USB OTG on bcm28155_ap boards Steve Rae (2

[U-Boot] [PATCH v2 2/4] usb: s3c-otg: support 8-bit interface

2015-07-06 Thread Steve Rae
Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None drivers/usb/gadget/s3c_udc_otg.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c index 7a2d1e7..2e3b4f7 100644 --- a/drivers/usb/gadget/s3c_udc_otg.c

[U-Boot] [PATCH 2/4] usb: s3c-otg: support 8-bit interface

2015-07-06 Thread Steve Rae
Signed-off-by: Steve Rae s...@broadcom.com --- drivers/usb/gadget/s3c_udc_otg.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c index 7a2d1e7..2e3b4f7 100644 --- a/drivers/usb/gadget/s3c_udc_otg.c +++ b/drivers/usb

[U-Boot] [PATCH 1/4] g_dnl: add missing declaration

2015-07-06 Thread Steve Rae
Signed-off-by: Steve Rae s...@broadcom.com --- include/g_dnl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/g_dnl.h b/include/g_dnl.h index 4eeb5e4..ba49f1f 100644 --- a/include/g_dnl.h +++ b/include/g_dnl.h @@ -34,6 +34,7 @@ struct g_dnl_bind_callback { }; int

[U-Boot] [PATCH 3/4] usb: gadget: bcm_udc_otg files

2015-07-06 Thread Steve Rae
From: JD (Jiandong) Zheng jdzh...@broadcom.com Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Steve Rae s...@broadcom.com --- arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7 drivers/usb/gadget/bcm_udc_otg.h| 17 ++ drivers/usb/gadget

[U-Boot] [PATCH 0/4] This series implements fastboot on the bcm28155_ap boards.

2015-07-06 Thread Steve Rae
The OTG hardware is a DWC2 controller and this series uses the existing gadget driver (s3c_udc_otg.c). JD (Jiandong) Zheng and Steve Rae (2): usb: gadget: bcm_udc_otg files implement Fastboot via USB OTG on bcm28155_ap boards Steve Rae (2): g_dnl: add missing declaration usb: s3c-otg

[U-Boot] [PATCH 4/4] implement Fastboot via USB OTG on bcm28155_ap boards

2015-07-06 Thread Steve Rae
From: JD (Jiandong) Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- board/broadcom/bcm28155_ap/bcm28155_ap.c | 40 drivers/usb/gadget/Makefile | 1 + include/configs/bcm28155_ap.h| 20 3 files

Re: [U-Boot] [PATCH 4/4] implement Fastboot via USB OTG on bcm28155_ap boards

2015-07-06 Thread Steve Rae
On 15-07-06 11:22 AM, Paul Kocialkowski wrote: Hi, Le lundi 06 juillet 2015 à 09:52 -0700, Steve Rae a écrit : From: JD (Jiandong) Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- board/broadcom/bcm28155_ap/bcm28155_ap.c | 40

Re: [U-Boot] [PATCH v2 2/4] usb: s3c-otg: support 8-bit interface

2015-07-07 Thread Steve Rae
On 15-07-07 06:27 AM, Lukasz Majewski wrote: Hi Steve, Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None drivers/usb/gadget/s3c_udc_otg.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c index

[U-Boot] [PATCH] arm: iproc: add NAND driver

2015-08-08 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 11 + arch/arm/include/asm/arch

[U-Boot] [PATCH 1/2] net: phy: broadcom: Add BCM Cygnus PHY

2015-07-15 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com Add Ethernet PHY for BCM Cygnus SoC Signed-off-by: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- drivers/net/phy/broadcom.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers

[U-Boot] [PATCH 2/2] arm: bcmcygnus: Enable Ethernet support

2015-07-15 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com Enable BCM SF2 ethernet and PHY for BCM Cygnus SoC Signed-off-by: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 11 +++ board/broadcom/bcm_ep/board.c

[U-Boot] [PATCH 0/2] This series implements the Ethernet PHY for the Broadcom Cygnus boards.

2015-07-15 Thread Steve Rae
Jiandong Zheng (2): net: phy: broadcom: Add BCM Cygnus PHY arm: bcmcygnus: Enable Ethernet support arch/arm/include/asm/arch-bcmcygnus/configs.h | 11 ++ board/broadcom/bcm_ep/board.c | 11 ++ drivers/net/phy/broadcom.c| 29

Re: [U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-07 Thread Steve Rae
Hi, Lukasz On 15-07-07 06:33 AM, Lukasz Majewski wrote: Hi Steve, From: JD (Jiandong) Zheng jdzh...@broadcom.com Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7

[U-Boot] [PATCH v3 1/3] g_dnl: add missing declaration

2015-07-09 Thread Steve Rae
Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: None Changes in v2: None include/g_dnl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/g_dnl.h b/include/g_dnl.h index 4eeb5e4..ba49f1f 100644 --- a/include/g_dnl.h +++ b/include/g_dnl.h @@ -34,6 +34,7 @@ struct

[U-Boot] [PATCH v3 2/3] usb: gadget: bcm_udc_otg files

2015-07-09 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: - use static inline functions instead of macros - update the delay (2ms) to match

[U-Boot] [PATCH v3 0/3] This series implements fastboot on the bcm28155_ap boards.

2015-07-09 Thread Steve Rae
u-boot-dfu Jiandong Zheng and Steve Rae (2): usb: gadget: bcm_udc_otg files implement Fastboot via USB OTG on bcm28155_ap boards Steve Rae (1): g_dnl: add missing declaration arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7 board/broadcom/bcm28155_ap/bcm28155_ap.c| 40

[U-Boot] [PATCH v3 3/3] implement Fastboot via USB OTG on bcm28155_ap boards

2015-07-09 Thread Steve Rae
From: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Jiandong Zheng jdzh...@broadcom.com Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: - use SZ_1M - undefine the 8-bit phy interface Changes in v2: - rebased against u-boot-dfu board/broadcom/bcm28155_ap/bcm28155_ap.c | 40

[U-Boot] [PATCH] board: arm:: Add support for Broadcom BCM23550

2016-06-02 Thread Steve Rae
Add support for the Broadcom BCM23550 board. Signed-off-by: Steve Rae <s...@broadcom.com> --- arch/arm/Kconfig| 5 + arch/arm/cpu/armv7/Makefile | 1 + arch/arm/cpu/armv7/bcm235xx/Makefile| 12 + arch/arm/cpu/armv7/bcm235xx/clk-bcm2

[U-Boot] [PATCH v2 3/5] fastboot: sparse: resync common/image-sparse.c (part 2)

2016-06-07 Thread Steve Rae
/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1 Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes in v2: None common/fb_mmc.c | 40 common/fb_nand.c| 38 +++--- common

[U-Boot] [PATCH v2 4/5] fastboot: sparse: implement reserve()

2016-06-07 Thread Steve Rae
In order to process the CHUNK_TYPE_DONT_CARE properly, there is a requirement to be able to 'reserve' a specified number of blocks in the storage media. Because of the special handling of "bad blocks" in NAND devices, this is implemented in a storage abstraction function. Signed-off-by:

[U-Boot] [PATCH v2 2/5] fastboot: sparse: resync common/image-sparse.c (part 1)

2016-06-07 Thread Steve Rae
=LE.BR.1.2.1 Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes in v2: None common/fb_mmc.c| 32 ++-- common/fb_nand.c | 58 --- common/image-sparse.c | 449 + include/image-sparse.h | 25 +-- 4 files changed, 211 inse

[U-Boot] [PATCH v2 1/5] fastboot: sparse: remove session-id logic

2016-06-07 Thread Steve Rae
This "session-id" alogrithm is not required, and currently corrupts the stored image whenever more the one "session" is required. Signed-off-by: Steve Rae <s...@broadcom.com> --- for more information, see the thread starting at [1] [1] http://lists.denx.de/pipermail/u-b

[U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Steve Rae
-rc1 Steve Rae (5): fastboot: sparse: remove session-id logic fastboot: sparse: resync common/image-sparse.c (part 1) fastboot: sparse: resync common/image-sparse.c (part 2) fastboot: sparse: implement reserve() fastboot: sparse: improve CHUNK_TYPE_FILL write performance common/fb_mmc.c

Re: [U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Steve Rae
Tom, On Tue, Jun 7, 2016 at 11:19 AM, Steve Rae <s...@broadcom.com> wrote: > While retaining the storage abstraction feature implemented in U-Boot, > this series updates the fastboot sparse image handling by > (1) fixing broken code, > (2) resync'ing with the upstream code, a

Re: [U-Boot] [PATCH v4 2/2] USB: DWC2: choose 8-bit phy bus width

2016-06-07 Thread Steve Rae
On Tue, Jun 7, 2016 at 3:24 PM, Marek Vasut <ma...@denx.de> wrote: > On 06/07/2016 05:57 PM, Steve Rae wrote: >> The Kona PHY supports an 8-bit wide UTMI interface, >> therefore, choose this Kconfig setting. >> >> Signed-off-by: Steve Rae <s...@broadcom.com&g

[U-Boot] [PATCH v5 2/2] arm: bcm281xx: choose 8-bit phy bus width

2016-06-07 Thread Steve Rae
The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae <s...@broadcom.com> --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_

[U-Boot] [PATCH v5 1/2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-07 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae <s...@broadcom.com> --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut <ma...@denx.de> wrote: > > On 06/06/2016 05:57 PM, Steve Rae wrote: > > Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the > > physical interface to be 8-bit (rather than 16-bit). > > > > Signed-off-by: Steve Rae <

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut <ma...@denx.de> wrote: > On 06/06/2016 06:15 PM, Steve Rae wrote: > > On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut <ma...@denx.de> wrote: > >> > >> On 06/06/2016 05:57 PM, Steve Rae wrote: > >>&g

[U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_PHY_8_BIT to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae <s...@broadcom.com> --- drivers/usb/gadget/dwc2_udc_otg.c | 4 include/configs/bcm28155_ap.h | 1 + 2 files changed, 5 insertions(+) diff --git a/d

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 11:58 AM, Steve Rae <steve@broadcom.com> wrote: > On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut <ma...@denx.de> wrote: >> >> On 06/06/2016 06:50 PM, Steve Rae wrote: >> > >> > >> > On Mon, Jun 6, 2016 at 9:30 AM,

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut <ma...@denx.de> wrote: > > On 06/06/2016 06:50 PM, Steve Rae wrote: > > > > > > On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut <ma...@denx.de > > <mailto:ma...@denx.de>> wrote: > > > > On 0

[U-Boot] [PATCH v4 1/2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-07 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae <s...@broadcom.com> --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_

[U-Boot] [PATCH v4 2/2] USB: DWC2: choose 8-bit phy bus width

2016-06-07 Thread Steve Rae
The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae <s...@broadcom.com> --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 5:38 PM, Marek Vasut <ma...@denx.de> wrote: > On 06/07/2016 01:58 AM, Steve Rae wrote: >> Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the >> physical interface to be 8-bit (rather than 16-bit). >> >> Signed-off-by: Steve Rae

[U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae <s...@broadcom.com> --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_

[U-Boot] [PATCH v3] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae <s...@broadcom.com> --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_

Re: [U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Steve Rae
On Tue, Jun 7, 2016 at 11:36 AM, Sergey Kubushyn <k...@koi8.net> wrote: > On Tue, 7 Jun 2016, Steve Rae wrote: > > Quick question before diving in -- does anybody work on making > fastboot able to flash multiple devices? > > There are some braindead designs (e.g. Varisc

[U-Boot] [PATCH v2 5/5] fastboot: sparse: improve CHUNK_TYPE_FILL write performance

2016-06-07 Thread Steve Rae
- increase the size of the fill buffer - testing has shown a 10x improvement when the sparse image has large CHUNK_TYPE_FILL chunks Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes in v2: None common/image-sparse.c | 37 +++-- 1 file chang

[U-Boot] [PATCH v3] arm64: arm: implement a boot header capability

2016-05-30 Thread Steve Rae
header to allow booting A64 based boards. For the Pine64 we need a 1536 byte header (including the branch instruction) at the moment, so we add this to the defconfig. Signed-off-by: Andre Przywara <andre.przyw...@arm.com> Signed-off-by: Steve Rae <s...@broadcom.com> [1] https://github.com/ap

Re: [U-Boot] [PATCH 0/5] Update fastboot sparse image handling

2016-05-31 Thread Steve Rae
On Fri, May 20, 2016 at 6:05 PM, Steve Rae <s...@broadcom.com> wrote: > While retaining the storage abstraction feature implemented in U-Boot, > this series updates the fastboot sparse image handling by > (1) fixing broken code, > (2) resync'ing with the upstream code, a

[U-Boot] [PATCH v4] arm/arm64: implement a boot header capability

2016-05-31 Thread Steve Rae
ed-off-by: Andre Przywara <andre.przyw...@arm.com> Signed-off-by: Steve Rae <s...@broadcom.com> Commit Notes: Please note that the current code: start.S (arm64) and vectors.S (arm) already jumps over some portion of data already, so this option basically just increases the s

Re: [U-Boot] [PATCH v3] arm64: arm: implement a boot header capability

2016-05-30 Thread Steve Rae
Hi Tom, On Mon, May 30, 2016 at 11:14 AM, Tom Rini <tr...@konsulko.com> wrote: > > On Mon, May 30, 2016 at 09:51:22AM -0700, Steve Rae wrote: > > > From: Andre Przywara <andre.przyw...@arm.com> > > > > Some SPL loaders (like Allwinner's boot0, and Broadc

[U-Boot] [PATCH 3/4] arm: bcm235xx: fix kps ccu

2016-06-21 Thread Steve Rae
From: Chris Brand <chris.br...@broadcom.com> The Kona Peripheral Slave CCU has 4 policy mask registers, not 8. Signed-off-by: Chris Brand <chris.br...@broadcom.com> Signed-off-by: Steve Rae <s...@broadcom.com> --- arch/arm/cpu/armv7/bcm235xx/clk-bcm235xx.c | 6 +-

[U-Boot] [PATCH 4/4] arm: bcm235xx: update clock framework

2016-06-21 Thread Steve Rae
The handling of the "usage counter" is incorrect, and the clock should only be disabled when transitioning from 1 to 0. Reported-by: Chris Brand <chris.br...@broadcom.com> Signed-off-by: Steve Rae <s...@broadcom.com> --- arch/arm/cpu/armv7/bcm235xx/clk-core.c | 10 +--

[U-Boot] [PATCH 0/4] This series contains minor updates for the bcm23550:

2016-06-21 Thread Steve Rae
(1) implement Kconfig options which have been recently applied, and (2) fix two outstanding issues. Chris Brand (1): arm: bcm235xx: fix kps ccu Steve Rae (3): arm: bcm235xx: choose 8-bit phy bus width arm: bcm235xx: implement the boot0 hook code arm: bcm235xx: update clock framework

[U-Boot] [PATCH 1/4] arm: bcm235xx: choose 8-bit phy bus width

2016-06-21 Thread Steve Rae
The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae <s...@broadcom.com> --- configs/bcm23550_w1d_defconfig | 1 + include/configs/bcm23550_w1d.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/c

[U-Boot] [PATCH 2/4] arm: bcm235xx: implement the boot0 hook code

2016-06-21 Thread Steve Rae
Choose the Kconfig boot0 hook option and implement the required code. Signed-off-by: Steve Rae <s...@broadcom.com> --- arch/arm/include/asm/arch-bcm235xx/boot0.h | 15 +++ configs/bcm23550_w1d_defconfig | 1 + 2 files changed, 16 insertions(+) create mode 10064

Re: [U-Boot] [PATCH v2 5/5] fastboot: sparse: improve CHUNK_TYPE_FILL write performance

2016-06-16 Thread Steve Rae
On Thu, Jun 16, 2016 at 10:34 AM, Steve Rae <s...@broadcom.com> wrote: > On Wed, Jun 15, 2016 at 1:36 AM, Maxime Ripard > <maxime.rip...@free-electrons.com> wrote: >> On Tue, Jun 07, 2016 at 11:19:39AM -0700, Steve Rae wrote: >>> - increase the size of the fill buf

Re: [U-Boot] [PATCH v2 2/5] fastboot: sparse: resync common/image-sparse.c (part 1)

2016-06-16 Thread Steve Rae
On Wed, Jun 15, 2016 at 1:18 AM, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > > On Tue, Jun 07, 2016 at 11:19:36AM -0700, Steve Rae wrote: > > This file originally came from upstream code. > > > > While retaining the storage abstraction feat

Re: [U-Boot] [PATCH v2 5/5] fastboot: sparse: improve CHUNK_TYPE_FILL write performance

2016-06-16 Thread Steve Rae
On Wed, Jun 15, 2016 at 1:36 AM, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > On Tue, Jun 07, 2016 at 11:19:39AM -0700, Steve Rae wrote: >> - increase the size of the fill buffer >> - testing has shown a 10x improvement when the sparse image >> has l

Re: [U-Boot] error: sdhci_send_command: Timeout for status update!

2016-06-24 Thread Steve Rae
Hi Stefan, Masahiro On Thu, Jun 23, 2016 at 9:56 PM, Stefan Roese <s...@denx.de> wrote: > Steve, > > > On 24.06.2016 00:06, Steve Rae wrote: >> >> I am asking you about this code, because of this: >>commit 29905a4 - mmc: sdhci: Use timer based timeou

[U-Boot] error: sdhci_send_command: Timeout for status update!

2016-06-23 Thread Steve Rae
Stefan, I am asking you about this code, because of this: commit 29905a4 - mmc: sdhci: Use timer based timeout detection in sdhci_send_command() Occasionally, I am seeing failures when writing to flash on my device: Flashing sparse image at offset 2078720 Flashing Sparse Image

[U-Boot] [PATCH] maintainers: new email address

2016-06-27 Thread Steve Rae
Update the email address for the boards that I maintain. Signed-off-by: Steve Rae <steve@raedomain.com> --- - motivated to do it now because of [1] which closes next Monday - Tim Kryger has been gone for ~2 years [1] http://www.cypress.com/news/cypress-acquire-broadcom-s-wireless-in

[U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-27 Thread Steve Rae
is controlled by the default value: CONFIG_SDHCI_CMD_DEFAULT_TIMEOUT It only increases the retries when reading: SDHCI_INT_STATUS to avoid the timeout error. Signed-off-by: Steve Rae <steve@raedomain.com> --- as per the discussion in: http://lists.denx.de/pipermail/u-boot/2016-June/

Re: [U-Boot] exclude email by patman

2016-02-09 Thread Steve Rae
On Tue, Feb 9, 2016 at 10:08 AM, york sun wrote: > On 02/09/2016 09:13 AM, Tom Rini wrote: > > On Tue, Feb 09, 2016 at 05:08:35PM +, york sun wrote: > >> On 02/09/2016 12:00 AM, Wolfgang Denk wrote: > >>> Dear York, > >>> > >>> In message < >

[U-Boot] [PATCH v2 1/2] fastboot: sparse: fix block addressing for don't care chunk type

2016-02-09 Thread Steve Rae
When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented, it dropped 9981945 (aboot: fix block addressing for don't care chunk type). This re-implements the required fix for the "don't care chunk type"... Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes i

[U-Boot] [PATCH v2 2/2] fastboot: sparse: remove unnecessary logging

2016-02-09 Thread Steve Rae
remove logging of the 'skipped' blocks Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes in v2: None common/image-sparse.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/common/image-sparse.c b/common/image-sparse.c index ef0d232..737e8ea 100644 --- a/

Re: [U-Boot] [PATCH 2/2] fastboot: sparse: remove unnecessary logging

2016-02-08 Thread Steve Rae
Hi Maxime, On Mon, Feb 8, 2016 at 12:19 AM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi Steve, > > On Thu, Feb 04, 2016 at 10:51:00AM -0800, Steve Rae wrote: > > Hi Maxime, > > > > On Thu, Feb 4, 2016 at 4:20 AM, Maxime Ripard < > &g

Re: [U-Boot] [PATCH 2/2] fastboot: sparse: remove unnecessary logging

2016-02-04 Thread Steve Rae
Hi Maxime, On Thu, Feb 4, 2016 at 4:20 AM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi Steve, > > On Wed, Feb 03, 2016 at 12:46:02PM -0800, Steve Rae wrote: > > remove logging of the 'skipped' blocks > > > > Signed-off-by: Steve Rae <s...@b

Re: [U-Boot] [PATCH 2/2] fastboot: sparse: remove unnecessary logging

2016-02-09 Thread Steve Rae
On Tue, Feb 9, 2016 at 12:18 PM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > On Tue, Feb 09, 2016 at 09:58:10AM -0800, Steve Rae wrote: > > > > So, to handle MMC versus NAND, I propose that we follow the same > method > > > > used throughout

Re: [U-Boot] [PATCH 2/2] fastboot: sparse: remove unnecessary logging

2016-02-09 Thread Steve Rae
On Tue, Feb 9, 2016 at 9:17 AM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi, > > On Mon, Feb 08, 2016 at 10:04:03AM -0800, Steve Rae wrote: > > Hi Maxime, > > > > On Mon, Feb 8, 2016 at 12:19 AM, Maxime Ripard < > > maxime.rip...@fre

Re: [U-Boot] question regarding USB gadget driver (dwc2)

2016-01-29 Thread Steve Rae
Hi Lukasz, On 16-01-29 08:40 AM, Lukasz Majewski wrote: Hi Steve, On 16-01-26 05:35 PM, Marek Vasut wrote: On Wednesday, January 27, 2016 at 01:35:55 AM, Steve Rae wrote: Hi Marek & Lukasz, I have an issue running fastboot on my board (which is USB_SPEED_HIGH): => fa

[U-Boot] [PATCH] implement Fastboot via USB OTG on bcm28155_ap boards

2016-01-27 Thread Steve Rae
Don't understand how it happened, but this change got applied twice! Therefore, removing the duplicated items. Signed-off-by: Steve Rae <s...@broadcom.com> --- include/configs/bcm28155_ap.h | 20 1 file changed, 20 deletions(-) diff --git a/include/configs/bcm28155_

[U-Boot] [PATCH] fastboot: update error and warning messages

2016-01-27 Thread Steve Rae
Fix the formatting in error messages, and demote one error message to a warning, as it is only informational. Signed-off-by: Steve Rae <s...@broadcom.com> --- drivers/usb/gadget/f_fastboot.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/

[U-Boot] [PATCH 2/2] fastboot: sparse: remove unnecessary logging

2016-02-03 Thread Steve Rae
remove logging of the 'skipped' blocks Signed-off-by: Steve Rae <s...@broadcom.com> --- common/image-sparse.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/common/image-sparse.c b/common/image-sparse.c index f02aee4..594bf4e 100644 --- a/common/image-sparse.c

[U-Boot] [PATCH 1/2] fastboot: sparse: fix block addressing for don't care chunk type

2016-02-03 Thread Steve Rae
When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented, it dropped 9981945 (aboot: fix block addressing for don't care chunk type). This re-implements the required fix for the "don't care chunk type"... Signed-off-by: Steve Rae <s...@broadcom.com> --- common/ima

[U-Boot] question about "drivers/usb/gadget/f_fastboot.c"

2016-01-27 Thread Steve Rae
Please explain the following logic in "drivers/usb/gadget/f_fastboot.c": 422) static unsigned int rx_bytes_expected(unsigned int maxpacket) 423) { 424) int rx_remain = download_size - download_bytes; 425) int rem = 0; 426) if (rx_remain < 0) 427) return 0; 428)

[U-Boot] [PATCH][RE-SUBMIT] usb: gadget: dwc2_udc_otg: modified the check condition for max packet size of ep_in in high speed

2016-01-27 Thread Steve Rae
speed mode, so I changed the condition from '!=' to '>' to fix this issue. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Tested-by: Steve Rae <s...@broadcom.com> --- drivers/usb/gadget/dwc2_udc_otg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 2/2] fastboot: sparse: remove unnecessary logging

2016-02-29 Thread Steve Rae
please, can this be accepted? On Tue, Feb 9, 2016 at 11:19 AM, Steve Rae <s...@broadcom.com> wrote: > remove logging of the 'skipped' blocks > > Signed-off-by: Steve Rae <s...@broadcom.com> > --- > > Changes in v2: None > > common/image-sparse.c | 6 ++ &

Re: [U-Boot] [PATCH v2 1/2] fastboot: sparse: fix block addressing for don't care chunk type

2016-02-29 Thread Steve Rae
please, can this be accepted? On Tue, Feb 9, 2016 at 11:19 AM, Steve Rae <s...@broadcom.com> wrote: > When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented, > it dropped 9981945 (aboot: fix block addressing for don't care chunk type). > > This re-implement

[U-Boot] question regarding USB gadget driver (dwc2)

2016-01-26 Thread Steve Rae
Hi Marek & Lukasz, I have an issue running fastboot on my board (which is USB_SPEED_HIGH): => fastboot0 failed to enable in ep failed to enable in ep failed to enable in ep Because of this, fastboot does not even initialize properly, and I need to "^C" to break out… I have

Re: [U-Boot] question regarding USB gadget driver (dwc2)

2016-01-26 Thread Steve Rae
On 16-01-26 05:35 PM, Marek Vasut wrote: On Wednesday, January 27, 2016 at 01:35:55 AM, Steve Rae wrote: Hi Marek & Lukasz, I have an issue running fastboot on my board (which is USB_SPEED_HIGH): => fastboot0 failed to enable in ep failed to enable in ep

Re: [U-Boot] [PATCH] fastboot: update error and warning messages

2016-02-15 Thread Steve Rae
ping -- Thanks! On 16-01-27 03:42 PM, Marek Vasut wrote: On Thursday, January 28, 2016 at 12:02:41 AM, Steve Rae wrote: Fix the formatting in error messages, and demote one error message to a warning, as it is only informational. Signed-off-by: Steve Rae <s...@broadcom.com> I'd

Re: [U-Boot] [PATCH] implement Fastboot via USB OTG on bcm28155_ap boards

2016-02-15 Thread Steve Rae
ping this one too - Thanks! On 16-01-27 02:45 PM, Steve Rae wrote: Don't understand how it happened, but this change got applied twice! Therefore, removing the duplicated items. Signed-off-by: Steve Rae <s...@broadcom.com> --- include/configs/bcm28155_ap.h | 20

[U-Boot] [PATCH 1/4] arm: iproc: add NAND driver

2016-03-10 Thread Steve Rae
From: Jiandong Zheng <jdzh...@broadcom.com> Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng <jdzh...@broadcom.com> Signed-off-by: Steve Rae <s...@broadcom.com> --- There was a previous attempt to implement this "

[U-Boot] [PATCH 4/4] arm: bcm: configure NAND device and environment

2016-03-10 Thread Steve Rae
Configure the NAND device, define partition sizes, and create the environment space for Cygnus and NSP boards. Signed-off-by: Steve Rae <s...@broadcom.com> --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 33 +++ arch/arm/include/asm/arch-bcmnsp/configs.h

[U-Boot] Anyone else having issues with "fastboot flash" - because of this change?

2016-03-10 Thread Steve Rae
... updated the subject line, was: Re: [U-Boot][PATCH v3 1/3] fastboot: OUT transaction length must be aligned to wMaxPacketSize On 15-02-24 02:28 AM, Lukasz Majewski wrote: Hi Dileep, OUT transactions must be aligned to wMaxPacketSize for each transfer, or else transfer will not complete

[U-Boot] [PATCH 2/4] mtd: fix compiler warnings

2016-03-10 Thread Steve Rae
- add missing declaration - update debug output format specifiers Signed-off-by: Steve Rae <s...@broadcom.com> --- the checkpatch warning: warning: cmd/mtdparts.c,1494: quoted string split across lines is for the existing code; it is not introduced with this change... cmd/mtdp

[U-Boot] [PATCH 3/4] arm: bcm: enable MTD support

2016-03-10 Thread Steve Rae
Enable MTD support on Cygnus and NSP boards. Signed-off-by: Steve Rae <s...@broadcom.com> --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 6 ++ arch/arm/include/asm/arch-bcmnsp/configs.h| 6 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/include/asm/arch-bcm

Re: [U-Boot] Anyone else having issues with "fastboot flash" - because of this change?

2016-03-10 Thread Steve Rae
On Thu, Mar 10, 2016 at 3:46 PM, Steve Rae <s...@broadcom.com> wrote: > ... updated the subject line, was: > Re: [U-Boot][PATCH v3 1/3] fastboot: OUT transaction length must be aligned > to wMaxPacketSize > > >>> -static unsigned int rx_bytes_expected(

[U-Boot] [RFC PATCH v2 1/4] arm: iproc: add NAND driver

2016-03-11 Thread Steve Rae
From: Jiandong Zheng <jdzh...@broadcom.com> Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng <jdzh...@broadcom.com> Signed-off-by: Steve Rae <s...@broadcom.com> --- There was a previous attempt to implement this "

[U-Boot] [RFC PATCH v2 3/4] arm: bcm: enable MTD support

2016-03-11 Thread Steve Rae
Enable MTD support on Cygnus and NSP boards. Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes in v2: None arch/arm/include/asm/arch-bcmcygnus/configs.h | 6 ++ arch/arm/include/asm/arch-bcmnsp/configs.h| 6 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/i

[U-Boot] [RFC PATCH v2 2/4] mtd: fix compiler warnings

2016-03-11 Thread Steve Rae
- add missing declaration - update debug output format specifiers Signed-off-by: Steve Rae <s...@broadcom.com> --- the checkpatch warning: warning: cmd/mtdparts.c,1494: quoted string split across lines is for the existing code; it is not introduced with this change... Changes in v2: None

[U-Boot] [RFC PATCH v2 4/4] arm: bcm: configure NAND device and environment

2016-03-11 Thread Steve Rae
Configure the NAND device, define partition sizes, and create the environment space for Cygnus and NSP boards. Signed-off-by: Steve Rae <s...@broadcom.com> --- Changes in v2: None arch/arm/include/asm/arch-bcmcygnus/configs.h | 33 +++ arch/arm/include/asm/arch-

Re: [U-Boot] [RFC PATCH v2 1/4] arm: iproc: add NAND driver

2016-03-12 Thread Steve Rae
On Fri, Mar 11, 2016 at 4:52 PM, Steve Rae <s...@broadcom.com> wrote: > From: Jiandong Zheng <jdzh...@broadcom.com> > > Add support for the iproc NAND, and enable on Cygnus and NSP boards. > > Signed-off-by: Jiandong Zheng <jdzh...@broadcom.com> > Signed-

Re: [U-Boot] [PATCH 1/4] arm: iproc: add NAND driver

2016-03-11 Thread Steve Rae
Thanks for this clarification... On Fri, Mar 11, 2016 at 10:18 AM, Tom Rini <tr...@konsulko.com> wrote: > On Fri, Mar 11, 2016 at 10:07:46AM -0800, Steve Rae wrote: > >> Is it expected the _every_ CONFIG_* and CONFIG_SYS_* will be moved to >> Kconfig? >> What about

Re: [U-Boot] [PATCH 1/4] arm: iproc: add NAND driver

2016-03-11 Thread Steve Rae
be Kconfig? or would that just clutter Kconfig with useless entries? Thanks for clarifying! On Fri, Mar 11, 2016 at 10:02 AM, Tom Rini <tr...@konsulko.com> wrote: > On Thu, Mar 10, 2016 at 02:26:27PM -0800, Steve Rae wrote: > >> From: Jiandong Zheng <jdzh...@broadcom.com> >

[U-Boot] [RFC PATCH v3 2/4] mtd: fix compiler warnings

2016-03-12 Thread Steve Rae
- add missing declaration - update debug output format specifiers Signed-off-by: Steve Rae <s...@broadcom.com> --- the checkpatch warning: warning: cmd/mtdparts.c,1494: quoted string split across lines is for the existing code; it is not introduced with this change... Changes in v3

<    1   2   3   4   >