[coreboot] Coreboot and Seabios CBFS problem

Kevin O'Connor kevin at koconnor.net
Wed Jan 20 03:43:15 CET 2010


On Tue, Jan 19, 2010 at 10:20:12AM -0400, Peter Bannis wrote:
> Hi Kevin,

Hi Peter,

I'm CC'ing the coreboot mailing list.

> I need some help in resolving a problem with Coreboot latest with seabios as
> a payload.  Seabios cannot find the CBFS signature as it is looking for it
> in the current segment and not in the rom location.  I am new to this but
> willing to put in the time so a quick pointer in the direction I should
> proceed will be mos appreciated.  snippet of debug output is included below.
> 
> I must say I appreciate you work.

Thanks.

What version of coreboot are you running?  Make sure you have the
latest version described at: http://www.coreboot.org/Download_coreboot

Also, your seabios looks to be a bit old - try the latest one as
described at:

http://seabios.org/Download

-Kevin


> 
> Thanks
> 
> peter
> 
> Check CBFS header at fffeffe0
> magic is 4f524243
> Found CBFS header at fffeffe0
> Check fallback/romstage
> CBFS: follow chain: fffc0000 + 38 + 1fa8 + align -> fffc2000
> Check fallback/coreboot_ram
> CBFS: follow chain: fffc2000 + 38 + 6e24 + align -> fffc8e80
> Check fallback/payload
> Got a payload
> Loading segment from rom address 0xfffc8eb8
>   data (compression=1)
> malloc Enter, size 36, free_mem_ptr 00119110
> malloc 00119110
>   New segment dstaddr 0xf0000 memsize 0x10000 srcaddr 0xfffc8ef0 filesize
> 0x7350
>   (cleaned up) New segment addr 0xf0000 size 0x10000 offset 0xfffc8ef0
> filesize 0x7350
> Loading segment from rom address 0xfffc8ed4
>   Entry Point 0x000fc4f3
> Payload is overwriting Coreboot tables.
> Loading Segment: addr: 0x00000000000f0000 memsz: 0x0000000000010000 filesz:
> 0x0000000000007350
> lb: [0x0000000000100000, 0x000000000011c000)
> Post relocation: addr: 0x00000000000f0000 memsz: 0x0000000000010000 filesz:
> 0x0000000000007350
> using LZMA
> [ 0x00000000000f0000, 0000000000100000, 0x0000000000100000) <-
> 00000000fffc8ef0
> dest 000f0000, end 00100000, bouncebuffer 3fc8000
> Loaded segments
> Jumping to boot code at fc4f3
> POST: 0xfe
> entry    = 0x000fc4f3
> lb_start = 0x00100000
> lb_size  = 0x0001c000
> adjust   = 0x03ee4000
> buffer   = 0x03fc8000
>      elf_boot_notes = 0x0010cae8
> adjusted_boot_notes = 0x03ff0ae8
> Start bios (version 0.4.2-20090908_202836-morn.localdomain)
> CPU Mhz=1848
> Found mainboard Emulation QEMU x86
> Unable to find CBFS (got 0 not 4342524f)
> Ram Size=0x04000000
> Found 1 cpu(s)
> Scan for VGA option rom
> ps2_recvbyte timeout
> keyboard initialized
> Found 1 lpt ports
> Found 1 serial ports
> SMBIOS ptr=0x000fdce0 table=0x03fff800
> ATA controller 0 at 1f0/3f0 (dev 9 prog_if 80)
> ATA controller 1 at 170/370 (dev 9 prog_if 80)
> ata0-0: PCHS=2/16/63 translation=none LCHS=2/16/63
> ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (0 MiBytes)
> ata1-0: QEMU DVD-ROM ATAPI-4 CD-Rom/DVD-Rom
> 
> Scan for option roms
> keyboard irq but no keyboard data.
> Press F12 for boot menu.
> 
> Returned 61440 bytes of ZoneHigh
> e820 map has 5 items:
>   0: 0000000000000000 - 000000000009f400 = 1
>   1: 000000000009f400 - 00000000000a0000 = 2
>   2: 00000000000f0000 - 0000000000100000 = 2
>   3: 0000000000100000 - 0000000003fff000 = 1
>   4: 0000000003fff000 - 0000000004000000 = 2
> enter handle_19:
>   NULL
> Booting from Floppy...
> fail handle_legacy_disk:845(1):
>    a=00000201  b=00000000  c=00000001  d=00000000 ds=0000 es=07c0 ss=0000
>   si=00000000 di=00000000 bp=00000000 sp=00007b18 cs=f000 ip=e82d  f=0002
> Boot failed: could not read the boot disk




More information about the coreboot mailing list