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?
#2.Are there any platforms that have ever implemented TCP/IP transport in UEFI fastboot module?How can I get the reference code?
#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?
#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?
Thank you. Best regards, Wengang
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.
#2.Are there any platforms that have ever implemented TCP/IP transport in UEFI fastboot module?How can I get the reference code?
Haojian?
#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?
Best Regards,
Leif
Thank you. Best regards, Wengang
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi
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
#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?
See above.
Best Regards,
Leif
Thank you. Best regards, Wengang
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi
Haojian,
On 19 April 2017 at 22:48, Haojian Zhuang haojian.zhuang@linaro.org 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.
What do you mean by "we can't use the fastboot app in Ubuntu release."? I think the host side works (on ubuntu).
Here's the link of android fastboot application. https://android.googlesource.com/platform/system/core/+/master/fastboot
#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?
See above.
Best Regards,
Leif
Thank you. Best regards, Wengang
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi
I mean that the prebuilt fastboot app doesn’t include the TCP/IP feature in ubuntu LTS 16.04 release.
From: Bin Chenmailto:bin.chen@linaro.org Sent: 2017年4月20日 7:36 To: Haojian Zhuangmailto:haojian.zhuang@linaro.org Cc: Leif Lindholmmailto:leif.lindholm@linaro.org; zhufuwengangmailto:zhufuwengang@hisilicon.com; 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: [project-aspen-dev] Re: [Linaro-uefi] Android fastboot module in UEFI
Haojian,
On 19 April 2017 at 22:48, Haojian Zhuang <haojian.zhuang@linaro.orgmailto:haojian.zhuang@linaro.org> wrote: On 19 April 2017 at 16:36, Leif Lindholm <leif.lindholm@linaro.orgmailto: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.
What do you mean by "we can't use the fastboot app in Ubuntu release."? I think the host side works (on ubuntu).
Here's the link of android fastboot application. https://android.googlesource.com/platform/system/core/+/master/fastboot
#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?
See above.
Best Regards,
Leif
Thank you. Best regards, Wengang
Linaro-uefi mailing list Linaro-uefi@lists.linaro.orgmailto:Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi
-- Regards, Bin
On 20 April 2017 at 23:02, Haojian Zhuang haojian.zhuang@linaro.org wrote:
I mean that the prebuilt fastboot app doesn’t include the TCP/IP feature in ubuntu LTS 16.04 release.
We can download the platform tools from Google directly. The one packaged for Ubuntu may be a little bit out of date.
https://developer.android.com/studio/releases/platform-tools.html
https://developer.android.com/studio/releases/platform-tools.html
*From: *Bin Chen bin.chen@linaro.org *Sent: *2017年4月20日 7:36 *To: *Haojian Zhuang haojian.zhuang@linaro.org *Cc: *Leif Lindholm leif.lindholm@linaro.org; zhufuwengang zhufuwengang@hisilicon.com; linaro-uefi linaro-uefi@lists.linaro.org; Ard Biesheuvel ard.biesheuvel@linaro.org; Xuejiancheng xuejiancheng@hisilicon.com; Wangheming (Hermit) hermit.wangheming@hisilicon.com; Yanhaifeng yanhaifeng@hisilicon.com; project-aspen-dev@linaro.org; Alex Elder elder@linaro.org *Subject: *Re: [project-aspen-dev] Re: [Linaro-uefi] Android fastboot module in UEFI
Haojian,
On 19 April 2017 at 22:48, Haojian Zhuang haojian.zhuang@linaro.org 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.
What do you mean by "we can't use the fastboot app in
Ubuntu release."? I think the host side works (on ubuntu).
Here's the link of android fastboot application. https://android.googlesource.com/platform/system/core/+/master/fastboot
#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?
See above.
Best Regards,
Leif
Thank you. Best regards, Wengang
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi
--
Regards,
Bin
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?
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?