Skip to content

Building manual

Building coreboot

To build coreboot image, follow the steps below:

  1. Clone the coreboot repository:

    git clone --depth=1 https://github.com/Dasharo/coreboot.git -b raptor-cs_talos-2/rel_v0.7.0
    
  2. Get the submodules:

    cd coreboot
    git submodule update --init --recursive --checkout
    
  3. Start docker container:

    docker run --rm -it \
       -v $PWD:/home/coreboot/coreboot \
       -w /home/coreboot/coreboot \
       -u "$(id -u):$(id -g)" \
       coreboot/coreboot-sdk:0ad5fbd48d /bin/bash
    
  4. Inside of the container, configure and start the build process:

    (docker)cp configs/config.raptor-cs-talos-2 .config
    (docker)make olddefconfig
    (docker)make
    

Building heads

  1. Clone the heads repository:

    git clone --depth=1 https://github.com/Dasharo/heads.git -b raptor-cs_talos-2/release
    
  2. Start docker container:

    cd heads
    docker run --rm -it -v $PWD:$PWD -w $PWD -u "$(id -u):$(id -g)" 3mdeb/heads-docker:2.4.0 /bin/bash
    
  3. Build:

    make BOARD=talos-2