Skip to content

Dell OptiPlex 7010/9010 Dasharo - building manual

Please read the overview page first!

Building coreboot

To build release image of Dasharo compatible with Dell OptiPlex 7010/9010, follow the steps below:

  1. Clone the coreboot repository:

    git clone https://github.com/dasharo/coreboot.git
    
    cd coreboot
    

    Replace vX.Y.Z with valid version:

    git checkout dell_optiplex_9010_vX.Y.Z
    

    Checkout submodules:

    git submodule update --init --recursive --checkout
    
  2. Start docker container:

    docker run --rm -it \
       -v $PWD:/home/coreboot/coreboot \
       -w /home/coreboot/coreboot \
       coreboot/coreboot-sdk:VERSION /bin/bash
    
    • VERSION should be replaced according to version you building:
    • v0.1.0 - 2022-04-04_9a8d0a03db
  3. Inside of the container, configure and start the build process:

    make distclean
    
    cp configs/config.dell_optiplex_9010 .config
    
    make olddefconfig
    
    make
    

    or simply:

    make distclean && cp configs/config.dell_optiplex_9010 .config && make olddefconfig && make
    

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

Debug build

  1. Clone the coreboot repository:

    git clone https://github.com/dasharo/coreboot.git
    
    cd coreboot
    

    Replace vX.Y.Z with a valid version:

    git checkout dell_optiplex_9010_vX.Y.Z
    

    Checkout submodules:

    git submodule update --init --recursive --checkout
    
  2. Start docker container:

    docker run --rm -it \
       -v $PWD:/home/coreboot/coreboot \
       -w /home/coreboot/coreboot \
       coreboot/coreboot-sdk:VERSION /bin/bash
    
    • VERSION should be replaced according to version you building:
    • v0.1.0 - 2022-04-04_9a8d0a03db
  3. Inside of the container, configure and start the build process:

    make distclean
    
    cp configs/config.dell_optiplex_9010.debug .config
    
    make olddefconfig && make
    

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