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

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

[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 <s...@broadcom.com> --- 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(+)

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 <o...@buserror.net> wrote: > On Fri, 2016-03-11 at 12:13 -0800, Steve Rae wrote: >> On Fri, Mar 11, 2016 at 11:55 AM, Scott Wood <o...@buserror.net> wrote: >> > On Fri, 2016-03-11 at 11:47 -0800, Steve Rae wrote: >>

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 <o...@buserror.net> wrote: > On Fri, 2016-03-11 at 11:47 -0800, Steve Rae wrote: >> On Fri, Mar 11, 2016 at 11:29 AM, Scott Wood <o...@buserror.net> wrote: >> > On Thu, 2016-03-10 at 14:26 -0800, Steve Rae wrote: >

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

2016-04-06 Thread Steve Rae
n "TI platforms" to step up and 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

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

2016-04-07 Thread Steve Rae
submit a v3 which includes the boards that you know require this capability! Let me know, Thanks, Steve > Also > good thing to do after that is check options order in changed > defconfigs with "make savedefconfig" rule. Both your current changes > and appropriate l

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

2016-04-07 Thread Steve Rae
On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko <semen.protse...@linaro.org> wrote: > On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae <steve@broadcom.com> wrote: > > Hi Sam, > > > > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko < > semen.protse...@linaro.org>

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

2016-04-07 Thread Steve Rae
On Thu, Apr 7, 2016 at 4:11 PM, Sam Protsenko <semen.protse...@linaro.org> wrote: > On Fri, Apr 8, 2016 at 12:39 AM, Steve Rae <steve@broadcom.com> wrote: > > > > > > On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko < > semen.protse...@linaro.org> > &

[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 <s...@broadcom.com> --- Changes in v2: - ammendment to the original patch drivers/usb/

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 <ma...@denx.de> 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

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" <ma...@denx.de> 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 conditi

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

2016-04-12 Thread Steve Rae
On Tue, Apr 12, 2016 at 6:50 AM, Roger Quadros wrote: > Lukasz, > > On 12/04/16 16:37, Lukasz Majewski wrote: >> Hi Roger, >> >>> Hi, >>> >>> On 12/04/16 14:19, Lukasz Majewski wrote: Hi Tom, Mugunthan > On Mon, Apr 11, 2016 at 05:04:56PM +0530, Mugunthan V N wrote:

Re: [U-Boot] [PATCH 2/2] fastboot: Enable the respective speed endpoints at runtime

2016-04-12 Thread Steve Rae
quot;); >> return ret; >> @@ -280,7 +290,8 @@ static int fastboot_set_alt(struct usb_function >> *f, } >> f_fb->out_req->complete = rx_handler_command; >> >> - ret = usb_ep_enable(f_fb->in_ep, _ep_in); >> + d = fb_ep_

Re: [U-Boot] [PATCH 1/2] fastboot: Fix wMaxPacketSize for High-Speed IN endpoint

2016-04-12 Thread Steve Rae
oops -- my last reply was interpreted as a new patch: http://patchwork.ozlabs.org/patch/609843/ so I'll try again: Tested-by: Steve Rae <s...@broadcom.com> [Test HW: bcm235xx board] On Tue, Apr 12, 2016 at 5:51 AM, Roger Quadros <rog...@ti.com> wrote: > wMaxPacketSize for IN e

Re: [U-Boot] [PATCH 1/2] fastboot: Fix wMaxPacketSize for High-Speed IN endpoint

2016-04-12 Thread Steve Rae
t Steve would say more about this. That was a different issue -- nothing to do with the size of the endpoints. Tested-by: Steve Rae <s...@broadcom.com> [Test HW: bcm235xx board] Thanks, Steve PS. however, it does NOT solve the issue is the other thread, I still need to patch with the follow

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" <ma...@denx.de> wrote: > > On 04/04/2016 10:30 PM, Steve Rae wrote: > > Hi Marek, > > > > On Mon, Apr 4, 2016 at 1:02 PM, Marek Vasut <ma...@denx.de> wrote: > >> > >> On 04/04/2016 09:59 PM, Steve

[U-Boot] Custodian Repo for Broadcom (arm) boards

2016-04-11 Thread Steve Rae
Tom & Albert, Please approve the creation of a custodian repo for the Broadcom (arm) boards. ( Wolfgang already has my public key... ) Wolfgang stated: > Before I can set up a new custodian repo, please post your > offer on the U-Boot mailing list - I think the chips in question > belong to the

Re: [U-Boot] Custodian Repo for Broadcom (arm) boards

2016-04-11 Thread Steve Rae
On Mon, Apr 11, 2016 at 3:34 PM, Tom Rini <tr...@konsulko.com> wrote: > On Mon, Apr 11, 2016 at 03:13:37PM -0700, Steve Rae wrote: >> On Mon, Apr 11, 2016 at 3:08 PM, Tom Rini <tr...@konsulko.com> wrote: >> > On Mon, Apr 11, 2016 at 03:01:10PM -0700,

Re: [U-Boot] Custodian Repo for Broadcom (arm) boards

2016-04-11 Thread Steve Rae
Hi Tom, On Mon, Apr 11, 2016 at 2:56 PM, Tom Rini <tr...@konsulko.com> wrote: > On Mon, Apr 11, 2016 at 11:55:49AM -0700, Steve Rae wrote: > >> Tom & Albert, >> Please approve the creation of a custodian repo for the Broadcom (arm) >> boards. >&

Re: [U-Boot] Custodian Repo for Broadcom (arm) boards

2016-04-11 Thread Steve Rae
On Mon, Apr 11, 2016 at 3:08 PM, Tom Rini <tr...@konsulko.com> wrote: > On Mon, Apr 11, 2016 at 03:01:10PM -0700, Steve Rae wrote: >> Hi Tom, >> >> On Mon, Apr 11, 2016 at 2:56 PM, Tom Rini <tr...@konsulko.com> wrote: >> > On Mon, Apr 11, 2016 at 11:55:4

Re: [U-Boot] Custodian Repo for Broadcom (arm) boards

2016-04-11 Thread Steve Rae
I would prefer NOT to handle bcm283x (raspberry pi) stuff (That project is really outside of Broadcom Ltd's control...) Thanks, Steve On Mon, Apr 11, 2016 at 2:37 PM, Stephen Warren <swar...@wwwdotorg.org> wrote: > On 04/11/2016 12:55 PM, Steve Rae wrote: >> >> To

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 <semen.protse...@linaro.org> wrote: > On Wed, Mar 23, 2016 at 7:40 PM, Steve Rae <steve@broadcom.com> wrote: >> Lukasz & Sam: >> >> On Wed, Mar 23, 2016 at 8:54 AM, Sam Protsenko >> <semen.protse...@l

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

2016-03-22 Thread Steve Rae
> + snprintf(envstr, sizeof(envstr) - 1, "fastboot.%s", cmd); > > + s = getenv(envstr); > > + if (s) { > > + strncat(response, s, chars_left); > > + } else { > > + printf("WARNING:

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

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 <maxime.rip...@free-electrons.com> 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

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 <maxime.rip...@free-electrons.com> 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 <s...@broadcom.com> > > Acke

[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 <s...@broadcom.com> --- 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 neve

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 <semen.protse...@linaro.org> wrote: > > On Wed, Mar 23, 2016 at 11:49 AM, Lukasz Majewski > <l.majew...@samsung.com> wrote: > > Hi Marek, > > > >> On 03/23/2016 01:50 A

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

2016-04-04 Thread Steve Rae
: > On Thu, Mar 24, 2016 at 7:15 PM, Tom Rini <tr...@konsulko.com> wrote: > > On Tue, Mar 22, 2016 at 05:50:41PM -0700, Steve Rae wrote: > > > >> This reverts commit 9e4b510d40310bf46e09f4edd0a0b6356213df47. > >> > >> Signed-off-by: Steve Rae <s.

[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 <s...@broadcom.com> --- 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

[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 <s...@broadcom.com> --- 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/c

[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 <s...@broadcom.com> --- 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/drive

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 <ma...@denx.de> wrote: > > On 04/04/2016 09:59 PM, Steve Rae wrote: > > Turn on the USB OTG clocks. > > > > Signed-off-by: Steve Rae <s...@broadcom.com> > > --- > > > > drivers/usb/ga

Re: [U-Boot] [PATCH 3/3] usb: s3c-otg: Fix remaining bytes in debug messages

2016-04-21 Thread Steve Rae
plete_tx(struct > > dwc2_udc *dev, u8 ep_num) "%s: TX DMA done : ep = %d, tx bytes = > > %d/%d, " "is_short = %d, DIEPTSIZ = 0x%x, remained bytes = %d\n", > > __func__, ep_num, req->req.actual, req->req.length, > > - is_short, ep_t

Re: [U-Boot] [PATCH 1/3] fastboot: Clean up bulk-out logic

2016-04-21 Thread Steve Rae
On Thu, Apr 21, 2016 at 3:03 AM, Lukasz Majewski <l.majew...@samsung.com> wrote: > Hi Roger, > > > Just use ep->maxpacket to get the maxpacket size > > and simplify the bulk-out maxpacket alignment. > > > > Signed-off-by: Roger Quadros <rog...@ti.com>

Re: [U-Boot] [PATCH 3/3] usb: s3c-otg: Fix remaining bytes in debug messages

2016-04-21 Thread Steve Rae
On Thu, Apr 21, 2016 at 7:49 PM, Steve Rae <steve@broadcom.com> wrote: > > > On Thu, Apr 21, 2016 at 3:05 AM, Lukasz Majewski <l.majew...@samsung.com> > wrote: > >> Hi Roger, >> >> > Remaining bytes means bytes that are not yet transfer

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

2016-05-20 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> --- common/fb_mmc.c | 40 common/fb_nand.c| 38 +++--- common/image-sparse.c

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

2016-05-20 Thread Steve Rae
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, and (3) improving performance when writing CHUNK_TYPE_FILL Steve Rae (5): fastboot: sparse: remove

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

2016-05-20 Thread Steve Rae
=LE.BR.1.2.1 Signed-off-by: Steve Rae <s...@broadcom.com> --- common/fb_mmc.c| 32 ++-- common/fb_nand.c | 52 +++--- common/image-sparse.c | 449 + include/image-sparse.h | 25 +-- 4 files changed, 208 insertions(+), 350 del

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

2016-05-20 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> --- common/image-sparse.c | 37 +++-- 1 file changed, 27 insertions(+), 10 del

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

2016-05-20 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 4/5] fastboot: sparse: implement reserve()

2016-05-20 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:

Re: [U-Boot] [RFC] fastboot: sparse image handling and sessionId

2016-05-13 Thread Steve Rae
On Mon, May 9, 2016 at 8:00 AM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi Steve, > > Sorry for the late reply. > > On Fri, Apr 15, 2016 at 09:14:41PM -0700, Steve Rae wrote: > > Maxime, > > > > I suspect that the issue fixed > >

Re: [U-Boot] [PATCH 3/6] arm64: sunxi: reserve space for boot0 header

2016-05-06 Thread Steve Rae
Hi Andre, On Wed, May 4, 2016 at 2:15 PM, Andre Przywara wrote: > The Allwinner provided boot0 boot loader requires a header before the > U-Boot binary to both check its validity and to find other blobs to > load. There is a tool called boot0img which fills the header >

Re: [U-Boot] [PATCH 3/6] arm64: sunxi: reserve space for boot0 header

2016-05-06 Thread Steve Rae
On Fri, May 6, 2016 at 2:27 PM, André Przywara <andre.przyw...@arm.com> wrote: > On 06/05/16 22:15, Steve Rae wrote: > > Hi Andre, > > > > On Wed, May 4, 2016 at 2:15 PM, Andre Przywara <andre.przyw...@arm.com > > <mailto:andre.przyw...@arm.com>> wr

Re: [U-Boot] [RFC] fastboot: sparse image handling and sessionId

2016-05-01 Thread Steve Rae
On Apr 15, 2016 21:14, "Steve Rae" <steve@broadcom.com> wrote: > > Maxime, > > I suspect that the issue fixed > in commit c7529dbfastboot: sparse: fix block addressing for > don't care chunk type > > complicated the assumptions which led

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-15 Thread Steve Rae
On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros wrote: > Hi, > > On 13/04/16 19:56, Sam Protsenko wrote: > > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros wrote: > >> Hi, > >> > >> On 13/04/16 15:01, Semen Protsenko wrote: > >>> From: Sam Protsenko

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

2016-04-15 Thread Steve Rae
On Thu, Apr 14, 2016 at 4:15 AM, Roger Quadros <rog...@ti.com> wrote: > Steve, > > On 13/04/16 04:55, Steve Rae wrote: > > On Tue, Apr 12, 2016 at 6:50 AM, Roger Quadros <rog...@ti.com> wrote: > >> Lukasz, > >> > >> On 12/04/16 16:37,

[U-Boot] [RFC] fastboot: sparse image handling and sessionId

2016-04-15 Thread Steve Rae
Maxime, I suspect that the issue fixed in commit c7529dbfastboot: sparse: fix block addressing for don't care chunk type complicated the assumptions which led to the implementation of the "sessionId" in commit 1f8690asparse: Implement several chunks flashing The fastboot client

Re: [U-Boot] couple questions about tail end of common/Makefile

2016-04-16 Thread Steve Rae
On Sat, Apr 16, 2016 at 2:25 AM, Robert P. J. Day wrote: > > first, this related to CONFIG_FASTBOOT_FLASH: > > # This option is not just y/n - it can have a numeric value > ifdef CONFIG_FASTBOOT_FLASH > obj-y += image-sparse.o > ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Steve Rae
On Mon, Apr 18, 2016 at 6:55 AM, Roger Quadros <rog...@ti.com> wrote: > On 18/04/16 16:47, Lukasz Majewski wrote: >> Hi Roger, Steve, >> >>> +Lukazs >>> >>> On 18/04/16 10:56, Roger Quadros wrote: >>>> On 15/04/16 22:44, Steve Rae wro

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-13 Thread Steve Rae
On Wed, Apr 13, 2016 at 9:56 AM, Sam Protsenko wrote: > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros wrote: > > Hi, > > > > On 13/04/16 15:01, Semen Protsenko wrote: > >> From: Sam Protsenko > >> > >> Some UDC controllers

Re: [U-Boot] [PATCH v2] arm64: allow space reservation for boot header

2016-05-25 Thread Steve Rae
On Wed, May 25, 2016 at 9:50 AM, Andre Przywara <andre.przyw...@arm.com> wrote: > Hi, > > On 25/05/16 17:15, Steve Rae wrote: > > Hi, > > > > On Wed, May 25, 2016 at 1:48 AM, Hans de Goede <hdego...@redhat.com > > <mailto:hdego...@redhat.com>> w

Re: [U-Boot] [PATCH v2] arm64: allow space reservation for boot header

2016-05-25 Thread Steve Rae
Hi, On Wed, May 25, 2016 at 1:48 AM, Hans de Goede wrote: > Hi, > > On 25-05-16 10:40, Andre Przywara wrote: > >> Some SPL loaders (like Allwinner's boot0) require a header before the >> actual U-Boot binary to both check its validity and to find other data >> to load. >>

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: set to INT_DATA_END when there are data

2016-07-25 Thread Steve Rae
On Mon, Jul 25, 2016 at 4:23 PM, Steve Rae <steve@raedomain.com> wrote: > Hi Jaehoon, > > On Mon, Jul 25, 2016 at 3:21 AM, Lukasz Majewski <l.majew...@samsung.com> > wrote: >> Hi Jaehoon, >> >>> Hi All, >>> >>>

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: set to INT_DATA_END when there are data

2016-07-25 Thread Steve Rae
nt >> > update journal finished >> > 32505856 bytes written in 4884 ms (6.3 MiB/s) >> > >> > >> > > > > -- > Best regards, > > Lukasz Majewski > > Samsung R Institute Poland (SRPOL) | Linux Platform Group with this change, I can also set th

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: set to INT_DATA_END when there are data

2016-07-26 Thread Steve Rae
HI Lukasz, On Tue, Jul 26, 2016 at 2:13 AM, Lukasz Majewski wrote: > Hi Steve, > >> with this change, I can also set the following back to 100: >> >> diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c >> index de8d8ea..d593dc6 100644 >> --- a/drivers/mmc/sdhci.c >>

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

2016-06-28 Thread Steve Rae
Hi Stefan, On Tue, Jun 28, 2016 at 8:00 AM, Stefan Roese <s...@denx.de> wrote: > Hi Steve, > > On 27.06.2016 23:43, Steve Rae wrote: >> >> Otherwise, ocassionally see errors like this: >>Flashing sparse image at offset 2078720 >>Flashing Sparse

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

2016-06-28 Thread Steve Rae
Hi Tom, On Tue, Jun 28, 2016 at 1:34 PM, Tom Rini <tr...@konsulko.com> wrote: > On Tue, Jun 28, 2016 at 01:30:09PM -0700, Steve Rae wrote: >> Hi Stefan, >> >> On Tue, Jun 28, 2016 at 8:00 AM, Stefan Roese <s...@denx.de> wrote: >> > Hi Steve, >

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

2016-06-28 Thread Steve Rae
On Tue, Jun 28, 2016 at 3:21 PM, Tom Rini <tr...@konsulko.com> wrote: > On Tue, Jun 28, 2016 at 01:53:52PM -0700, Steve Rae wrote: >> Hi Tom, >> >> On Tue, Jun 28, 2016 at 1:34 PM, Tom Rini <tr...@konsulko.com> wrote: >> > On Tue, Jun 28, 2016 at 01:30:09

Re: [U-Boot] [PATCH 3/4] rockchip: rk3288: add fastboot support

2016-06-30 Thread Steve Rae
Hi Ziyuan, On Thu, Jun 30, 2016 at 8:23 AM, Simon Glass wrote: > Hi Ziyuan, > > On 30 June 2016 at 00:22, Ziyuan Xu wrote: >> Enable fastboot feature on rk3288. >> >> This path doesn't support the fastboot flash function command entirely. >> We will hit

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

2016-06-29 Thread Steve Rae
Hi Masahiro, On Wed, Jun 29, 2016 at 4:52 AM, Masahiro Yamada wrote: > Hi Steve, > > >> @@ -127,6 +127,7 @@ static int sdhci_transfer_data(struct sdhci_host *host, >> struct mmc_data *data, >> #define CONFIG_SDHCI_CMD_MAX_TIMEOUT 3200 >> #endif >>

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

2016-06-29 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> Reviewed-by: Stefan Roese <s...@denx.de> Tested-by: Masahiro Yamada &

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

2016-06-29 Thread Steve Rae
Hi Scott, On Tue, Jun 28, 2016 at 6:17 PM, Scott Wood <o...@buserror.net> wrote: > On Sat, 2016-03-12 at 14:48 -0800, Steve Rae wrote: >> - add missing declaration >> - update debug output format specifiers >> >> Signed-off-by: Steve Rae <s...@broadcom.c

[U-Boot] [PATCH v4] mtd: fix compiler warnings

2016-06-29 Thread Steve Rae
- add missing declaration - update debug output format specifiers Signed-off-by: Steve Rae <steve@raedomain.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

[U-Boot] [PATCH 1/2] fastboot: implement Kconfig

2016-08-15 Thread Steve Rae
implement Kconfig for the 'fastboot' feature set Signed-off-by: Steve Rae <steve@raedomain.com> --- It did not seem feasible to use the "moveconfig.py" tool -- mostly because some of these configurations use defines rather than actual values... In addition, implemented

[U-Boot] [PATCH 2/2] fastboot: move to Kconfig

2016-08-15 Thread Steve Rae
- move bcm23550_w1d to Kconfig - move bcm28155_ap to Kconfig Signed-off-by: Steve Rae <steve@raedomain.com> --- configs/bcm23550_w1d_defconfig | 8 configs/bcm28155_ap_defconfig | 8 include/configs/bcm23550_w1d.h | 8 include/configs/bcm28155_ap.

Re: [U-Boot] [PATCH 1/2] fastboot: more support for reboot-bootloader command

2016-08-24 Thread Steve Rae
elp? Thanks, Steve On Wed, Aug 24, 2016 at 3:07 AM, Paul Kocialkowski <cont...@paulk.fr> wrote: > Hi, > > Le mardi 23 août 2016 à 16:38 -0700, Steve Rae a écrit : >> The "fastboot reboot-bootloader" command is defined to >> re-enter into fastboot mode after

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

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

2016-09-12 Thread Steve Rae
> + > 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_partitions

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

2016-09-12 Thread Steve Rae
NAME). >> Remove the now redundant GPT_ENTRY_NAME. >> >> Signed-off-by: Petr Kulhavy <br...@jikos.cz> > > Reviewed-by: Tom Rini <tr...@konsulko.com> > > -- > Tom > > ___ > U-Boot mailing list > U-Boot@li

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

2016-09-12 Thread Steve Rae
er { > #include > /* disk/part_efi.c */ > /** > - * part_get_info_efi_by_name() - Find the specified GPT partition table entry > - * > - * @param dev_desc - block device descriptor > - * @param gpt_name - the specified table entry name > - * @param info - returns the disk partition info > - * > - * @return - '0' on match, '-1' on no match, otherwise error > - */ > -int part_get_info_efi_by_name(struct blk_desc *dev_desc, > - const char *name, disk_partition_t *info); > - > -/** > * write_gpt_table() - Write the GUID Partition Table to disk > * > * @param dev_desc - block device descriptor > -- > 2.7.4 > > ___ > U-Boot mailing list > u-b...@lists.denx.deenteries > http://lists.denx.de/mailman/listinfo/u-boot Acked-by: Steve Rae <steve@raedomain.com> ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2016-09-12 Thread Steve Rae
t.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); > > +/** > + * part_set_generic_na

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

[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 <steve@raedomain.com> --- 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 e

[U-Boot] [PATCH 2/2] bcm: fastboot: implement 'reboot-bootloader'

2016-08-23 Thread Steve Rae
on bcm235xx and bcm281xx boards Signed-off-by: Steve Rae <steve@raedomain.com> --- board/broadcom/bcm23550_w1d/bcm23550_w1d.c | 30 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 30 ++ 2 files changed, 60 insertions(+) diff

[U-Boot] [PATCH 1/2] fastboot: more support for reboot-bootloader command

2016-08-23 Thread Steve Rae
uld launch fastboot during the boot sequence via this __weak fb_handle_reboot_flag() function. The actual handling this reset flag should be implemented by board/SoC specific code. Signed-off-by: Steve Rae <steve@raedomain.com> cc: Alexey Firago <alexey_fir...@mentor.com> cc: Paul Kocialko

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

2016-09-24 Thread Steve Rae
On Aug 27, 2016 15:16, "Steve Rae" <steve@raedomain.com> wrote: > > handle FASTBOOT_FLASH_MMC_DEV default properly > > Signed-off-by: Steve Rae <steve@raedomain.com> > --- > I was hoping that the FASTBOOT_FLASH_MMC_DEV Kconfig option could be > an

Re: [U-Boot] [PATCH 1/2] fastboot: more support for reboot-bootloader command

2016-09-24 Thread Steve Rae
On Aug 25, 2016 01:30, "Paul Kocialkowski" <cont...@paulk.fr> wrote: > > Le mercredi 24 août 2016 à 16:52 -0700, Steve Rae a écrit : > > So, I wanted to: > > (1) simplify this to not depend on any env variable, and not depend on > > the CONFIG_BOOTCOM

Re: [U-Boot] [PATCH 2/2] bcm: fastboot: implement 'reboot-bootloader'

2016-09-24 Thread Steve Rae
On Aug 23, 2016 16:39, "Steve Rae" <steve@raedomain.com> wrote: > > on bcm235xx and bcm281xx boards > > Signed-off-by: Steve Rae <steve@raedomain.com> > --- > > board/broadcom/bcm23550_w1d/bcm23550_w1d.c | 30 ++

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

2016-12-30 Thread Steve Rae
au> > > Reviewed-by: Tom Rini <tr...@konsulko.com> > > -- > Tom > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Acked-by: Steve Rae <steve@raedomain.com> Thanks, Steve _

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

2016-12-30 Thread Steve Rae
b reset > .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: >

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

2016-12-30 Thread Steve Rae
b reset; \ > + b reset > .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 > @@ -6

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

2017-04-12 Thread Steve Rae
adcom.com> Tested-by: Suji Velupillai <suji.velupil...@broadcom.com> Reviewed-by: JD Zheng <jiandong.zh...@broadcom.com> Reviewed-by: Scott Branden <scott.bran...@broadcom.com> Signed-off-by: Steve Rae <steve@raedomain.com> --- Changes in v

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

2017-03-03 Thread Steve Rae
i Velupillai <suji.velupil...@broadcom.com> Reviewed-by: JD Zheng <jiandong.zh...@broadcom.com> Reviewed-by: Scott Branden <scott.bran...@broadcom.com> Signed-off-by: Steve Rae <steve@raedomain.com> --- arch/arm/include/asm/arch-bcmcygnus/configs.h | 6 +- configs/bcm281

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

2017-03-03 Thread Steve Rae
adcom.com> Tested-by: Suji Velupillai <suji.velupil...@broadcom.com> Reviewed-by: Arun Parameswaran <arun.parameswa...@broadcom.com> Reviewed-by: JD Zheng <jiandong.zh...@broadcom.com> Reviewed-by: Shamez Kurji <shamez.ku...@broadcom.com> Signed-off-by: Steve Rae <

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 <steve@raedomain.com> wrote: > From: Suji Velupillai <suji.velupil...@broadcom.com> > > 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

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 <gary.bis...@boundarydevices.com > wrote: > Hi Steve, > > On Fri, Mar 3, 2017 at 12:03 AM, Steve Rae <steve@raedomain.com> > wrote: > > > > Hi Gary, > > > > On Thu, Mar 2, 2017 at 3:12 AM, Luk

[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". Signed-of

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

2017-03-02 Thread Steve Rae
mailing list > U-Boot@lists.denx.de > http://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

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, > > >

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

2017-07-10 Thread Steve Rae
adcom.com> Tested-by: Suji Velupillai <suji.velupil...@broadcom.com> Reviewed-by: JD Zheng <jiandong.zh...@broadcom.com> Reviewed-by: Scott Branden <scott.bran...@broadcom.com> Signed-off-by: Steve Rae <steve@raedomain.com> --- Changes in v3: - use Kconfig "im

<    1   2   3   4