Giter Site home page Giter Site logo

pios's Introduction

PiOS

Getting Started

Ensure that you are using a Linux system (Native or WSL should both work) with all the specified dev dependencies installed. A setup script is coming in the future for Ubuntu and Arch.

After setting up the environment, create a directory build then run make should compile a new PiOS kernel image. Running make run should spin up a Raspberry Pi 1A+ emulator in QEMU and load the PiOS kernel.

To run the PiOS image on hardware, replace the kernel.img in the boot sector of a copy of Rasbian with the kernel.img in the build directory (Not working at the moment).

Dev Dependencies

  • make (build automation)
  • arm-none-eabi-gcc (compilation)
  • qemu-system-arm (emulation)
  • screen (serial port communication with hardware)

Note:

Do not run replace_img.sh and restore_img.sh if you don't know what exactly the scripts do!

Credits

Code used for booting (boot/boot.s) and uart serial communication (drivers/bcm2835-uart.c), and linking (linker.ld) are accredited to wiki.osdev.org.

Link to article: Raspberry Pi Bare Bones

pios's People

Contributors

sunkit02 avatar alexjbope avatar

Stargazers

Piotr Węgrzyn 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.