Download, configure, and build coreboot
Step 1 – Install tools and libraries needed for coreboot
$ sudo apt-get install -y bison build-essential curl flex git gnat-5 libncurses5-dev m4 zlib1g-dev
Step 2 – Download coreboot source tree
$ git clone https://review.coreboot.org/coreboot $ cd coreboot
Step 3 – Build the coreboot toolchain
Please note that this can take a significant amount of time
$ make crossgcc-i386 CPUS=$(nproc)