Tag Archives: fedora

Part 2: LWN article on Fedora/RISC-V


Part 1 was here: https://lwn.net/Articles/749185/


1 Comment

Filed under Uncategorized

Part 1 of my article on RISC-V on LWN


I think part 2 will be next week.

LWN is a great publication, everyone should support it by subscribing.


Filed under Uncategorized

Fedora/RISC-V: ssh and dnf working


$ ssh -p 10000 root@localhost
root@localhost's password: riscv
[root@stage4 ~]# uname -a
Linux stage4 4.15.0-rc9-00064-gf923ce3a29af #1 SMP Thu Feb 15 10:59:13 GMT 2018 riscv64 riscv64 riscv64 GNU/Linux
[root@stage4 ~]# dnf install glibc-devel
Last metadata expiration check: 0:03:38 ago on Wed 21 Feb 2018 15:24:07 UTC.
Dependencies resolved.
 Package                  Arch          Version               Repository   Size
 glibc-devel              riscv64       2.27-4.fc28           local       1.0 M
Installing dependencies:
 glibc-headers            riscv64       2.27-4.fc28           local       442 k
 kernel-headers           noarch        4.15.0-1.fc27         local       1.1 M
 libpkgconf               riscv64       1.4.1-1.fc27          local        74 k
 libxcrypt-devel          riscv64       4.0.0-4.fc28          local        15 k
 pkgconf                  riscv64       1.4.1-1.fc27          local        35 k
 pkgconf-m4               noarch        1.4.1-1.fc27          local        15 k
 pkgconf-pkg-config       riscv64       1.4.1-1.fc27          local        14 k

Transaction Summary
Install  8 Packages

Total download size: 2.6 M
Installed size: 7.4 M
Is this ok [y/N]: 

Leave a comment

Filed under Uncategorized

Fedora/RISC-V: Runnable stage 4 disk images

We’ve now got:

  1. An autobuilder.
  2. A multithreaded QEMU.
  3. A Fedora RPMs repository.
  4. A bootable disk image.

It’s unpolished and minimal at the moment, but what you can do today (if you have a Fedora 27+ x86_64 host):

  1. Enable the rjones/riscv copr and install riscv-qemu.
  2. Download the stage4-disk.img, and bbl and uncompress the disk image.
  3. Run this command:
    qemu-system-riscv64 \
        -nographic -machine virt -m 2G -smp 4 \
        -kernel bbl \
        -append "console=ttyS0 ro root=/dev/vda init=/init" \
        -device virtio-blk-device,drive=hd0 \
        -drive file=stage4-disk.img,format=raw,id=hd0 \
        -device virtio-net-device,netdev=usernet \
        -netdev user,id=usernet
  4. Inside the guest drop a repo file into /etc/yum.repos.d containing:
  5. Use tdnf --releasever 27 install ... to install more packages.


Filed under Uncategorized

Fedora/RISC-V: the final bootstrap

There are bootable (but very minimal) disk images built cleanly from RPMs: https://fedorapeople.org/groups/risc-v/disk-images/

More soon …

1 Comment

Filed under Uncategorized

RISC-V Tokyo

Today (was) RISC-V Day 2017 Tokyo at the University of Tokyo (programme in English, more information in English). My colleague Wei Fu gave a talk on the status of Fedora on RISC-V. I hope it was recorded somewhere. If it appears online I’ll update this post.

1 Comment

Filed under Uncategorized

Fedora 27 virt-builder images

Fedora 27 has just been released, and I’ve just uploaded virt-builder images so you can try it right away:

$ virt-builder -l | grep fedora-27
fedora-27                aarch64    Fedora® 27 Server (aarch64)
fedora-27                armv7l     Fedora® 27 Server (armv7l)
fedora-27                i686       Fedora® 27 Server (i686)
fedora-27                ppc64      Fedora® 27 Server (ppc64)
fedora-27                ppc64le    Fedora® 27 Server (ppc64le)
fedora-27                x86_64     Fedora® 27 Server
$ virt-builder fedora-27 \
      --root-password password:123456 \
      --install emacs \
      --selinux-relabel \
      --size 30G
$ qemu-system-x86_64 \
      -machine accel=kvm:tcg \
      -cpu host -m 2048 \
      -drive file=fedora-27.img,format=raw,if=virtio &

Leave a comment

Filed under Uncategorized