From: Rob Herring <r...@kernel.org>

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.

I've reworked the previous version to make enabling board support more 
simple including re-using the existing settings for image loading 
address.

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 (3):
  common: introduce maximum load size
  usb: handle NULL table in usb_gadget_get_string
  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                               |   3 +
 common/Makefile                      |   3 +
 common/board_r.c                     |   1 +
 common/cmd_bootm.c                   |  23 +-
 common/cmd_fastboot.c                |  36 +++
 common/image-android.c               |  84 ++++++
 common/image.c                       |  37 ++-
 doc/README.android-fastboot          |  86 ++++++
 doc/README.android-fastboot-protocol | 170 +++++++++++
 drivers/usb/gadget/Makefile          |   1 +
 drivers/usb/gadget/f_fastboot.c      | 535 +++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/g_fastboot.h      |  15 +
 drivers/usb/gadget/u_fastboot.c      | 260 +++++++++++++++++
 drivers/usb/gadget/usbstring.c       |   3 +
 include/android_image.h              |  69 +++++
 include/common.h                     |   1 +
 include/config_fallbacks.h           |   4 +
 include/configs/omap3_beagle.h       |   5 +
 include/image.h                      |  13 +
 include/usb/fastboot.h               |  36 +++
 20 files changed, 1379 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 drivers/usb/gadget/g_fastboot.h
 create mode 100644 drivers/usb/gadget/u_fastboot.c
 create mode 100644 include/android_image.h
 create mode 100644 include/usb/fastboot.h

-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to