Skip to content

Android Fastboot support

Rob Herring u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 0 repliesNew
  2. v4 posting 2/20 of 5 patches 0 repliesSuperseded
  3. v4 posting 1/25 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v3 posting 2/20 of 5 patches0 repliesSuperseded
v3 posting 1/25 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3image: add support for Android's boot image formatcommon/Makefile common/cmd_bootm.c common/image-android.c +3 more+204 -60 replies
2/3usb/gadget: add the fastboot gadgetREADME common/Makefile common/cmd_fastboot.c +4 more+835 -00 replies
3/3arm: beagle: enable Android fastboot supportinclude/configs/omap3_beagle.h+10 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTom RiniLukasz MajewskiMarek Vasut
SeriesA-b
1/3R-b R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [U-Boot] [PATCH v5 0/3] Android Fastboot support

From: Rob Herring <[email protected]>

This is the 3nd version since I revived the fastboot patches Sebastian submitted.

I'm reviving the Android Fastboot support after 2+ years since the last posting[1]. The previous postings had some questions about licensing and source of some code. I believe I've traced the history sufficiently that the copyrights and source information are complete and correct.

The Android code used or referenced is BSD 2-clause license. This was originally raised by Wolfgang that it was not compatible with GPLv2+. I believe that has since been demonstrated and agreed that the BSD 2-clause license is compatible with u-boot.

As far as the history of the code, I have traced that back. The u-boot code started in 2008/2009 by Tom Rix @ Windriver. This initial support was then adopted and extended by TI (eMMC support primarily, not included here) in their OMAP u-boot tree[2]. In 2011, the TI code was used as a basis for upstream patches by Sebastian Siewior @ Linutronix. The code has been rearranged quite a bit since the original, but the content is pretty much the same. Some of the re-arranging left stale or missing copyrights in the v2 version which I have corrected.

This version is rebased on u-boot usb tree with the recent USB downloader gadget registration changes. The primary change is documentation added to README for new config options.

I've tested this series on a BeagleBoard.

Rob

[1] http://lists.denx.de/pipermail/u-boot/2011-November/110557.html
[2] http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=601ff71c8d46b5e90e13613974a16d10f2006bb3

Rob Herring (1):
arm: beagle: enable Android fastboot support

Sebastian Siewior (2):
image: add support for Android's boot image format usb/gadget: add the fastboot gadget

 README                               |  22 ++
 common/Makefile                      |   3 +
 common/cmd_bootm.c                   |  23 +-
 common/cmd_fastboot.c                |  36 +++
 common/image-android.c               |  84 ++++++
 common/image.c                       |  20 +-
 doc/README.android-fastboot          |  91 +++++++
 doc/README.android-fastboot-protocol | 170 ++++++++++++
 drivers/usb/gadget/Makefile          |   1 +
 drivers/usb/gadget/f_fastboot.c      | 513 +++++++++++++++++++++++++++++++++++
 include/android_image.h              |  69 +++++
 include/configs/omap3_beagle.h       |  10 +
 include/image.h                      |  13 +
 13 files changed, 1049 insertions(+), 6 deletions(-)
 create mode 100644 common/cmd_fastboot.c
 create mode 100644 common/image-android.c
 create mode 100644 doc/README.android-fastboot
 create mode 100644 doc/README.android-fastboot-protocol
 create mode 100644 drivers/usb/gadget/f_fastboot.c
 create mode 100644 include/android_image.h
Signature · 1 line
1.9.1