Support for Fastboot over UDP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 6 repliesIn review
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Remove CONFIG_SLICEcommands/ common/ | +0 | 0 replies | |
| 2/10 | net: fixed-link phys are never acquiredinclude/ | +1 | 0 replies | |
| 3/10 | poller: adapt remaining users to API changearch/ arch/ drivers/ | +3 | 0 replies | |
| 4/10 | Introduce idle slicecommon/ common/ common/ +5 more | +56 | 1 reply | |
| 5/10 | ratp: use poller to run ratp commandscommon/ include/ lib/ +1 more | +13 | 0 replies | |
| 6/10 | fastboot: split generic code from USB gadgetcommon/ common/ common/ +6 more | +1112 | 0 replies | |
| 7/10 | defconfigs: update renamed fastboot optionsarch/ arch/ arch/ +4 more | +7 | 0 replies | |
| 8/10 | fastboot: rename usbgadget.fastboot_* variables to fastboot.*Documentation/ commands/ common/ +2 more | +21 | 1 reply | |
| 9/10 | fastboot net: implement fastboot over UDPcommon/ include/ include/ +3 more | +531 | 4 replies | |
| 10/10 | fastboot: don't close fd 0 when downloading to ramcommon/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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