Skip to contentSkip to conversation

Pull request: u-boot-dfu (15.10.2019)

U-Boot Lukasz Majewski 2 participants 8 messages Oct 15, 2019 – Oct 31, 2019

lore
Share & tools
lore
#0 lore raw

Dear Marek,

The following changes since commit
7a779ed1755c2d5011bd9598da90291f759ae760:

travis: Exclude MIPS from the bcm job (2019-10-13 11:21:56 -0400)

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

for you to fetch changes up to 5d897631065bb2f36bbc1bd7fabb670ce5da3ce8:

dfu: add callback for flush and initiated operation (2019-10-14 12:26:19 +0200)

----------------------------------------------------------------
Marek Szyprowski (5):
gadget: f_thor: properly enable 3rd endpoint defined by the
protocol
cmd: thor: select DFU subsystem also for 'thor' download tool
dfu: mmc: add support for in-partition offset
dwc3: flush cache only if there is a buffer attached to a request
thor: fix error path after g_dnl_register() failure

Patrick Delaunay (10):
dfu: cosmetic: cleanup sf to avoid checkpatch error
doc: dfu: Add dfu documentation
dfu: sf: add partition support for nor backend
dfu: prepare the support of multiple interface
dfu: allow to manage DFU on several devices
dfu: allow read with no data without error for EOF indication
dfu: add backend for MTD device
dfu: add partition support for MTD backend
dfu: add DFU virtual backend
dfu: add callback for flush and initiated operation

Ralph Siemsen (1):
dfu: dfu_nand: reduce verbosity

 cmd/Kconfig                 |   1 +
 cmd/dfu.c                   |  21 +++++++++-------
 cmd/thordown.c              |   3 ++-
 doc/README.dfu              | 270
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/dfu/Kconfig         |  21 ++++++++++++++++
 drivers/dfu/Makefile        |   2 ++ drivers/dfu/dfu.c           | 145
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 drivers/dfu/dfu_mmc.c       |  13 ++++++++-- drivers/dfu/dfu_mtd.c
   | 311
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/dfu/dfu_nand.c      |   2 +- drivers/dfu/dfu_sf.c        |  56
 +++++++++++++++++++++++++++++++++++++++++-- drivers/dfu/dfu_virt.c
  |  49 ++++++++++++++++++++++++++++++++++++++
 drivers/usb/dwc3/gadget.c   |   3 ++- drivers/usb/gadget/f_thor.c |
 7 ++++++ include/dfu.h               |  71

++++++++++++++++++++++++++++++++++++++++++++++++++++++ 15 files changed, 944 insertions(+), 31 deletions(-) create mode 100644 doc/README.dfu create mode 100644 drivers/dfu/dfu_mtd.c create mode 100644 drivers/dfu/dfu_virt.c

DFU_PR: Travis-CI (green):
https://travis-ci.org/lmajewski/u-boot-dfu/builds/597562672

Merge tag (for information about the changes / new features):
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags/u-boot-dfu-15Oct2019

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191015/2c20370c/attachment.sig>

#1 lore raw
Quoted 1 line · Lukasz Majewski

Dear Marek,

Hello Lukasz,

Quoted 5 lines

The following changes since commit
7a779ed1755c2d5011bd9598da90291f759ae760:

travis: Exclude MIPS from the bcm job (2019-10-13 11:21:56 -0400)

Quoted 8 lines

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

for you to fetch changes up to 5d897631065bb2f36bbc1bd7fabb670ce5da3ce8:

dfu: add callback for flush and initiated operation (2019-10-14 12:26:19 +0200)

Which branch shall I pull ? This information is missing from the PR, again :-(

#2 lore raw

Hi Marek,

Quoted 14 lines · Lukasz Majewski
Quoted 1 line

Dear Marek,

Hello Lukasz,

Quoted 9 lines

The following changes since commit
7a779ed1755c2d5011bd9598da90291f759ae760:

travis: Exclude MIPS from the bcm job (2019-10-13 11:21:56 -0400)

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

Quoted 8 lines
Quoted 5 lines

for you to fetch changes up to
5d897631065bb2f36bbc1bd7fabb670ce5da3ce8:

dfu: add callback for flush and initiated operation (2019-10-14 12:26:19 +0200)

Which branch shall I pull ? This information is missing from the PR, again :-(

Ach. I'm still (unfortunately) use my old script for PR.

You shall use the -master branch:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/commits/master

I've written also the merge tag for this PR:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags

Sorry for inconvenience and confusion.

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191015/d13eff1c/attachment.sig>

#3 lore raw

Hi Marek,

Quoted 28 lines

Hi Marek,

Quoted 15 lines · Lukasz Majewski
Quoted 1 line

Dear Marek,

Hello Lukasz,

Quoted 10 lines

The following changes since commit
7a779ed1755c2d5011bd9598da90291f759ae760:

travis: Exclude MIPS from the bcm job (2019-10-13 11:21:56
-0400)

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

Quoted 8 lines
Quoted 5 lines

for you to fetch changes up to
5d897631065bb2f36bbc1bd7fabb670ce5da3ce8:

dfu: add callback for flush and initiated operation (2019-10-14 12:26:19 +0200)

Which branch shall I pull ? This information is missing from the PR, again :-(

Ach. I'm still (unfortunately) use my old script for PR.

Quoted 7 lines

You shall use the -master branch:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/commits/master

I've written also the merge tag for this PR:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags

Sorry for inconvenience and confusion.

Marek, are there any issues with this PR?

Unfortunately, I did not noticed it being applied to your u-boot-usb tree. Do you need any help?

Quoted 4 lines

Best regards,

Quoted 8 lines

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:
lukma at denx.de

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191028/bbcf0f5c/attachment.sig>

#4 lore raw
Quoted 1 line · Lukasz Majewski

Hi Marek,

Hi,

Quoted 34 lines
Quoted 34 lines

Hi Marek,

Quoted 15 lines · Lukasz Majewski
Quoted 1 line

Dear Marek,

Hello Lukasz,

Quoted 10 lines

The following changes since commit
7a779ed1755c2d5011bd9598da90291f759ae760:

travis: Exclude MIPS from the bcm job (2019-10-13 11:21:56
-0400)

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

Quoted 8 lines
Quoted 5 lines

for you to fetch changes up to
5d897631065bb2f36bbc1bd7fabb670ce5da3ce8:

dfu: add callback for flush and initiated operation (2019-10-14 12:26:19 +0200)

Which branch shall I pull ? This information is missing from the PR, again :-(

Ach. I'm still (unfortunately) use my old script for PR.

You shall use the -master branch:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/commits/master

I've written also the merge tag for this PR:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags

Quoted 6 lines
Quoted 1 line

Sorry for inconvenience and confusion.

Marek, are there any issues with this PR?

Unfortunately, I did not noticed it being applied to your u-boot-usb tree. Do you need any help?

The USB tree was stuck due to multiple patchsets which had issues. It is unstuck now, so rebase the PR on u-boot-usb/master and resubmit it.

Thanks

#5 lore raw

Hi Marek,

Quoted 41 lines · Lukasz Majewski
Quoted 1 line

Hi Marek,

Hi,

Quoted 36 lines
Quoted 35 lines

Hi Marek,

Quoted 15 lines · Lukasz Majewski
Quoted 1 line

Dear Marek,

Hello Lukasz,

Quoted 10 lines

The following changes since commit
7a779ed1755c2d5011bd9598da90291f759ae760:

travis: Exclude MIPS from the bcm job (2019-10-13 11:21:56
-0400)

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

Quoted 8 lines
Quoted 5 lines

for you to fetch changes up to
5d897631065bb2f36bbc1bd7fabb670ce5da3ce8:

dfu: add callback for flush and initiated operation (2019-10-14 12:26:19 +0200)

Which branch shall I pull ? This information is missing from the PR, again :-(

Ach. I'm still (unfortunately) use my old script for PR.

You shall use the -master branch:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/commits/master

I've written also the merge tag for this PR:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags

Sorry for inconvenience and confusion.

Quoted 7 lines
Quoted 4 lines

Marek, are there any issues with this PR?

Unfortunately, I did not noticed it being applied to your u-boot-usb tree. Do you need any help?

The USB tree was stuck due to multiple patchsets which had issues. It is unstuck now, so rebase the PR on u-boot-usb/master and resubmit it.

Thanks for the update. I will prepare updated PR.

Quoted 2 lines

Thanks

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191029/91cc770c/attachment.sig>

#6 lore raw

[U-Boot] [GIT] Pull request: u-boot-dfu (30.10.2019)

Hi Marek,

The following changes since commit
7f0d5fa97074690dcbfcbc902f99c8dab0bff24d:

dwc3-generic: Don't fail probe if clk/reset entries are absent (2019-10-28 23:47:45 +0100)

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

BRANCH: master
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/commits/master

Merge TAG:
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/-/tags/u-boot-dfu-30Oct2019

for you to fetch changes up to 60af9f0fc2e94d105c617cfa32a32ec411e23192:

dfu: add callback for flush and initiated operation (2019-10-30 10:00:29 +0100)

----------------------------------------------------------------
Marek Szyprowski (5):
gadget: f_thor: properly enable 3rd endpoint defined by the
protocol cmd: thor: select DFU subsystem also for 'thor' download tool
dfu: mmc: add support for in-partition offset
dwc3: flush cache only if there is a buffer attached to a request
thor: fix error path after g_dnl_register() failure

Patrick Delaunay (10):
dfu: cosmetic: cleanup sf to avoid checkpatch error
doc: dfu: Add dfu documentation
dfu: sf: add partition support for nor backend
dfu: prepare the support of multiple interface
dfu: allow to manage DFU on several devices
dfu: allow read with no data without error for EOF indication
dfu: add backend for MTD device
dfu: add partition support for MTD backend
dfu: add DFU virtual backend
dfu: add callback for flush and initiated operation

Ralph Siemsen (1):
dfu: dfu_nand: reduce verbosity

Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/604863805

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191030/fe72c11e/attachment.sig>

#7 lore raw

[U-Boot] [GIT] Pull request: u-boot-dfu (30.10.2019)

Quoted 8 lines · Lukasz Majewski

Hi Marek,

The following changes since commit
7f0d5fa97074690dcbfcbc902f99c8dab0bff24d:

dwc3-generic: Don't fail probe if clk/reset entries are absent (2019-10-28 23:47:45 +0100)

Quoted 6 lines

are available in the Git repository at:

git at gitlab.denx.de:u-boot/custodians/u-boot-dfu.git

BRANCH: master
https://gitlab.denx.de/u-boot/custodians/u-boot-dfu/commits/master

Pulled, thanks.