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
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
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
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
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
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
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 <
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
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,
> > >
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
_
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
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:
>
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
++
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
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
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
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
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
> +
> 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
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
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
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
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
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
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
- 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.
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
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
>>
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,
>>>
>>>
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
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
- 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
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
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 &
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
>>
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
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,
>
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
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
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/
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
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
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 +-
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 +--
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
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
(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
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
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
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
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_
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_
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
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
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
- 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
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:
/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
=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
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
-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
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_
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_
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_
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
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_
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,
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
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
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 <
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
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
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
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
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
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
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
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.
>>
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
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:
- 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
=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
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
/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
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
> >
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
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
>
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
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
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>
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
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
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
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
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,
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
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
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
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:
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_
1 - 100 of 393 matches
Mail list logo