Giter Club home page Giter Club logo

rose-config's Introduction

ROSE Build Configuration

Sets up a workspace for building the ROSE reference distribution using the OpenEmbedded build system.

License

These scripts and configuration files are distributed unter the MIT License.

System Requirements

For general system requirements, please refer to the Yocto Project documentation.

The following packages are needed in addition:

python3-venv

Users Guide

The following steps show, how a ROSE image can be built for the Raspberry Pi 4.

Fetching the source

mkdir rose
cd rose
python3 -m venv .venv
. .venv/bin/acivate
pip install west
west init -m https://github.com/rose-project/rose-config
west update

Build

cd rose
. config/build-env

This sets up the build environment and switches to the build dir. If the build dir does not yet exist, if also initializes build configuration files in build/conf.

To run a build simply call:

bitbake rose-image

After successful built, there should now be an image file tmp-glibc/deploy/images/raspberrypi4/rose-image-raspberrypi4.rootfs.wic.bz2.

Flashing an SD-Card

The image can be copied to an SD-Card e.g. using bzcat:

WARNING: Make sure to use the right block device e.g. with lsblk. You will overwrite data somewhere else on your computer otherwise.

sudo -s
bzcat tmp-glibc/deploy/images/raspberrypi4/rose-image-raspberrypi4.rootfs.wic.bz2 > /dev/sdX
sync
exit

Now plug the SD card to your Raspberry Pi and power it up. If you connect a monitor via HDMI you should get a console where you can run e.g. the kmscube demo application.

Login user is root.

A serial console is available through the Rapsberry Pi IO header.

Change ROSE Revision

The west tool will manage the revision of the sources to fetch using its manifest file in the subdirectory config. This subderectory contains the rose-config git repository. To change to a different revision of ROSE, you change configuration by fetching a different revision of rose-config and then calling west update again.

rose-config's People

Contributors

josefr avatar

Watchers

 avatar  avatar

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.