Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

(Raspberry Pi) Linux kernel build for gokrazy

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.linux
NotificationsYou must be signed in to change notification settings

gokrazy/kernel.rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository holds a pre-built Linux kernel image for the Raspberry Pi 3, Pi4, Pi 5 and Pi Zero 2 W, used by thegokrazy project.

The files in this repository are picked up automatically bythegok tool, so you don’t need to interact with this repositoryunless you want to update the kernel to a custom version.

gokrazy kernel repository map

repositorysourcedevices
gokrazy/kernel.rpiRaspberry PiPi 3, Pi 4, Pi 5, Pi Zero 2 W
gokrazy/kernelkernel.orgPi 3, Pi 4, Pi Zero 2 W
gokrazy/kernel.amd64kernel.orgPC x86_64, VMs
gokrazy/kernel.arm64kernel.orgPC arm64, VMs

Cloning the kernel repository

This repository clocks in at over 3 GB of disk usage, so you might want to cloneit as a shallow clone:

git clone --depth=1 https://github.com/gokrazy/kernel.rpi

Updating the kernel

First, follow thegokrazy installation instructions.

We’re using docker to get a reproducible build environment for ourkernel images, so install docker if you haven’t already:

sudo apt install docker.iosudo addgroup $USER dockernewgrp docker

Clone the kernel git repository:

git clone --depth=1 https://github.com/gokrazy/kernel.rpicd kernel.rpi

Install the kernel-related gokrazy tools:

GOBIN=$PWD/_build go install github.com/gokrazy/autoupdate/cmd/gokr-rebuild-kernel@latest

And build a new kernel (takes about 5 minutes):

(cd _build && ./gokr-rebuild-kernel -cross=arm64 -flavor=raspberrypi)

The new kernel is stored in the working directory. Usegok add . toensure the nextgok build will pick up your changed files.

About

(Raspberry Pi) Linux kernel build for gokrazy

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.linux

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp