Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-18 Thread Sam Protsenko
On 18 May 2017 at 14:20, Tom Rini wrote: > On Thu, May 18, 2017 at 11:50:23AM +0300, Sam Protsenko wrote: >> On 18 May 2017 at 01:20, Tom Rini wrote: >> > On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: >> > >> >> This patch adds support for flashing zImage to the Android boot >> >

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-18 Thread Tom Rini
On Thu, May 18, 2017 at 11:50:23AM +0300, Sam Protsenko wrote: > On 18 May 2017 at 01:20, Tom Rini wrote: > > On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: > > > >> This patch adds support for flashing zImage to the Android boot > >> partition on eMMC. > > [snip] > >> +#ifdef CONF

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-18 Thread Sam Protsenko
On 18 May 2017 at 01:20, Tom Rini wrote: > On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: > >> This patch adds support for flashing zImage to the Android boot >> partition on eMMC. > [snip] >> +#ifdef CONFIG_ANDROID_BOOT_IMAGE >> + if (strcmp(cmd, "zImage") == 0 || strcmp(cmd,

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: > This patch adds support for flashing zImage to the Android boot > partition on eMMC. [snip] > +#ifdef CONFIG_ANDROID_BOOT_IMAGE > + if (strcmp(cmd, "zImage") == 0 || strcmp(cmd, "zimage") == 0) { strncasecmp(cmd, "zimage", 6) ?

[U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-17 Thread Sam Protsenko
This patch adds support for flashing zImage to the Android boot partition on eMMC. Usage: $ fastboot flash zImage It's based on [1]. [1] http://omapzoom.org/?p=repo/u-boot.git;a=commit;h=3393b908c1e848bba3706612cbe50aa8970720b3 Signed-off-by: Sam Protsenko --- Changes in v2: - use blk_