Skip to content

Dell OptiPlex 7010/9010 Dasharo - building manual

Please read the overview page first!

To build 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:

    • To build Dasharo (coreboot+SeaBIOS) v0.1.0:
       docker run --rm -it \
          -v $PWD:/home/coreboot/coreboot \
          -w /home/coreboot/coreboot \
          coreboot/coreboot-sdk:2022-04-04_9a8d0a03db /bin/bash
    
    • To build Dasharo (coreboot+UEFI) v0.1.0:
       docker run --rm -it \
          -v $PWD:/home/coreboot/coreboot \
          -w /home/coreboot/coreboot \
          coreboot/coreboot-sdk:2021-09-23_b0d87f753c /bin/bash
    

    To understand difference between versions please read FAQ.

  3. Inside of the container, configure and start the build process:

    make distclean
    
    • To build Dasharo (coreboot+SeaBIOS) v0.1.0
       cp configs/config.dell_optiplex_9010 .config
    
    • To build Dasharo (coreboot+UEFI) v0.1.0
       cp configs/config.dell_optiplex_9010 .config
    
    • To build Dasharo (coreboot+SeaBIOS) v0.1.0 debug version (very verbose logging).
       cp configs/config.dell_optiplex_9010.debug .config
    
    • To build Dasharo (coreboot+UEFI) v0.1.0 debug version (very verbose logging).
       cp configs/config.dell_optiplex_9010.uefi.debug .config
    
    make olddefconfig
    
    make
    

    or simply:

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

This will produce a Dasharo binary placed in build/coreboot.rom, which can be flashed in following ways, depending on your situation: