[U-Boot] [PATCH 2/3] usb/gadget: add the fastboot gadget

Wolfgang Denk wd at denx.de
Fri Sep 16 23:09:50 CEST 2011


Dear Sebastian Andrzej Siewior,

In message <1316191879-27214-3-git-send-email-bigeasy at linutronix.de> you wrote:
> This patch contains an implementation of the fastboot protocol on the
> device side and a little of documentation.
> The gadget expects the new-style gadget framework.
> The gadget implements the getvar, reboot, download and reboot commands.
> What is missing is the flash handling i.e. writting the image to media.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
...
> diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
> new file mode 100644
> index 0000000..6c3cae5
> --- /dev/null
> +++ b/drivers/usb/gadget/f_fastboot.c
> @@ -0,0 +1,549 @@
> +/*
> + * The file is based on content which was
> + * (C) Copyright 2008 - 2009
> + * Windriver, <www.windriver.com>
> + * Tom Rix <Tom.Rix at windriver.com>
> + *
> + * but after the chainsaw attack by
> + * Copyright (c) 2011 Sebastian Andrzej Siewior <bigeasy at linutronix.de>
> + *
> + * there isn't much left. The license is in both cases GPLv2 as published
> + * by the FSF
> + */

For U-Boot, we need GPLv2+.  Please see bullet # 3 at
http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign
and note # 1 at http://www.denx.de/wiki/view/U-Boot/Patches#Notes

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That was the thing about deserts. They had their  own  gravity.  They
sucked you into the centre.           - Terry Pratchett, _Small Gods_


More information about the U-Boot mailing list