Giter VIP home page Giter VIP logo

rbpi-minimal-boot's Introduction

Raspberry Pi Minimal Boot

The files in this project are the minimum required files for a Raspberry Pi to boot a linux kernel. This is useful if you want to quickly get your own kernel up and running without first downloading and installing something like NOOBS or Raspbian. It is not an alternative to either of those software!

Getting Started

  1. Put a blank SD card into your computer
  2. Copy all of the files in the "boot" directory of this project onto the SD card
  3. (Optional) Replace kernel.img with your own kernel
  4. (Optional) Edit cmdline.txt with command line parameters that need to be passed to the kernel
  5. Eject the SD card, pop it into yor Raspberry Pi and turn on the power

Note: Feel free to use the included kernel.img as a starting point, but all it does is alternately flash the PWR and ACT LEDs on a Raspberry Pi B+. (It likely will not do anything visibly noticeable on other models due to changes in the GPIO.)

What do the files do?

(Adapted from eLinux wiki)

  • bootcode.bin: This is used to retrieve the GPU firmware from the SD card, program the firmware, then start the GPU.
  • cmdline.txt: File for passing arguments to the Linux kernel
  • kernel.img: The linux kernel to run
  • start.elf: Once loaded, this allows the GPU to start up the CPU.

Why?

All the tutorials I was finding online suggested starting with a linux distribution, even if I didn't want to actually use the Rasberry Pi as a linux box. In my case, I wanted to get started with the Baking Pi tutorials, but they assume you have one of the pre-loaded SD cards.

rbpi-minimal-boot's People

Contributors

phillipjohnson avatar thinktt avatar

Watchers

 avatar  avatar  avatar

Forkers

thinktt

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.