This is the general hardware specific BSP overlay for STLinux based devices. It should be used with openembedded-core (not old-style org.openembedded.dev).
This layer in its entirety depends on:
URI: git://git.openembedded.org/openembedded-core
branch: denzil
revision: HEAD
It is preferred that people raise pull requests using GIThub by forking the appropriate tree:
https://github.com/project-magpie/meta-stlinux.git
(More info on achieving this can be found at http://help.github.com/send-pull-requests/)
git clone http://git.yoctoproject.org/git/poky poky
cd poky
git checkout -b denzil remotes/origin/denzil
cd ..
git clone git://git.openembedded.org/openembedded-core oe-core
cd oe-core
git checkout -b denzil remotes/origin/denzil
git clone git://git.openembedded.org/bitbake bitbake
git checkout -b f8bf449 f8bf449
cd ..
git clone https://github.com/project-magpie/meta-stlinux.git meta-stlinux
# Initialize the oe-core build environment and edit configuration files
#
# This following command line line will create your build directory, setup your build environment,
# automatically place the current work directory inside the build dir and
# print out some useful information on how to bitbake packages.
# You can rerun this command every time you want to re-setup your build environment!
source poky/oe-init-build-env spark-build
vim conf/bblayers.conf
...
BBLAYERS ?= " \
${TOPDIR}/../oe-core/meta \
${TOPDIR}/../meta-stlinux \
"
...
vim conf/local.conf
...
# Currently only spark hardware is supported
MACHINE ??= "spark"
...
PACKAGE_CLASSES ?= "package_ipk"
...
bitbake core-image-minimal
For the coprocessor firmware loading you have to provide the coprocessor firmware. Put the files either in the folder /data/stslave_fw/${MACHINE} or overwrite the variable "BINARY_STSLAVE_FW_PATH" in your conf/local.conf file. These files are audio.elf and video.elf. For spark this looks like this:
- /data/stslave_fw/spark/video.elf
- /data/stslave_fw/spark/audio.elf
These files can be extracted from a alternative image and are not part of this repository.
Currently the only supported boot mechanism is booting a USB Stick. Fore more information have a look at this wiki page: Boot-from-USB-Stick
Layer maintainer: Christian Ege (graugans) k4230r6 at googlemail.com