Tuesday, October 1, 2013

SeaBIOS - Basic

Background

  • BIOS will enumerate all PCI devices in POST stage.
  • The details about POST stage can be found here

Compile

  • SeaBIOS is Kconfig style, so run make menuconfig
  • Choose the options you want in the pop-up menu
  • A new file ".config" will be generated after you exit the menu.
  • Finally, Just make
To learn how to launch your first BIOS, please follow this

Q&A

  1. How QEMU communicate with SeaBIOS?
  2. A: fw_cfg:
    • Emulated IO ports 0x510 (address) and 0x511 (data)
    • Used to communicate various tables to the qemu BIOS (e820 map,ACPI tables, etc)
    • Also provides support for exporting writable tables to the BIOS.
  3. Where is option ROM?
  4. A: /usr/share/qemu/

No comments:

Post a Comment