
From: Rob Herring robh@kernel.org
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=601ff71c8d46b5e90e1361...
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