Skip to content

Slices and fastboot over UDP

Daniel Glöckner barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest14 patches 1 replyIn review

Changes in v3 from the cover letter

- rebased to the current master branch where some of the patches from v2 have already been merged
- timeout when waiting for host in fastboot_write_net
- reworked and unified code for aborting sessions

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Introduce slicescommands/Kconfig common/Makefile common/slice.c +1 more+343 -00 replies
2/14Introduce idle slicecommon/hush.c common/ratp/ratp.c common/slice.c +4 more+41 -70 replies
3/14net: Add a slice to struct eth_deviceinclude/net.h net/eth.c+26 -30 replies
4/14net: mdiobus: Add slicedrivers/net/phy/mdio_bus.c include/linux/phy.h+58 -230 replies
5/14usb: Add a slice to usb host controllersdrivers/usb/core/usb.c include/usb/usb.h+14 -00 replies
6/14usbnet: Add slicedrivers/net/usb/usbnet.c+3 -00 replies
7/14net: Call net_poll() in a pollerfs/nfs.c fs/tftp.c include/net.h +8 more+22 -250 replies
8/14net: reply to ping requestsnet/net.c+44 -20 replies
9/14usbnet: Be more friendly in the receive pathdrivers/net/usb/usbnet.c include/usb/usbnet.h+21 -10 replies
10/14poller: Allow to run pollers inside of pollerscommon/poller.c include/poller.h+12 -91 reply
11/14defconfigs: update renamed fastboot optionsarch/arm/configs/imx23_defconfig arch/arm/configs/imx28_defconfig arch/arm/configs/imx_v7_defconfig +4 more+7 -70 replies
12/14globalvar: Add helper for deprecated variable namescommon/globalvar.c include/globalvar.h+44 -20 replies
13/14fastboot: rename usbgadget.fastboot_* variables to fastboot.*Documentation/user/usb.rst commands/usbgadget.c common/fastboot.c +2 more+29 -200 replies
14/14fastboot net: implement fastboot over UDPcommon/fastboot.c include/fastboot.h include/fastboot_net.h +3 more+577 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/14] Slices and fastboot over UDP

This revision addresses the remaining issue of being stuck in a loop forever waiting for the packet that allows us to send our next message. As proposed there is now a warning printed in 5s intervals to the console with a timeout and session abort after 65 seconds.

I noticed that some of the v2 patches have already been merged. That's why there are now only 14 patches. I suggest that the "defconfigs:
update renamed fastboot options" [11/14] patch is also merged without waiting for the other patches since it fixes the defconfigs after the changes done by 2879373370eb.

Changes since v2:

- rebased to the current master branch where some of the patches from v2 have already been merged
- timeout when waiting for host in fastboot_write_net
- reworked and unified code for aborting sessions

Daniel Glöckner (3):
Introduce idle slice
defconfigs: update renamed fastboot options
fastboot: rename usbgadget.fastboot_* variables to fastboot.*

Edmund Henniges (1):
fastboot net: implement fastboot over UDP

Sascha Hauer (10):
Introduce slices
net: Add a slice to struct eth_device
net: mdiobus: Add slice
usb: Add a slice to usb host controllers
usbnet: Add slice
net: Call net_poll() in a poller
net: reply to ping requests
usbnet: Be more friendly in the receive path
poller: Allow to run pollers inside of pollers
globalvar: Add helper for deprecated variable names

 Documentation/user/usb.rst               |   4 +-
 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                         |   8 +
 commands/usbgadget.c                     |   2 +-
 common/Makefile                          |   1 +
 common/fastboot.c                        |  27 +-
 common/globalvar.c                       |  41 +-
 common/hush.c                            |   5 +
 common/poller.c                          |  19 +-
 common/ratp/ratp.c                       |   7 +-
 common/slice.c                           | 325 ++++++++++++++
 common/startup.c                         |   2 +
 common/usbgadget.c                       |  16 +-
 drivers/net/phy/mdio_bus.c               |  43 ++
 drivers/net/usb/usbnet.c                 |  22 +-
 drivers/usb/core/usb.c                   |   7 +
 fs/nfs.c                                 |   2 -
 fs/tftp.c                                |   2 -
 include/fastboot.h                       |   4 +
 include/fastboot_net.h                   |  12 +
 include/globalvar.h                      |   5 +
 include/linux/phy.h                      |  38 +-
 include/net.h                            |  11 +-
 include/poller.h                         |   2 +
 include/ratp_bb.h                        |   1 -
 include/slice.h                          |  36 ++
 include/usb/usb.h                        |   7 +
 include/usb/usbnet.h                     |   3 +
 lib/readline.c                           |   6 +-
 net/Kconfig                              |  10 +
 net/Makefile                             |   1 +
 net/dhcp.c                               |   1 -
 net/dns.c                                |   1 -
 net/eth.c                                |  30 +-
 net/fastboot.c                           | 550 +++++++++++++++++++++++
 net/net.c                                |  60 ++-
 net/netconsole.c                         |   4 +-
 net/nfs.c                                |   1 -
 net/ping.c                               |   2 -
 net/sntp.c                               |   2 -
 46 files changed, 1238 insertions(+), 96 deletions(-)
 create mode 100644 common/slice.c
 create mode 100644 include/fastboot_net.h
 create mode 100644 include/slice.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