Tag Archives: risc-v

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.

Advertisements

1 Comment

Filed under Uncategorized

Fabrice Bellard’s RISCVEMU supports Fedora/RISC-V

You can now boot Fedora 25 for RISC-V in Fabrice Bellard’s RISCVEMU RISC-V emulator. Here’s how in four simple steps:

  1. Download riscvemu-XXX.tar.gz and diskimage-linux-riscv64-XXX.tar.gz from Fabrice’s site.
  2. Download the latest stage 4 disk image for Fedora/RISC-V from here.
  3. Compile riscvemu. You should just need to do make.
  4. Run everything like this:
    ./riscvemu -b 64 ../diskimage-linux-riscv64-XXX/bbl.bin stage4-disk.img
    

If you’re going to do serious work inside the disk image then you’ll probably want to customize it with extra packages. See these instructions.

1 Comment

Filed under Uncategorized

virt-builder RISC-V edition

$ file builder/virt-builder
builder/virt-builder: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for 
GNU/Linux 2.6.32, BuildID[sha1]=184c9522f22abc5c325ac5a1ee2d272b225d5503, not stripped

Probably the least useful copy of virt-builder since there’s no qemu and no network. However it does demonstrate that we can now build large mixed C / OCaml binaries on RISC-V successfully.

1 Comment

Filed under Uncategorized

OCaml 4.04, RISC-V, S/390, POWER and more …

I pushed OCaml 4.04.0 to Fedora Rawhide last week. There are loads of new features for OCaml users, but the ones that particularly affect Fedora are:

  • New, upstream POWER (ppc64, ppc64le) backend, replacing the downstream one that we have maintained for a few years. I was quite apprehensive about this change because I had tried the new backend during the OCaml 4.03 release cycle and found it to be quite unstable. However the latest version looks rock solid and has no problem compiling the entire Fedora+OCaml software suite.
  • New, upstream S/390x backend. I actually found and fixed a bug, go me!
  • New, non-upstream RISC-V backend. I found a bug in this backend too, but it proved to be easy to fix. You can now install and run most of the OCaml packages on Fedora/RISC-V.

And talking about Fedora/RISC-V, it took a month, but the mass-rebuild of all Fedora packages completed, and now we’ve got about ⅔rds of all Fedora packages available for RISC-V. That’s quite a lot:

$ du -sh SRPMS/ RPMS/
31G	SRPMS/
27G	RPMS/

1 Comment

Filed under Uncategorized

ORCONF 2016 talks on RISC-V

Some of the talks from ORCONF 2016 which I’ve enjoyed recently.

BOOM core:

RISC-V update:

lowRISC project update:

Leave a comment

Filed under Uncategorized

Fedora/RISC-V is finished!

Ha ha only joking. However when we started out on building Fedora on the free RISC-V architecture, the goal we decided on was to get every package in the Fedora @Core group built.

I’m happy to announce that we have done that. Almost.

There are two mandatory packages that we’re not building, dracut and plymouth. Luckily neither are relevant to RISC-V at the moment since we’re not using an initramfs and there is no graphical boot device.

Another milestone is we have built more than 5,000 Fedora packages. Fedora has about 18,400 packages in total, so that’s a respectable chunk.

Here is what Fedora/RISC-V looks like when it is booting in QEMU:

cropped

Props to Stefan O’Rear, David Abdurachmanov for doing most of the real work.

14 Comments

Filed under Uncategorized

RISC-V bootstrapping: over 1,100 packages

$ ls -l SRPMS | wc -l
1172

The autobuilder is really getting though the package list, having attempted to rebuild nearly 4,000 so far.

Leave a comment

Filed under Uncategorized