Skip to content

Compiling

David Cooke edited this page Oct 24, 2017 · 1 revision

Premade VM

Lraizer has made a VM that can build commando http://www.mediafire.com/file/xmatvx4u6u4q0aa/ukcvs-buildbox-20161209.zip Open the VM in VMWare or VirtualBox and follow the instructions displayed on the VM

Ubuntu

The VM uses Ubuntu 14.04 however most people get better results with 12.04
Packages required: automake git subversion cvs libtool make g++ flex bison mtd-utils diffutils pkg-config patch squashfs-tools zlib1g-dev ccache gawk bzip2 dialog expect-dev zip
It is recommended to use build project to compile commando as there is very little or no benefit to setting up the build environment manually.

Build Project

Clone the build project repository
git clone https://github.com/UkCvs/build-project.git
Cd into the build project directory
cd build-project
Currently, the only supported box is the dm500 so run
./make-commando-dm500
select Create or New
This should produce an image within an hour, if the build fails, create an issue on the commando github with the last few lines of console output and details on your setup.

Manual setup

1)Clone(download) the Commando git repository. git clone -b 16.0 https://github.com/UkCvs/commando.git This will create a new directory called commando.

2)CD into the commando directory. cd commando

3)CD into the cdk directory. cd cdk

4)Run the autogen script. This will check dependencies and generate config files. ./autogen.sh

5)Configure the build environment. You will need to modify the command below to use your username and file paths. This will configure the build environment and check it is usable. ./configure --with-boxtype=dreambox --with-boxmodel=dm500 --prefix=/home/username/commando --with-cvsdir=/home/username/commando --with-defaultlocale=english --with-filesystems="" --enable-dreambox-serial-console

6)The command to compile is make flash-neutrino-squashfs this command will take a while and will require no interaction until it is finished so you can leave it running in the background.

7)After it is finished, the image will be in the cdk-flash directory which you can get to by using cd ../cdk-flash There will be an image file called complete-neutrino.img. If you want to flash your dm500 with your new image, follow the flashing guide.

Clone this wiki locally