Hello, I am new to coreboot and I've been using this tutorial as guidance: http://www.coreboot.org/QEMU_Build_Tutorial
I've had help from the IRC channel as well and I think it will be a good idea to get help here as well:
here's the log of what I've done:
1. downloaded qemu coreboot filo libpayload 2. Built qemu 3. built libpayload > error in make menuconfig (this was definitely an ncurses.h error so the terminal graphics were the problem)
<--------------This is the complete mail, sorry for the incomplete mail before --------->
Hello, I am new to coreboot and I've been using this tutorial as guidance: http://www.coreboot.org/QEMU_Build_Tutorial
I've had help from the IRC channel as well and I think it will be a good idea to get help here as well:
here's the log of what I've done:
1. downloaded qemu coreboot filo libpayload 2. Built qemu 3. built libpayload > error in make menuconfig (this was definitely an ncurses.h error so the terminal graphics were the problem) 4. built libpayload using make config and then make (built config from tty and finally it built) 5. Built filo, since filo depends upon libpayload so the make menuconfig did not work here as well, so did make config and after iterations with block devices built it. 6. Built coreboot, here however make menuconfig works and after choosing the appropriate options > make generated a coreboot.rom 7. Created a ext3 disk.img 200MB with debian squeeze rootfs using debootstrap (on Ubuntu though) according to tutorial 8. checked where qemu keeps its $BIOS.BIN found it on /usr/local/share/qemu/ so used the appropriate command : qemu -L /usr/local/share/qemu/ -hda ~/disk.img 9. the output of the above command without --nographic gives me simply "VNC server running on localhost:5900" which is, well, pointless, this proves the disk.img isn't working because once you simply execute qemu on the terminal it gives you VNC server running on localhost:5900
I have a detail log of all of the things I did. So the question is does the coreboot.rom path get updated to qemu's $BIOS.BIN or do I have to point it out explicitly (if it's generated elsewhere) and what would the next step be to emulate it ? Or is there anything that I've been doing wrong. Please don't spare my feelings and let me know what it is. Thanks.
Pronoy Chopra (DarkSector on IRC)
On Fri, Mar 25, 2011 at 2:26 AM, pronoyc@gmail.com pronoyc@gmail.com wrote:
<--------------This is the complete mail, sorry for the incomplete mail before --------->
Hello, I am new to coreboot and I've been using this tutorial as guidance: http://www.coreboot.org/QEMU_Build_Tutorial I've had help from the IRC channel as well and I think it will be a good idea to get help here as well: here's the log of what I've done:
- downloaded qemu coreboot filo libpayload
- Built qemu
- built libpayload > error in make menuconfig (this was definitely an
ncurses.h error so the terminal graphics were the problem) 4. built libpayload using make config and then make (built config from tty and finally it built) 5. Built filo, since filo depends upon libpayload so the make menuconfig did not work here as well, so did make config and after iterations with block devices built it. 6. Built coreboot, here however make menuconfig works and after choosing the appropriate options > make generated a coreboot.rom 7. Created a ext3 disk.img 200MB with debian squeeze rootfs using debootstrap (on Ubuntu though) according to tutorial 8. checked where qemu keeps its $BIOS.BIN found it on /usr/local/share/qemu/ so used the appropriate command : qemu -L /usr/local/share/qemu/ -hda ~/disk.img 9. the output of the above command without --nographic gives me simply "VNC server running on localhost:5900" which is, well, pointless, this proves the disk.img isn't working because once you simply execute qemu on the terminal it gives you VNC server running on localhost:5900 I have a detail log of all of the things I did. So the question is does the coreboot.rom path get updated to qemu's $BIOS.BIN or do I have to point it out explicitly (if it's generated elsewhere) and what would the next step be to emulate it ? Or is there anything that I've been doing wrong. Please don't spare my feelings and let me know what it is. Thanks. Pronoy Chopra (DarkSector on IRC)
Hi Pronoy,
That is a good first day with coreboot. :)
I have not used QEMU myself, but fthe wiki shows that you need to copy the coreboot.rom to bios.bin in the qemu directory. You also need to edit the drive image to have the grub menu.lst that filo expects to find. I think that the location is important.
http://www.coreboot.org/QEMU#coreboot_v3_.2B_FILO
Marc
Am 25.03.2011 16:59, schrieb Marc Jones:
I have not used QEMU myself, but fthe wiki shows that you need to copy the coreboot.rom to bios.bin in the qemu directory. You also need to edit the drive image to have the grub menu.lst that filo expects to find. I think that the location is important.
This isn't quite true anymore, as recent QEmu versions know the "-bios" option, so $ qemu -bios build/coreboot.rom works
Patrick