Skip to content

Support for Fastboot over UDP

Daniel Glöckner barebox 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 6 repliesIn review
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Add idle slice to execute commands when barebox is idle
- Use second poller to send keep-alive messages
- Share all settings in global variables with USB gadget and move them to a protocol agnostic variable namespace
- Use eth_open function added recently
- Minor cleanups

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Remove CONFIG_SLICEcommands/Kconfig common/Kconfig+0 -50 replies
2/10net: fixed-link phys are never acquiredinclude/linux/phy.h+1 -10 replies
3/10poller: adapt remaining users to API changearch/arm/boards/mioa701/gpio0_poweroff.c arch/arm/boards/sama5d3xek/init.c drivers/net/usb/ax88179_178a.c+3 -30 replies
4/10Introduce idle slicecommon/Kconfig common/binfmt.c common/command.c +5 more+56 -11 reply
5/10ratp: use poller to run ratp commandscommon/ratp/ratp.c include/ratp_bb.h lib/Kconfig +1 more+13 -100 replies
6/10fastboot: split generic code from USB gadgetcommon/Kconfig common/Makefile common/fastboot.c +6 more+1112 -9990 replies
7/10defconfigs: update renamed fastboot optionsarch/arm/configs/imx23_defconfig arch/arm/configs/imx28_defconfig arch/arm/configs/imx_v7_defconfig +4 more+7 -70 replies
8/10fastboot: rename usbgadget.fastboot_* variables to fastboot.*Documentation/user/usb.rst commands/usbgadget.c common/fastboot.c +2 more+21 -191 reply
9/10fastboot net: implement fastboot over UDPcommon/fastboot.c include/fastboot.h include/fastboot_net.h +3 more+531 -04 replies
10/10fastboot: don't close fd 0 when downloading to ramcommon/fastboot.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/10] Support for Fastboot over UDP

This v2 of the Fastboot over UDP code is based on the slice patch series posted on April 22. Strictly necessary for Fastboot over UDP are only the patches 4, 6, 8, and 9. The others touch related code but can be omitted if desired.

Changes since v1:
- Add idle slice to execute commands when barebox is idle
- Use second poller to send keep-alive messages
- Share all settings in global variables with USB gadget and move them to a protocol agnostic variable namespace
- Use eth_open function added recently
- Minor cleanups

Daniel Glöckner (8):
Remove CONFIG_SLICE
net: fixed-link phys are never acquired
poller: adapt remaining users to API change Introduce idle slice
ratp: use poller to run ratp commands
defconfigs: update renamed fastboot options
fastboot: rename usbgadget.fastboot_* variables to fastboot.*
fastboot: don't close fd 0 when downloading to ram

Edmund Henniges (2):
fastboot: split generic code from USB gadget
fastboot net: implement fastboot over UDP

 Documentation/user/usb.rst               |   4 +-
 arch/arm/boards/mioa701/gpio0_poweroff.c |   2 +-
 arch/arm/boards/sama5d3xek/init.c        |   2 +-
 arch/arm/configs/imx23_defconfig         |   2 +-
 arch/arm/configs/imx28_defconfig         |   2 +-
 arch/arm/configs/imx_v7_defconfig        |   2 +-
 arch/arm/configs/imx_v8_defconfig        |   2 +-
 arch/arm/configs/kindle-mx50_defconfig   |   2 +-
 arch/arm/configs/omap_defconfig          |   2 +-
 arch/arm/configs/zii_vf610_dev_defconfig |   2 +-
 commands/Kconfig                         |   1 -
 commands/usbgadget.c                     |   2 +-
 common/Kconfig                           |  46 +-
 common/Makefile                          |   1 +
 common/binfmt.c                          |   3 +
 common/command.c                         |   3 +
 common/console_countdown.c               |   3 +
 common/fastboot.c                        | 972 +++++++++++++++++++++++
 common/poller.c                          |   2 +
 common/ratp/ratp.c                       |  12 +-
 common/slice.c                           |  24 +
 common/usbgadget.c                       |  16 +-
 drivers/net/usb/ax88179_178a.c           |   2 +-
 drivers/usb/gadget/Kconfig               |  36 +-
 drivers/usb/gadget/f_fastboot.c          | 970 +---------------------
 drivers/usb/gadget/multi.c               |   5 +-
 include/fastboot.h                       |  70 ++
 include/fastboot_net.h                   |  12 +
 include/linux/phy.h                      |   2 +-
 include/ratp_bb.h                        |   1 -
 include/slice.h                          |  10 +
 include/usb/fastboot.h                   |  34 +-
 include/usb/gadget-multi.h               |   2 +-
 lib/Kconfig                              |   1 +
 lib/readline.c                           |   9 +-
 net/Kconfig                              |  18 +
 net/Makefile                             |   1 +
 net/fastboot.c                           | 496 ++++++++++++
 38 files changed, 1738 insertions(+), 1038 deletions(-)
 create mode 100644 common/fastboot.c
 create mode 100644 include/fastboot.h
 create mode 100644 include/fastboot_net.h
 create mode 100644 net/fastboot.c
Signature · 7 lines
2.17.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox