[ipxe-devel] can snponly.efi run without NII protocol installed?

丰立波 lbfeng at zd-tech.com.cn
Thu Aug 20 09:28:12 UTC 2020

Thanks, Christian and Michael,

I get a screenshot for debugging:
I think iPxe tried to replace the SNP protocol of my UEFI land with its own SNP driver(the driver code is in the directory of ipxe/src/drivers/net/efi/), first ipxe disconnect the my uefi driver, then connect its own driver, but at this point, connection failed.

There are two questions:
1. why the new connection failed?
2. Why iPXE try to replace my uefi driver, could iPxe just use the original driver? Thanks.


Best Regards

Feng Libo
ZD Technology (Beijing) Co., Ltd

发件人:"Christian Nilsson" <nikize at gmail.com>
发送日期:2020-08-19 23:14:21
收件人:"Michael Brown" <mcb30 at ipxe.org>
抄送人:"丰立波" <lbfeng at zd-tech.com.cn>,iPXE <ipxe-devel at lists.ipxe.org>
主题:Re: [ipxe-devel] can snponly.efi run without NII protocol installed?

On Wed, 19 Aug 2020 at 15:26, Michael Brown <mcb30 at ipxe.org> wrote:

On 19/08/2020 11:48, 丰立波 wrote:
> The network interface controller in our platform only installs the SNP
> protocol, not install NII protocol. Is snponly.efi dependent on NII
> porotocol? now after chainloading snponly.efi, the function of autoboot
> can't find any network device in our platform, and then enter the shell.
> Is NII protocol necessary for the snponly.efi?

No, you do not need an NII protocol.  iPXE will work with your
platform's SNP protocol.

You can build iPXE with DEBUG=efi_driver,snpnet to see any errors
arising during detection of the NIC.


Could it be a case of snponly not being chained via the nic, as such it will not try to initialize the device with snponly (or is that not an issue, and only relevant for undi)?
If that is the case snp should work just fine. (but detect all nics instead)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200820/99f836d3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 1029419 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200820/99f836d3/attachment-0001.png>

More information about the ipxe-devel mailing list