Re: coreboot with uefi loader - boot failed


Ghorai, Sukumar
 

Thx Guo,
Its started booting and stuck in same PCI memory 4GB issue (log attached).

- Would you pls check if any latest patch can help here.
- Debug log can be enabled in UEFI loader?

==
PROGRESS CODE: V03040003 I0
Loading driver 128FB770-5E79-4176-9E51-9BB268A17DD1
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 27F8D90C0
Loading driver at 0x0027F82B000 EntryPoint=0x0027F832EF1 PciHostBridgeDxe.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 27F8D9A98
ProtectUefiImageCommon - 0x7F8D90C0
- 0x000000027F82B000 - 0x000000000000E000
PROGRESS CODE: V03040002 I0
InitRootBridge: populated root bus 0, with room for 130 subordinate bus(es)
RootBridge: PciRoot(0x0)
Support/Attr: 7001F / 7001F
DmaAbove4G: No
NoExtConfSpace: No
AllocAttr: 0 ()
Bus: 0 - 82 Translation=0
Io: 1000 - 7FFF Translation=0
Mem: 80400000 - 2D3BFFFFF Translation=0
MemAbove4G: FFFFFFFFFFFFFFFF - 0 Translation=0
PMem: FFFFFFFFFFFFFFFF - 0 Translation=0
PMemAbove4G: FFFFFFFFFFFFFFFF - 0 Translation=0
ASSERT [PciHostBridgeDxe] /home/sghorai/work/edk2-tianocore/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c(120): Bridge->Mem.Limit < 0x0000000100000000ULL

Thx & rgds,
Sukumar

-----Original Message-----
From: Dong, Guo <guo.dong@intel.com>
Sent: Friday, October 15, 2021 11:14 AM
To: Ghorai, Sukumar <sukumar.ghorai@intel.com>; Ni, Ray <ray.ni@intel.com>; Ma, Maurice <maurice.ma@intel.com>; discuss@edk2.groups.io
Cc: Saha, Shaunak <shaunak.saha@intel.com>; Arramreddy, Venkat <venkat.arramreddy@intel.com>
Subject: RE: coreboot with uefi loader - boot failed


Hi Sukumar,

By default UEFI build with SBL for non-universal payload.
Please have a try with below build command:

$ build -p UefiPayloadPkg/UefiPayloadPkg.dsc -a IA32 -a X64 -t GCC5 -D BOOTLOADER= COREBOOT

Thanks,
Guo

-----Original Message-----
From: Ghorai, Sukumar <sukumar.ghorai@intel.com>
Sent: Friday, October 15, 2021 11:07 AM
To: Dong, Guo <guo.dong@intel.com>; Ni, Ray <ray.ni@intel.com>; Ma, Maurice <maurice.ma@intel.com>; discuss@edk2.groups.io
Cc: Saha, Shaunak <shaunak.saha@intel.com>; Arramreddy, Venkat <venkat.arramreddy@intel.com>
Subject: coreboot with uefi loader - boot failed

Hi,
I am trying to use UEFIPayload with Coreboot to boot Linux in Chrome platform.

a) $ build -p UefiPayloadPkg/UefiPayloadPkg.dsc -a IA32 -a X64 -t GCC5
b) build coreboot using above UEFIPayload
c) boot failed with new Uefipaylod (log attached with).

Pls update if any patch missing in mainline that UEFI payload to work with coreboot when building from Linux?
-----
Loading segment from ROM address 0xffa98448
Entry Point 0x00802ebe
Loaded segments
BS: BS_PAYLOAD_LOAD run times (exec / console): 5868 / 55 ms Finalizing chipset.
apm_control: Finalizing SMM.
APMC done.
BS: BS_PAYLOAD_LOAD exit times (exec / console): 145 / 6 ms mp_park_aps done after 0 msecs.
Jumping to boot code at 0x00802ebe(0x76876000)
CPU0: stack: 0x76a9d000 - 0x76a9e000, lowest used address 0x76a9da68, stack used: 1432 bytes

Thx & rgds,
Sukumar

Join discuss@edk2.groups.io to automatically receive all group messages.