(02-09-2023, 08:05 PM)vimacs 提到: 确定串口接对了吗,在原厂固件正常使用的时候能不能用这个串口通信?还有,coreboot默认配置的串口波特率是115200.搞错了,我用TTL接了,说是要用RS232。
找了RS232,能输出LOG了。
代码:
[NOTE ] coreboot-c4972828-dirty Thu Feb 09 10:31:09 UTC 2023 x86_32 bootblock starting (log level: 7)...
[INFO ] Timestamp - end of bootblock: 368168045
[INFO ] Timestamp - starting to load romstage: 385694277
[DEBUG] FMAP: Found "FLASH" version 1.1 at 0xe50000.
[DEBUG] FMAP: base = 0xff000000 size = 0x1000000 #areas = 5
[DEBUG] FMAP: area COREBOOT found @ e50200 (1768960 bytes)
[INFO ] CBFS: mcache @0xff7c2e00 built for 16 files, used 0x358 of 0x4000 bytes
[INFO ] CBFS: Found 'fallback/romstage' @0x80 size 0xe848 in mcache @0xff7c2e2c
[INFO ] Timestamp - finished loading romstage: 521970575
[DEBUG] BS: bootblock times (exec / console): total (unknown) / 60 ms
[NOTE ] coreboot-c4972828-dirty Thu Feb 09 10:31:09 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
[INFO ] Timestamp - before RAM initialization: 776825875
[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 @ e50200 (1768960 bytes)
[WARN ] CBFS: 'mrc.bin' not found.
[EMERG] UEFI PEI System Agent not found.
代码:
cd ~/coreboot
make -C util/cbfstool
cd util/chromeos
./crosfirmware.sh peppy
../cbfstool/cbfstool coreboot-*.bin extract -f mrc.bin -n mrc.bin -r RO_SECTION
mv mrc.bin ~/t4/mrc.bin
代码:
[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了。
有什么点子吗?