[cfarm-users] RISC-V emulated systems available in BETA
eligis at orange.fr
Sat Nov 21 06:55:40 CET 2020
It's very cool to have a working and up to date Debian Risc-V emulated
directly accessible form Web. It's really nice to have both gcc and clang.
X-mas comes earlier this year it was near the top on my wish list (A RPI
like fueled with a Risc-V is still on top).
I've just compiled the wonderful Tiny CC compiler (I modestly contribute) on
it and it works like a charm.
Are you planning a Risc-V 32 port the same way?
From: cfarm-users [mailto:cfarm-users-bounces at lists.tetaneutral.net] On
Behalf Of Baptiste Jonglez via cfarm-users
Sent: Friday, November 20, 2020 21:05
To: cfarm-users at lists.tetaneutral.net
Cc: Baptiste Jonglez
Subject: [cfarm-users] RISC-V emulated systems available in BETA
I have just setup emulated RISC-V systems running Debian, accessible to all
farm users over SSH. They are not shown yet in the list of machines, here
are the connection details (~/.ssh/config format):
It's still in BETA, but it seems to be working nicely so far.
All data in /home is shared with the host, gcc140. It means you can edit
files and prepare your work on gcc140 (it will be faster because there is no
emulation), and then run your builds by connecting to one of the RISC-V
- absolutely no service is running in the containers, except sshd
- in particular, cron is not yet supported
- all host CPU cores are usable, so please limit the number of
concurrent jobs (usual rules  apply)
- I plan to rebuild the images regularly, which means rebooting the
containers: any long-running task might be interrupted. Data in
/home will of course be preserved when upgrading.
The images are built using mmdebstrap  and the resulting rootfs is run in
Docker with qemu-user-static.
The idea is that you can reproduce this yourself if you want to run such
emulated containers locally, everything is documented . But it's still
nice to have this as a service in the farm (easy access to a host with fast
CPU / lots of memory, thanks to OSUOSL).
Please let me know if you find this service useful or if you want to help
adding another OS, or if you run into issues. For instance, I'm interested
to know if an emulated container is not enough for some use-cases.
Emulating full virtual machines is possible  and planned, but it's more
challenging to integrate in the farm.
More information about the cfarm-users