Setup Ubuntu for OpenATV Image

Set your shell to /bin/bash.
sudo dpkg-reconfigure dash
When asked: Install dash as /bin/sh?
select "NO"

Install the required packages. (its different for your system this are examples)

then options missing send us infos we update this info

apt-get install -y autoconf automake bc bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools zip info coreutils diffstat chrpath libproc-processtable-perl libperl4-corelibs-perl sshpass default-jre default-jre-headless java-common libserf-dev

Prepare for first build

Create build workdir.
mkdir -p ~/openatv

Go into created build workdir.
cd ~/openatv

Get the oe-alliance build git
Code:
git clone git://github.com/oe-alliance/build-enviroment.git

or
Code:
git clone git://github.com/fairbird/oe-alliance-core.git;protocol=git;branch=4.3


Go into created build-enviroment folder
cd ~/openatv/build-environment

Initial build folder
make update

Prepare Local File Folders for Files not Include in the Git
download this file: firmware.zip
cd ~/openatv
mkdir -p sh4/stslave_fw

extract the firmware.zip and copy with folder to sh4/stslave_fw
now you have

sh4/stslave_fw/spark
sh4/stslave_fw/spark7162
with audio and video files in the folders


cd ~/openatv/build-enviroment
make


edit the file site.conf
and add this line
BINARY_STSLAVE_FW_PATH = "/home/USERHOME/openatv/sh4/stslave_fw"
Info replace "USERHOME" to point to the correct location of you folder you have add the files


List of MACHINE:

sti 7111 Models:
amiko8900, sognorevolution, arguspingulux, arguspinguluxmini, arguspinguluxplus, sparkreloaded, fulanspark1, sabsolo, gis8120, sparklx

sti 7162 Models:
amikoalien, sognotriple, sparktriplex, sabtriple,giavatar, sparkone


use your MACHINE for your Box
if Box is missing we need we info and we can add the missing spark model

Start Build first Image
MACHINE=amiko8900 DISTRO=openatv make image

after build complete your found the image in
~/openatv/build-enviroment/builds/openatv/amiko8900/tmp/deploy/images


Update the image
cd ~/openatv/build-enviroment

make update
MACHINE=amiko8900 DISTRO=openatv make image


Could be necessary to install : sudo apt-get install sshpass
_________________________