[coreboot] SeaBIOS question and cross compilation fix.

Kevin O'Connor kevin at koconnor.net
Sun Nov 9 00:27:07 CET 2008


On Sat, Nov 08, 2008 at 06:01:10PM -0500, Kevin O'Connor wrote:
> I keep these commands handy for diagnosing these things:
> 
> objdump -m i386 -M suffix -ld out/rom.o | less  # 32bit disassemble
> 
> objdump -m i386 -M i8086 -M suffix -ld out/rom.o | less  # 16bit

Additional useful commands are:

objdump -m i386 -M suffix -ld out/rom32.o | less

objdump -m i386 -M i8086 -M suffix -ld out/rom16.o | less

these variants are like the above, but they only show the 32bit and
16bit code respectively.

Also, when you run gdb with qemu, you can pull in rom.o, rom16.o,
and/or rom32.o (eg, "gdb out/rom.o") and then gdb should have the
symbols.

-Kevin




More information about the coreboot mailing list