Re: [PATCH v2] usb: gadget: allow to actually enable sparse fastboot support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 2018-08-07 at 16:23 +0200, Uwe Kleine-König wrote:
> When sparse support was (intended to be) made optional it was
> effectively unconditionally disabled because
> 
> 	IS_ENABLED(USB_GADGET_FASTBOOT_SPARSE)
> 
> always evaluates to 0. To actually make use of the introduced kconfig
> symbol the CONFIG_ prefix must not be skipped.
> 
> Fixes: f4b5d3eeb607 ("usb: gadget: fastboot: Make sparse support optional")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
> 
Tested-by: Gavin Schenk <g.schenk@xxxxxxxxxxxx>

Finally, and with this patch, fastboot works in sparse mode on a i.MX25 based machine with 128MB RAM.
My Test:
 * cp /dev/zero /dev/mmc0.0
 * usbgadget -A /dev/mmc0.0(system0)
 * sudo fastboot flash system0 platform-eag-ci4000/images/root.ext2 (on host)
 * boot /mnt/mmc0.0
 * \o/

Thanks!

Regards
Gavin Schenk
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux