Skip to content

seife/meta-stlinux

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 161 commits ahead of project-magpie:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Yocto BSP Layer - For STLinux sh4 based Set-Top-Boxes

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: http://git.yoctoproject.org/git/poky
branch: krogoth
revision: HEAD

How to use it with yocto

Clone poky

git clone http://git.yoctoproject.org/git/poky poky

Switch to dizzy branch

cd poky
git checkout -b krogoth origin/krogoth

Independent Steps from poky/oe-core

Clone meta-stlinux

git clone https://github.com/seife/meta-stlinux.git meta-stlinux

Initialize the oe-core build environment

# 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 oe-init-build-env spark-build

Add meta-stlinux in bblayers.conf

vim conf/bblayers.conf
...
BBLAYERS ?= " \
  /home/user/poky/meta \
  /home/user/poky/meta-yocto \
  /home/user/poky/meta-yocto-bsp \
  /home/user/poky/meta-stlinux \
"
...

Set MACHINE to spark and package type to ipk in local.conf

vim conf/local.conf
...
# Currently only spark hardware is supported
MACHINE ??= "spark"
...
PACKAGE_CLASSES ?= "package_ipk"
...

Run bitbake:

bitbake core-image-minimal

Prerequisite

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.

Caution!

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

Based on Christian Ege's excellent project-magpie, https://github.com/project-magpie/meta-stlinux

Layer maintainer: Stefan Seyfrid seife at tuxbox-git.slipkontur.de

About

Openembedded / Yocto meta layer for stlinux related recipes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 41.4%
  • BitBake 18.2%
  • NASL 16.5%
  • C++ 7.1%
  • Shell 6.8%
  • Pascal 5.9%
  • Other 4.1%