Giter Club home page Giter Club logo

meta-stlinux's Introduction

OpenEmbedded 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: 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/)

How to use it with yocto (preferred)

Clone poky

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

Switch to denzil branch

cd poky 
git checkout -b denzil remotes/origin/denzil

Move to top folder

cd ..

How to use it with openembedded core

Clone openembedded-core

git clone git://git.openembedded.org/openembedded-core oe-core

Switch to denzil branch

cd oe-core
git checkout -b denzil remotes/origin/denzil

Clone bitbake into the oe-core folder

git clone git://git.openembedded.org/bitbake bitbake
git checkout -b f8bf449 f8bf449

Move to top folder

cd ..

Independent Steps from poky/oe-core

Clone meta-stlinux

git clone https://github.com/project-magpie/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 poky/oe-init-build-env spark-build

Add meta-stlinux in bblayers.conf

vim conf/bblayers.conf
...
BBLAYERS ?= " \
  ${TOPDIR}/../oe-core/meta \
  ${TOPDIR}/../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

Layer maintainer: Christian Ege (graugans) k4230r6 at googlemail.com

meta-stlinux's People

Contributors

sfteam avatar

Watchers

 avatar  avatar

Forkers

ovicenteguedes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.