Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (40 loc) · 1.64 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.64 KB

⚠ 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