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

Michael Brown mcb30 at ipxe.org
Mon Aug 24 10:55:01 UTC 2020


On 24/08/2020 10:34, 丰立波 wrote:
> I get more trace, please take a look at the screenshot attached. In the 
> function of efi_set_autoboot, a SNP protocol can be found on my NIC 
> device handle, the local SNP protocol. Then, in the function of 
> chained_supported, the SNP procotocol can still be found on my NIC 
> device handle. However, later, in the function of startup in the file of 
> init.c, the function of snpnet_start isn't listed in the startup 
> function table, snpnet_start is not called. so, what wrong with it?

snpnet_start is unrelated to the startup functions handled by init.c. 
"git grep snpnet_start" will show you that snpnet_start is used as the 
.start method for struct efi_driver snp_driver in snp.c.

See my other email for suggested next debugging steps.

Michael


More information about the ipxe-devel mailing list