Giter Club home page Giter Club logo

meta-raspi2-example's Introduction

meta-raspi2-example

This README file contains information on configuring and building a Linux distribution for the Raspberry Pi 2

In your Ubuntu machine or VM terminal:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install build-essential gettext bison libfile-slurp-perl gawk libncurses-dev autoconf flex doxygen libtool automake libpcre3-dev zlib1g-dev libbz2-dev subversion minicom putty libssl-dev rpm python-pexpect python-svn python-argparse vim tofrodos meld dos2unix cmake uuid-dev ruby transfig libglib2.0-dev xutils-dev lynx-cur gperf autopoint python-dulwich python-dev curl vim diffstat texinfo chrpath openjdk-7-jre sed wget cvs git-core coreutils unzip texi2html libsdl1.2-dev docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial groff tree
sudo dpkg-reconfigure dash ### select 'no'
git clone -b fido git://git.yoctoproject.org/poky.git
cd poky
git clone -b fido git://git.openembedded.org/meta-openembedded.git
git clone git://git.yoctoproject.org/meta-raspberrypi.git
git clone https://github.com/leon-anavi/meta-weston-rpi.git
git clone https://github.com/s-maynard/meta-raspi2-example.git
echo "TEMPLATECONF=${TEMPLATECONF:-meta-raspi2-example/conf}" > .templateconf
source oe-init-build-env
bitbake example-image

Additional Information

  • The boot splashscreen is located in recipes-core/psplash. To modify the image, replace psplash-img.png
  • The IP address information printed above the login prompt is controlled by the scripts in recipes-extra/info
  • The user creation on first boot is controlled by the scripts in recipes-extra/setup
  • Build information will be stored on the image root filesystem in /etc/build.

To dd a RaspberryPi image from mac shared folder to sdcard

  • from the VM on the mac:
    sudo cp tmp/deploy/images/raspberrypi2/example-raspberrypi2.rpi-sdimg /media/sf_shared/
  • from the terminal on the mac (after the sdcard has been inserted):
    make sure your sdcard is disk2!
    sudo diskutil list
    sudo diskutil unmountDisk /dev/disk2
    sudo dd if=/Users/smaynard/shared/example-raspberrypi2.rpi-sdimg of=/dev/rdisk2 bs=4m
    sudo diskutil unmountDisk /dev/disk2

meta-raspi2-example's People

Contributors

s-maynard 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.