Do you know whether the LanIntelE1000Dxe works properly? You may type "drivers" in shell to check connecting status of UEFI network drivers.
Best Regards, Ye Ting -----Original Message----- From: Sharma Bhupesh [mailto:bhupesh.sha...@freescale.com] Sent: Wednesday, August 05, 2015 6:43 PM To: Ye, Ting; edk2-devel@lists.01.org; Leekha Shaveta Subject: RE: Error on executing shell command ifconfig Hi Ye Ting, Thanks for your inputs. I tried adding the same as well and the following packages are now being added to the .dsc file: # # Networking stack # MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf Also e1000/NIC card driver's efi is getting loaded . # Intel E1000 driver INF LS1043aRdbPkg/Drivers/LanIntelE1000Dxe/LanIntelE1000Dxe.inf Still I am getting same error: Shell> ifconfig -l Error. The protocol 'gEfiIp4ConfigProtocolGuid' was required and not found (3B95AA31-3793-434B-8667-C8070892E05E). Can it be related to shell source/version? Or Lan/NIC/E1000 card driver? Any hints would be helpful. Regards, Bhupesh > -----Original Message----- > From: Ye, Ting [mailto:ting...@intel.com] > Sent: Wednesday, August 05, 2015 2:14 PM > To: Sharma Bhupesh-B45370; edk2-devel@lists.01.org; Leekha Shaveta-B20052 > Subject: RE: Error on executing shell command ifconfig > > It looks SNP driver is missing. > > MdeModulePkg\Universal\Network\SnpDxe\SnpDxe.inf > > Best Regards, > Ye Ting > > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Sharma Bhupesh > Sent: Wednesday, August 05, 2015 4:36 PM > To: edk2-devel@lists.01.org; Leekha Shaveta > Subject: [edk2] Error on executing shell command ifconfig > > Hi, > > I was trying to add Network stack in UEFI for a FSL SoC in order to run > "ping" and "ifconfig" commands. > For this I have added following inf in my fdf file: > > # 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/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 > > # Intel E1000 driver > INF LS1043aRdbPkg/Drivers/LanIntelE1000Dxe/LanIntelE1000Dxe.inf > > Also added required NetLib, DcpLib, and Protocol Guids. > > But when I run ifconfig -l command, I get following error: > > Shell> ifconfig -l > Error. The protocol 'gEfiIp4ConfigProtocolGuid' was required and not > found (3B95AA31-3793-434B-8667-C8070892E05E). > > Also ping command is not showing anything > Shell> ping 192.168.1.15 > Shell> ping 192.168.1.15 > Is something missed here? > > Thanks and Regards, > Bhupesh > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel