Hi,
I'm new on UEFI world and I need help to find i2c device (barometer) using
the minnowboard max following those steps:
1- Barometer is connected in the minnowboard (scl,sda,vcc,gnd).
2- I'm loading the I2cDxe.efi manually (UEFI shell).
3- I created a simpple driver to locate handle to I2cIoProtocol
EFI_I2C_IO_PROTOCOL *I2cIo;
I2cIo = NULL;
UINTN NoHandles;
EFI_HANDLE *NicHandles;
Status = gBS->LocateHandleBuffer(ByProtocol,
&gEfiI2cIoProtocolGuid,
NULL,
&NoHandles,
&NicHandles);
if(EFI_ERROR(Status))
{
Print(L"LocateHandleBuffer() failed, Status: %r\n", Status);
}
However the status always return NOT FOUND.
Are there any additional driver to be load? Or I'm missing something else?
Victor Gouveia
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel