Re: [edk2] Missing Ping Reply

2014-08-18 Thread Chris Cuthbert
Did you check the Token->Status and Token->Packet.RxData in Ip4InstanceDeliverPacket() before SingalEvent? Best Regards, Siyuan From: Chris Cuthbert [mailto:nd6...@hotmail.com] Sent: Tuesday, August 19, 2014 1:18 AM To: Fu, Siyuan; Edk2 Devel Subject: RE: [edk2] Missing Ping

Re: [edk2] PXE Boot Error

2014-08-19 Thread Chris Cuthbert
devel@lists.sourceforge.net; nd6...@hotmail.com Subject: RE: [edk2] PXE Boot Error Date: Tue, 19 Aug 2014 04:19:04 + Hi, Chris Just add "option vendor-class-identifier "PXEClient";" to your dhcpd.conf file, it will enable option 60. Best Regards, Siyuan

Re: [edk2] Missing Ping Reply

2014-08-19 Thread Chris Cuthbert
] Missing Ping Reply Date: Tue, 19 Aug 2014 04:10:51 + Hi, Chris I still can’t reproduce this issue on my side, what’s the EDKII and shell revision you are using? Can you reproduce it on other NIC, like NT32? Best Regards, Siyuan From: Chris Cuthbert [mailto:nd6...@hotmail.com

Re: [edk2] Missing Ping Reply

2014-08-19 Thread Chris Cuthbert
this issue on my side, what’s the EDKII and shell revision you are using? Can you reproduce it on other NIC, like NT32? Best Regards, Siyuan From: Chris Cuthbert [mailto:nd6...@hotmail.com] Sent: Tuesday, August 19, 2014 10:22 AM To: Fu, Siyuan; Edk2 Devel Subject: RE: [e

[edk2] UEFI PXE Boot Question

2014-08-21 Thread Chris Cuthbert
Hi All, I am trying to PXE boot Linux kernel and I can get GRUB to load and run and get to grub prompt. How is GRUB supposed to get the boot menu from the tftp server ?If it is using UEFI network driver to talk to tftp server, does that mean the UEFI network driver needs to be a UEFI runtime dri

Re: [edk2] UEFI PXE Boot Question

2014-08-21 Thread Chris Cuthbert
call ExitBootServices() service to terminate the UEFI stack, then start its own network. Best Regards, Siyuan From: Chris Cuthbert [mailto:nd6...@hotmail.com] Sent: Friday, August 22, 2014 9:20 AM To: Edk2 Devel Subject: [edk2] UEFI PXE Boot Question Hi All, I am trying to PXE boot

[edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-05 Thread Chris Cuthbert
Hello,I am trying to add an ethernet driver to UEFI. It is using PCI IO protocol and producing SNP. When I issue "ifconfig -l eth0" command in UEFI shell, I get an error: Error. The protocol 'gEfiIp4ConfigProtocolGuid' was required and not found (3B95AA31-3793-434B-8667-C8070892E05E).I ha

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-05 Thread Chris Cuthbert
or‏ If your ethernet driver produces SNP, you need remove the EDKII SNP module. # INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf Best Regards, Ye Ting From: Chris Cuthbert [mailto:nd6...@hotmail.com] Sent: Tuesday, August 05, 2014 11:11 PM To: Edk2 Devel Subject: [edk2

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-05 Thread Chris Cuthbert
ue, 5 Aug 2014 20:19:30 -0700 To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ On Aug 5, 2014, at 8:15 PM, Chris Cuthbert wrote:Thanx. I fixed it but did not make things better.I tried to debug this further with "ping" command

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-06 Thread Chris Cuthbert
ci(0x0,0x0) Child Controllers : > Date: Wed, 6 Aug 2014 14:43:13 +0200 > From: ler...@redhat.com > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ > > On 08/06/14 05:15, Chris Cuthbert wrote: > > Thanx. I fix

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-06 Thread Chris Cuthbert
ect: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ > > On 08/06/14 21:34, Chris Cuthbert wrote: > > Hi Laszlo, > > > > Thanx for the comprehensive explanation of the "dh" command. You > > diagnosed my problem correctly and also gave me a pointe

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
ivers connected to devices providing the services ? Thanx. > Date: Thu, 7 Aug 2014 11:29:41 +0200 > From: ler...@redhat.com > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ > > On 08/07/14 03:22, Andrew Fish wrote: > &

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
UEFI Shell Command "ifconfig" Error‏ > > On 08/07/14 18:39, Chris Cuthbert wrote: > > Hi Andrew, Laszlo, > > > > The output from the 'devices' shell command is: > > > > 7B D - - 1 0 0 > > PciRoot(0x2)/Pci(0x2,0x0)/Pci(0x0,0x

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
e: [edk2] UEFI Shell Command "ifconfig" Error‏ > > On 08/07/14 20:17, Chris Cuthbert wrote: > > Hi Laszlo, > > > > I believe that is exactly what you have done in VirtioNetDxe driver and > > I am following that exactly. I believe this dump from 'devtree&#x

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
Yes, I have the source code. If that is what you mean. > Date: Thu, 7 Aug 2014 22:31:26 +0200 > From: ler...@redhat.com > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ > > On 08/07/14 22:14, Chris Cuthbert wrote: &g

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
This is ARM from edk2. All open source, nothing proprietary. > Date: Thu, 7 Aug 2014 23:02:16 +0200 > From: ler...@redhat.com > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ > > On 08/07/14 22:34, Chris Cuthber

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
et Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ On 08/07/14 23:05, Chris Cuthbert wrote: > This is ARM from edk2. All open source, nothing proprietary. Ah. Yes. I recall that. Actually I have a downstream hack that is related. I'll attach it just as illustration (the

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
hild handle, 'CoreConnectController' should be called on that child handle. From the code, I see that is only possible if protocol has not been opened by child handle. What do you think ? Date: Thu, 7 Aug 2014 23:29:46 +0200 From: ler...@redhat.com To: edk2-devel@lists.sourceforge.net S

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
Hi Laszlo, The '-r' option only works for all drivers and not for individual drivers. > Date: Fri, 8 Aug 2014 01:02:12 +0200 > From: ler...@redhat.com > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error‏ > > O

Re: [edk2] UEFI Shell Command "ifconfig" Error‏

2014-08-07 Thread Chris Cuthbert
ug 7, 2014, at 4:37 PM, Chris Cuthbert wrote:Hi Laszlo, The '-r' option only works for all drivers and not for individual drivers. I think the -r is down stream of the handle you are connecting. So if you don’t pass DeviceHandle then it is a connect all. If not it is down stream of De

[edk2] Missing Ping Reply

2014-08-16 Thread Chris Cuthbert
Hi All, I am implementing a UEFI driver for a network controller and I am producing Simple Network Protocol(SNP). To test this, I am using the 'ping' shell command. The problem is that I never get the first ping reply. I have debugged this all the way up the IPv4 stack and I can see that reply p

Re: [edk2] Missing Ping Reply

2014-08-18 Thread Chris Cuthbert
Siyuan From: Chris Cuthbert [mailto:nd6...@hotmail.com] Sent: Sunday, August 17, 2014 11:14 AM To: Edk2 Devel Subject: [edk2] Missing Ping Reply Hi All, I am implementing a UEFI driver for a network controller and I am producing Simple Network Protocol(SNP). To test this, I am using the

[edk2] PXE Boot Error

2014-08-18 Thread Chris Cuthbert
Hi All, I am trying to boot an ARM core using PXE boot and I am following the steps mentioned in this Linaro wiki (https://wiki.linaro.org/LEG/Engineering/Kernel/UEFI/UEFI_Network_Booting). Most importantly, the DHCP server configuration part of it. It says: Add these lines to /etc/dhcp/dhcpd