All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Pull request: u-boot-dfu
@ 2014-05-06  9:29 Lukasz Majewski
  2014-05-07 21:38 ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Lukasz Majewski @ 2014-05-06  9:29 UTC (permalink / raw)
  To: u-boot

Hi Marek,

The following changes since commit
af41d6b4cb1602abebaaa9c8774a9b0ece564796:

  common: fixed linker-list example (2014-05-05 10:24:13 +0200)

are available in the git repository at:

  ssh://gu-dfu at git.denx.de/u-boot-dfu master

for you to fetch changes up to c805776ce7079c7b7dd54c644b499e1b8f6296b1:

  ums: allow the user to specify the device type (2014-05-06 11:13:23
  +0200)

----------------------------------------------------------------
Stephen Warren (9):
      usb: ums: add error handling for failed registration
      ums: support block devices not MMC devices
      ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
      ums: remove error-checking of MMC device size
      ums: remove ums_disk_init()
      ums: move IO support code to common location
      ums: use get_device() not find_mmc_device();
      ums: move all variable declarations to the start of the block
      ums: allow the user to specify the device type

 board/samsung/common/Makefile |    1 -
 board/samsung/common/ums.c    |   74
 --------------------------------------------------------------------------
 common/cmd_usb_mass_storage.c |   91
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 include/usb_mass_storage.h    |   13 ++----------- 

4 files changed, 81 insertions(+), 98 deletions(-) 
delete mode 100644 board/samsung/common/ums.c


-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-06  9:29 [U-Boot] Pull request: u-boot-dfu Lukasz Majewski
@ 2014-05-07 21:38 ` Marek Vasut
  2014-05-08  6:30   ` Lukasz Majewski
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Vasut @ 2014-05-07 21:38 UTC (permalink / raw)
  To: u-boot

On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote:
> Hi Marek,
> 
> The following changes since commit
> af41d6b4cb1602abebaaa9c8774a9b0ece564796:
> 
>   common: fixed linker-list example (2014-05-05 10:24:13 +0200)
> 
> are available in the git repository at:
> 
>   ssh://gu-dfu at git.denx.de/u-boot-dfu master
> 
> for you to fetch changes up to c805776ce7079c7b7dd54c644b499e1b8f6296b1:
> 
>   ums: allow the user to specify the device type (2014-05-06 11:13:23
>   +0200)
> 
> ----------------------------------------------------------------
> Stephen Warren (9):
>       usb: ums: add error handling for failed registration
>       ums: support block devices not MMC devices
>       ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
>       ums: remove error-checking of MMC device size
>       ums: remove ums_disk_init()
>       ums: move IO support code to common location
>       ums: use get_device() not find_mmc_device();
>       ums: move all variable declarations to the start of the block
>       ums: allow the user to specify the device type

This doesn't match what's in U-Boot-dfu.git/master [1] it seems. Or does it ... 
?

[1] http://git.denx.de/?p=u-boot/u-boot-dfu.git;a=summary

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-07 21:38 ` Marek Vasut
@ 2014-05-08  6:30   ` Lukasz Majewski
  2014-05-08  6:46     ` Heiko Schocher
  0 siblings, 1 reply; 10+ messages in thread
From: Lukasz Majewski @ 2014-05-08  6:30 UTC (permalink / raw)
  To: u-boot

Hi Marek,

> On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote:
> > Hi Marek,
> > 
> > The following changes since commit
> > af41d6b4cb1602abebaaa9c8774a9b0ece564796:
> > 
> >   common: fixed linker-list example (2014-05-05 10:24:13 +0200)
> > 
> > are available in the git repository at:
> > 
> >   ssh://gu-dfu at git.denx.de/u-boot-dfu master
> > 
> > for you to fetch changes up to
> > c805776ce7079c7b7dd54c644b499e1b8f6296b1:
> > 
> >   ums: allow the user to specify the device type (2014-05-06
> > 11:13:23 +0200)
> > 
> > ----------------------------------------------------------------
> > Stephen Warren (9):
> >       usb: ums: add error handling for failed registration
> >       ums: support block devices not MMC devices
> >       ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
> >       ums: remove error-checking of MMC device size
> >       ums: remove ums_disk_init()
> >       ums: move IO support code to common location
> >       ums: use get_device() not find_mmc_device();
> >       ums: move all variable declarations to the start of the block
> >       ums: allow the user to specify the device type
> 
> This doesn't match what's in U-Boot-dfu.git/master [1] it seems. Or
> does it ... ?

This PR seems outdated :-).

I've also added to u-boot-dfu work done Rob Herring in the meantime.

I will prepare new PR with those changes included.
Thanks for pointing out.

> 
> [1] http://git.denx.de/?p=u-boot/u-boot-dfu.git;a=summary
> 
> Best regards,
> Marek Vasut



-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-08  6:30   ` Lukasz Majewski
@ 2014-05-08  6:46     ` Heiko Schocher
  2014-05-08  7:08       ` Lukasz Majewski
  0 siblings, 1 reply; 10+ messages in thread
From: Heiko Schocher @ 2014-05-08  6:46 UTC (permalink / raw)
  To: u-boot

Hello Lukasz,

Am 08.05.2014 08:30, schrieb Lukasz Majewski:
> Hi Marek,
>
>> On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote:
>>> Hi Marek,
>>>
>>> The following changes since commit
>>> af41d6b4cb1602abebaaa9c8774a9b0ece564796:
>>>
>>>    common: fixed linker-list example (2014-05-05 10:24:13 +0200)
>>>
>>> are available in the git repository at:
>>>
>>>    ssh://gu-dfu at git.denx.de/u-boot-dfu master
>>>
>>> for you to fetch changes up to
>>> c805776ce7079c7b7dd54c644b499e1b8f6296b1:
>>>
>>>    ums: allow the user to specify the device type (2014-05-06
>>> 11:13:23 +0200)
>>>
>>> ----------------------------------------------------------------
>>> Stephen Warren (9):
>>>        usb: ums: add error handling for failed registration
>>>        ums: support block devices not MMC devices
>>>        ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
>>>        ums: remove error-checking of MMC device size
>>>        ums: remove ums_disk_init()
>>>        ums: move IO support code to common location
>>>        ums: use get_device() not find_mmc_device();
>>>        ums: move all variable declarations to the start of the block
>>>        ums: allow the user to specify the device type
>>
>> This doesn't match what's in U-Boot-dfu.git/master [1] it seems. Or
>> does it ... ?
>
> This PR seems outdated :-).
>
> I've also added to u-boot-dfu work done Rob Herring in the meantime.
>
> I will prepare new PR with those changes included.
> Thanks for pointing out.

Hmm, I have 2 patches pending ...

[U-Boot,1/2] musb-new, dfu: first send request answer then call completions
http://patchwork.ozlabs.org/patch/337982/

and

[U-Boot,v2] dfu, nand: add medium specific polltimeout function
http://patchwork.ozlabs.org/patch/338369/

Could you (or Marek) add them? Or are there some issues with them?

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-08  6:46     ` Heiko Schocher
@ 2014-05-08  7:08       ` Lukasz Majewski
  2014-05-08 10:12         ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Lukasz Majewski @ 2014-05-08  7:08 UTC (permalink / raw)
  To: u-boot

Hi Heiko,

> Hello Lukasz,
> 
> Am 08.05.2014 08:30, schrieb Lukasz Majewski:
> > Hi Marek,
> >
> >> On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote:
> >>> Hi Marek,
> >>>
> >>> The following changes since commit
> >>> af41d6b4cb1602abebaaa9c8774a9b0ece564796:
> >>>
> >>>    common: fixed linker-list example (2014-05-05 10:24:13 +0200)
> >>>
> >>> are available in the git repository at:
> >>>
> >>>    ssh://gu-dfu at git.denx.de/u-boot-dfu master
> >>>
> >>> for you to fetch changes up to
> >>> c805776ce7079c7b7dd54c644b499e1b8f6296b1:
> >>>
> >>>    ums: allow the user to specify the device type (2014-05-06
> >>> 11:13:23 +0200)
> >>>
> >>> ----------------------------------------------------------------
> >>> Stephen Warren (9):
> >>>        usb: ums: add error handling for failed registration
> >>>        ums: support block devices not MMC devices
> >>>        ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
> >>>        ums: remove error-checking of MMC device size
> >>>        ums: remove ums_disk_init()
> >>>        ums: move IO support code to common location
> >>>        ums: use get_device() not find_mmc_device();
> >>>        ums: move all variable declarations to the start of the
> >>> block ums: allow the user to specify the device type
> >>
> >> This doesn't match what's in U-Boot-dfu.git/master [1] it seems. Or
> >> does it ... ?
> >
> > This PR seems outdated :-).
> >
> > I've also added to u-boot-dfu work done Rob Herring in the meantime.
> >
> > I will prepare new PR with those changes included.
> > Thanks for pointing out.
> 
> Hmm, I have 2 patches pending ...
> 
> [U-Boot,1/2] musb-new, dfu: first send request answer then call
> completions http://patchwork.ozlabs.org/patch/337982/
> 
> and
> 
> [U-Boot,v2] dfu, nand: add medium specific polltimeout function
> http://patchwork.ozlabs.org/patch/338369/
> 
> Could you (or Marek) add them? Or are there some issues with them?

I will test them and if no regressions appear I will add them to
u-boot-dfu tree.

> 
> Thanks!
> 
> bye,
> Heiko



-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-08  7:08       ` Lukasz Majewski
@ 2014-05-08 10:12         ` Marek Vasut
  0 siblings, 0 replies; 10+ messages in thread
From: Marek Vasut @ 2014-05-08 10:12 UTC (permalink / raw)
  To: u-boot

On Thursday, May 08, 2014 at 09:08:24 AM, Lukasz Majewski wrote:
> Hi Heiko,
> 
> > Hello Lukasz,
> > 
> > Am 08.05.2014 08:30, schrieb Lukasz Majewski:
> > > Hi Marek,
> > > 
> > >> On Tuesday, May 06, 2014 at 11:29:32 AM, Lukasz Majewski wrote:
> > >>> Hi Marek,
> > >>> 
> > >>> The following changes since commit
> > >>> 
> > >>> af41d6b4cb1602abebaaa9c8774a9b0ece564796:
> > >>>    common: fixed linker-list example (2014-05-05 10:24:13 +0200)
> > >>> 
> > >>> are available in the git repository at:
> > >>>    ssh://gu-dfu at git.denx.de/u-boot-dfu master
> > >>> 
> > >>> for you to fetch changes up to
> > >>> 
> > >>> c805776ce7079c7b7dd54c644b499e1b8f6296b1:
> > >>>    ums: allow the user to specify the device type (2014-05-06
> > >>> 
> > >>> 11:13:23 +0200)
> > >>> 
> > >>> ----------------------------------------------------------------
> > >>> 
> > >>> Stephen Warren (9):
> > >>>        usb: ums: add error handling for failed registration
> > >>>        ums: support block devices not MMC devices
> > >>>        ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
> > >>>        ums: remove error-checking of MMC device size
> > >>>        ums: remove ums_disk_init()
> > >>>        ums: move IO support code to common location
> > >>>        ums: use get_device() not find_mmc_device();
> > >>>        ums: move all variable declarations to the start of the
> > >>> 
> > >>> block ums: allow the user to specify the device type
> > >> 
> > >> This doesn't match what's in U-Boot-dfu.git/master [1] it seems. Or
> > >> does it ... ?
> > > 
> > > This PR seems outdated :-).
> > > 
> > > I've also added to u-boot-dfu work done Rob Herring in the meantime.
> > > 
> > > I will prepare new PR with those changes included.
> > > Thanks for pointing out.
> > 
> > Hmm, I have 2 patches pending ...
> > 
> > [U-Boot,1/2] musb-new, dfu: first send request answer then call
> > completions http://patchwork.ozlabs.org/patch/337982/
> > 
> > and
> > 
> > [U-Boot,v2] dfu, nand: add medium specific polltimeout function
> > http://patchwork.ozlabs.org/patch/338369/
> > 
> > Could you (or Marek) add them? Or are there some issues with them?
> 
> I will test them and if no regressions appear I will add them to
> u-boot-dfu tree.

Thanks.

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-08  8:56 Lukasz Majewski
@ 2014-05-08 13:04 ` Marek Vasut
  0 siblings, 0 replies; 10+ messages in thread
From: Marek Vasut @ 2014-05-08 13:04 UTC (permalink / raw)
  To: u-boot

On Thursday, May 08, 2014 at 10:56:37 AM, Lukasz Majewski wrote:
> Dear Marek,
> 
> Please pull following code. In the same occasion I would like to
> apologize for the fuzz with sending the last PR.
> 
> This one is ready to go and (hopefully) clans up all the code floating
> around various USB gadgets and DFU.
> 
> The following changes since commit
> 340ed422d2a58c4858ba8e110c233e8ae92c04e0:
> 
>   usb: ums: remove ci_udc special case (2014-05-07 23:36:58 +0200)
> 
> are available in the git repository at:
> 
>   ssh://gu-dfu at git.denx.de/u-boot-dfu master
> 
> for you to fetch changes up to fc25fa27e5f439705e9ca42182014e2d75d9f0ae:
> 
>   dfu, nand: add medium specific polltimeout function (2014-05-08
>   10:38:30 +0200)

Pulled, thanks.

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
@ 2014-05-08  8:56 Lukasz Majewski
  2014-05-08 13:04 ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Lukasz Majewski @ 2014-05-08  8:56 UTC (permalink / raw)
  To: u-boot

Dear Marek,

Please pull following code. In the same occasion I would like to
apologize for the fuzz with sending the last PR.

This one is ready to go and (hopefully) clans up all the code floating
around various USB gadgets and DFU.

The following changes since commit
340ed422d2a58c4858ba8e110c233e8ae92c04e0:

  usb: ums: remove ci_udc special case (2014-05-07 23:36:58 +0200)

are available in the git repository at:

  ssh://gu-dfu at git.denx.de/u-boot-dfu master

for you to fetch changes up to fc25fa27e5f439705e9ca42182014e2d75d9f0ae:

  dfu, nand: add medium specific polltimeout function (2014-05-08
  10:38:30 +0200)

----------------------------------------------------------------
Heiko Schocher (2):
      musb-new, dfu: first send request answer then call completions
      dfu, nand: add medium specific polltimeout function

Rob Herring (1):
      arm: beagle: enable Android fastboot support

Sebastian Siewior (2):
      image: add support for Android's boot image format
      usb/gadget: add the fastboot gadget

Stephen Warren (9):
      usb: ums: add error handling for failed registration
      ums: support block devices not MMC devices
      ums: remove UMS_{NUM,START}_SECTORS + UMS_START_SECTOR
      ums: remove error-checking of MMC device size
      ums: remove ums_disk_init()
      ums: move IO support code to common location
      ums: use get_device() not find_mmc_device();
      ums: move all variable declarations to the start of the block
      ums: allow the user to specify the device type

 README                                 |   22 +++++++
 board/samsung/common/Makefile          |    1 -
 board/samsung/common/ums.c             |   74 ------------------------
 common/Makefile                        |    3 +
 common/cmd_bootm.c                     |   23 +++++++-
 common/cmd_fastboot.c                  |   36 ++++++++++++
 common/cmd_usb_mass_storage.c          |   91
 +++++++++++++++++++++++++---- common/image-android.c
 |   84 +++++++++++++++++++++++++++
 common/image.c                         |   20 +++++--
 doc/README.android-fastboot            |   91
 +++++++++++++++++++++++++++++ doc/README.android-fastboot-protocol
 |  170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/dfu/dfu_nand.c                 |   13 +++++
 drivers/usb/gadget/Makefile            |    1 +
 drivers/usb/gadget/f_dfu.c             |   10 +++-
 drivers/usb/gadget/f_fastboot.c        |  513
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/musb-new/musb_gadget_ep0.c |    8 +--
 include/android_image.h                |   69 ++++++++++++++++++++++
 include/configs/omap3_beagle.h         |   10 ++++
 include/dfu.h                          |    1 +
 include/image.h                        |   13 +++++
 include/usb_mass_storage.h             |   13 +---- 

21 files changed, 1157 insertions(+), 109 deletions(-) delete mode 100644
 board/samsung/common/ums.c create mode 100644 common/cmd_fastboot.c
 create mode 100644 common/image-android.c create mode 100644
 doc/README.android-fastboot create mode 100644
 doc/README.android-fastboot-protocol create mode 100644
 drivers/usb/gadget/f_fastboot.c create mode 100644
 include/android_image.h


-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
  2014-05-05  8:27 Lukasz Majewski
@ 2014-05-05  9:52 ` Marek Vasut
  0 siblings, 0 replies; 10+ messages in thread
From: Marek Vasut @ 2014-05-05  9:52 UTC (permalink / raw)
  To: u-boot

On Monday, May 05, 2014 at 10:27:42 AM, Lukasz Majewski wrote:
> Hi Marek,
> 
> Please find following PR.
> 
> I have also added commit from Stephen, since it immediately fixes
> problem with the current code.
> And linker list documentation update, since this fix emerged during the
> work with this code.

Pulled, thanks.

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot] Pull request: u-boot-dfu
@ 2014-05-05  8:27 Lukasz Majewski
  2014-05-05  9:52 ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Lukasz Majewski @ 2014-05-05  8:27 UTC (permalink / raw)
  To: u-boot

Hi Marek,

Please find following PR. 

I have also added commit from Stephen, since it immediately fixes
problem with the current code.
And linker list documentation update, since this fix emerged during the
work with this code.


The following changes since commit
2fc5dab2ed19b6e15ba0726905b6311793397806:

  usb: gadget: allow ci_udc to build with new gadget framework
  (2014-05-01 12:44:24 +0200)

are available in the git repository at:

  git://git.denx.de/u-boot-dfu.git master

for you to fetch changes up to af41d6b4cb1602abebaaa9c8774a9b0ece564796:

  common: fixed linker-list example (2014-05-05 10:24:13 +0200)

----------------------------------------------------------------
Mateusz Zalega (9):
      mmc: mmc header fix
      part: header fix
      usb: dfu: fix boards wo USB cable detection
      dfu: mmc: raw data write fix
      dfu: mmc: change offset base handling
      ums: always initialize mmc before ums_disk_init()
      am335x: dfu: disable DFU in am335x_evm SPL build
      USB: gadget: added a saner gadget downloader registration API
      common: fixed linker-list example

Stephen Warren (1):
      USB: gadget: save driver name before registering it

 README                                   |    7 -------
 board/samsung/common/ums.c               |    6 ++----
 board/samsung/origen/origen.c            |    7 -------
 board/samsung/trats/trats.c              |    4 +---
 board/samsung/trats2/trats2.c            |    4 +---
 board/samsung/universal_c210/universal.c |    7 -------
 common/cmd_dfu.c                         |    3 +--
 common/cmd_thordown.c                    |    3 +--
 common/cmd_usb_mass_storage.c            |   10 +++++++---
 drivers/dfu/dfu_mmc.c                    |  109
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------
 drivers/usb/gadget/f_dfu.c               |    3 +++
 drivers/usb/gadget/f_mass_storage.c      |   11 +++++++----
 drivers/usb/gadget/f_thor.c              |    2 ++
 drivers/usb/gadget/g_dnl.c               |   66
 ++++++++++++++++++++++++++++++++----------------------------------
 include/configs/am335x_evm.h             |   10 ++++++----
 include/configs/exynos4-dt.h             |    1 -
 include/configs/trats.h                  |    4 ++--
 include/configs/trats2.h                 |    4 ++--
 include/dfu.h                            |   12 ------------
 include/g_dnl.h                          |   24
 ++++++++++++++++++++++++ include/linker_lists.h                   |
 2 +- include/mmc.h                            |    1 +
 include/part.h                           |    1 +
 include/thor.h                           |    8 --------
 include/usb.h                            |   10 ----------
 include/usb_mass_storage.h               |    8 --------

26 files changed, 163 insertions(+), 164 deletions(-)

-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-08 13:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06  9:29 [U-Boot] Pull request: u-boot-dfu Lukasz Majewski
2014-05-07 21:38 ` Marek Vasut
2014-05-08  6:30   ` Lukasz Majewski
2014-05-08  6:46     ` Heiko Schocher
2014-05-08  7:08       ` Lukasz Majewski
2014-05-08 10:12         ` Marek Vasut
  -- strict thread matches above, loose matches on Subject: below --
2014-05-08  8:56 Lukasz Majewski
2014-05-08 13:04 ` Marek Vasut
2014-05-05  8:27 Lukasz Majewski
2014-05-05  9:52 ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.