Giter VIP home page Giter VIP logo

garage-quickstart-rpi's Introduction

ATS Garage Quickstart

This repo is provided as a first Yocto build project to use with ATS Garage. A more detailed guide to the project is available in the ATS Garage documentation.

Getting started

Clone the repo and source the environment in the following way:

git clone --recursive [email protected]:advancedtelematic/garage-quickstart-rpi.git
cd garage-quickstart-rpi
source env-init.sh [architecture]

Currently supported values for architecture are raspberrypi and qemux86-64. If you don’t specify an architecture, raspberrypi will be used as a default.

You are now ready to build a Raspberry Pi or QEMU image.

Raspberry Pi

To build the image, issue:

bitbake rpi-basic-image

To write the image to a SD card, do the following:

sudo dd if=./tmp/deploy/images/raspberrypi3/rpi-basic-image-raspberrypi3.rpi-sdimg-ota \
          of=/dev/sdX bs=32M && sync
sudo parted -s /dev/sdX resizepart 2 '100%'
sudo resize2fs /dev/sdX2

Qemu

To build the image, issue:

bitbake core-image-minimal

You’ll need to add a sota.toml to the image; refer to the ATS Garage documentation for details.

To boot the image inside qemu, use the following shell script:

./meta-updater-qemux86-64/scripts/run-qemu

garage-quickstart-rpi's People

Contributors

cajun-rat avatar epicnuts avatar gizero avatar leon-anavi avatar oytis avatar stevana avatar tkfu avatar

Watchers

 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.