Table of Contents

Ubuntu Server

Dependencies

sudo apt install git build-essential gnat flex bison libncurses5-dev wget zlib1g-dev python-minimal gcc-6 g++-6

GCC6

sudo rm -fv '/usr/bin/gcc' 'rm /usr/bin/g++'
sudo ln -s '/usr/bin/gcc-6' '/usr/bin/gcc' && sudo ln -s '/usr/bin/g++-6' '/usr/bin/g++'
gcc -v && g++ -v

Coreboot

Specific Commit

cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/coreboot/src' && git clone --branch 'master' --recurse-submodules 'https://review.coreboot.org/coreboot.git' ~/'Projects/coreboot/src' && sync
cd ~/'Projects/coreboot/src' && git checkout 'x' && git submodule update --checkout && sync

Specific Tag

cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/coreboot/src' && git clone --branch 'master' --recurse-submodules 'https://review.coreboot.org/coreboot.git' ~/'Projects/coreboot/src' && sync
git tag -l
cd ~/'Projects/coreboot/src' && git checkout tags/x && git submodule update --checkout && sync

SeaBIOS Fix