Yocto

Setup

Follow installations description here:
https://git.digitalstrom.org/dss-oe/dss-oe

git co ssh://git@git.digitalstrom.org:16022/dss-oe/dss-oe.git 
git submodule update --init 

To isolate problems with host toolchain use yocto provided sanitized toolchain

$ wget http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/buildtools/poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-2.0.sh
$ sh poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-2.0.sh

Create local package feed

you can export your local ipk folder after creating a package index:

http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#ref-tasks-package_index

bitbake package-index

then export the ipk folder via http

on the target you then need to add you buildhost as an extra source of packages

# opkg install create-local-feed
# create-local-feed http://buildhost/baseurl
# opkg update
# opkg install <your custom package>

sshfs

dropbear does not support sftp, need to install sftp server

$ bitbake openssh
$ bitbake package-index

See create local feed above

# opkg install openssh-sftp-server

from your host you can then mount the embedded system

$ sshfs dssip:/ /tmp/test2
$ ls /tmp/test2/
bin   dev  home  lost+found  mnt   run   sys  usr  www
boot  etc  lib   media       proc  sbin  tmp  var

to automate installation after each update:

# cd /etc/systemupdate/user-post-update.d
# ln -s ../user-handler-examples/install-packages .

Build OE

We are in transition to Yocto, but currently still need OE-core for our dss11/dss11-1GB platforms
oecore is very old and does not compile on most current platforms any more. Please use the docker image to build

$ cd oe-core-env
$ ./run.sh

Start with the README