(02-10-2023, 10:40 PM)维格纳朋友 提到:代码:[NOTE ] coreboot-4.19-392-gbcc9879151 Fri Feb 10 08:28:49 UTC 2023 x86_32 bootblock starting (log level: 7)...
[DEBUG] FMAP: Found "FLASH" version 1.1 at 0xe10000.
[DEBUG] FMAP: base = 0xff000000 size = 0x1000000 #areas = 4
[DEBUG] FMAP: area COREBOOT found @ e10200 (2031104 bytes)
[INFO ] CBFS: mcache @0xff7c2e00 built for 17 files, used 0x398 of 0x4000 bytes
[INFO ] CBFS: Found 'fallback/romstage' @0x80 size 0xc7c8 in mcache @0xff7c2e2c
[DEBUG] BS: bootblock times (exec / console): total (unknown) / 44 ms
[NOTE ] coreboot-4.19-392-gbcc9879151 Fri Feb 10 08:28:49 UTC 2023 x86_32 romstage starting (log level: 7)...
[DEBUG] Disabling Watchdog reboot... done.
[DEBUG] SMBus controller enabled
[DEBUG] Setting up static northbridge registers... done.
[DEBUG] Started PEG10 link training.
[DEBUG] Temporarily hiding PEG10.
[DEBUG] Initializing IGD...
[DEBUG] Back from haswell_early_initialization()
[DEBUG] CPU id(306c3) ucode:00000028 Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
[DEBUG] AES supported, TXT NOT supported, VT supported
[DEBUG] PCH type: B85, device id: 8c50, rev id 5
[DEBUG] Starting UEFI PEI System Agent
[DEBUG] FMAP: area RW_MRC_CACHE found @ e00000 (65536 bytes)
[NOTE ] MRC: no data in 'RW_MRC_CACHE'
[DEBUG] FMAP: area COREBOOT found @ e10200 (2031104 bytes)
[INFO ] CBFS: Found 'mrc.bin' @0x18fdc0 size 0x2e6e4 in mcache @0xff7c3114
System Agent: Starting up...
System Agent: Initializing PCH
install_ppi: overwrite GUID {ed097352-9041-445a-80b6-b29d509e8845}
install_ppi: overwrite GUID {908c7f8b-5c48-47fb-8357-f5fd4e235276}
System Agent: Initializing PCH (SMBUS)
System Agent: Initializing PCH (USB)
System Agent: Initializing PCH (SA Init)
System Agent: Initializing PCH (Me UMA)
System Agent: Initializing Memory
System Agent: Done.
Sanity checking heap.
[DEBUG] MRC Version 1.6.1 Build 2
[EMERG] Memory controller did not acknowledge raminit.
[EMERG] MRC raminit failed
但是内存控制器还是初始化失败。
我看人家的MRC似乎也是这个版本。
https://www.mail-archive.com/coreboot@co...52957.html
https://github.com/daiaji/coreboot_b85m-e45
代码传github了。
有什么点子吗?
mrc.bin 应该是对的,内存控制器初始化失败的原因我想不出来。如果让我来调这个的话,我会怀疑到 mb_get_spd_map 的配置上,先查一下单条内存启动的情况。
以前我改过的一个 mrc 可以打一些调试信息(例如SPD)出来。还没合并的 Haswell native raminit 也能打一些调试信息 (https://review.coreboot.org/c/coreboot/+/64183)。