We are planning to support sas disk for hisilicon hip06.
Want to double check whether using EFI_EXT_SCSI_PASS_THRU_PROTOCOL is right direction?
Originally we would like directly use BLOCK IO, which need hack scsi cmd (cdb) and port lots of code. Happen to find the scsi protocol is somehow realized in ./MdePkg/Library/UefiScsiLib/UefiScsiLib.c, so switch to EFI_EXT_SCSI_PASS_THRU_PROTOCOL.
By the way, I got one problem.
The API of EFI_EXT_SCSI_PASS_THRU_PROTOCOL can not be called by MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c. While EFI_NOT_FOUND EFIERR (14) is returned. Status = ScsiBusDev->ExtScsiInterface->GetNextTargetLun (ScsiBusDev->ExtScsiInterface, &TargetId, &Lun);
Any suggestion?
Thanks Zhangfei
Hi Zhangfei,
I don't know anything about this stuff. I suspect the same will be true of many other readers on this list.
I think you'll be better emailing the EDK2-Devel mailing list, where you'll reach some people who know something about it.
Regards, Ryan.
On 29 January 2016 at 03:28, Zhangfei Gao zhangfei.gao@linaro.org wrote:
We are planning to support sas disk for hisilicon hip06.
Want to double check whether using EFI_EXT_SCSI_PASS_THRU_PROTOCOL is right direction?
Originally we would like directly use BLOCK IO, which need hack scsi cmd (cdb) and port lots of code. Happen to find the scsi protocol is somehow realized in ./MdePkg/Library/UefiScsiLib/UefiScsiLib.c, so switch to EFI_EXT_SCSI_PASS_THRU_PROTOCOL.
By the way, I got one problem. The API of EFI_EXT_SCSI_PASS_THRU_PROTOCOL can not be called by MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c. While EFI_NOT_FOUND EFIERR (14) is returned. Status = ScsiBusDev->ExtScsiInterface->GetNextTargetLun (ScsiBusDev->ExtScsiInterface, &TargetId, &Lun);
Any suggestion?
Thanks Zhangfei
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi