openSUSE:RISC-V

Jump to: navigation, search

RISC-V is the free and open RISC instruction set architecture developed by the RISC-V Foundation.

openSUSE images

Susemini.png
Version:
Tumbleweed (Factory)
http://download.opensuse.org/ports/riscv/tumbleweed/images/


The port is still under heavy development and considered an early preview. The provided images can be used on normal PCs with qemu userspace CPU emulation on a regular Tumbleweed installation.

Install qemu and systemd-machined:

 # zypper in qemu-linux-user systemd-container

Register qemu as handler for RISC-V binaries:

 # qemu-binfmt-conf.sh

Prepare systemd-nspawn to not use private networking (see man 5 systemd.nspawn):

 # mkdir /etc/systemd/nspawn
 # cat > /etc/systemd/nspawn/riscv.nspawn << EOF
 [Network]
 Private=off
 [Exec]
 PrivateUsers=off
 EOF

Download a RISC-V container and register in machined:

 # machinectl pull-tar --verify=no \
   http://download.opensuse.org/ports/riscv/tumbleweed/images/openSUSE-Tumbleweed-RISC-V-JeOS.riscv64-rootfs.riscv64.tar.xz \
   riscv

Boot the container:

 # machinectl start riscv

Get a shell:

 # machinectl shell riscv

Have a lot of fun...