Yes. I checked the fastboot source code in Ubuntu LTS 16.04.
From: zhufuwengangmailto:zhufuwengang@hisilicon.com Sent: 2017年4月20日 14:26 To: Haojian Zhuangmailto:haojian.zhuang@linaro.org Cc: Leif Lindholmmailto:leif.lindholm@linaro.org; linaro-uefimailto:linaro-uefi@lists.linaro.org; Ard Biesheuvelmailto:ard.biesheuvel@linaro.org; Xuejianchengmailto:xuejiancheng@hisilicon.com; Wangheming (Hermit)mailto:hermit.wangheming@hisilicon.com; Yanhaifengmailto:yanhaifeng@hisilicon.com; project-aspen-dev@linaro.orgmailto:project-aspen-dev@linaro.org; Alex Eldermailto:elder@linaro.org Subject: Re: [Linaro-uefi] Android fastboot module in UEFI
Hi Haojian,
On 2017/4/19 20:48, Haojian Zhuang wrote:
On 19 April 2017 at 16:36, Leif Lindholm leif.lindholm@linaro.org wrote:
On Fri, Apr 14, 2017 at 11:26:29AM +0800, zhufuwengang wrote:
Hi all, In linaro-aspen project,we have had a problem in Android fastboot module of the UEFI. Unfortunately the USB interfaces on our board can't work in device mode, we can't update and debug the system via the USB port in Android fastboot.Therefor, we tried to implement the data transmission with TCP/IP protocol.But we have no idea about whether the plan is effective or not.
#1.Could you please give us some advises about that plan?
Well, I have no knowledge of Fastboot. Haojian? Is this a workable solution.
Yes, it could work on TCP/IP. But we can't use the fastboot app in Ubuntu release. Here's the link of android fastboot application. https://android.googlesource.com/platform/system/core/+/master/fastboot
Do you mean the android fastboot application in the release version of Ubuntu did not support TCP/IP? I read the source code of fastboot app in the link above, it includes some code about TCP/IP such as tcp.cpp , tcp.h. Did these files not included in the fastboot of Ubuntu release version?
Best regards, Wengang
#2.Are there any platforms that have ever implemented TCP/IP transport in UEFI fastboot module?How can I get the reference code?
Haojian?
See above.
#3.I checked the source code of UEFI and found there are several NetWork drivers in MdeModulePkg/Universal/Network/ folder. Do you know which platform that have used these drivers successfully?
These are the core networking protocols for UEFI. They are not device drivers. For device drivers, look under OptionRomPkg/.
#4.The last and most important,if we could implemented the TCP/IP transport in UEFI fastboot module, does the Google fastboot tool on the Host side could support update and debug the board via TCP/IP transport?
Haojian?