Tag Archives: fedora

HiFive Unleashed booting


1 Comment

Filed under Uncategorized

HiFive Unleashed for Fedora

I’m not even taking this precious cargo out of its static bag until I’ve got everything else ready …

Leave a comment

Filed under Uncategorized

Fedora/RISC-V running on the HiFive Unleashed board

Thanks to David Abdurachmanov and SiFive for these pictures.

HiFive Unleashed Freedom U540 and their crowd-funding page.

Fedora/RISC-V and our downloadable and now bootable disk images.

Previously …


Filed under Uncategorized

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