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
- How QEMU communicate with SeaBIOS? 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.
- Where is option ROM? A: /usr/share/qemu/
No comments:
Post a Comment