[U-Boot] [PATCH] broadcom: add seven boards

2014-11-07 Thread Steve Rae
- 5 based on cygnus, 2 based on 28155 - updates to support board families better - add functions so CONFIG_ARMV7_NONSEC can be enabled on Cygnus boards Signed-off-by: Steve Rae --- arch/arm/Kconfig | 12 ++-- board/broadcom/bcm11130/MAINTAINERS

[U-Boot] [PATCH v2 2/2] ARM: bcm: Enable bcm11130 boards

2014-11-11 Thread Steve Rae
bcm11130 bcm11130_nand Signed-off-by: Steve Rae --- Changes in v2: - split from previous commit board/broadcom/bcm11130/MAINTAINERS | 6 ++ board/broadcom/bcm11130_nand/MAINTAINERS | 6 ++ configs/bcm11130_defconfig | 3 +++ configs/bcm11130_nand_defconfig

[U-Boot] [PATCH v2 1/2] ARM: bcm: Enable five Cygnus boards

2014-11-11 Thread Steve Rae
bcm911360_entphn bcm911360_entphn-ns bcm911360k bcm958300k-ns bcm958305k - updates to support Cygnus and NSP board families better - add functions so CONFIG_ARMV7_NONSEC can be enabled on Cygnus boards Signed-off-by: Steve Rae --- Changes in v2: - split into two commits arch/arm/Kconfig

[U-Boot] [PATCH v3] arm: bcm: update Cygnus and NSP board families

2014-11-21 Thread Steve Rae
- updates to support Cygnus and NSP board families better - add functions so CONFIG_ARMV7_NONSEC can be enabled on Cygnus boards Signed-off-by: Steve Rae --- Changes in v3: - it was premature to add all these boards; need to simplify the effort Changes in v2: - split into two commits arch

Re: [U-Boot] [PATCH 1/4] vexpress64: take over maintenance of the semi vexpress64

2014-12-26 Thread Steve Rae
Acked-by: Steve Rae On 14-12-23 05:02 PM, Linus Walleij wrote: As agreed with Steve Rae I'm taking over maintenance of the semihosted, emulated FVP/foundation model Versatile Express 64 bit board variant. Signed-off-by: Linus Walleij --- board/armltd/vexpress64/MAINTAINERS | 2 +- 1

Re: [U-Boot] [PATCH 2/4] vexpress64: switch to generic board

2014-12-26 Thread Steve Rae
Acked-by: Steve Rae On 14-12-23 05:02 PM, Linus Walleij wrote: The few Versatile Express ARMv8 platforms we have may just as well be switched to generic board from the beginning. Tested on the ARM foundation model and the in progress support for the ARMv8 Juno board. Signed-off-by: Linus

Re: [U-Boot] [PATCH 3/4] vexpress64: get rid of CONFIG_SYS_EXTRA_OPTIONS

2014-12-26 Thread Steve Rae
Acked-by: Steve Rae On 14-12-23 05:02 PM, Linus Walleij wrote: The Versatile Express ARMv8 semihosted FVP platform is still using the legacy CONFIG_SYS_EXTRA_OPTIONS method to configure some compile-time flags. Get rid of this and create a Kconfig entry for the FVP model, and a selectable bool

Re: [U-Boot] [PATCH] gpt: Fix the protective MBR partition size

2015-01-08 Thread Steve Rae
(+ Lukasz) Interesting - I'll defer to Lukasz... Thanks, Steve On 15-01-08 03:26 AM, Maxime Ripard wrote: According to the UEFI Spec (Table 16, section 5.2.3 of the version 2.4 Errata B), the protective MBR partition record size must be set to the size of the disk minus one, in LBAs. However, t

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

2015-01-20 Thread Steve Rae
Since a complete "gadget" implementation is not available yet, this series provides a method for interfacing the existing gadget code with the UDC driver code. Steve Rae (4): usb: gadget: fastboot: add CONFIG_FASTBOOT_NO_GADGET support usb: add 'bcm_udc_otg' support u

[U-Boot] [PATCH 1/4] usb: gadget: fastboot: add CONFIG_FASTBOOT_NO_GADGET support

2015-01-20 Thread Steve Rae
Implement fastboot_func_init() which provides a minimalistic setup of the USB endpoints and requests required by the fastboot gadget. Signed-off-by: Steve Rae --- drivers/usb/gadget/f_fastboot.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a

[U-Boot] [PATCH 3/4] usb: update 'sysmap.h'

2015-01-20 Thread Steve Rae
Add the required definitions for the USB OTG interface. Signed-off-by: Steve Rae --- arch/arm/include/asm/arch-bcm281xx/sysmap.h | 141 1 file changed, 141 insertions(+) diff --git a/arch/arm/include/asm/arch-bcm281xx/sysmap.h b/arch/arm/include/asm/arch-bcm281xx

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

2015-01-20 Thread Steve Rae
Implement the UDC support for the USB OTG interface. Signed-off-by: Steve Rae --- This commit is not checkpatch clean - however, there seems to be no way to remove this warning: "warning: drivers/usb/gadget/bcm_udc_otg.c,97: Adding new packed members is to be done with

[U-Boot] [PATCH 4/4] usb: fastboot: implement fastboot

2015-01-20 Thread Steve Rae
- add "bcm_usb_gadget.c" - implement fastboot on 'bcm28155_ap' boards Signed-off-by: Steve Rae --- drivers/usb/gadget/Makefile | 2 + drivers/usb/gadget/bcm_usb_gadget.c | 240 include/configs/bcm28155_ap.h | 20 ++-

Re: [U-Boot] [PATCH v4 2/2] fastboot: handle flash write to GPT partitions

2015-01-23 Thread Steve Rae
On 15-01-23 09:38 AM, Rob Herring wrote: On Fri, Dec 12, 2014 at 5:51 PM, Steve Rae wrote: Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Additionally, prepare and write the Backup GUID

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

2015-01-23 Thread Steve Rae
On 15-01-21 11:05 PM, Marek Vasut wrote: On Tuesday, January 20, 2015 at 11:42:08 PM, Steve Rae wrote: Implement the UDC support for the USB OTG interface. Signed-off-by: Steve Rae --- General question -- this bcm controller you're adding here isn't by any chance a DWC2 control

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

2015-01-26 Thread Steve Rae
On 15-01-24 03:47 AM, Marek Vasut wrote: On Saturday, January 24, 2015 at 12:48:15 AM, Steve Rae wrote: On 15-01-21 11:05 PM, Marek Vasut wrote: On Tuesday, January 20, 2015 at 11:42:08 PM, Steve Rae wrote: Implement the UDC support for the USB OTG interface. Signed-off-by: Steve Rae

[U-Boot] [PATCH] Kconfig: update FASTBOOT_FLASH_MMC_DEV

2016-08-27 Thread Steve Rae
handle FASTBOOT_FLASH_MMC_DEV default properly Signed-off-by: Steve Rae --- I was hoping that the FASTBOOT_FLASH_MMC_DEV Kconfig option could be an integer (eg. 0, 1, or 2 etc.) or undefined (to signify that it is not being used). However, it seems that (Kconfig experts please!) this is not

Re: [U-Boot] [PATCH v2 4/4] config: rk3399: add support for dwc3 gadget

2016-08-27 Thread Steve Rae
Hi Kever, On Aug 23, 2016 20:48, "Kever Yang" wrote: > > To support fastboot, we need to enable the controller first. > rk3399 is using dwc3 as usb device controller, this patch enable > the configs for dwc3 gadget. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v

Re: [U-Boot] [PATCH v2 1/4] disk: part: implement generic function part_get_info_by_name()

2016-09-12 Thread Steve Rae
har *name; > int part_type; > + const int max_entries; /* maximum number of entries to search */ > > /** > * get_info() - Get information about a partition > @@ -225,18 +245,6 @@ struct part_driver { > #include

Re: [U-Boot] [PATCH v2 2/4] fastboot: add support for writing MBR

2016-09-12 Thread Steve Rae
_MBR_NAME > + > In Action > = > Enter into fastboot by executing the fastboot command in u-boot and you > diff --git a/include/part.h b/include/part.h > index bd8fd49..b17c219 100644 > --- a/include/part.h > +++ b/include/part.h > @@ -351,4 +351,27 @@ int gpt_verify_partit

Re: [U-Boot] [PATCH v2 3/4] disk: part: refactor generic name creation for DOS and ISO

2016-09-12 Thread Steve Rae
lude/part.h > +++ b/include/part.h > @@ -165,6 +165,20 @@ int blk_get_device_part_str(const char *ifname, const > char *dev_part_str, > int part_get_info_by_name(struct blk_desc *dev_desc, > const char *name, disk_partition_t *info); > > +/** > +

Re: [U-Boot] [PATCH v2 4/4] fastboot: move FASTBOOT_FLASH options into Kconfig

2016-09-12 Thread Steve Rae
redundant GPT_ENTRY_NAME. >> >> Signed-off-by: Petr Kulhavy > > Reviewed-by: Tom Rini > > -- > Tom > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > Acked-

Re: [U-Boot] [PATCH v2 0/4] Fastboot MBR and generic partition support

2016-09-12 Thread Steve Rae
On Fri, Sep 9, 2016 at 1:27 AM, Petr Kulhavy wrote: > This set extends the Fastboot implementation from GPT-only to any partition > support. Further it adds a special target "mbr" (configurable) to write the > DOS MBR. > > Version 2: > Add a fourth patch into the set to move CONFIG_FASTBOOT_GPT_N

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

2016-03-10 Thread Steve Rae
From: Jiandong Zheng Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- There was a previous attempt to implement this "iproc NAND" (see: http://patchwork.ozlabs.org/patch/505399), however, due to the

[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 --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 33 +++ arch/arm/include/asm/arch-bcmnsp/configs.h| 33

[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 --- 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-bcmcygnus/configs.h b/arch

[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 --- 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/mtdparts.c | 4 ++-- include

[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 s

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 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(void) >>> +static unsigned i

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 wrote: > On Thu, Mar 10, 2016 at 02:26:27PM -0800, Steve Rae wrote: > >> From: Jiandong Zheng >> >> Add support for the iproc NAND, and e

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 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 #defines that will absolut

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

2016-03-11 Thread Steve Rae
On Fri, Mar 11, 2016 at 11:55 AM, Scott Wood wrote: > On Fri, 2016-03-11 at 11:47 -0800, Steve Rae wrote: >> On Fri, Mar 11, 2016 at 11:29 AM, Scott Wood wrote: >> > On Thu, 2016-03-10 at 14:26 -0800, Steve Rae wrote: >> > > From: Jiandong Zheng >> > >

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

2016-03-11 Thread Steve Rae
On Fri, Mar 11, 2016 at 12:18 PM, Scott Wood wrote: > On Fri, 2016-03-11 at 12:13 -0800, Steve Rae wrote: >> On Fri, Mar 11, 2016 at 11:55 AM, Scott Wood wrote: >> > On Fri, 2016-03-11 at 11:47 -0800, Steve Rae wrote: >> > > On Fri, Mar 11, 2016 at 11:29 AM, Scot

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

2016-03-11 Thread Steve Rae
From: Jiandong Zheng Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- There was a previous attempt to implement this "iproc NAND" (see: http://patchwork.ozlabs.org/patch/505399), however, due to the

[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 --- 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/include/asm/arch-bcmcygnus

[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 --- 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 cmd/mtdparts.c

[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 --- Changes in v2: None arch/arm/include/asm/arch-bcmcygnus/configs.h | 33 +++ arch/arm/include/asm/arch-bcmnsp/configs.h| 33

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

2016-03-12 Thread Steve Rae
From: Jiandong Zheng Add support for the iproc NAND, and enable on Cygnus and NSP boards. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- There was a previous attempt to implement this "iproc NAND" (see: http://patchwork.ozlabs.org/patch/505399), however, due to the

[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 --- 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: None Changes in v2: None

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

2016-03-12 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 --- Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-bcmcygnus/configs.h | 33 +++ arch/arm/include/asm/arch-bcmnsp

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

2016-03-12 Thread Steve Rae
Enable MTD support on Cygnus and NSP boards. Signed-off-by: Steve Rae --- Changes in v3: None 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

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 wrote: > From: Jiandong Zheng > > Add support for the iproc NAND, and enable on Cygnus and NSP boards. > > Signed-off-by: Jiandong Zheng > Signed-off-by: Steve Rae > --- > There was a previous attempt to implement this &

Re: [U-Boot] [PATCH] fastboot: allow retrieving fastboot variables from env

2016-03-22 Thread Steve Rae
On Thu, Mar 17, 2016 at 9:44 AM, Boris Brezillon < boris.brezil...@free-electrons.com> wrote: > On Thu, 17 Mar 2016 17:21:23 +0100 > Boris Brezillon wrote: > > > From: Rob Herring > > > > Some boards need to expose device specific variable through fastboot > > (to adpat the flashing script depen

Re: [U-Boot] [PATCH] fastboot: allow retrieving fastboot variables from env

2016-03-22 Thread Steve Rae
> > + strncat(response, s, chars_left); > > + } else { > > + printf("WARNING: unknown variable: %s\n", cmd); > > + strcpy(response, "FAILVariable not imple

[U-Boot] [PATCH v1] Revert "fastboot: OUT transaction length must be aligned to wMaxPacketSize"

2016-03-22 Thread Steve Rae
This reverts commit 9e4b510d40310bf46e09f4edd0a0b6356213df47. Signed-off-by: Steve Rae --- As discussed on the mailing list, this change breaks the download portion of fastboot by causing the server (the device running U-Boot) to wait forever for bytes which are never sent by the client (the

Re: [U-Boot] [PATCH v1] Revert "fastboot: OUT transaction length must be aligned to wMaxPacketSize"

2016-03-23 Thread Steve Rae
Lukasz & Sam: On Wed, Mar 23, 2016 at 8:54 AM, Sam Protsenko wrote: > > On Wed, Mar 23, 2016 at 11:49 AM, Lukasz Majewski > wrote: > > Hi Marek, > > > >> On 03/23/2016 01:50 AM, Steve Rae wrote: > >> > This reverts commit 9e4b510d40310bf46e09f4e

Re: [U-Boot] [PATCH v1] Revert "fastboot: OUT transaction length must be aligned to wMaxPacketSize"

2016-03-23 Thread Steve Rae
On Wed, Mar 23, 2016 at 12:40 PM, Sam Protsenko wrote: > On Wed, Mar 23, 2016 at 7:40 PM, Steve Rae wrote: >> Lukasz & Sam: >> >> On Wed, Mar 23, 2016 at 8:54 AM, Sam Protsenko >> wrote: >>> >>> On Wed, Mar 23, 2016 at 11:49 AM, Lukasz Majewski

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

2016-03-23 Thread Steve Rae
On Wed, Mar 9, 2016 at 12:47 PM, Maxime Ripard wrote: > On Tue, Feb 09, 2016 at 11:19:11AM -0800, Steve Rae wrote: >> remove logging of the 'skipped' blocks >> >> Signed-off-by: Steve Rae > > Acked-by: Maxime Ripard > > Thanks! > Maxime > >

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

2016-03-23 Thread Steve Rae
On Wed, Mar 9, 2016 at 12:46 PM, Maxime Ripard wrote: > On Tue, Feb 09, 2016 at 11:19:10AM -0800, Steve Rae wrote: >> When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented, >> it dropped 9981945 (aboot: fix block addressing for don't care chunk type). >>

Re: [U-Boot] [PATCH v1] Revert "fastboot: OUT transaction length must be aligned to wMaxPacketSize"

2016-04-04 Thread Steve Rae
15 PM, Tom Rini wrote: > > On Tue, Mar 22, 2016 at 05:50:41PM -0700, Steve Rae wrote: > > > >> This reverts commit 9e4b510d40310bf46e09f4edd0a0b6356213df47. > >> > >> Signed-off-by: Steve Rae > >> --- > >> As discussed on the mailing list, t

[U-Boot] [PATCH 1/3] usb: bcm_udc_otg: enable clocks

2016-04-04 Thread Steve Rae
Turn on the USB OTG clocks. Signed-off-by: Steve Rae --- drivers/usb/gadget/bcm_udc_otg_phy.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/bcm_udc_otg_phy.c b/drivers/usb/gadget/bcm_udc_otg_phy.c index 10b2e13..877f162 100644 --- a/drivers/usb/gadget

[U-Boot] [PATCH 2/3] bcm281xx: enable CONFIG_OF_LIBFDT

2016-04-04 Thread Steve Rae
set the Kconfig parameter: CONFIG_OF_LIBFDT Signed-off-by: Steve Rae --- configs/bcm28155_ap_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bcm28155_ap_defconfig b/configs/bcm28155_ap_defconfig index ba57944..538647d 100644 --- a/configs/bcm28155_ap_defconfig +++ b

[U-Boot] [PATCH 3/3] bcm281xx: save ENV to MMC

2016-04-04 Thread Steve Rae
Enable saving ENV to MMC for the bcm281xx boards. Signed-off-by: Steve Rae --- include/configs/bcm28155_ap.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h index f1e8ed1..2b8e324 100644 --- a/include

Re: [U-Boot] [PATCH 1/3] usb: bcm_udc_otg: enable clocks

2016-04-04 Thread Steve Rae
Hi Marek, On Mon, Apr 4, 2016 at 1:02 PM, Marek Vasut wrote: > > On 04/04/2016 09:59 PM, Steve Rae wrote: > > Turn on the USB OTG clocks. > > > > Signed-off-by: Steve Rae > > --- > > > > drivers/usb/gadget/bcm_udc_otg_phy.c | 4 > > 1 fi

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

2016-04-05 Thread Steve Rae
commit 9e4b510 fastboot: OUT transaction length must be aligned to wMaxPacketSize breaks some boards... Therefore add a conditional Kconfig to optionally enable this feature. Signed-off-by: Steve Rae --- Changes in v2: - ammendment to the original patch drivers/usb/gadget/Kconfig | 7

Re: [U-Boot] [PATCH 1/3] usb: bcm_udc_otg: enable clocks

2016-04-05 Thread Steve Rae
On Apr 5, 2016 3:08 PM, "Marek Vasut" wrote: > > On 04/04/2016 10:30 PM, Steve Rae wrote: > > Hi Marek, > > > > On Mon, Apr 4, 2016 at 1:02 PM, Marek Vasut wrote: > >> > >> On 04/04/2016 09:59 PM, Steve Rae wrote: > >>>

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

2016-04-05 Thread Steve Rae
On Apr 5, 2016 3:07 PM, "Marek Vasut" wrote: > > On 04/05/2016 08:31 PM, Steve Rae wrote: > > commit 9e4b510 fastboot: OUT transaction length must be aligned to wMaxPacketSize > > breaks some boards... > > > > Therefore add a conditional Kconfig to opt

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

2016-04-06 Thread Steve Rae
nd look into this Sorry for asking so many questions in one email -- but I'd appreciate answers ( I also apologize in advance for the "attitude" which is leaking into this email... ) Please tell me what I can do! I had working boards; now they are all broken -- and I don

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

2016-04-06 Thread Steve Rae
Thanks for the reply, Marek On Wed, Apr 6, 2016 at 12:53 PM, Marek Vasut wrote: > On 04/06/2016 07:18 PM, Steve Rae wrote: > > No -- I do not believe that this issue is caused by different fastboot > > (client) versions (the executable that runs on the host computer - >

Re: [U-Boot] arm: cache: misaligned operation with fastboot

2017-03-02 Thread Steve Rae
Hi Gary, On Thu, Mar 2, 2017 at 3:12 AM, Lukasz Majewski wrote: > Hi, > > > Hi Fabio, Lukasz, > > > > On Wed, Feb 15, 2017 at 02:24:40PM -0200, Fabio Estevam wrote: > > > On Wed, Feb 15, 2017 at 2:04 PM, Gary Bisson > > > wrote: > > > > Hi, > > > > > > > > I've been testing fastboot to flash a

Re: [U-Boot] [PATCH] fastboot: avoid printing invalid data

2017-03-02 Thread Steve Rae
//lists.denx.de/mailman/listinfo/u-boot > This change looks OK -- but since it is the first time that "%.*s" is used with "error()" in U-Boot; I created a test build in order to hit this error condition and ensured that it works correctly! Thanks! Tested-by: Steve Rae ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/listinfo/u-boot

[U-Boot] [ PATCH 1/2] net: fix cache misaligned issue in Broadcom SF2 driver

2017-03-03 Thread Steve Rae
Reviewed-by: JD Zheng Reviewed-by: Shamez Kurji Signed-off-by: Steve Rae Cover Letter: This series resolves issues specific to the Broadcom SF2 driver: - fix cache misaligned issue - convert to Kconfig END --- drivers/net/bcm-sf2-eth-gmac.c | 113

[U-Boot] [ PATCH 2/2] net: move Broadcom SF2 driver to Kconfig

2017-03-03 Thread Steve Rae
: Steve Rae --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 6 +- configs/bcm28155_w1d_defconfig| 5 +++-- configs/bcm911360_entphn-ns_defconfig | 3 +++ configs/bcm911360_entphn_defconfig| 3 +++ configs/bcm911360k_defconfig | 3

Re: [U-Boot] [ PATCH 1/2] net: fix cache misaligned issue in Broadcom SF2 driver

2017-03-03 Thread Steve Rae
On Fri, Mar 3, 2017 at 5:06 PM, Steve Rae wrote: > From: Suji Velupillai > > Fixed cache misaligned issue in the net driver. The issue shows-up when > a call to flush_dcache_range is made with unaligned memory. The memory > must be aligned to ARCH_DMA_MINALIGN. > >

Re: [U-Boot] arm: cache: misaligned operation with fastboot

2017-03-06 Thread Steve Rae
On Fri, Mar 3, 2017 at 9:27 AM, Gary Bisson wrote: > Hi Steve, > > On Fri, Mar 3, 2017 at 12:03 AM, Steve Rae > wrote: > > > > Hi Gary, > > > > On Thu, Mar 2, 2017 at 3:12 AM, Lukasz Majewski wrote: > >> > >> Hi, > >> > >&

[U-Boot] [ PATCH] ARM: cache: runtime flag to suppress the "cache misaligned" message

2017-03-06 Thread Steve Rae
The "chunks" in the "fastboot sparse image" are not aligned, resulting in many "cached misaligned" messages from check_cache_range(). Implement a runtime flag to suppress this message, and use this flag when processing the "fastboot sparse image". Sig

[U-Boot] [ PATCH v3] net: move Broadcom SF2 driver to Kconfig

2017-07-10 Thread Steve Rae
Reviewed-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v3: - use Kconfig "imply" method for BCMCYGNUS boards Changes in v2: - update Kconfig help text - move CONFIG_BCM_SF2_ETH_DEFAULT_PORT to Kconfig arch/arm/Kconfig | 3 +++ arch/arm/includ

[U-Boot] [ PATCH v2] net: move Broadcom SF2 driver to Kconfig

2017-04-12 Thread Steve Rae
Reviewed-by: Scott Branden Signed-off-by: Steve Rae --- Changes in v2: - update Kconfig help text - move CONFIG_BCM_SF2_ETH_DEFAULT_PORT to Kconfig arch/arm/include/asm/arch-bcmcygnus/configs.h | 6 +- configs/bcm28155_w1d_defconfig| 5 +++-- configs/bcm911360_entphn

[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 tr

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 fa

[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) if

[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
condition from '!=' to '>' to fix this issue. Signed-off-by: Frank Wang Tested-by: Steve Rae --- drivers/usb/gadget/dwc2_udc_otg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c

[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 --- include/configs/bcm28155_ap.h | 20 1 file changed, 20 deletions(-) diff --git a/include/configs/bcm28155_ap.h b/include/co

[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 --- drivers/usb/gadget/f_fastboot.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers

[U-Boot] [PATCH v1] fastboot: handle flash write to GPT partition

2014-12-04 Thread Steve Rae
Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Signed-off-by: Steve Rae --- README | 7 +++ common/fb_mmc.c | 19 --- 2 files changed, 23 insertions(+), 3

[U-Boot] [PATCH v1] bcm281xx: add support for "USB OTG clock"

2014-12-05 Thread Steve Rae
enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR) Signed-off-by: Steve Rae --- arch/arm/cpu/armv7/bcm281xx/Makefile| 3 ++- arch/arm/cpu/armv7/bcm281xx/clk-bcm281xx.c | 20 -- arch/arm/cpu/armv7/bcm281xx/clk-usb-otg.c | 32

[U-Boot] [PATCH v2] bcm281xx: add support for "USB OTG clock"

2014-12-06 Thread Steve Rae
enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR) Signed-off-by: Steve Rae --- Changes in v2: removed unrelated changes as per Felipe Balbi arch/arm/cpu/armv7/bcm281xx/Makefile| 1 + arch/arm/cpu/armv7/bcm281xx/clk-bcm281xx.c | 16

Re: [U-Boot] [PATCH v1] fastboot: handle flash write to GPT partition

2014-12-08 Thread Steve Rae
Hi Lukasz, On 14-12-08 03:21 AM, Lukasz Majewski wrote: Hi Steve, Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Signed-off-by: Steve Rae --- README | 7 +++ common

[U-Boot] [PATCH v2] fastboot: handle flash write to GPT partition

2014-12-08 Thread Steve Rae
Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Signed-off-by: Steve Rae --- Changes in v2: add validation of the GPT before writing to flash (suggested by: Lukasz Majewski ) README

Re: [U-Boot] [PATCH v2] bcm281xx: add support for "USB OTG clock"

2014-12-09 Thread Steve Rae
On 14-12-07 05:30 PM, Michael Trimarchi wrote: Hi Il 07/dic/2014 02:24 "Steve Rae" ha scritto: enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR) Signed-off-by: Steve Rae --- Changes in v2: removed unrelated changes as per Felipe Balbi ar

[U-Boot] [PATCH v3] bcm281xx: add support for "USB OTG clock"

2014-12-09 Thread Steve Rae
enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR) Signed-off-by: Steve Rae --- Changes in v3: clean up return statement as per Michael Trimarchi Changes in v2: removed unrelated changes as per Felipe Balbi arch/arm/cpu/armv7/bcm281xx/Makefile| 1

Re: [U-Boot] [PATCH 0/17] buildman: A few more features and improvements (Christmas edition)

2014-12-10 Thread Steve Rae
good improvements -- and it fixes my issues Thanks! (tested buildman-working 6c7f1b6) Tested-by: Steve Rae On 14-12-09 09:29 PM, Simon Glass wrote: Hi, On 1 December 2014 at 17:50, Simon Glass wrote: Hi, On 1 December 2014 at 17:33, Simon Glass wrote: Various people (on CC) have

[U-Boot] [PATCH v3] fastboot: handle flash write to GPT partitions

2014-12-10 Thread Steve Rae
Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Additionally, prepare and write the Backup GUID Partition Table. Signed-off-by: Steve Rae --- Changes in v3: - prefer leXX_to_cpu() over

Re: [U-Boot] [PATCH v2] fastboot: handle flash write to GPT partition

2014-12-10 Thread Steve Rae
Hi Lukasz, On 14-12-09 01:05 AM, Lukasz Majewski wrote: Hi Steve, Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Signed-off-by: Steve Rae --- Changes in v2: add validation of the GPT

Re: [U-Boot] VEXPRESS64 ARMv8 U-Boot maintenance

2014-12-12 Thread Steve Rae
On 14-12-11 01:48 AM, Linus Walleij wrote: Hi folks (David & Steve listed as AArch64/v8 maintainers), are you actively maintaining and reviewing ARM64 board patches? Sadly, no. If you would take over being maintainer for the "vexpress_aemv8a_semi" board, that would be appreciated. Thanks, S

Re: [U-Boot] [PATCH 1/3] arm: semihosting: staticize internal functions

2014-12-12 Thread Steve Rae
Acked-by: Steve Rae On 14-11-20 02:25 AM, Linus Walleij wrote: The semihosting code exposes internal file handle handling functions to read(), open(), close() and get the length of a certain file handle. However the code using it is only interested in either reading and entire named file into

Re: [U-Boot] [PATCH 2/3] arm: semihosting: fix up compile bugs

2014-12-12 Thread Steve Rae
/* Open the file */ fd = smh_open(fname, "rb"); - if (fd == -1) + if (fd < 0) return fd; /* Get the file length */ len = smh_len_fd(fd); + if (len < 0) + return len; /* Close the fil

Re: [U-Boot] [PATCH 3/3] arm: semihosting: get rid of forward declarations

2014-12-12 Thread Steve Rae
Acked-by: Steve Rae On 14-11-20 02:25 AM, Linus Walleij wrote: By rearranging the functions in the semihosting code we can avoid forward-declaration of the internal static functions. This puts the stuff in a logical order: read/open/close/len and then higher-order functions follow at the end

[U-Boot] [PATCH v4 2/2] fastboot: handle flash write to GPT partitions

2014-12-12 Thread Steve Rae
Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Additionally, prepare and write the Backup GUID Partition Table. Signed-off-by: Steve Rae --- Changes in v4: fix bug with partition_entry_lba in

[U-Boot] [PATCH v4 1/2] disk: part_efi: move code to static functions

2014-12-12 Thread Steve Rae
Signed-off-by: Steve Rae --- Changes in v4: - move common code to static functions Changes in v3: None Changes in v2: None disk/part_efi.c | 175 +--- 1 file changed, 102 insertions(+), 73 deletions(-) diff --git a/disk/part_efi.c b/disk

Re: [U-Boot] [PATCH v2 09/23] ARM: boot0 hook: remove macro, include whole header file

2016-12-30 Thread Steve Rae
endif /* __BOOT0_H */ > diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S > index 5cc132b..9fe7415 100644 > --- a/arch/arm/lib/vectors.S > +++ b/arch/arm/lib/vectors.S > @@ -67,7 +67,6 @@ _start: > * use it here. > */ > #include > -ARM_SOC_BOOT0_HOOK &g

Re: [U-Boot] [PATCH v3 10/26] ARM: boot0 hook: remove macro, include whole header file

2016-12-30 Thread Steve Rae
.space 1532 > - > -#endif /* __BOOT0_H */ > diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S > index 5cc132b..9fe7415 100644 > --- a/arch/arm/lib/vectors.S > +++ b/arch/arm/lib/vectors.S > @@ -67,7 +67,6 @@ _start: > * use it here. > */ > #include >

Re: [U-Boot] [PATCH] Fix fastboot boot address

2016-12-30 Thread Steve Rae
__ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Acked-by: Steve Rae Thanks, Steve ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

<    1   2   3   4