[coreboot] ASRock 939A785GMH/128M trouble
Dmitry Samoyloff
dmitry at obscurehalt.org
Sat Jan 29 22:07:29 CET 2011
Hello!
I've tried to install Coreboot/SeaBIOS on my ASRock 939A785GMH/128M
motherboard [1], leaving it totally unbootable: no beeps, no VGA output :-(
I followed installation instructions from coreboot.org with SVN checkout,
"make menuconfig" and "make". The payload is SeaBIOS stable.
BTW, what makes me suspicious is a build process, the first "make" failed
with:
<...>
Compiling (16bit) out/code16.o
Building ld scripts (version "0.6.1.2-20110129_195624-innsmouth")
Building ld scripts (version "0.6.1.2-20110129_195624-innsmouth")
Building ld scripts (version "0.6.1.2-20110129_195624-innsmouth")
Traceback (most recent call last):
File "./tools/layoutrom.py", line 436, in <module>
main()
File "./tools/layoutrom.py", line 428, in main
keep16[0], keep32seg[0], keep32flat[0])
File "./tools/layoutrom.py", line 161, in doLayout
locs16fixed, firstfixed = fitSections(fixedsections, textsections)
File "./tools/layoutrom.py", line 141, in fitSections
firstfixed = fixedsections[0][0]
IndexError: list index out of range
make[2]: *** [out/romlayout16.lds] Error 1
make[2]: *** Waiting for unfinished jobs....
Fixed space: 0xe05b-0x10000 total: 8101 slack: 15 Percent slack: 0.2%
16bit size: 39872
32bit segmented size: 2529
32bit flat size: 54383
Fixed space: 0xe05b-0x10000 total: 8101 slack: 15 Percent slack: 0.2%
16bit size: 39872
32bit segmented size: 2529
32bit flat size: 54383
make[2]: *** wait: Нет дочерних процессов. Stop.
make[1]: *** [seabios] Error 2
make: *** [seabios] Error 2
However, the subsequent "make clean" and "make" ended up with success:
<...>
Compiling (16bit) out/code16.o
Building ld scripts (version "0.6.1.2-20110129_200005-innsmouth")
Building ld scripts (version "0.6.1.2-20110129_200005-innsmouth")
Building ld scripts (version "0.6.1.2-20110129_200005-innsmouth")
Fixed space: 0xe05b-0x10000 total: 8101 slack: 15 Percent slack: 0.2%
16bit size: 39872
32bit segmented size: 2529
32bit flat size: 54383
Building ld scripts (version "0.6.1.2-20110129_200005-innsmouth")
Fixed space: 0xe05b-0x10000 total: 8101 slack: 15 Percent slack: 0.2%
16bit size: 39872
32bit segmented size: 2529
32bit flat size: 54383
Linking out/rom16.o
Fixed space: 0xe05b-0x10000 total: 8101 slack: 15 Percent slack: 0.2%
16bit size: 39872
32bit segmented size: 2529
32bit flat size: 54383
Linking out/rom32seg.o
Stripping out/rom32seg.strip.o
Stripping out/rom16.strip.o
Fixed space: 0xe05b-0x10000 total: 8101 slack: 15 Percent slack: 0.2%
16bit size: 39872
32bit segmented size: 2529
32bit flat size: 54383
Linking out/rom.o
Prepping out/bios.bin
Total size: 96784 Free space: 34288 Percent used: 73.8% (128KiB rom)
CBFS coreboot.rom
PAYLOAD SeaBIOS (internal, compression: LZMA)
CBFSPRINT coreboot.rom
After that I copied build/coreboot.rom onto USB flash and installed it on
motherboard's flash successfully using "flashrom -w coreboot.rom". The
motherboard's chip is Winbond W25Q80, 1024 KB (this size is a default in
menuconfig, so I didn't changed it).
I will answer more questions if it's needed.
I'd also appreciate any help or hints on recovery, because now I can't even
boot. I tried that trick with AMIBOOT.ROM on USB flash and <Ctrl>+<Home>, but
it didn't worked for me.
Thanks in advance for your help!
[1] http://www.coreboot.org/ASRock_939A785GMH-128M
More information about the coreboot
mailing list