No description
Find a file
2015-02-11 14:38:48 -05:00
debian hopefully fixes debuild arch issues 2015-02-07 07:40:28 -05:00
docs adds INSTALL docs 2015-02-07 12:26:46 -05:00
.gitattributes fix CRLF issues with debian overrides 2015-02-08 13:37:21 -05:00
.gitignore tweak kernel build steps 2015-01-28 20:36:24 -05:00
build.sh cache kernel git repos 2015-02-11 14:38:48 -05:00
install.sh adds install bash script 2015-02-07 12:25:55 -05:00
provision.sh hopefully fixes debuild arch issues 2015-02-07 07:40:28 -05:00
README.md update info in README about kernel-o-matic output 2015-02-08 23:45:04 -05:00
Vagrantfile Merge branch 'master' of github.com:adafruit/Pi_vagrant into debhelper 2015-02-08 13:33:46 -05:00

Adafruit's Raspberry Pi Kernel-o-Matic

kernel-o-matic

A detailed guide for using the Kernel-o-Matic can be found on The Adafruit Learning System. If you are familiar with Vagrant and VirtualBox, a brief overview of the build process can be found below.

Compiling The Raspberry Pi Kernel

Clone the git repo & start the vagrant box:

$ git clone https://github.com/adafruit/Adafruit-Pi-Kernel-o-Matic.git pi_kernel
$ cd pi_kernel
$ vagrant up

Once the vagrant box is up, SSH in:

$ vagrant ssh

Now that you are connected to the VM, use -h for a list of options:

~$ sudo adabuild -h
usage: adabuild [options]
 This will build the Raspberry Pi Kernel.
 OPTIONS:
    -h        Show this message
    -r        The remote git repo to clone
              Default: https://github.com/raspberrypi/linux
    -b        The git branch to use
              Default: Default git branch of repo
    -1        The config file to use when compiling for Raspi v1
              Default: arch/arm/configs/bcmrpi_defconfig
    -2        The config file to use when compiling for Raspi v2
              Default: arch/arm/configs/bcm2709_defconfig

Compile with default options:

~$ sudo adabuild

Compile adafruit-raspberrypi-linux using the rpi-3.15.y branch:

~$ sudo adabuild -r https://github.com/adafruit/adafruit-raspberrypi-linux -b rpi-3.15.y

A tar.gz archive will be available in the Kernel-o-Matic folder on the host machine after the custom kernel has been built. Copy the archive to your Pi and extact the contents. Installation instructions are included in the archive.