/opensuse-d1

Build openSUSE images for the Allwinner D1

Primary LanguageShellGNU General Public License v3.0GPL-3.0

⚠ DEPRECATION NOTICE ⚠

This image is not in development anymore. Please refer to the openSUSE upstream image instead.

Build openSUSE images for the Allwinner D1

neofetch

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.

Components

How to build

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>

Creating an image file and expose it as a loop 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.

Boards tested

  • Allwinner Nezha
  • ClockworkPi R01
  • DongshanPi Nezha STU
  • MangoPi MQ-Pro
  • Sipeed Lichee RV

Issues