[coreboot] build failure: cannot move location counter backwards
dvhart at linux.intel.com
Tue Jun 21 07:58:06 CEST 2011
On 06/20/2011 04:09 PM, Cristian Măgherușan-Stanciu wrote:
> I documented the latest developments (git and crossgcc) at
> http://www.coreboot.org/Build_HOWTO. Please someone double-check.
My build succeeded following these instructions. As a first-time user,
it would be helpful to have a quick-start guide which would be basically
this wiki page + the steps necessary to do boot what I built in qemu.
There are bits of that here:
So perhaps a link, although it is a bit unclear to me which bits of what
I built get used when I try to boot searbios in qemu. I don't seem to
need corebios.rom at all, just the seabios bios.bin:
$ qemu -bios ./payloads/external/SeaBIOS/seabios/out/bios.bin -hda
/dev/zero -serial stdio
I get an option to press F12 in the console and select a boot device.
Seems to work.
Am I using coreboot? Is it integrated into the payload? Reading the
QEMU_Build_tutorial, http://www.coreboot.org/QEMU_Build_Tutorial, led me
$ qemu -bios build/coreboot.rom -hda /dev/zero -serial stdio
This resulted in something else entirely, the shell output terminating
in the following:
coreboot memory table:
0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES
1. 0000000000001000-000000000009ffff: RAM
2. 00000000000c0000-0000000017feffff: RAM
3. 0000000017ff0000-0000000017ffffff: CONFIGURATION TABLES
4. 00000000ff800000-00000000ffffffff: RESERVED
Wrote coreboot table at: 17ff1400 - 17ff15c4 checksum 6c1c
coreboot table: 452 bytes.
Multiboot Information structure has been written.
0. FREE SPACE 17ff3400 0000cc00
1. GDT 17ff0200 00000200
2. IRQ TABLE 17ff0400 00001000
3. COREBOOT 17ff1400 00002000
Check CBFS header at fffcfc39
magic is 386f92fa
ERROR: No valid CBFS header found!
CBFS: Could not find file fallback/payload
It isn't clear to me from the various pages I've read which of the above
(if either) is the appropriate way to boot coreboot on qemu. Can anyone
clear that up for me?
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the coreboot