<div>Hi philip & ipxe owner,</div><div>Thanks for your helpful reply and hard work.</div><div>I have changed the code like your tip,and built snponly.efi,run snponly.efi under uefi shell,it can detecte the network device and chain the web http://boot.ipxe.org/demo/boot.php succeed,but loadimage failture because the file is not uefi image,how do you solve this problem.</div><div><br></div><div>I have some questions,could you help to answer?I really want to research ipxe and import to our project.</div><div>1.Do you know how to buid a uefi boot os image,i can't find the solution to buid a os image,i hope the os image can boot via ipxe under uefi enviroment.</div><div>2.run snponly.efi and then run sanboot comand,"can't open san device " error was showed because ipxe have not implement under uefi,what is your solution.</div><div>3.ipxe.efi/$dirver.efi still can't detect network devcie under,what is your solution.</div><div>4.If you can provide your tips or solution will be best.</div><div>5.Do you know why ipxe.efi or $driver.efi can't open pci protocol and then can't enum pci device.</div><div>the key code is efi_supported()->efi_create() in efi_pci.c.</div><div><div><span class="Apple-tab-span" style="white-space:pre"> </span>if ( ( efirc = bs->OpenProtocol ( device,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> &efi_pci_io_protocol_guid,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> &pci_io.interface,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> efidrv->driver.DriverBindingHandle,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> device,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> EFI_OPEN_PROTOCOL_BY_DRIVER )) !=0 ){</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>DBGCP ( efipci, "EFIPCI device %p is not a PCI device\n",</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>device );</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>goto err_open_protocol;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div></div><div><br></div><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;">Best Regards,<div>Daniel Li </div></div></div><div> </div><div><includetail><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "philip.lantz"<philip.lantz@intel.com>;</div><div><b>发送时间:</b> 2012年9月11日(星期二) 上午7:45</div><div><b>收件人:</b> "'??'"<354225989@qq.com>; <wbr></div><div></div><div><b>主题:</b> RE: IPXE question: iPXE.efi can't detect network device</div></div><div><br></div><style><!--
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Bookman Old Style";
panose-1:2 5 6 4 5 5 5 2 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Arial Narrow";
panose-1:2 11 6 6 2 2 2 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Bookman Old Style","serif";
color:#008C00;
text-shadow:none;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><![endif]--><!--[if gte mso 9]><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#008C00">Here’s the change I made. I hope this helps.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#008C00"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#008C00">Philip<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#008C00"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">diff a/src/drivers/net/efi/snponly.c b/src/drivers/net/efi/snponly.c<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">@@ -61,12 +61,28 @@ static int snpbus_probe ( struct root_device *rootdev ) {<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> int rc;<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> void *snp;<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">- efirc = bs->OpenProtocol ( efi_loaded_image->DeviceHandle,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ EFI_HANDLE DeviceHandles[8];<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ UINTN size = sizeof DeviceHandles;<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ efirc = bs->LocateHandle ( ByProtocol,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ &efi_simple_network_protocol_guid,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ NULL,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ &size,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ DeviceHandles );<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ if ( efirc || size == 0 ) {<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ DBG ("Could not find Simple Network Protocol (%x)\n", efirc);<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ return -ENODEV;<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ }<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ int n = size / sizeof (EFI_HANDLE);<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ DBG ( "SNP probe: located %d handles\n", n );<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ efirc = bs->OpenProtocol ( DeviceHandles[0],<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> &efi_simple_network_protocol_guid,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> &snp, efi_image_handle, NULL,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> EFI_OPEN_PROTOCOL_GET_PROTOCOL );<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> if ( efirc ) {<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">- DBG ( "Could not find Simple Network Protocol!\n" );<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"">+ DBG ( "Could not open Simple Network Protocol!\n" );<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> return -ENODEV;<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> }<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New""> snponly_dev.snp = snp;<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#008C00"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#008C00"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#008C00"><o:p> </o:p></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> ?? [mailto:354225989@qq.com] <br><b>Sent:</b> Friday, September 07, 2012 8:01 PM<br><b>To:</b> philip.lantz<br><b>Subject:</b> IPXE question: iPXE.efi can't detect network device<o:p></o:p></span></p></div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal">Hi Philip,<o:p></o:p></p></div><div><p class="MsoNormal"><b><span style="font-size:13.5pt">After read your topic about "Using iPXE with UNDI driver" in UEFI enviroment,i think that you have built a *.efi file and the file can connect network device,so could you tell me your step,</span></b><o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal"><b><span style="font-size:13.5pt">In your topic,you said that <span style="color:red">"Thanks! This is what I did. I changed snpbus_probe to call LocateHandle to find a handle that supports SNP and it now connects to my driver",</span>how you are call LocateHandle?</span></b><o:p></o:p></p></div><div><p class="MsoNormal"><b><span style="font-size:13.5pt">I will eagerly waitting for your reply,best your regeards.</span></b><o:p></o:p></p></div><div><p class="MsoNormal"><a href="http://lists.ipxe.org/pipermail/ipxe-devel/2011-July/000786.html">http://lists.ipxe.org/pipermail/ipxe-devel/2011-July/000786.html</a> <o:p></o:p></p></div><div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif"">------------------ </span><span style="font-size:9.0pt;font-family:SimSun">原始邮件</span><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif""> ------------------<o:p></o:p></span></p></div><div><div><p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">发件人</span></b><b><span style="font-size:9.0pt">:</span></b><span style="font-size:9.0pt"> "</span><span style="font-size:9.0pt;font-family:SimSun">我自己的邮箱</span><span style="font-size:9.0pt">"<<a href="mailto:354225989@qq.com">354225989@qq.com</a>>;<o:p></o:p></span></p></div><div><p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">发送时间</span></b><b><span style="font-size:9.0pt">:</span></b><span style="font-size:9.0pt"> 2012</span><span style="font-size:9.0pt;font-family:SimSun">年</span><span style="font-size:9.0pt">9</span><span style="font-size:9.0pt;font-family:SimSun">月</span><span style="font-size:9.0pt">7</span><span style="font-size:9.0pt;font-family:SimSun">日</span><span style="font-size:9.0pt">(</span><span style="font-size:9.0pt;font-family:SimSun">星期五</span><span style="font-size:9.0pt">) </span><span style="font-size:9.0pt;font-family:SimSun">晚上</span><span style="font-size:9.0pt">9:37<o:p></o:p></span></p></div><div><p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">收件人</span></b><b><span style="font-size:9.0pt">:</span></b><span style="font-size:9.0pt"> "ipxe-devel"<<a href="mailto:ipxe-devel@lists.ipxe.org">ipxe-devel@lists.ipxe.org</a>>; <o:p></o:p></span></p></div><div><p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">主题</span></b><b><span style="font-size:9.0pt">:</span></b><span style="font-size:9.0pt"> IPXE question: iPXE.efi can't detect network device<o:p></o:p></span></p></div></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Dear IPXE owner,<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Thanks for ipxe develop team hard work,after read ipxe code ,i found that ipxe code is very classic and helpful to me.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Our product will import ipxe,but efi file can't found network device,I built efi file according to the below steps.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">1.I have undef PXE_STACK and PXE_MENU in src\config\general.h.</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">2.Built EFI version as vendor/product specific:</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">$ make bin-x86-64/10222000.efi bin-x86-64/10222001.efi bin-x86-64/10222625.efi.(computer vendor is 1022 ,device id is 2001).</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">$make bin-x86-64-efi/80861502(computer vendor is 8086,device id is 1502).</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">3.insert usb drive and enter uefi shell.</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">4.fs0:</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">5.run above efi file.</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif";color:red">6.All commands are Show the tip </span><span style="font-size:14.5pt;font-family:"Tahoma","sans-serif";color:red">"No more network devices".</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-size:14.5pt;font-family:"Tahoma","sans-serif"">My built enviroment like following:</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:14.5pt;font-family:"Tahoma","sans-serif"">OS:ubuntu 12</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:14.5pt;font-family:"Tahoma","sans-serif"">GCC:4.6</span><o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif"">------------------ </span><span style="font-size:9.0pt;font-family:SimSun">原始邮件</span><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif""> ------------------<o:p></o:p></span></p></div><div><div><p class="MsoNormal" style="line-height:17.25pt;background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">发件人</span></b><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">:</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> "Anton D. Kachalov"<<a href="mailto:mouse@yandex-team.ru" target="_blank"><span style="color:#1E5494">mouse@yandex-team.ru</span></a>>;<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt;background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">发送时间</span></b><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">:</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> 2012</span><span style="font-size:9.0pt;font-family:SimSun">年</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">9</span><span style="font-size:9.0pt;font-family:SimSun">月</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">6</span><span style="font-size:9.0pt;font-family:SimSun">日</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">(</span><span style="font-size:9.0pt;font-family:SimSun">星期四</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">) </span><span style="font-size:9.0pt;font-family:SimSun">晚上</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">10:18<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt;background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">收件人</span></b><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">:</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> "</span><span style="font-size:9.0pt;font-family:SimSun">化石</span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">"<<a href="mailto:354225989@qq.com" target="_blank"><span style="color:#1E5494">354225989@qq.com</span></a>>; "ipxe-devel"<<a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank"><span style="color:#1E5494">ipxe-devel@lists.ipxe.org</span></a>>;<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt;background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:SimSun">主题</span></b><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">:</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""> Re: PXE question: iPXE.efi can't detect network device<o:p></o:p></span></p></div></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Hello.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">It's better to address this question directly to the <a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank"><span style="color:#1E5494">ipxe-devel@lists.ipxe.org</span></a> mailing list. Michael Brown should be right person.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">BTW, ipxe.iso is legacy bootable ISO image and it contains all supported network drivers including pcnet32.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Try to build EFI version as vendor/product specific:<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">$ make bin-x86-64/10222000.efi bin-x86-64/10222001.efi bin-x86-64/10222625.efi<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">One of them should work.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif""> <o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Please pay attention that EFI environment doesn't support PXE stack. You have to disable PXE_STACK and PXE_MENU in the config file.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">06.09.2012, 17:32, "</span><span style="font-family:SimSun">化石</span><span style="font-family:"Verdana","sans-serif"">" <<a href="mailto:354225989@qq.com" target="_blank"><span style="color:#1E5494">354225989@qq.com</span></a>>:<o:p></o:p></span></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Tahoma","sans-serif"">Dear Anton,</span><span style="font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-size:14.5pt;font-family:"Tahoma","sans-serif"">I have built ipxe.efi 64 bit,my network device card is pcnet32,but ipxe.efi can't attach network card,i only get the log "No more network devices".but if boot to ipxe via ipxe.iso,ipxe can detected the network device card.</span><span style="font-size:14.5pt;font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-size:14.5pt;font-family:"Tahoma","sans-serif"">We will add ipxe to our project,so I hurry to solve this problem.<br><br>BTW,<br>After debug ipxe.efi,i found that only call efi_pci.c\efipci_driver_startup but not call efi_pci.c\efipci_start,so i think pci device not been attach,do you know that what time to call function efipci_start().<br><br>Although I have read a topic about "Using iPXE with UNDI driver",but i can't find the root cause,Do you know the root cause</span><span style="font-size:14.5pt;font-family:SimSun">?</span><span style="font-size:14.5pt;font-family:"Verdana","sans-serif""><o:p></o:p></span></p></div></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">Thank you very much.<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">I have built via run command "make bin-x86-64/ipxe.efi DEBUG:efi_pci device,pci" and then run ipxe.efi,<o:p></o:p></span></p></div><div><p class="MsoNormal" style="line-height:17.25pt"><span style="font-family:"Verdana","sans-serif"">unfortunately,the result like following figure,it means can't attach any pci device,do you know why?<o:p></o:p></span></p></div></div></blockquote></div></div></div></includetail></div>