[ipxe-devel] can snponly.efi run without NII protocol installed?
丰立波
lbfeng at zd-tech.com.cn
Wed Aug 26 08:31:24 UTC 2020
Hello, Michael,
Thank for the support.
I skip the bs->DisconnectController in the function of efi_driver_connect, and my all protocols installed on a NIC controller can be kept. When bs->ConnectController is called, there already exist the SNP protocol, a new SNP protocol can't be installed. by this way, my own SNP protocol can keep on and serve others.
Thanks
--
Best Regards
Feng Libo
ZD Technology (Beijing) Co., Ltd
发件人:"Michael Brown" <mcb30 at ipxe.org>
发送日期:2020-08-25 21:27:11
收件人:"丰立波" <lbfeng at zd-tech.com.cn>
抄送人:"Christian Nilsson" <nikize at gmail.com>,iPXE <ipxe-devel at lists.ipxe.org>
主题:Re: [ipxe-devel] can snponly.efi run without NII protocol installed?>On 25/08/2020 07:35, 丰立波 wrote:
>> MAC(3C6A2CB0886A, 0x1) is a hardware device, but not on a PCIe bus. Can
>> iPxe install its own SNP protocol on this kind of device? or iPxe just
>> use the original SNP protocol on the hardware device?
>
>As I stated in my previous message:
>
>It looks as though your custom UEFI driver stack has the incorrect
>hierarchy of handles. My guess is that you may have some
>platform-specific driver providing the MAC(3C6A2CB0866A,0x1) handle as
>though it were a hardware device, and that your SNP driver then binds to
>this existing handle and installs EFI_SIMPLE_NETWORK_PROTOCOL as an
>additional protocol.
>
>This would be incorrect behaviour: the SNP driver should bind to a
>hardware device handle and then install EFI_SIMPLE_NETWORK_PROTOCOL onto
>a new handle.
>
>Try building with DEBUG=efi_driver:3 (which will dump additional
>information about the handle before and after disconnection).
>
>Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200826/67499122/attachment.htm>
More information about the ipxe-devel
mailing list