This image is not in development anymore. Please refer to the openSUSE upstream image instead.
This repository contains scripts for building an openSUSE image for the Allwinner D1. This work is heavily inspired by the excellent riscv-arch-image-builder.
- OpenSBI
- U-Boot
- Kernel
- WiFi driver (rtl8723ds)
- openSUSE Tumbleweed JeOS root fs (root password is
linux
)
This guide assumes you are using an up-to-date installation of openSUSE Tumbleweed.
Install build dependencies:
sudo zypper install -t pattern devel_basis
sudo zypper install cross-riscv64-gcc12
Run the compile script which places the build-output in the output
folder:
./1_compile.sh
Flash to an SD card (or loop device):
./2_create_sd.sh /dev/<device>
dd if=/dev/zero of=opensuse-d1.img bs=1M count=<size of image in MB's> status=progress
sudo losetup -f -P opensuse-d1.img
Then find out which /dev/loop*
device was chosen using lsblk
.
- Allwinner Nezha
- ClockworkPi R01
- DongshanPi Nezha STU
- MangoPi MQ-Pro
- Sipeed Lichee RV