This repo is based on the pattern from https://github.com/gokrazy/kernel and https://github.com/anupcshan/gokrazy-rock64-kernel.
This repository holds a pre-built Linux kernel image for the CV1800B-based Milk-V Duo, used by the gokrazy project.
The files in this repository are picked up automatically by gokr-packer, so
you don't need to interact with this repository unless you want to update the
kernel to a custom version.
| File | Description |
|---|---|
vmlinuz |
Compressed Linux kernel image (LZMA, RISC-V 64-bit) |
cv1800b-milkv-duo.dtb |
Device tree blob for Milk-V Duo |
fip.bin |
Firmware Image Package (ARM Trusted Firmware + U-Boot) |
boot.cmd |
U-Boot boot script source |
boot.scr |
Compiled U-Boot boot script |
cmdline.txt |
Kernel command line |
config.txt |
Kernel configuration (for rebuild) |
First, install docker.
Then, build a new kernel - takes about 5 minutes.
go run ./cmd/gokr-rebuild-kernel/kernel.go
go run ./cmd/gokr-rebuild-fip/fip.go