-
Notifications
You must be signed in to change notification settings - Fork 12
Raspberry Pi 4 Debian
The following additional make
configuration flags are supported:
Variable | Required | Value type | Default value | Description |
---|---|---|---|---|
TARGET_DISTRO |
no | String | gentoo |
Define the target distribution for the firmware. |
DEBOOTSTRAP_URL |
no | String | http://deb.debian.org/debian/ |
Define the <url> of the debian source repository. |
DEBOOTSTRAP_RELEASE |
no | String | Stable |
Define the repository used from the debian source. |
Disclaimer: This implementation is still experimental, and does not guarantee a working system.
To build the default debian firmware for the Raspberry Pi 4 using Replica.one, first clone the main repository as described in docs/QUICKSTART.md
.
Prepare your build environment:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
Next, invoke the build process using make
:
make TARGET_DISTRO=debian CTARGET=aarch64-unknown-linux-gnu package_rpi4
Sample (cached) build can be seen here:
Replica.one can generate a custom debian firmware image according to the users needs based on multistrap(1)
.
The user chooses which packages will be installed by modifying the default repos/debian/rpi4/conf/multistrap.conf
file.
Modifying the multistrap
configuration file is done in accordance to the manual.
Examples of various configuration files can be found here.
WARNING: by default
multistrap
does not include systemd. Be sure to include it in the configuration.
A successful build will generate the following files in the output/
directory:
-
debian-arm64-raspberry-rpi4.img.xz
— XZ compressed raw firmware disk image
Please refer to Raspberry Pi 4.