Re: [edk2] Filesystem issues since "OvmfPkg: enable SATA controller"

2015-11-10 Thread Gary Ching-Pang Lin
On Tue, Nov 10, 2015 at 04:55:16PM +, Mark Rutland wrote: > I've been trying to test an EFI application on x86_64 using Ubuntu 14.04's > QEMU > 2.0.0. I have a directory 'foo' containing the application, and I get QEMU to > create a virtual FAT device: > > $ qemu-system-x86_64 -nographic \ >

Re: [edk2] [PATCH v2] NetworkPkg:Enable Http Boot over Ipv6 stack

2015-11-08 Thread Gary Ching-Pang Lin
On Tue, Nov 03, 2015 at 04:13:27PM +0800, Zhang Lubo wrote: > v2: > *Rewrite the logic of setting ipv6 gateway in httpboot driver and update some > comment. > > Fix a potential bug which can cause assert when setting ipv6 Gateway. If > there is no > router in network environment, it will fail to

Re: [edk2] [patch] MdeModulePkg:Fix a bug that HttpLib can not parse Ipv6 address correctly.

2015-11-06 Thread Gary Ching-Pang Lin
On Fri, Nov 06, 2015 at 04:11:45PM +0800, Zhang Lubo wrote: > v2: > *Add a Url Parse state machine to indicate the host is ipv6 expressed url and > can parse > the ipv6 address correctly. > This patch works for me. The IPv6 address was extracted from my url. Tested-by: Gary

Re: [edk2] [PATCH v2] NetworkPkg:Enable Http Boot over Ipv6 stack

2015-11-04 Thread Gary Ching-Pang Lin
On Tue, Nov 03, 2015 at 04:13:27PM +0800, Zhang Lubo wrote: > v2: > *Rewrite the logic of setting ipv6 gateway in httpboot driver and update some > comment. > > Fix a potential bug which can cause assert when setting ipv6 Gateway. If > there is no > router in network environment, it will fail to

Re: [edk2] [patch] NetworkPkg:Enable Http Boot over Ipv6 stack

2015-11-02 Thread Gary Ching-Pang Lin
On Tue, Nov 03, 2015 at 03:20:29PM +0800, Gary Ching-Pang Lin wrote: > On Mon, Nov 02, 2015 at 10:31:13AM +0800, Zhang Lubo wrote: > > This patch is used to add new features to support Http boot over ipv6 stack. > > > Hi Lubo, > > In NetworkPkg/Htt

[edk2] [PATCH] OvmfPkg: raise DXEFV size to 9 MB

2015-10-07 Thread Gary Ching-Pang Lin
1.0 Signed-off-by: Gary Ching-Pang Lin --- OvmfPkg/OvmfPkgIa32.fdf| 6 +++--- OvmfPkg/OvmfPkgIa32X64.fdf | 6 +++--- OvmfPkg/OvmfPkgX64.fdf | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf index 20b6df2..d4ae2f9

Re: [edk2] Confused about OVMF and qemu debugging

2015-09-04 Thread Gary Ching-Pang Lin
On Fri, Sep 04, 2015 at 03:56:11AM +, Shubha Ramani wrote: > Using this link I was able to get qemu installed on my Ubuntu virtual > machine. UEFI/OVMF - Ubuntu Wiki > > |   | > |   |   |   |   |   | > | UEFI/OVMF - Ubuntu WikiOVMF is a port of Intel's tianocore firmware to the > qemu virtua

Re: [edk2] Network disconnected after NBP was loaded

2015-08-30 Thread Gary Ching-Pang Lin
On Mon, Aug 31, 2015 at 03:33:41AM +, Fu, Siyuan wrote: > Yes wireless connection will be stay in associated state. > Fair enough. Then I only have to take care of the IP address, gateway, etc. from the device path. Thanks! Gary Lin > -Original Message- > From: Gary Ch

Re: [edk2] Network disconnected after NBP was loaded

2015-08-30 Thread Gary Ching-Pang Lin
2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Gary > Ching-Pang Lin > Sent: Friday, August 28, 2015 4:02 PM > To: edk2-devel@lists.01.org > Subject: [edk2] Network disconnected after NBP was loaded > > Hi, > > I was under the impression that the UEFI firmw

[edk2] Network disconnected after NBP was loaded

2015-08-28 Thread Gary Ching-Pang Lin
Hi, I was under the impression that the UEFI firmware would maintain the network connection unless a EFI program or OS determine to create a new connection. Take PXE for example. After the bootloader is loaded, it can utilize the PxeBaseCode protocol to download the OS image with the existed conne

Re: [edk2] [PATCH] OvmfPkg: Build HTTP utilities driver

2015-08-27 Thread Gary Ching-Pang Lin
On Thu, Aug 27, 2015 at 12:54:13PM +0200, Laszlo Ersek wrote: > Gary, > > On 08/27/15 05:41, Gary Ching-Pang Lin wrote: > > The HTTP driver now needs the HTTP utilities driver to parse the > > headers of HTTP requests. > > Can you point out the SVN rev / git commi

[edk2] [PATCH] OvmfPkg: Build HTTP utilities driver

2015-08-26 Thread Gary Ching-Pang Lin
The HTTP driver now needs the HTTP utilities driver to parse the headers of HTTP requests. Add the driver into OVMF so that the HTTP driver can work properly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin --- OvmfPkg/OvmfPkgIa32.dsc| 1 + OvmfPkg

Re: [edk2] [PATCH v3 2/2] OvmfPkg: Add HttpBoot support

2015-08-23 Thread Gary Ching-Pang Lin
ble the feature? > It's still a driver under development and there are some missing features e.g. Http Utility protocol, DHCPv6 support, etc., so I make it optional. Gary Lin > -Jordan > > On 2015-08-19 20:48:44, Gary Ching-Pang Lin wrote: > > This commit introdues a new bui

Re: [edk2] [PATCH v3 1/2] NetworkPkg: Remove the hostname from the http request URL

2015-08-19 Thread Gary Ching-Pang Lin
. Thanks, Gary Lin > > > > -----Original Message- > From: Gary Ching-Pang Lin [mailto:g...@suse.com] > Sent: Thursday, August 20, 2015 11:49 AM > To: edk2-devel@lists.01.org > Cc: Laszlo Ersek; Justen, Jordan L; Fu, Siyuan > Subject: [PATCH v3 1/2] NetworkPkg: Remove the hostnam

[edk2] [PATCH v3 1/2] NetworkPkg: Remove the hostname from the http request URL

2015-08-19 Thread Gary Ching-Pang Lin
so that the HTTP server can interpret the request properly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin Reviewed-by: Ye Ting --- NetworkPkg/HttpDxe/HttpImpl.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a

[edk2] [PATCH v3 0/2] Add HttpBoot support to OvmfPkg

2015-08-19 Thread Gary Ching-Pang Lin
ail while fetching the EFI image from some featureless http daemon such as thttpd. Gary Ching-Pang Lin (2): NetworkPkg: Remove the hostname from the http request URL OvmfPkg: Add HttpBoot support NetworkPkg/HttpDxe/HttpImpl.c | 19 ++- OvmfPkg/OvmfPkgIa32.dsc | 10 +

[edk2] [PATCH v3 2/2] OvmfPkg: Add HttpBoot support

2015-08-19 Thread Gary Ching-Pang Lin
ot; dhcp-boot="http:///" It's similar to the PXE server settings except the tftp function is disabled, the option 60 must be "HTTPClient", and the boot uri is a http url. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin R

[edk2] [PATCH v2 1/2] NetworkPkg: Remove the hostname from the http request url

2015-08-17 Thread Gary Ching-Pang Lin
The hostname is already set in the header of the http request. The url shouldn't contain the hostname since the hostname will be prepended to the url when the server interprets the request. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin Reviewed-b

[edk2] [PATCH v2 0/2] Add HttpBoot support to OvmfPkg

2015-08-17 Thread Gary Ching-Pang Lin
issues: * DHCPv6 support is not implemented in HttpBootDxe at this moment. * The unexpected TCP disconnection isn't handled properly in HttpDxe and the GET request may fail while fetching the EFI image from some featureless http daemon such as thttpd. Gary Ching-Pang Lin (2): NetworkPkg: Rem

[edk2] [PATCH v2 2/2] OvmfPkg: Add HttpBoot support

2015-08-17 Thread Gary Ching-Pang Lin
ot; dhcp-boot="http:///" It's similar to the PXE server settings except the tftp function is disabled, the option 60 must be "HTTPClient", and the boot uri is a http url. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin -

Re: [edk2] [PATCH 0/2] Add HttpBoot support to OvmfPkg

2015-08-16 Thread Gary Ching-Pang Lin
On Fri, Aug 14, 2015 at 07:58:31AM -0700, Blibbet wrote: > > On 08/14/2015 02:03 AM, Gary Ching-Pang Lin wrote: > > Although the current HttpBoot implementation is incomplete, it would be > > easier to develop and test the software stack with a virtual machine. > > T

Re: [edk2] [PATCH 0/2] Add HttpBoot support to OvmfPkg

2015-08-14 Thread Gary Ching-Pang Lin
On Fri, Aug 14, 2015 at 10:27:31AM +0100, David Woodhouse wrote: > On Fri, 2015-08-14 at 17:03 +0800, Gary Ching-Pang Lin wrote: > > I've tested the HttpBoot implementation with a simple test > > environment: > > Is this tested with IPv6? No, IPv6 is not implemented

[edk2] [PATCH 0/2] Add HttpBoot support to OvmfPkg

2015-08-14 Thread Gary Ching-Pang Lin
nd executed it. However, the EFI file couldn't get the correct device path so it's still not good enough for the bootloader development. Although the current HttpBoot implementation is incomplete, it would be easier to develop and test the software stack with a virtual machine. G

[edk2] [PATCH 1/2] NetworkPkg: Remove the hostname for the http request url

2015-08-14 Thread Gary Ching-Pang Lin
The hostname is already set in the header of the http request. The url shouldn't contain the hostname since the hostname will be prepended to the url when the server interprets the request. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin --- Netwo

[edk2] [PATCH 2/2] OvmfPkg: Add HttpBoot support

2015-08-14 Thread Gary Ching-Pang Lin
ot; dhcp-boot="http:///" It's similar to the PXE server settings except the tftp function is disabled, the option 60 must be "HTTPClient", and the boot uri is a http url. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Ching-Pang Lin -