Issue #401 has been reported by Sean Rhodes.
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
Issue #401 has been updated by Patrick Rudolph.
Do you have an EDK2 log with DEBUG_CACHE logging enabled?
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1035
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
Issue #401 has been updated by Sean Rhodes.
File with_avph_patch_reverted.txt added File with_avph_patch.txt added
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1036
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB)
Issue #401 has been updated by Sean Rhodes.
File master_w_revert.txt added File master.txt added
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1042
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB)
Issue #401 has been updated by Christian Walter.
Is this a problem within coreboot - or do we rather need to fix up EDKII ?
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1043
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB)
Issue #401 has been updated by Arthur Heymans.
Christian Walter wrote in #note-4:
Is this a problem within coreboot - or do we rather need to fix up EDKII ?
The problem is inside EDKII. Those reverts would create problems for other payloads and Linux would even complain about incoherent MTRR settings I think.
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1044
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB)
Issue #401 has been updated by Sean Rhodes.
File edk2.txt added
Disabling MTRR in edk2 seems to cause other issues - the most obvious being the USB drivers constantly resetting.
Universal Payload doesn't seem subject to the same issue
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1046
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB) edk2.txt (251 KB)
Issue #401 has been updated by Matt DeVillier.
Sean Rhodes wrote in #note-6:
Disabling MTRR in edk2 seems to cause other issues - the most obvious being the USB drivers constantly resetting.
on what platform(s) are you seeing that? I don't recall seeing here on my 202107 and 202111 branches
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1047
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB) edk2.txt (251 KB)
Issue #401 has been updated by Akura Ryu.
I've met the same problem on my ThinkPad X200.
I enabled EDK2, and also applied SeaBIOS as secondary payload. It cannot boot as well: freezes, and screen remains black.
Is there any options to obtain logs from coreboot?
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1197
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB) edk2.txt (251 KB)
Issue #401 has been updated by Nicholas Chin.
Akura Ryu wrote in #note-8:
I've met the same problem on my ThinkPad X200.
I enabled EDK2, and also applied SeaBIOS as secondary payload. It cannot boot as well: freezes, and screen remains black.
Is there any options to obtain logs from coreboot?
From what I remember someone saying, edk2 uses HPET in a way that is incompatible with Core 2 systems such as the X200. I have the same issue as you on my Latitude E6400. So that is probably a separate issue.
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1198
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB) edk2.txt (251 KB)
Issue #401 has been updated by Sean Rhodes.
Akura Ryu wrote in #note-8:
I've met the same problem on my ThinkPad X200.
I enabled EDK2, and also applied SeaBIOS as secondary payload. It cannot boot as well: freezes, and screen remains black.
Is there any options to obtain logs from coreboot?
You can't use edk2 and a secondary payload. The X200s were all tested recently with MrChromeboxs fork and all working - so if you enable that on master, you shouldn't have any issues.
Nicholas Chin wrote in #note-9:
Akura Ryu wrote in #note-8:
I've met the same problem on my ThinkPad X200.
I enabled EDK2, and also applied SeaBIOS as secondary payload. It cannot boot as well: freezes, and screen remains black.
Is there any options to obtain logs from coreboot?
From what I remember someone saying, edk2 uses HPET in a way that is incompatible with Core 2 systems such as the X200. I have the same issue as you on my Latitude E6400. So that is probably a separate issue.
This is something different, and a fix is in the works so I'll close this issue.
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1199
* Author: Sean Rhodes * Status: New * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB) edk2.txt (251 KB)
Issue #401 has been updated by Sean Rhodes.
Status changed from New to Closed
---------------------------------------- Bug #401: edk2 hangs indefiniately https://ticket.coreboot.org/issues/401#change-1200
* Author: Sean Rhodes * Status: Closed * Priority: Normal * Assignee: Arthur Heymans * Category: board support * Target version: none * Start date: 2022-07-08 * Affected versions: master * Affected hardware: Everything * Affected OS: Doesn't matter ---------------------------------------- Since CB:63555, edk2 will no longer boot and hangs indefiniately
Various forks disable MTRR programming in edk2 (such as https://github.com/MrChromebox/edk2/commit/d641ea6920737fd9b9a94210e9a2e7636...) but this shouldn't be done as it breaks spec.
Workarounds are to revert CB:64804, CB:63550, CB:64803 and CB:63555.
---Files-------------------------------- with_avph_patch.txt (65.8 KB) with_avph_patch_reverted.txt (64.6 KB) master.txt (91.9 KB) master_w_revert.txt (197 KB) edk2.txt (251 KB)