This repository contains the code for the minimal BIOS firmware used to boot up the selected virtual machine. CloudVM BIOS is based on SeaBIOS.
To build for QEMU (CloudVM uses QEMU by default), follow the steps below:
- Clone the BIOS repository:
git clone https://github.com/SectonCloud/BIOS
- Install
build-essential
&git
:
sudo apt-get install build-essential git -y
-
Configure BIOS options (optional)
-
Build firmware image:
make
The resulting file "out/bios.bin" contains the processed BIOS image.
You can customize the processed BIOS image by running make menuconfig
.
If you get "Unable to find the ncurses libraries or the required header files.
", install libncurses5-dev
& libncursesw5-dev
:
sudo apt-get install libncurses5-dev libncursesw5-dev
chmod +x scripts/xxx.sh
Make sure that python3
and python-is-python3
are installed.