slimbootloader / slimbootloader

Visit http://slimbootloader.github.io for documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[EHL] [SBL] /dev/ish-smhi doesn't exist

Jiayan5877 opened this issue · comments

commented

Dear Sir,

I try to use HECI sample code to check PSE HECI function but I got the fail result while code runs to "heci_register()" and it returns "-16" not "0".
Yocto with SBL OS loader payload and SBL UEFI payload, we can't found the /dev/ish-smhi device node.
Currently, we only success on Yocto boot with AMI UEFI BIOS. The test boot devices(Yocto) are all the same with AMI UEFI BIOS and SBL UEFI payload.
May I know how to enable the HECI between SOC and PSE by SBL?
Here is successful display when executing HECI sample code
success
Here is unsuccessful display when executing HECI sample code
Fail

The source code of EHL's SBL is from sbl-ehl-beta3_er.zip

Best Regards,

Hi Jiayan5877,

Thanks for reporting this. The EHL SBL team will investigate and update you as soon as we can.

Meanwhile, can you also post your Yocto boot log for both BIOS and SBL ?
In addition please run "lspci" in Yocto and capture the output.

commented

Dear Mauricema,

I upload my Yocto boot log for AMI UEFI BIOS and SBL OS loader payload, and run "lspci" in Yocto for AMI UEFI BIOS and SBL OS loader payload and capture the output.

Yocto boot log for AMI UEFI BIOS
Yocto_AMI.log
Yocto boot log for SBL OS loader payload
Yocto_AUTO.log
Run "lspci" in Yocto for AMI UEFI BIOS
Yocto_AMI
Run "lspci" in Yocto for SBL OS loader payload
Yocto_AUTO

Best Regards,

Hi Jiayan5877,

We may missed something in EHL Beta 3, can you please try and verify this in our latest open source slimbootloader source code?

Get source code:
git clone https://github.com/slimbootloader/slimbootloader.git
Build command:
python BuildLoader.py build ehl -p "OsLoader.efi:LLDR:Lz4;UefiPld.fd:UEFI:Lzma"

Before you build, please set value below in file slimbootloader\Platform\ElkhartlakeBoardPkg\BoardConfig.py:
self.HAVE_FSP_BIN = 1

Regards,
Jin Jhu

commented

Dear Jin Jhu,

I wanted to try the latest open source slimbootloader source code, but system hangs on Call FspSiliconInit ...
Here is log.
SBL Boot Fail.txt
Could you provide me some idea for this problem?

Best Regards,

commented

Dear Jin Jhu,

May I know whether the latest open source slimbootloader source code can boot on EHL CRB?

Best Regards,

Hi Jiayan5877,

Our latest open source is able to boot on EHL CRB.
Are you building the bianry using Beta 3 FSP? I suspect that your current FSP is too old for latest open source thus you see the error.
We are preparing for the upstream of EHL FSP, please stay tuned.

Regards,
jin Jhu

commented

Dear Jin Jhu,

I build the binary using VbtBin, FspBin and Microcode folder from sbl-ehl-beta3_er.zip.
May I ask a couple of questions?
Does the latest open source on EHL CRB has /dev/ish-smhi?
May I know when new FSP is released?

Best Regards,

Hi Jiayan5877,

Yes, the open source on EHL CRB has /dev/ish-smhi, but you may need latest ingredients that are compatible for current open source code base to avoid getting any boot error.
Our FSP will be upstream within these few weeks.

Regards,
Jin Jhu

Hi Jiayan5877,

I've tried with the FSP that is going to upstream and I can see that /dev/ish-smhi is in Yocto.
Can we proceed to close this issue while pending for FSP upstream approval?

Regards,
Jin Jhu