Skip to content

Dell OptiPlex 7010/9010 Dasharo - building manual

Building coreboot

To build coreboot image, follow the steps below:

  1. Clone the coreboot repository:

    $ git clone https://review.coreboot.org/coreboot.git
    
  2. Get the submodules:

    $ cd coreboot
    $ git submodule update --init --recursive --checkout
    
  3. Checkout Dasharo branch for OptiPlex 7010/9010 (replace vX.Y.Z with valid version):

    $ git remote add dasharo https://github.com/dasharo/coreboot.git
    $ git fetch dasharo
    $ git checkout dell_optiplex_9010_vX.Y.Z
    
  4. Start docker container:

    $ docker run --rm -it \
       -v $PWD:/home/coreboot/coreboot \
       -w /home/coreboot/coreboot \
       coreboot/coreboot-sdk:0ad5fbd48d /bin/bash
    
  5. Inside of the container, configure and start the build process:

    (docker)$ make distclean
    (docker)$ cp configs/config.dell_optiplex_9010_sff .config
    (docker)$ make olddefconfig
    (docker)$ make
    

    or simply:

    (docker)$ make distclean && cp configs/config.dell_optiplex_9010_sff .config && make olddefconfig && make
    

This will produce a debug binary placed in build/coreboot.rom. To flash coreboot refer to initial deployment manual.