Coder Social home page Coder Social logo

meta-xenomai's Introduction

This README file contains information on the contents of the meta-xenomai
layer collection.

Please see the corresponding sections below for details.

Dependencies
============

  URI: git://git.yoctoproject.org/poky.git
  branch: morty

Patches
=======

Please submit any patches against the meta-xenomai layer to the
xenomai mailing list ([email protected])
and cc: the maintainer:

Maintainer: Josef Holzmayr <[email protected]>

Table of Contents
=================

  I. Adding the meta-xenomai layers to your build
 II. Layer Contents
III. Usage
 IV. Using kas


I. Adding the meta-xenomai layers to your build
=================================================

1. run 'bitbake-layers add-layer meta-xenomai/meta-core'
2. run 'bitbake-layers add-layer meta-xenomai/meta-beaglebone

II. Layer Contents
==================

meta-core:
- the xenomai recipe infrastructure
- a recipe for the 4.4 kernel, to be enabled by BSP layers
- an image that contains the recommended testing utilites

meta-beaglebone:
- MACHINE definition "beaglebone-xenomai"
- an enablement recipe for the 4.4 recipe including defconfig for the
  beaglebone-xenomai machine

III. Usage
==========

After adding meta-core and a BSP layer (right now there's only meta-beaglebone
available, so probably that one!), build the xenomai-test-image.

In case of the beaglebone, the resulting image file 

tmp/deploy/images/beaglebone-xenomai/xenomai-test-image-beaglebone-xenomai.wic

can be directly dd'ed to a microSD card used to boot the BBB. The testing
procedure as recommended by Philippe Gerum is:

Assuming we are talking about testing Cobalt, a typical test would include:

- running the smokey test suite from the standard Xenomai distro
- running the per-skin test suites from lib/*/testsuite
- run some stability and performance tests, such as:

$ switchtest -s 200 -Q&
$ while :; do dd if=/dev/zero of=/dev/null bs=32M; done&
$ latency

all in parallel, for at least 12 consecutive hours.

switchtest is going to hammer the co-kernel badly, exercising the basic
mechanisms such as context switching, fpu handling and mode switching.

latency will reveal any unexpected latency spots, stressed by switchtest
and the dd loop which is known to cause massive cache eviction. Testing
with -t0 and -t2 is a must; -t1 may be skipped if the other ones are ok,
although it is always good to extend the test coverage as far as possible.

IV. Using kas
=============

The following part of documentation is essentially taken from
https://gitlab.denx.de/Xenomai/xenomai-images#building-target-images

Install `kas-docker` from the kas project: https://github.com/siemens/kas

    wget https://raw.githubusercontent.com/siemens/kas/master/kas-docker -P ~/bin/
    chmod a+x ~/bin/kas-docker

Furthermore, install docker and make sure you have required permissions to
start containers.

To build, e.g., the beaglebone-xenomai target inside Docker, invoke kas-docker like
this:

    kas-docker build kas.yml:board-beaglebone-xenomai.yml

meta-xenomai's People

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.