2022-03-23 09:18:38 +00:00
|
|
|
# Kernel for Raspberry Pi 32 bits, for usage in gokrazy
|
2022-03-23 10:53:53 +00:00
|
|
|
|
|
|
|
Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
GOARCH=arm ./gokr-packer \
|
|
|
|
-kernel_package=github.com/oliverpool/kernel-rpi-os-32/dist \
|
|
|
|
-firmware_package=github.com/oliverpool/firmware-rpi/dist \
|
|
|
|
-serial_console=disabled \
|
|
|
|
github.com/gokrazy/hello
|
|
|
|
```
|
|
|
|
|
|
|
|
## Manual compilation
|
|
|
|
|
|
|
|
```
|
|
|
|
go run cmd/compile/main.go
|
|
|
|
```
|
|
|
|
|
|
|
|
It will compile the kernel located in `linux-sources` and copy the resulting files in the `dist` folder.
|