On Aug 5, 2014, at 9:36 PM, Chris Cuthbert <nd6...@hotmail.com> wrote:
> When I use "dh -v" command it does not dump the protocol handles.
> The "help dh" command does say that protocol handles can be dumped using GUID
> but I cannot seem to find the format for the 128-bit value that would make
> the UEFI Shell happy.
Handles are just a collection of protocols. I think the dh will just give you
string names for known protocols. It makes up a number for each handle and if
you dump that hex number you will get more info and see GUIDs for things the
shell does not know about.
Thanks,
Andrew Fish
> Thanx.
>
> From: af...@apple.com
> Date: Tue, 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 <nd6...@hotmail.com> wrote:
>
> Thanx. I fixed it but did not make things better.
> I tried to debug this further with "ping" command and it looks like UEFI
> Shell cannot find the IPv4/IPv6 protocol handle. When I built a DEBUG
> release, I can see the network stack modules being loaded. So I do not
> understand why those protocol handles cannot be found.
> Is there a way to dump the handle database and check which protocols are
> instantiated ?
>
>
> dh will dump all the handles.
>
> Thanx.
>
> From: ting...@intel.com
> To: edk2-devel@lists.sourceforge.net
> Date: Wed, 6 Aug 2014 02:06:47 +0000
> Subject: Re: [edk2] UEFI Shell Command "ifconfig" Error
>
> 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] UEFI Shell Command "ifconfig" Error
>
> 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 have copied the networking stack set up from ArmVExpress.dsc.inc and
> ArmVExpress-networking.fdf.inc that includes the Ip4ConfigDxe.inf module.
> What am I missing ?
> Thanx,
>
>
> #
> # Networking stack
> #
> INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
> INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
> INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
> INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
> INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
> INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
> INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
> INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
> INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
> INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
> INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
> INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
> INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
>
> ------------------------------------------------------------------------------
> Infragistics Professional Build stunning WinForms apps today! Reboot your
> WinForms applications with our WinForms controls. Build a bridge from your
> legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________ edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional Build stunning WinForms apps today! Reboot your
> WinForms applications with our WinForms controls. Build a bridge from your
> legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________ edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel