Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-27 Thread Dileep Katta
Experts, Please send your valuable comments if this patch needs any change. Regards, Dileep On 14/03/2015, Lukasz Majewski wrote: > On Sat, 14 Mar 2015 00:58:51 +0530 > Dileep Katta wrote: > >> Hi Lukasz, >> >> On 13 March 2015 at 13:23, Lukasz Majewski

[U-Boot] [PATCH v4 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-27 Thread Dileep Katta
with board-specific command, then these changes will not apply. This was originally intended for DRA7 platform, but now applies to all OMAP5. Ref: http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=19da2e436e9806259cf1f4988b9e046ab256bf2c Signed-off-by: Angela Stegmaier Signed-off-by: Di

Re: [U-Boot] [PATCH v3 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-27 Thread Dileep Katta
On 27/03/2015, Tom Rini wrote: > On Wed, Mar 25, 2015 at 04:04:52AM +0530, Dileep Katta wrote: > >> Implemented fb_set_reboot_flag() for OMAP5 to set >> an environment variable 'dofastboot' when reboot-bootloader called. >> >> This environment variable will

[U-Boot] [PATCH v3 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-24 Thread Dileep Katta
with board-specific command, then these changes will not apply. This was originally intended for DRA7 platform, but now applies to all OMAP5. Ref: http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=19da2e436e9806259cf1f4988b9e046ab256bf2c Signed-off-by: Angela Stegmaier Signed-off-by: Di

[U-Boot] [PATCH v3 2/3] ARM: DRA7: Set serial number environment variable

2015-03-24 Thread Dileep Katta
; commands. Ref: http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=a6bcaaf67f6e4bcd97808f53d0ceb4b0c04d583c Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- Changes in v2: - None Changes in v3: - corrected the error in the computation of serial# variable

[U-Boot] [PATCH v3 1/3] ARM: DRA7XX: Enable Fastboot

2015-03-24 Thread Dileep Katta
- Fastboot is enable by default for DRA7XX - This is based on following patch modified accordingly http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- Changes in v2

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-23 Thread Dileep Katta
Hi Tom, On 19 March 2015 at 18:45, Tom Rini wrote: > On Thu, Mar 19, 2015 at 02:42:16AM +0530, Dileep Katta wrote: > > Hi Tom, > > > > On 18 March 2015 at 21:41, Tom Rini wrote: > > > > > On Wed, Mar 18, 2015 at 12:08:23AM +0530, Dileep Katta wr

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-18 Thread Dileep Katta
Hi Tom, On 18 March 2015 at 21:41, Tom Rini wrote: > On Wed, Mar 18, 2015 at 12:08:23AM +0530, Dileep Katta wrote: > > > - Added new configuration for Android fastboot > > - This is based on following patch modified accordingly > > > http://git.omapzo

[U-Boot] [PATCH v2 1/1] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-17 Thread Dileep Katta
- Added new configuration for Android fastboot - This is based on following patch modified accordingly http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- Changes in v2

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-13 Thread Dileep Katta
gt; > argument with default value as 0, to facilitate configurable > > controller index. > > > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta > > --- > > Changes in v2: > > - Changed fastboot command to facilitate passing c

[U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-12 Thread Dileep Katta
Signed-off-by: Dileep Katta --- Changes in v2: - Changed fastboot command to facilitate passing controller index - Added board_usb_cleanup() This patch considers the following change by Inha Song, without which the build will be broken on BeagleBone Black platform https

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-11 Thread Dileep Katta
On 5 March 2015 at 20:07, Tom Rini wrote: > On Thu, Mar 05, 2015 at 12:36:57AM +0530, Dileep Katta wrote: > > On 4 March 2015 at 23:59, Tom Rini wrote: > > > > > On Wed, Mar 04, 2015 at 05:05:11PM +, Stegmaier, Angela wrote: > > > > Hi Dileep, >

Re: [U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-11 Thread Dileep Katta
Hi Tom and Lukasz, On 4 March 2015 at 22:22, Tom Rini wrote: > On Tue, Mar 03, 2015 at 04:40:41PM +0530, Dileep Katta wrote: > > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta > > --- > > arch/arm/cpu/armv7/omap5/Kconfig | 5

Re: [U-Boot] [PATCH v1 1/1] fastboot: Add support for flashing zImage

2015-03-05 Thread Dileep Katta
Hi Lukasz, On 4 March 2015 at 18:38, Lukasz Majewski wrote: > Hi Rob, > > > On Wed, Feb 25, 2015 at 4:56 PM, Dileep Katta > > wrote: > > > This patch adds support to flash zImage to the boot partition on > > > eMMC. Usage: fastboot flash zImage >

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-04 Thread Dileep Katta
On 4 March 2015 at 23:59, Tom Rini wrote: > On Wed, Mar 04, 2015 at 05:05:11PM +, Stegmaier, Angela wrote: > > Hi Dileep, > > > > > -Original Message- > > > From: Dileep Katta [mailto:dileep.ka...@linaro.org] > > > Sent: Tuesday, March 03, 2

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command

2015-03-03 Thread Dileep Katta
Hi Rob, On 3 March 2015 at 19:45, Rob Herring wrote: > On Tue, Mar 3, 2015 at 5:10 AM, Dileep Katta > wrote: > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta > > --- > > board/ti/dra7xx/Makefile | 1 + > > board

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command - Implemented fb_set_reboot_flag() for DRA7 - Defined a weak function, fb_check_reboot_flag() - Implemented for DRA

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's Mail id. Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > Signed-off-by: Angela Stegmaier > Signed-off-by: Dileep Katta > --- > board/ti/dra7xx/Makefile | 1 + > board/ti/dra7xx/fastb

Re: [U-Boot] [PATCH v1 3/4] ARM: DRA7: Set serial number environment variable

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's Mail id and patch version. Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > Adds the registers to get the serial number of dra7xx boards. > Serial# environment variable will be set if not done already. > This will be useful to show correct

Re: [U-Boot] [PATCH v1 2/4] fastboot: call board_usb_init() to enable usb

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's mail id. And patch version. (My bad) Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > g_dnl_gadget_register() fails for dra7xx dwc3 gadget > when running cmd_fastboot. > Calling board_usb_init() fixes this. > > Signed-off-by: Angela Ste

Re: [U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's mail id. Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > Signed-off-by: Angela Stegmaier > Signed-off-by: Dileep Katta > --- > arch/arm/cpu/armv7/omap5/Kconfig | 5 + > board/ti/dra7xx/Kconfig | 13 ++ > boar

[U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command - Implemented fb_set_reboot_flag() for DRA7 - Defined a weak function, fb_check_reboot_flag() - Implemented for DRA7

2015-03-03 Thread Dileep Katta
Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- board/ti/dra7xx/Makefile | 1 + board/ti/dra7xx/fastboot.c | 45 common/cmd_bootm.c | 5 drivers/usb/gadget/f_fastboot.c | 5 include

[U-Boot] [PATCH v3 3/4] ARM: DRA7: Set serial number environment variable

2015-03-03 Thread Dileep Katta
Adds the registers to get the serial number of dra7xx boards. Serial# environment variable will be set if not done already. This will be useful to show correct information in "fastboot devices" commands. Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- arch/arm/cpu/a

[U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-03 Thread Dileep Katta
g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running cmd_fastboot. Calling board_usb_init() fixes this. Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_fastboot.c b/common

[U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-03 Thread Dileep Katta
Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- arch/arm/cpu/armv7/omap5/Kconfig | 5 + board/ti/dra7xx/Kconfig | 13 ++ board/ti/dra7xx/MAINTAINERS | 2 + configs/dra7xx_evm_android_defconfig | 5 + include/configs/dra7xx_evm_android.h | 313

Re: [U-Boot] [PATCH v1 1/2] fastboot: Add support to flash u-boot and MLO to QSPI

2015-02-27 Thread Dileep Katta
Thanks Rob and Tom. On 22 February 2015 at 08:29, Tom Rini wrote: > On Thu, Feb 19, 2015 at 02:04:01PM -0600, Rob Herring wrote: > > On Wed, Feb 18, 2015 at 4:53 PM, Dileep Katta > wrote: > > > This adds the functionality to flash u-boot and MLO images to

[U-Boot] [PATCH v1 1/1] fastboot: Add support for flashing zImage

2015-02-25 Thread Dileep Katta
This patch adds support to flash zImage to the boot partition on eMMC. Usage: fastboot flash zImage Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- drivers/usb/gadget/f_fastboot.c | 152 1 file changed, 152 insertions(+) diff --git a

Re: [U-Boot] [PATCH v1 1/1] fastboot: Update getvar command to get 'userdata' partition size

2015-02-25 Thread Dileep Katta
Hi Rob, On 20 February 2015 at 20:24, Rob Herring wrote: > On Wed, Feb 18, 2015 at 1:52 PM, Dileep Katta > wrote: > > This patch adds functionality to getvar command to get the userdata > partition > > size. > > This is non-standard and doesn't scale to other

Re: [U-Boot] [PATCH v2 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-24 Thread Dileep Katta
tions. The start address and the size > > is aligned to the erase group size for this. > > > > Currently only supports erasing from eMMC. > > > > Signed-off-by: Dileep Katta > > --- > > Changes in v2: > > - Removed unnecessary

[U-Boot] [PATCH v1 2/2] fastboot: Add support in fastboot oem command to set QSPI as boot device

2015-02-18 Thread Dileep Katta
Fastboot oem command is updated with SPI specific functionality. Signed-off-by: Dileep Katta --- Note: This is on top of Rob Herring patches submitted to support oem format command Ref: https://patchwork.ozlabs.org/patch/433056/ https://patchwork.ozlabs.org/patch/433057

[U-Boot] [PATCH v1 1/2] fastboot: Add support to flash u-boot and MLO to QSPI

2015-02-18 Thread Dileep Katta
This adds the functionality to flash u-boot and MLO images to QSPI using fastboot Signed-off-by: Dileep Katta --- Note: This is on top of Rob Herring patches submitted to support oem format command drivers/usb/gadget/f_fastboot.c | 75 + 1 file changed

[U-Boot] [PATCH v1 1/1] fastboot: Update getvar command to get 'userdata' partition size

2015-02-18 Thread Dileep Katta
This patch adds functionality to getvar command to get the userdata partition size. Signed-off-by: Dileep Katta --- common/fb_mmc.c | 38 ++ drivers/usb/gadget/f_fastboot.c | 2 ++ include/fb_mmc.h| 2 ++ 3 files changed, 42

[U-Boot] [PATCH v2 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-17 Thread Dileep Katta
: Dileep Katta --- Changes in v2: - Removed unnecessary newline for error() messages - Made the command conditional on CONFIG_FASTBOOT_FLASH - Updated doc/README.android-fastboot to reflect the support common/fb_mmc.c | 56

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-17 Thread Dileep Katta
On 17 February 2015 at 02:51, Steve Rae wrote: > > > On 15-02-16 12:40 PM, Dileep Katta wrote: > >> Hi Steve, >> >> On 14 February 2015 at 02:15, Steve Rae wrote: >> >> >>> >>> On 15-02-12 12:29 AM, Dileep Katta wrote: >>> &g

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-16 Thread Dileep Katta
Hi Steve, On 14 February 2015 at 02:15, Steve Rae wrote: > > > On 15-02-12 12:29 AM, Dileep Katta wrote: > >> Hi Steve, >> >> On 11 February 2015 at 05:25, Steve Rae wrote: >> >>> >>> Hi, Dileep >>> >>> >>>

[U-Boot] [PATCH v3 1/3] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2015-02-16 Thread Dileep Katta
ame value, and it is the value of wMaxPacketSize that should be used for alignment. wMaxPacketSize is passed depending on the speed of connection. Signed-off-by: Dileep Katta --- Changes in v2: - Corrected source of wMaxPacketSize Changes in v3: - Corrected the logic to accomodate b

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

2015-02-13 Thread Dileep Katta
ame value, and it is the value of wMaxPacketSize that should be used for alignment. Signed-off-by: Dileep Katta --- Changes from v1: - Corrected source of wMaxPacketSize drivers/usb/gadget/f_fastboot.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/driv

[U-Boot] [PATCH v1 2/3] fastboot: Correct fastboot_fail and fastboot_okay strings

2015-02-12 Thread Dileep Katta
If the string is copied without NULL termination using strncpy(), then strncat() on the next line, may concatenate the string after some stale (or random) data, if the response string was not zero-initialized. Signed-off-by: Dileep Katta --- common/fb_mmc.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH v1 3/3] usb: gadget: fastboot: Set the Serial Number for Fastboot Gadget

2015-02-12 Thread Dileep Katta
Configure the serial number using the serial# environment variable during the fastboot bind. This enables "fastboot devices" to return the serial number for the attached devices. Signed-off-by: Dileep Katta --- drivers/usb/gadget/f_fastboot.c | 5 + 1 file changed, 5 insertion

[U-Boot] [PATCH v1 1/3] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2015-02-12 Thread Dileep Katta
ay not be the same value, and it is the value of ep->desc->wMaxPacketSize that should be used for alignment. Signed-off-by: Dileep Katta --- drivers/usb/gadget/f_fastboot.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/f_fastboot.

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-12 Thread Dileep Katta
Hi Rob, On 12 February 2015 at 14:35, Rob Herring wrote: > On Tue, Feb 10, 2015 at 2:49 AM, Dileep Katta wrote: >> Adds the fastboot erase functionality, to erase a partition >> specified by name. The erase is performed based on erase group size, >> to avoid erasing other

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-12 Thread Dileep Katta
Hi Steve, On 11 February 2015 at 05:25, Steve Rae wrote: > > Hi, Dileep > > > On 15-02-10 12:49 AM, Dileep Katta wrote: >> >> Adds the fastboot erase functionality, to erase a partition >> specified by name. The erase is performed based on erase group size, >

[U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-10 Thread Dileep Katta
: Dileep Katta --- Note: The changes are on top of oem command support added by r...@kernel.org common/fb_mmc.c | 58 + drivers/usb/gadget/f_fastboot.c | 23 include/fb_mmc.h| 1 + 3 files changed, 82

Re: [U-Boot] [PATCH v1 1/1] fastboot: oem format command implementation

2015-02-09 Thread Dileep Katta
t; > - 'oem format' command is implemented > > - Handled review comments of the original patch > > > > Signed-off-by: Dileep Katta > > --- > > common/cmd_fastboot.c | 4 + > > common/cmd_mmc.c|

[U-Boot] [PATCH v1 1/1] fastboot: oem format command implementation

2015-01-30 Thread Dileep Katta
This is the Modified version of http://patchwork.ozlabs.org/patch/388084/ - As flash support is already in mainline, it is removed - 'oem' command support is present - 'oem format' command is implemented - Handled review comments of the original patch Signed-off-by: Dilee

[U-Boot] [PATCH v5 1/1] Enable Android Fastboot support on am335x_evm board

2014-10-28 Thread Dileep Katta
Signed-off-by: Dileep Katta --- Changes in v2: - None Changes in v3: - None Changes in v4: - None - Fastboot flash command changes by Steve Rae are in mainline - This enables the code for BeagleBone Black

[U-Boot] [PATCH v4 1/1] Enable Android Fastboot support on am335x_evm board

2014-10-13 Thread Dileep Katta
Signed-off-by: Dileep Katta --- Changes in v2: -None Changes in v3: -None Changes in v4: -None -Fastboot flash command changes by Steve Rae are in mainline This enables the code for BeagleBone Black

Re: [U-Boot] [U-Boot, PATCH v3 2/2] fastboot: Flash command support

2014-09-17 Thread Dileep Katta
Thanks for the review comments. Working on the fix. Regards, Dileep On 11 September 2014 13:42, Wolfgang Denk wrote: > > Dear Dileep Katta, > > In message <1410417650-16522-2-git-send-email-dileep.ka...@linaro.org> you > wrote: > > Flash command internally use

Re: [U-Boot] [PATCH 2/2 v2] fastboot: Flash command support

2014-09-11 Thread Dileep Katta
On 12 August 2014 01:22, Steve Rae wrote: > > > On 14-08-10 06:59 PM, Dileep Katta wrote: > >> Flash command internally uses DFU, and Fastboot command initialization is >> modified to add DFU and partition initialization >> Added oem format functionality for GPT

[U-Boot] [U-Boot, PATCH v3 2/2] fastboot: Flash command support

2014-09-10 Thread Dileep Katta
being tested on BeagleBone Black. OMAP3 Beagle configuration is modified to fix the build errors, but this configuration needs to be updated as per the flash functionality. Signed-off-by: Dileep Katta --- Changes in v2: - Fixed coding style issues Changes in v3: - Removed unnecessary

[U-Boot] [U-Boot, PATCH v3 1/2] arm: BeagleBone Black: enable fastboot support

2014-09-10 Thread Dileep Katta
Enable Android Fastboot support on am335x_evm board Signed-off-by: Dileep Katta --- Changes in v2: -None Changes in v3: -None include/configs/am335x_evm.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/am335x_evm.h b

[U-Boot] [PATCH 2/2 v2] fastboot: Flash command support

2014-08-10 Thread Dileep Katta
being tested on BeagleBone Black. OMAP3 Beagle configuration is modified to fix the build errors, but this configuration needs to be updated as per the flash functionality. Signed-off-by: Dileep Katta --- Changes for v2: - Fixed coding style issues common/cmd_fastboot.c | 5

[U-Boot] [PATCH 1/2 v2] arm: BeagleBone Black: enable fastboot support

2014-08-10 Thread Dileep Katta
Enable Android Fastboot support on am335x_evm board Signed-off-by: Dileep Katta --- Changes for v2: -None include/configs/am335x_evm.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 35ae0e6

Re: [U-Boot] [PATCH 2/2] fastboot: Flash command support

2014-08-02 Thread Dileep Katta
Hi Jeroen, On 3 August 2014 02:43, Jeroen Hofstee wrote: > Hello Dileep, > > > On 02-08-14 21:10, Jeroen Hofstee wrote: > >> Hello Dileep, >> >> On 02-08-14 20:30, Dileep Katta wrote: >> >>> Flash command uses DFU, and Fastboot command initial

[U-Boot] [PATCH 1/2] arm: BeagleBone Black: enable fastboot support

2014-08-02 Thread Dileep Katta
Enable Android Fastboot support on am335x_evm board Signed-off-by: Dileep Katta --- include/configs/am335x_evm.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 35ae0e6..3999405 100644 --- a/include

[U-Boot] [PATCH 2/2] fastboot: Flash command support

2014-08-02 Thread Dileep Katta
BeagleBone Black. OMAP3 Beagle configuration is modified to fix the build errors, but this configuration needs to be updated as per the flash functionality. Signed-off-by: Dileep Katta --- common/cmd_fastboot.c | 6 + common/cmd_mmc.c| 2 +- common/cmd_nvedit.c