Coder Social home page Coder Social logo

ttracx / kernelbakery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from revolutionpi/kernelbakery

0.0 3.0 0.0 39.85 MB

Create custom kernel packages for Revolution Pi, seasoned to taste

Shell 0.04% C 93.73% C++ 5.84% Objective-C 0.31% Makefile 0.08%

kernelbakery's Introduction

This is a fork of the repository used by the Foundation to build kernel and
firmware packages for the Raspberry Pi: https://github.com/RPi-Distro/firmware

We use it to build kernels for the Revolution Pi and are providing it here
as a service to our users to allow building custom kernels.  The resulting
deb packages serve as drop-in replacements for the Foundation's packages.
Installation with deb packages is cleaner than just copying the kernel and
modules to the bare filesystem.

Unfortunately the Foundation's repo is huge (currently 5 GByte) as it includes
all their kernels and modules in binary form dating back to 2012.  That's why
this repo was stripped of the git history as well as files which can be rebuilt
from the kernel source tree.

Intended usage:
    apt-get install device-tree-compiler
    apt-get install gcc-arm-linux-gnueabihf
    apt-get install build-essential:native debhelper quilt
    git clone -b revpi-4.9 https://github.com/RevolutionPi/linux
    git clone https://github.com/RevolutionPi/piControl
    git clone https://github.com/RevolutionPi/kernelbakery
    cd kernelbakery
    LINUXDIR=$PWD/../linux PIKERNELMODDIR=$PWD/../piControl debian/update.sh
    dpkg-buildpackage -a armhf -b -us -uc

This procedure was tested successfully on Debian stretch amd64, but YMMV.
E.g. Ubuntu 16.04 is missing gcc-6, so instead of gcc-6-arm-linux-gnueabihf
you'll have to install gcc-5-arm-linux-gnueabihf and edit debian/update.sh
to replace arm-linux-gnueabihf-gcc-6 with arm-linux-gnueabihf-gcc-5.
Building the kernel with update.sh is idempotent.  If it fails, e.g. due to
compiler errors in piControl, just start it afresh.

kernelbakery's People

Contributors

l1k avatar mduckeck avatar

Watchers

James Cloos avatar Tommy Tracx 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.