GithubHelp home page GithubHelp logo

thecranston / asl_rpi_kernel_packager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajpaul25/asl_rpi_kernel_packager

0.0 1.0 0.0 25 KB

Kernel packager for Raspberry Pi. Customized for ASL.

Shell 100.00%

asl_rpi_kernel_packager's Introduction

ASL_rpi_kernel_packager

Kernel packager for Raspberry Pi. Customized for ASL.

This repository contains the build scripts and patches necessary to automatically build a set of kernel packages for the Raspberry Pi using RaspberryOS (Raspbian) sources. Unlike the original kernel packages, I've chosen to build separate packages for each of the 3 Raspberry Pi types and a metapackage that replaces/provides the official kernel package. I've worked around the issue of cross-compiling helper scripts that seems to plague most cross-compiled header packages by quickly cross-compiling the scripts after the kernel build, but before packaging.

The main build script takes care of downloading the cross-compilation tools, libraries, and kernel source. There are certainly some build depencdencies that I don't remember right now and will have to document later. Start with the standard kernel build/packaging dependencies.

This particular version is customized for ASL (AllStarLink) and includes the OSS kernel modules necessary for chan_usbradio and chan_simpleusb. This is a stop-gap measure until those channel modules can be migrated to Alsa.

To use this packager, clone the repository and run the main build script:

./build_rpi_kernel_package.sh {tag}

Where {tag} is the tagged version of the RaspberryOS kernel repository you'd like to target. The current list of tags is available at https://github.com/raspberrypi/linux/tags

As of this writing, the most current tag is raspberrypi-kernel_1.20200811-1

Building with docker

docker run -it debian:buster /bin/bash

apt update && apt install -y build-essential git equivs \
wget \
apt-utils \
flex \
bison \
bc rsync kmod cpio libssl-dev:native

git clone https://github.com/ajpaul25/ASL_rpi_kernel_packager.git

cd ASL_rpi_kernel_packager
./build_rpi_kernel_package.sh raspberrypi-kernel_1.20200811-1

asl_rpi_kernel_packager's People

Contributors

ajpaul25 avatar greend139 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.