RISE: Accelerate the development of open source software for RISC-V
linuxfoundation.eu
linuxfoundation.eu
[1] http://www.capstone-engine.org/
[1] https://gitlab.com/qemu-project/qemu/-/blob/master/disas/cap...
Whatever they're developing, they are doing in secret. Based on them having their strong teams, we can expect a very high performance RISC-V implementation.
It seems to have made the jump from nothing to rasp3B class hardware very fast so wouldn't be surprised if it overtakes all the other SBC gear soon
2: https://www.crowpi.cc/collections/crowpi/products/crowpi2-al...
1. https://www.alibaba.com/product-detail/DC-ROMA-RISCV-Laptop-... 2. https://www.tomshardware.com/news/risc-v-laptop-world-first
On the other hand there is already the PineTab-V (using JH7110 SoC, same as VisionFive 2, Star64, Milk-V Mars) and Sipeed are planning a laptop using their already-shipping Lichee Module 4A (the CPU daughterboard on the Lichee Pi 4A) which uses the same TH1520 SoC as the Roma is supposed to -- but Sipeed will ship (they have a great track record) and their price will be $300 to $500, not $1500.
https://github.com/simd-everywhere/simde/
There are still a ton of things to do to get the Debian riscv64 port going too:
https://wiki.debian.org/PortsDocs/New https://wiki.debian.org/Ports/riscv64
Just need to avoid the mistakes from the past: no absurd assembly code generators and no grotesque usage of a macro-preprocessor.
Or to just look at the output of your favorite compiler. Nobody has ever looked at the output of a compiler and thought it was good.
0. http://flint.cs.yale.edu/cs421/papers/art-of-asm/pdf/FORWARD...
Interesting times.
But I think it was with chatGPT 3, not 4, and we would have to think about a neural net trained to write assembly.
It would seem that first one would need a model that could consume arbitrary assembly and somehow discover it's intent, generate 'labels' (apologies if I'm misusing terms here,) and they feed the output into another model.
I thought the inverse has been the case for many years now..
But, where assembly is better: near zero planned obsolescence from compilers (since there are none), which is really a pain on the medium/long run, REALLY!
Writting assembly is not really about speed anymore nowdays, it is more about independence from those grotesquely and absurdely massive and complex compilers.
I think that compilers + human supervision results on the best assembly code gen.
Compilers are great at vectorization, but they can fail at very trivial examples, e.g.:
typedef struct { char a, b; } S;
void zeroB(S *s, size_t n) {
for (; --n; ++s) s->b = 0;
}Since I am more and more comfy at writing assembly, it is usually kind of less of a pain to write directly assembly than to refactor and comment compiler assembly output.
Then actually, they could generate amazing code, I would not care less: I am so much angry because of this manic and systemic planned obsolescence, I now try to code everything in assembly (avoiding grotesque assembly code generators and absurd usage of the macro preprocessor).
I write x86_64 assembly code, but I am confident porting to risc-v should be brutal but not that hard... and I kind of know, it will happen.
https://stackoverflow.com/questions/10990018/how-to-generate...
While I can compile and run ArcticFox on my AlphaServer with zero work, I dare anyone to try to compile Chrome (or Chromium) for any non-mainstream architecture, whether it's sparc64, earmv6hf, MIPS, RISC-V, whatever. I'll wait ;)
I run both on my VisionFive2.
RVSpace forum also has some threads re: people testing recent Firefox releases on other distros: Javascript JIT is recent in Firefox, and helps a lot.
Yes, the RISC-V software ecosystem has made significant progress during the last year. It has also made significant progress since VisionFive2's started shipping January, as it was the first mass-produced cheap RISC-V SBC.
I have experienced that ecosystem acceleration (it is not my first Linux-capable RISC-V hardware). Software got better really fast ever since VF2.
You need to understand the standard RISC-V boot process, and particularly how to configure u-boot. I assume you have serial port access, else I recommend grabbing a cp2104 based usb to ttl serial adapter from aliexpress (~$2). It is very hard to interact with u-boot and/or debug boot issues without.
The kernel is what gets difficult. You need a kernel that supports the VisionFive 2. I did compile mine from one of the trees maintained by people in the forum.
StarFive managed to get a lot of code merged upstream[0] in a short amount of time, but you'd be missing important features such as video output if you use that.
Once more patches get upstreamed and the UEFI effort gets console support (video output and usb keyboard), boot should be as easy as any modern PC, with Linux distributions generic install media simply working outright.