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 -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox