On 20/06/08 08:56 -0400, Kevin O'Connor wrote:
On Fri, Jun 20, 2008 at 11:01:14AM +0800, Zhang Rui wrote:
2008/6/19 Kevin O'Connor kevin@koconnor.net: I get the right elf file after I executed: ld -melf_i386 -e 0xf66e0 -Tdata 0xf0000 -b binary bios.bin -o bios.bin.elf
Okay, thanks. I've checked this change into latest git.
And then I build it as payload of coreboot and then run qemu with coreboot. I get the following messages in the console:
[...] enter handle_10: a=00000e0a b=00000000 c=00000000 d=00000000 si=00000000 di=00000000 ds=00000000 es=00000000 ip=0000e818 cs=0000f000 f=00000002 r=0000f674 enter handle_18: NULL No bootable device.
Is that OK?
You have succesfully launched LegacyBIOS. However, the vga rom was not found. Make sure you're running with the latest vgabios. Also, you probably haven't specified a floppy, hard drive, or cdrom to boot from.
We should discuss what needs to be done to bring this goodness to buildrom.
Jordan