Hacker News new | past | comments | ask | show | jobs | submit login

Yeah it's already legacy hardware, it should be comparing against the Zero 2 if anything, the original Zero was comically underpowered.

But the speed is all but irrelevant, the issue with these alternative boards is always in software support. No point in using them even if they're twice as fast if I can't apt get anything and have to compile shit from source wasting 10 times as much time. Is there even an arch tag for riscv yet like armhf and arm64? I'd assume there is, but I can't find it and the support is likely to be abysmal this early on.




Debian, Ubuntu, and Fedora have had distributions for many years. Others like FreeBSD, etc also exist. I often take a break and spend a day working entirely on a RISC-V host (BeagleV beta). Everything I care about work 100% the same, most notably Emacs and all the dev tools (Rust, C, Haskell).

The only thing that I hit in the (old) Fedora 33/RISC-V is Firefox's lacking support for WASM, but that could be working in the latest version.

If you want to try it for yourself under QEMU, I'd recommend following the instruction here: https://wiki.ubuntu.com/RISC-V


> Introduced 2010; 12 years ago

Ok, am I going completely mad? Feels like the first RISC-V a person could actually buy released shortly before the pandemic...


SiFive released the Linux capable RISC-V dev kits years ago and for long time now there has been many options besides what SiFive offers. Only few however are “cheap”.

Maybe not mad, but certainly not very good at searching.

CORRECTION: 2010 was the _founding_ of the RISC-V project. I don't have the date of the 1.0 release, but nobody would ship hardware based on a 1.0. Release 2.2 (user)/1.11 (priv) wasn't released until 2018! Light of this, hardware is actually coming out pretty quickly.

Hardware is expensive and takes a long time. In comparison, Arm was founded in 1990. When was the first Linux-capable Arm-based dev board available for purchase?

I'm probably as unhappy with the delays as anyone, but the momentum has not slowed and better options _will_ become available for sale.


Advanced RISC Machines Ltd was founded in 1991, but one of their parent companies (Acorn) had already shipped over 100,000 ARM-based desktop computers at that point.

The RISC-V ISA design was started in 2010. The ARM ISA design was started in 1983.


> Arm was founded in 1990. When was the first Linux-capable Arm-based dev board available for purchase?

I think the first Linux-capable ARM-based dev board was available for purchase in 01989: the Acorn/BBC A3000 had an ARM2; the outdated https://www.arm.linux.org.uk/machines/riscpc/ says, "The support for these machines is now beginning to become increasingly difficult, however there is still support for them in the Linux kernel."

This is misleading in two ways:

1. Linux didn't yet run on it, since it hadn't been written yet; the effort to port Linux to ARM started in 01994: https://www.arm.linux.org.uk/docs/history.php

2. Advanced RISC Machines, Ltd., was spun out of Acorn in 01990, but the Acorn RISC Machine project started in 01983 and the ARM1 was first fabbed successfully in 01985. So the A3000 was shipped six years after the design effort began and four years after the first working ARM hardware.

https://riscv.org/exchanges/boards/ claims, "Nezha is a AIoT development board customized by AWOL based on Allwinner’s D1 chip. It is the world’s first mass-produced development board that supports 64bit RISC-V instruction set and Linux system." I find this hard to believe because the D1 just came out a year or two ago and I think the SiFive "HiFive Unleashed" shipped in 02018, and the "SiFive Freedom U540" was announced in 02017 https://linuxgizmos.com/sifive-launches-first-risc-v-sbc-tha... after SiFive launched in 02016 https://www.wsj.com/articles/backers-of-open-source-chips-la.... Seems like they had Linux-capable chips sampling later in 02016: http://web.archive.org/web/20160915000420/http://hackerboard...


Your use of zero before the actual year, as though you’re a COBOL-addled Long Now fanatic, makes me want to think the value is in octal. C brain damage on my part, no doubt.


Me too, me too. If only I could blame my brain damage on COBOL...

Remember that 8 and 9 haven't been valid as octal digits since the ANSI standard.


D1 is indeed the first mass-produced Linux-capable RISC-V SoC.

SiFive made something like 500 HiFive Unleashed boards and probably 2000-3000 HiFive Unmatched. They all used effectively prototype chips, made on MPW / Shuttle run.

When the D1 came out I heard the initial production batch was 2 million chips. As with the SoCs that go into Raspberry Pis, the SBCs are a side-line.


Thank you for explaining! I understand much better now.


We are maintaining an Arch Linux RISC-V port with ~85% of all Arch repo's packages ported, see our work at: https://archriscv.felixc.at

Currently we already finished porting Chrome (thanks to openSUSE!) & Firefox, and Libre Office is on the todo list


Oh awesome, thanks for sharing. Some time ago I couldn’t find anything that looked like an active arch port. Any interesting challenges in doing this?

ADD: OpenSUSE! how could I forget. Truly we are spoiled for choice today. I remember not that long ago it was

  * Buildroot
and nothing more.


Indeed there're some challenging packages that we've made great efforts to port, and those efforts mainly happened at upstream level: adding RISC-V support for ldc, for chromium V8 (rv64 & rv32, both as joint efforts, great thanks to my college luyahan), for lldb-server (WIP), and crystal (WIP), etc.

As soon as upstreams accept our PRs, all distros with RISC-V port can benifit from them, which IMO sounds like a better porting style than keeping a huge patch in downstream Arch-specific repo :-D

BTW we also have an CI/CD available for upstream opensource developers to monitor their builds: https://ci.rvperf.org


Indeed, Chromium was one of the hard ones. Thanks again for your efforts.

What is "ldc"?

I'll keep an eye on https://archriscv.felixc.at/ and try out the current rootfs.


Glad to hear that you'd like to try! You can report issues at https://github.com/felixonmars/archriscv-packages

ldc refers to the LLVM-based D Compiler: https://github.com/ldc-developers/ldc


It would great if your page could include instructions for how to try this (Ubuntu does this very well - https://wiki.ubuntu.com/RISC-V) or at least a pointer to steps to follow, thanks.


Sorry for the late response. Actually there're some useful guides inside the repo's wiki (ugh I should have mentioned them in the first place).

I think you can start from here: https://github.com/felixonmars/archriscv-packages/wiki/Setup...


Still here :) Thanks for the follow up, I’ll try again.


I've been using a RPi 4 with 8GB RAM and Ubuntu Mate as the OS for a full year now as my daily workstation. I code, I design... even video-editing and opening multiple tabs with YouTube works perfectly fine (although maybe not as fast as a beefier machine).

P.S. Besides, it's perfectly silent, since a passive aluminum cooling block with a rib structure cools it enough.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: