Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page will take you through the steps you need to follow to build and run QEMU from Source Code.

...

Code Block
languagebash
themeMidnight
sudo apt install libglib2.0-dev libgcrypt20-dev zlib1g-dev autoconf automake libtool bison flex libpixman-1-dev

QEMU also includes submodules that will need to be checked out. Use the following command to checkout the appropriate submodules.

Code Block
languagebash
themeMidnight
git submodule update --init dtc

...

Install device tree compiler

If device-tree-compiler is not installed, please install it using below command:

Code Block
languagebash
themeMidnight
apt-get install device-tree-compiler

...

However, these commands will vary from machine to machine.

Note

It is recommended you clear the -machine-path directory between boots.  PetaLinux and Yocto tools do this for you. See this section for more information.

Running bare metal applications will be talked about in the next section. 

...