Project

General

Profile

Actions

Bug #126

closed

*AGESA: Fix UMA calculations* breaks boot on ASRock E350M1

Added by Paul Menzel almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
06/28/2017
Due date:
% Done:

100%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

Since commit 61be3603f4 (AGESA: Fix UMA calculations) the ASRock E350M1 hangs during boot.

$ git bisect log
git bisect start
# bad: [837da6ade7aebe9541b5a13e40b75ab2b308ac77] libpayload: Add mouse cursor driver
git bisect bad 837da6ade7aebe9541b5a13e40b75ab2b308ac77
# good: [6c4e57487239e773f6135bb9cda4fba7f35059d0] google/gru: support 800M/928M frequency for bob
git bisect good 6c4e57487239e773f6135bb9cda4fba7f35059d0
# bad: [a038835716b3a09bd3d5ab3fd7e3d48d3c3a6f13] arch/x86/acpigen: Add additional opcodes
git bisect bad a038835716b3a09bd3d5ab3fd7e3d48d3c3a6f13
# bad: [34dba35831f8c46ea96a9049737b4a367b1b6460] rk3399: Reshuffle memlayout to move PRERAM_CBMEM_CONSOLE further back
git bisect bad 34dba35831f8c46ea96a9049737b4a367b1b6460
# bad: [d906bb68c3be218046d257c6870c9636e0e198cf] cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs
git bisect bad d906bb68c3be218046d257c6870c9636e0e198cf
# good: [fe6052c2e4090d15299435a27226a96f79d24872] src/include/device: Add PCIe root ports device ids
git bisect good fe6052c2e4090d15299435a27226a96f79d24872
# good: [4f7d536ed375d6aafc7cc5971dc51a7bc4a021fb] mb/google/eve: Update touchpad I2C timing
git bisect good 4f7d536ed375d6aafc7cc5971dc51a7bc4a021fb
# good: [ae6a4b6d3ca60fc697103cbdaaf5df84502f554e] intel/common/block/i2c: Add common block for I2C and use the same in SoCs
git bisect good ae6a4b6d3ca60fc697103cbdaaf5df84502f554e
# bad: [e87564ffe7d0636699467b776a24adffb2f11cca] binaryPI: Fix UMA calculations
git bisect bad e87564ffe7d0636699467b776a24adffb2f11cca
# good: [17bb225be7dd031b9803f33dec88e9d53e3a582f] AMD MTRR: Add common add_uma_resource_below_tolm()
git bisect good 17bb225be7dd031b9803f33dec88e9d53e3a582f
# bad: [61be3603f4b9f353e605d7b7c8d0d9f3b90f5636] AGESA: Fix UMA calculations
git bisect bad 61be3603f4b9f353e605d7b7c8d0d9f3b90f5636
# first bad commit: [61be3603f4b9f353e605d7b7c8d0d9f3b90f5636] AGESA: Fix UMA calculations

The serial console shows the following.

======= Wed Jun 28 08:03:44 2017 (adjust=86.8us)
00.000: <00>
01.051: <00>
02.755: <00>
05.027: <00>
06.163: <00>
09.002: <00>
10.138: <00>
12.978: <00>
15.250: <00>
16.954: <00>
18.658: <00>
20.930: <00>
22.633: <00>
24.905: <00>
27.177: <00>
28.881: <00>
30.585: <00>
32.857: <00>
35.696: <00>
36.832: <00>
36.867: <16>4<ac>H <ac><1a>T<10><b6>H(<fb>S$
36.867: 
36.867: coreboot-4.6-146-g61be3603f4 Thu May 18 04:48:57 UTC 2017 romstage starting...
36.867: APIC 00: CPU Family_Model = 00500f20
36.870: agesawrapper_amdinitreset() returned AGESA_SUCCESS
37.032: agesawrapper_amdinitearly() returned AGESA_SUCCESS
37.033: Normal boot
37.133: agesawrapper_amdinitpost() returned AGESA_SUCCESS
37.135: Move CAR stack.
37.135: CAR disabled.
37.136: Normal boot postcar
37.136: Wiped HEAP at [10000000 - 1002ffff]
37.149: agesawrapper_amdinitenv() returned AGESA_SUCCESS
37.151: CBFS: 'Master Header Locator' located CBFS at [100:3fffc0)
37.151: CBFS: Locating 'fallback/ramstage'
37.151: CBFS: Found @ offset 31780 size 196fe

After that it hangs.

https://review.coreboot.org/19328/


Files

amd-sb800-ramtop.patch (885 Bytes) amd-sb800-ramtop.patch Paul Menzel, 07/15/2017 06:41 AM
seriallog-20170715_085229.log (61 KB) seriallog-20170715_085229.log Paul Menzel, 07/15/2017 06:55 AM
seriallog-20170715_111039.log (51.2 KB) seriallog-20170715_111039.log Paul Menzel, 07/15/2017 09:14 AM
seriallog-20170715_114625.log (51.2 KB) seriallog-20170715_114625.log Paul Menzel, 07/15/2017 09:50 AM
seriallog-20170715_115700.log (60.3 KB) seriallog-20170715_115700.log Paul Menzel, 07/15/2017 09:59 AM
Actions

Also available in: Atom PDF