GithubHelp home page GithubHelp logo

pirogoeth / rpi-kernel-build Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 236 KB

Docker container based on Ubuntu trusty created with the specific purpose of building the Raspberry Pi kernel.

License: The Unlicense

Shell 100.00%

rpi-kernel-build's Introduction

rpi-kernel-build

This Docker container was built with one idea in mind (similar to most other containers...)

Its entire purpose is to build and expose a Linux kernel, specifically for the Raspberry Pi. The build system pulls the kernel source and raspi firmware from the raspi Github account. AUFS source also gets pulled from Sourceforge and patched in to the kernel.

You can pass some environment variables in to the container when you run it:

  • AUFS_ENABLE => Whether or not to build the AuFS module with the kernel.
    • Default: YES
  • PARALLEL_OPT => Specify how many jobs / recipes Make should execute at once (# of processors * 1.5).
    • Default: 3
  • PLATFORM => Specify the platform to build.
    • Default: bcmrpi
    • Options:
      • bcmrpi - First generation Raspberry Pi.
      • bcm2709 - Second generation Raspberry Pi.
  • UPDATE_EXISTING => If USE_EXISTING_SRC=YES, also run a pull to update the sources.
    • Default: NO
  • USE_EXISTING_SRC => Make the build system use existing sources, if present.
    • Default: NO
  • USE_HARDFLOAT => Tells the build system whether or not to compile with gnueabihf or just use gnueabi.
    • Default: YES

This is still a work in progress, but it's making its way to a workable, usable state. Some things need to be migrated out of the build parts and into the actual build script that executes when the container is run.

Super easy to run. Just expose a volume for the kernel build and off you go:

docker run -it -d -v /hostpath/kernel:/kern maiome/rpi-kernel-build

There's a little bit more information here. Enjoy~

rpi-kernel-build's People

Contributors

pirogoeth avatar

Stargazers

Akinori Nakajima avatar

Watchers

 avatar James Cloos avatar Shawn Griffin avatar

Forkers

hofamilymaker

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.