Hi Ruth,
I switched to another motherboard in my office because it has
a built-in uefi shell. The board has the same problem loading
the Network Stack from the EDK2 compiled DXEs. The motherboard is
the MSI CSM-Q87-E43.
I've included two outputs from the drivers command. The
first is from the UDK2010.SR1.UP1.P1 shell. The other is from the
internal shell on the MSI CSM-Q87-E43. For some reason the UDK2010.SR1.UP1.P1
shell is printing a <null string> for the driver name. The internal
shell has no problems with printing.
Thanks,
Stephen
UDK2010.SR1.UP1.P1 shell v2.0
UEFI v2.31 American Megatrends
Revision 1.02
T D
D Y C I
R P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
=== ======= = = = == == =================================== ==========
2F 00000001 D N N 2 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(c7a7030c-c3d8-45ee-bed9-5d9e76762953)
40 00000010 B N N 1 7 <null string>
8F 0500040C ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(5bba83e6-f027-4ca7-bfd0-16358cc9e123)
92 00010000 D N N 1 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(93022f8c-1f09-47ef-bbb2-5814ff609df5)
94 00020502 B N N 1 18 <null string>
9B 00000010 D N N 1 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(bb65942b-521f-4ec3-baf9-a92540cf60d2)
A6 00000001 B N N 1 1 <null string>
B1 05052300 ? Y Y 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(4953f720-006d-41f5-990d-0ac7742abb60)
B4 00000001 ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(c4f2d007-37fd-422d-b63d-7ed73886e6ca)
B5 00000010 ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(fb142b99-df57-46cb-bc69-0bf858a734f9)
BF 00000010 ? N N 0 0 <null string>
C4 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(0ef8a3b1-388a-4b62-8be6-c7877d50aedf)
C6 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(b1625d3c-9d2d-4e0d-b864-8a763ee4ec50)
C7 0000000A ? N N 0 0 <null string>
C8 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(8dd9176e-ee87-4f0e-8a84-3f998311f930)
C9 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(8f9296ef-2880-4659-b857-915a8901bdc8)
CA 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(8f92960f-2880-4659-b857-915a8901bdc8)
CC 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(61afa223-8ac8-4440-9ab5-762b1bf05156)
CD 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(10ee5462-b207-4a4f-abd8-cb522ecaa3a4)
CE 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(8dd9176d-ee87-4f0e-8a84-3f998311f930)
CF 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(8f92960e-2880-4659-b857-915a8901bdc8)
D0 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(61afa251-8ac8-4440-9ab5-762b1bf05156)
D1 0000000A ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(10ee54ae-b207-4a4f-abd8-cb522ecaa3a4)
D2 00010000 ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(768bedfd-7b4b-4c9f-b2ff-6377e3387243)
10B 0000008A D N N 3 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(580dd900-385d-11d7-883a-00500473d4eb)
10D 0000008A D N N 3 0 <null string>
10E 00000001 D N N 3 0 <null string>
10F 00000001 ? N N 0 0 <null string>
110 00000001 ? N N 0 0 <null string>
131 00000010 ? N N 0 0 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(25acf158-dd61-4e64-9a49-55851e9a26c7)
132 00000024 B N N 1 1 <null string>
MemoryMapped(0xb,0xc6a45000,0xc6f14fff)/FvFile(29cf55f8-b675-4f5d-8f2f-b87a3ecfd063)
133 00000010 ? N N 0 0 <null string>
145 00000010 D N N 2 0 <null string>
146 00000010 D N N 1 0 <null string>
147 00000010 B N N 4 4 <null string>
149 00000010 B N N 1 1 <null string>
14A 00000010 ? N N 0 0 <null string>
14B 00000001 ? N N 0 0 <null string>
14E 00000010 ? N N 0 0 <null string>
153 06041300 B Y Y 1 1 <null string>
PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Offset(0x38,0x203ff)
MSI built-in shell
EFI v2.31 American Megatrends
Revision 4.654
T D
D Y C I
R P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
== ======== = = = == == =================================== ===================
2F 00000001 D - - 2 - <UNKNOWN> MouseDriver
40 00000010 B - - 1 7 AMI Generic LPC Super I/O Driver CORE_DXE
8F 0500040C ? - - - - Intel(R) GOP Driver [5.0.1036] IntelGopDriver
92 00010000 D - - 1 - AMI File System Driver FileSystem
94 00020502 B - - 1 18 <UNKNOWN> PciBus
9B 00000010 D - - 1 - PCH Serial ATA Controller Initializ SataController
A6 00000001 B - - 1 1 AMI AHCI BUS Driver AHCI
B1 05052300 ? X X - - Intel(R) PRO/1000 5.5.23 PCI-E IntelGigabitLanx64
B4 00000001 ? - - - - IDER Controller Init Driver IdeRController
B5 00000010 ? - - - - PCI Serial Driver PciSerial
BF 00000010 ? - - - - <UNKNOWN> Terminal
C4 0000000A ? - - - - UEFI PXE Base Code Driver UefiPxeBcDxe
C6 0000000A ? - - - - TCP Network Service Driver TcpDxe
C7 0000000A ? - - - - TCP Network Service Driver TcpDxe
C8 0000000A ? - - - - DHCP Protocol Driver Dhcp4Dxe
C9 0000000A ? - - - - IP4 CONFIG Network Service Driver Ip4ConfigDxe
CA 0000000A ? - - - - IP4 Network Service Driver Ip4Dxe
CC 0000000A ? - - - - MTFTP4 Network Service Mtftp4Dxe
CD 0000000A ? - - - - UDP Network Service Driver Udp4Dxe
CE 0000000A ? - - - - DHCP6 Protocol Driver Dhcp6Dxe
CF 0000000A ? - - - - IP6 Network Service Driver Ip6Dxe
D0 0000000A ? - - - - MTFTP6 Network Service Driver Mtftp6Dxe
D1 0000000A ? - - - - UDP6 Network Service Driver Udp6Dxe
D2 00010000 ? - - - - AMI NTFS Driver NTFS
10B 0000008A D - - 3 - AMI USB Driver UHCD
10D 0000008A B - - 3 6 USB bus UHCD
10E 00000001 D - - 3 - USB Hid driver UHCD
10F 00000001 ? - - - - USB Mass Storage driver UHCD
110 00000001 ? - - - - AMI USB CCID driver UHCD
131 00000010 ? - - - - <UNKNOWN> BIOSBLKIO
132 00000024 B - - 1 1 BIOS[INT10] Video Driver CsmVideo
133 00000010 ? - - - - <UNKNOWN> <UNKNOWN>
145 00000010 D - - 2 - <UNKNOWN> CORE_DXE
146 00000010 D - - 1 - <UNKNOWN> CORE_DXE
147 00000010 B - - 4 4 <UNKNOWN> CORE_DXE
149 00000010 B - - 1 1 <UNKNOWN> CORE_DXE
14A 00000010 ? - - - - AMI PS/2 Driver CORE_DXE
14B 00000001 ? - - - - AMI IDE BUS Driver CORE_DXE
14E 00000010 ? - - - - <UNKNOWN> CORE_DXE
153 06041300 B X X 1 1 Intel(R) PRO/1000 6.4.13 PCI-E Offset(0x38,0x203f
Li, Ruth wrote:
> Could you let us know the output when you type 'drivers' command?
>
> Thanks,
> Ruth
> -----Original Message-----
> From: Stephen Polkowski [mailto:[email protected]]
> Sent: Wednesday, January 07, 2015 12:43 PM
> To: [email protected]
> Subject: Re: [edk2] adding EDK2 networking to a shipping system board
>
> Hi Andrew,
>
> Thanks for the reply. By existing system, I mean that I’m trying to
> add network
> support to my Asus Q87E motherboard. I don’t have the BIOS source for my
> board
> so I can’t build a fresh BIOS with networking stack built in.
>
> Instead, I’m trying to load the networking DXEs from the MdePkg (EDK2)
> in the
> UEFI shell. I’m not having any luck. Has anyone done this before?
>
> Thanks,
>
> Stephen
>
>
>> Message: 1
>> Date: Tue, 06 Jan 2015 11:11:16 -0800
>> From: Andrew Fish <[email protected]>
>> Subject: Re: [edk2] adding EDK2 networking to a shipping system board
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>>> On Jan 6, 2015, at 7:46 AM, Stephen Polkowski <[email protected]> wrote:
>>>
>>>
>>> Hi folks,
>>>
>>> Is it possible to add ethernet networking support to a production
>>> system without a network stack? The "UEFI Network Stack for EDK
>>> Getting Started Guide.pdf" demonstrates how to add networking to the NT32
>>> environment.
>>> Is this still valid for the EDK2? Also, could it work on a real system?
>>>
>>> For example, I have an Intel Gigabit CT Desktop PCIe card that has
>>> a UEFI UNDI driver loaded in its Option Rom. This option rom is
>>> loaded by my ASUS Q87-E motherboard during boot. When I type "drivers" in
>>> the uefi 2.0 shell I can see that the driver is loaded.
>>>
>>> 15B 06041300 B Y Y 2 2 <null string>
>>> PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0) ...
>>>
>>> Next, I try to load the tcp dxe drivers in a manner similar to the
>>> "Getting Started Guide." The shell hangs after loading SnpDxe.efi
>>> driver. It doesn't load any of the other DXEs.
>>>
>>> load SnpDxe.efi MnpDxe.efi ArpDxe.efi Ip4Dxe.efi Ip4ConfigDxe.efi
>>> load Udp4Dxe.efi Dhcp4Dxe.efi Mtftp4Dxe.efi Tcp4Dxe.efi
>>>
>>> Does anyone have a guide on how to add any kind of networking
>>> device to an existing system? Any help will be greatly appreciated.
>>>
>> Not sure what you mean by an existing system? You should be able to load the
>> drivers from the shell.
>>
>> Are you trying to load the EDK or edk2 network stack? Are you building the
>> network stack?
>>
>> Thanks,
>>
>> Andrew Fish
>>
>>> Thanks,
>>>
>>> Stephen
>>>
>>>
>>>
>>> P.S. - I know that I can enable the "Network Stack" on boards with an
>>> embedded ethernet controller. I want to know how to do it to a
>>> system without networking support.
>>>
>>> ---------------------------------------------------------------------
>>> --------- Dive into the World of Parallel Programming! The Go
>>> Parallel Website, sponsored by Intel and developed in partnership
>>> with Slashdot Media, is your hub for all things parallel software
>>> development, from weekly thought leadership blogs to news, videos,
>>> case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net
>>> _______________________________________________
>>> edk2-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
--
Stephen Polkowski
Centaur Technology
Austin, TX
(512) 418-5730
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel