[U-Boot] [Feature] Android Fastboot over Ethernet

Alex Kiernan alex.kiernan at gmail.com
Mon Apr 23 16:42:12 UTC 2018


On Mon, Apr 23, 2018 at 10:08 AM, Alex Kiernan <alex.kiernan at gmail.com> wrote:
> On Mon, Apr 16, 2018 at 12:25 PM, Lukasz Majewski <lukma at denx.de> wrote:
>> Hi Alex,
>>
>>> Hi all,
>>>
>>> Android Things on rpi supports fastboot over udp since most rpis don't
>>> expose a suitable USB port for fastboor over USB. It also uses the A/B
>>> booting mechanism similar to Pixel phones.
>>>
>>> The U-Boot code for the latest Android Things preview is in AOSP:
>>> https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-7
>>>
>>> In particular, the fastboot over UDP support was added by
>>> https://android.googlesource.com/platform/external/u-boot/+/018e7c25c7c0260a6d021c84521eab808657c1a8
>>> and subsequent commits. "git log android-o-mr1-iot-preview-7 --not
>>> v2017.07 --oneline --no-merges" should give you a cleaner list what
>>> was added on top of 2017.07.
>>>
>>> I believe most of those patches (or cleaned up versions) were shared
>>> in this list at the time.
>>
>> I would say that I would be more than happy to see patches adding this
>> feature to u-boot's fastboot.
>>
>
> Weekend project... still WIP, but builds cleanly, just seeing what
> Travis makes of it whilst I test it on a board:
>
> https://github.com/akiernan/u-boot/tree/us-fastboot-udp
>

Needs (quite a lot of) work still, but...

$ fastboot -s udp:192.168.0.103 getvar bootloader-version
bootloader-version: U-Boot 2018.05-rc2-00091-gdeb31e7
finished. total time: 0.000s

-- 
Alex Kiernan


More information about the U-Boot mailing list