QEMU emulation of the AXIOM Beta hardware / software
This scripts will help you to run AXIOM Beta OS on QEMU. Follow the following steps to build and run the QEMU.
First you need to build and install the QEMU. For that, go open the terminal on axiom-beta-qemu repo folder and run the following commands.
chmod +x build_qemu.sh
./build_qemu.sh
Note: This will download QEMU form the Xilinx QEMU repo. Therefore you need to have a good internet connection while running this script. Also provide the system password to install QEMU.
Note: You need to follow either Step 2-[A] or 2-[B]. Step 2-[A] is to build Kernel 4.6.0 and step 2-[B] is for build Kernel 4.9.0.
If you are going to run Kernel 4.6.0, then follow this step. As we tested, Kernel 4.6.0 works properly on QEMU.
To build Kernel 4.6.0, run the following commands on a terminal opened in axiom-beta-qemu repo folder.
chmod +x build_kernel4.6.0.sh
./build_kernel4.6.0.sh
Note: This will download Xilinx linux kernel at the newest verion. Therefore you need to have a good internet connection while running this script.
Note: You need to follow either Step 2-[A] or 2-[B]. Step 2-[A] is to build Kernel 4.6.0 and step 2-[B] is for build Kernel 4.9.0.
This step will build Xilinx Kernel 4.9.0. At the moment, this kernel verion will not run on QEMU properly. We recomend to use Kernel 4.6.0.
To build Kernel 4.9.0, run the following commands on a terminal opened in axiom-beta-qemu repo folder.
chmod +x build_kernel4.9.0.sh
./build_kernel4.9.0.sh
Note: This will download Xilinx linux kernel at the newest verion. Therefore you need to have a good internet connection while running this script.
To download AXIOM Beta image, run the following commands.
chmod +x download_axiom_beta_image.sh
./download_axiom_beta_image.sh
Note: This will download arround 3.7GB.
To run the QEMU use the following commands on a terminal opened in axiom-beta-qemu repo folder.
chmod +x turn_on_qemu.sh
./turn_on_qemu.sh
Note: After completing Steps 1,2 and 3 for one time, you don't need to run those steps everytime. By running only step 4 will able to turn on QEMU.