Draft bash creation script - far from complete. Very much a draft and work in progress currently - some parts just pseudo code yet.
#!/bin/bash #definitions NAME="AXIOM Beta" VERSION="0.1" BUILD_LOG=build.log #Setup # install depencies # lets start with Ubuntu as main host build system and expand it for other distros later on sudo apt-get install build-essential git sudo apt-get install libc6-armel-cross libc6-dev-armel-cross #sudo apt-get install binutils-arm-linux-gnueabi #sudo apt-get install libncurses5-dev #sudo apt-get install libc6-armel-cross libc6-dev-armel-cross sudo apt-get install gcc-arm-linux-gnueabi mkdir build cd build/ # acquire arch linux # see https://archlinuxarm.org/platforms/armv7/xilinx/zedboard #TODO #wget http://os.archlinuxarm.org/os/ArchLinuxARM-zedboard-latest.tar.gz #bsdtar -xpf ArchLinuxARM-zedboard-latest.tar.gz -C mnt #TODO uboot #TODO acquire kernel from 13thfloor #TODO disable pacman kernel updates in arch, see: https://www.digitalocean.com/community/tutorials/pacman-syu-kernel-update-solved-how-to-ignore-arch-kernel-upgrades #TODO acquire PIC bitstream from 13thfloor #TODO acquire FPGA bitstream from 13th floor #collect sources git clone https://github.com/apertus-open-source-cinema/beta-software.git # TODO cross compile all beta-software for ARM CPU in microzed cd beta-software/mimg/ CROSS_COMPILE=arm-linux-gnueabi- make # TODO copy software binaries to system directories /usr/bin? # TODO copy beta scripts # TODO copy source code to system directories (where?) #TODO remove build dir after everything was built successfully #rm -r build # package #TODO dd -> iso file for micro sd card