[ipxe-devel] IPXE question: iPXE.efi can't detect network device

化石 354225989 at qq.com
Fri Sep 7 13:37:02 UTC 2012


Dear IPXE owner,
Thanks for ipxe develop team hard work,after read ipxe code ,i found that ipxe code is very classic and helpful to me.
Our product will import ipxe,but efi file can't found network device,I built efi file according to the below steps.
1.I have undef PXE_STACK and  PXE_MENU in src\config\general.h.
2.Built EFI version as vendor/product specific:
$ make bin-x86-64/10222000.efi bin-x86-64/10222001.efi bin-x86-64/10222625.efi.(computer vendor is 1022 ,device id is 2001).
$make bin-x86-64-efi/80861502(computer vendor is 8086,device id is 1502).
3.insert usb drive and enter uefi shell.
4.fs0:
5.run above efi file.
6.All commands are Show the tip "No more network devices".


My built enviroment like following:
OS:ubuntu 12
GCC:4.6






------------------ 原始邮件 ------------------
发件人: "Anton D. Kachalov"<mouse at yandex-team.ru>;
发送时间: 2012年9月6日(星期四) 晚上10:18
收件人: "化石"<354225989 at qq.com>; "ipxe-devel"<ipxe-devel at lists.ipxe.org>;

主题: Re: PXE question: iPXE.efi can't detect network device



Hello.
 
It's better to address this question directly to the ipxe-devel at lists.ipxe.org mailing list. Michael Brown should be right person.
 
BTW, ipxe.iso is legacy bootable ISO image and it contains all supported network drivers including pcnet32.
 
Try to build EFI version as vendor/product specific:
 
$ make bin-x86-64/10222000.efi bin-x86-64/10222001.efi bin-x86-64/10222625.efi
 
One of them should work.
 
Please pay attention that EFI environment doesn't support PXE stack. You have to disable PXE_STACK and PXE_MENU in the config file.
06.09.2012, 17:32, "化石" <354225989 at qq.com>:
Dear Anton,
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.
We will add ipxe to our project,so I hurry to solve this problem.

BTW,
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().

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?

Thank you very much.
I have built via run command "make bin-x86-64/ipxe.efi DEBUG:efi_pci device,pci" and then run ipxe.efi,
unfortunately,the result like following figure,it means can't attach any pci device,do you know why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120907/2abcf368/attachment.htm>


More information about the ipxe-devel mailing list