User Tools

Site Tools


notes:old_coreboot

Ubuntu Server

Dependencies

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

GCC6

  • Removes symlinks of GCC7 and replaces with GCC6
  • Necessary if the build of GCC from crossgcc for a specific version of Coreboot fails to build
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

  • Replace x in tags/x with the tag from git tag -l
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

  • :!: TODO: Add fix for seabios git repo needing updated URL
/var/www/wiki/data/pages/notes/old_coreboot.txt · Last modified: 2019/01/13 07:16 by Sean Rhone