Qemu tutorial firmware

broken image
broken image

The shell with the configured environment variables open). This must be done only once (as long as you keep The script must be sourced because it sets someĮnvironment variables ( WORKSPACE being the most The edksetup script will prepare the build environmentįor you. Repository and also fetch the git submodules. Needed to make the build system use the cross compilers:ĭnf install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnuĮxport GCC5_AARCH64_PREFIX = 'aarch64-linux-gnu-' export GCC5_ARM_PREFIX = 'arm-linux-gnu-' While being at also set the environment variables If you want cross-build arm firmware on a x86 machine you also needĬross compilers. Install them first (package names are for centos/fedora).ĭnf install -y make gcc binutils iasl nasm libuuid-devel AnĬompiler and the make are required of course, but also To build edk2 you need to have a bunch of tools installed. TheĪrticle assumes you are using a linux machine with gcc. Here is a quickstart for everyone who wants (or needs to) deal withĮdk2 firmware, with a focus on virtual machine firmware.

broken image