Date
1 - 4 of 4
coreboot with uefi loader - boot failed
Ghorai, Sukumar
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 |
|
Ghorai, Sukumar
Thx Guo,
toggle quoted message
Show quoted text
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@...> Sent: Friday, October 15, 2021 11:14 AM To: Ghorai, Sukumar <sukumar.ghorai@...>; Ni, Ray <ray.ni@...>; Ma, Maurice <maurice.ma@...>; discuss@edk2.groups.io Cc: Saha, Shaunak <shaunak.saha@...>; Arramreddy, Venkat <venkat.arramreddy@...> 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@...> Sent: Friday, October 15, 2021 11:07 AM To: Dong, Guo <guo.dong@...>; Ni, Ray <ray.ni@...>; Ma, Maurice <maurice.ma@...>; discuss@edk2.groups.io Cc: Saha, Shaunak <shaunak.saha@...>; Arramreddy, Venkat <venkat.arramreddy@...> 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 |
|
Dong, Guo <guo.dong@...>
Hi Sukumar,
toggle quoted message
Show quoted text
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@...> Sent: Friday, October 15, 2021 11:07 AM To: Dong, Guo <guo.dong@...>; Ni, Ray <ray.ni@...>; Ma, Maurice <maurice.ma@...>; discuss@edk2.groups.io Cc: Saha, Shaunak <shaunak.saha@...>; Arramreddy, Venkat <venkat.arramreddy@...> 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 |
|
Dong, Guo <guo.dong@...>
Coreboot allocated PCI MMIO resources in non-continuous region as below:
toggle quoted message
Show quoted text
PCI: 00:07.2 resource base ac200000 size c200000 align 20 gran 20 limit b83fffff flags 60080202 index 20 GENERIC: 0.0 NONE NONE resource base ac200000 size c200000 align 12 gran 12 limit b83fffff flags 40000200 index 10 NONE resource base 2b7c00000 size 1c000000 align 12 gran 12 limit 2d3bfffff flags 40101200 index 14 You could update coreboot for the resource allocation, or coreboot reports these resources in coreboot table. If coreboot reported these resources in coreboot table, you could update ParseMiscInfo() in CbParseLib to get these resource info and build a gUniversalPayloadPciRootBridgeInfoGuid HOB referencing SblParseLib. Thanks, Guo -----Original Message-----
From: Ghorai, Sukumar <sukumar.ghorai@...> Sent: Friday, October 15, 2021 11:31 AM To: Dong, Guo <guo.dong@...>; Ni, Ray <ray.ni@...>; Ma, Maurice <maurice.ma@...>; discuss@edk2.groups.io Cc: Saha, Shaunak <shaunak.saha@...>; Arramreddy, Venkat <venkat.arramreddy@...>; Banik, Subrata <subrata.banik@...> Subject: RE: coreboot with uefi loader - boot failed 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@...> Sent: Friday, October 15, 2021 11:14 AM To: Ghorai, Sukumar <sukumar.ghorai@...>; Ni, Ray <ray.ni@...>; Ma, Maurice <maurice.ma@...>; discuss@edk2.groups.io Cc: Saha, Shaunak <shaunak.saha@...>; Arramreddy, Venkat <venkat.arramreddy@...> 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@...> Sent: Friday, October 15, 2021 11:07 AM To: Dong, Guo <guo.dong@...>; Ni, Ray <ray.ni@...>; Ma, Maurice <maurice.ma@...>; discuss@edk2.groups.io Cc: Saha, Shaunak <shaunak.saha@...>; Arramreddy, Venkat <venkat.arramreddy@...> 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 |
|