Discussion RISC V Latest Developments Discussion [No Politics]

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

DisEnchantment

Golden Member
Mar 3, 2017
1,623
5,894
136
Some background on my experience with RISC V...
Five years ago, we were developing a CI/CD pipeline for arm64 SoC in some cloud and we add tests to execute the binaries in there as well.
We actually used some real HW instances using an ARM server chip of that era, unfortunately the vendor quickly dumped us, exited the market and leaving us with some amount of frustration.
We shifted work to Qemu which turns out to be as good as the actual chips themselves, but the emulation is buggy and slow and in the end we end up with qemu-user-static docker images which work quite well for us. We were running arm64 ubuntu cloud images of the time before moving on to docker multi arch qemu images.

Lately, we were approached by many vendors now with upcoming RISC-V chips and out of curiosity I revisited the topic above.
To my pleasant surprise, running RISC-V Qemu is smooth as butter. Emulation is fast, and images from Debian, Ubuntu, Fedora are available out of the box.
I was running ubuntu cloud images problem free. Granted it was headless but I guess with the likes of Imagination Tech offering up their IP for integration, it is only a matter of time.

What is even more interesting is that Yocto/Open Embedded already have a meta layer for RISC-V and apparently T Head already got the kernel packages and manifest for Android 10 working with RISC-V.
Very very impressive for a CPU in such a short span of time. What's more, I see active LLVM, GCC and Kernel development happening.

From latest conferences I saw this slide, I can't help but think that it looks like they are eating somebody's lunch starting from MCUs and moving to Application Processors.


And based on many developments around the world, this trend seems to be accelerating greatly.
Many high profile national and multi national (e.g. EU's EPI ) projects with RISC V are popping up left and right.
Intel is now a premium member of the consortium, with the likes of Google, Alibaba, Huawei etc..
NVDA and soon AMD seems to be doing RISC-V in their GPUs. Xilinx, Infineon, Siemens, Microchip, ST, AD, Renesas etc., already having products in the pipe or already launched.
It will be a matter of time before all these companies start replacing their proprietary Arch with something from RISC V. Tools support, compiler, debugger, OS etc., are taken care by the community.
Interesting as well is that there are lots of performant implementation of RISC V in github as well, XuanTie C910 from T Head/Alibaba, SWerV from WD, and many more.
Embedded Industry already replaced a ton of traditional MCUs with RISC V ones. AI tailored CPUs from Tenstorrent's Jim Keller also seems to be in the spotlight.

Most importantly a bunch of specs got ratified end of last year, mainly accelerated by developments around the world. Interesting times.
 

DisEnchantment

Golden Member
Mar 3, 2017
1,623
5,894
136
It's highly unlikely that RISC-V outright replaces all of it. Even if it did uproot ARM the open nature all but ensures that we get a similar problem all over again. In reality RISC-V just gets added to the end of your existing list.
It is one thing to debate about it in the forums, it is another thing when you develop products that use components from multiple vendors and each one needs a separate tool chain.
How many compilers, do you need for one product, how many debuggers. World is bigger than PC and mobile phones, how many MCUs in one satellite, or a plane or vehicle or a fridge are there?
How many compilers do you pay for, Altium, Windriver, GreenHills, Keil... how many OS, Integrity, QNX, FreeRTOS, it is very tiring.
Having one compiler clang or gcc to compile for everything is something your FAE at Renesas or Infineon would be dying to provide. Or even better, nothing to provide, everything is upstream
 
Reactions: Tlh97 and moinmoin

Mopetar

Diamond Member
Jan 31, 2011
7,936
6,233
136
I think you're making a rather large assumption that things will just work out in the best-case scenario that you've envisioned. Eventually some vendor will get the bright idea that they can offer a better product if they make some customization to the ISA and release some of their own tools to support their custom hardware. All of them will try to do this because the ones that can't live in a very cut throat market and have no leverage.
 

moinmoin

Diamond Member
Jun 1, 2017
4,975
7,736
136
I'll put it another way: Linux is a mess, highly fragmented with a lot of competing projects and ecosystems on different layers. But it still managed to become the primary focus for any effort where having an open source operation system is a requirement. Risc-V has the chance to achieve the same for open source CPUs.
 
Reactions: Tlh97 and Vattila

DisEnchantment

Golden Member
Mar 3, 2017
1,623
5,894
136
I think you're making a rather large assumption that things will just work out in the best-case scenario that you've envisioned. Eventually some vendor will get the bright idea that they can offer a better product if they make some customization to the ISA and release some of their own tools to support their custom hardware. All of them will try to do this because the ones that can't live in a very cut throat market and have no leverage.
Its a professional experience not an assumption.
Do you really think you get cutting edge C++17 support when you buy PIC or AVR MCUs?
All these people are so far behind with some compilers dating to previous century. Check the roots of CA850.
Try buying HW Debuggers next.
Having an ISA with support from latest and greatest GCC and clang means your code can be reuse across lots of MCUs and platforms. Same compiler. Not one off compiler never to be supported again.
This a a real problem which if you face one you would wish you have common or least popular ISA which a lot of vendors support which everyone can use. RISC V support in clang and GCC is thriving due to countless support from multiple companies.
You can even run qemu for RISCV target, which is a dream for many common MCUs.
 
Last edited:

Thala

Golden Member
Nov 12, 2014
1,355
653
136
Eventually some vendor will get the bright idea that they can offer a better product if they make some customization to the ISA and release some of their own tools to support their custom hardware. All of them will try to do this because the ones that can't live in a very cut throat market and have no leverage.

Thats what we are doing, we forked the toolchain because we are adding custom extensions to our RISC-V cores. However that is what everyone else doing as well in the microcontroller/embedded space.
 

desrever

Member
Nov 6, 2021
110
267
106
I'll put it another way: Linux is a mess, highly fragmented with a lot of competing projects and ecosystems on different layers. But it still managed to become the primary focus for any effort where having an open source operation system is a requirement. Risc-V has the chance to achieve the same for open source CPUs.
Linux is an anomaly rather than the rule. Linux is a small part of the much wider Linux ecosystem which developed with very specific circumstances. Originally, the open sourceness of it wasn't the attraction, it was the cost. Linux really got its popularity in servers due to low cost web servers and embedded devices where the cost of windows didn't make sense. I don't know the specifics on cost of using RISC-V vs ARM and it could do the same but I think the economics may not be as favourable.

I think the development of semiconductor engineering will move away from licensing the ISA directly and building your own blocks. Everyone licenses their IPs directly these days, the cost of the ISA when licensing an IP block is probably not significant so it will all come down to performance and support. RISC-V can definitely have a niche on the low end but I don't see it doing much to gain momentum outside of it. MIPS has been around for a long time and never went beyond low end embedded devices, theres not much the RISC-V offers today beyond what MIPS offered 20 years ago IMO.
 

Doug S

Platinum Member
Feb 8, 2020
2,318
3,663
136
I'll put it another way: Linux is a mess, highly fragmented with a lot of competing projects and ecosystems on different layers. But it still managed to become the primary focus for any effort where having an open source operation system is a requirement. Risc-V has the chance to achieve the same for open source CPUs.


Linux was able to do so because there wasn't much in the way of cheaply licensable alternatives, there was no "ARM" for embedded software where the cost of the OS became a minor consideration in your BOM. Had there been a dominant embedded OS with the feature set approximating that of Linux you could license for 10 or 20 cents per unit Linux would have had a lot harder time owning the market in devices like wireless routers and satellite DVRs. Linux took that market because of price, not openness. Most of those devices run a generic Linux kernel, with device drivers added as needed for e.g. wifi radios and satellite tuners, which are usually sourced from third parties.

They aren't using the "openness" to tweak it - they want to avoid that as much as possible because that makes it more work to upgrade to a newer version to keep ahead of security issues. They provide a link to the generic Linux kernel, use their third party provided binary only drivers, and their GPL obligation is covered so they don't have to pay a penny. That's why Linux is much more dominant in the embedded market than in the server market, where the price of the OS is a much smaller fraction of the TCO.

Price is the most important "feature" of RISC-V as far as those on razor thin profit margins are concerned, too. That's why it will see most of its success in the low end, and is not going to have even the slightest impact on servers or desktop/laptop - other than maybe Chromebook down the road.
 

moinmoin

Diamond Member
Jun 1, 2017
4,975
7,736
136
Linux was able to do so because there wasn't much in the way of cheaply licensable alternatives, there was no "ARM" for embedded software where the cost of the OS became a minor consideration in your BOM. Had there been a dominant embedded OS with the feature set approximating that of Linux you could license for 10 or 20 cents per unit Linux would have had a lot harder time owning the market in devices like wireless routers and satellite DVRs. Linux took that market because of price, not openness.
You couldn't be farther off. Linux became the open source focus even though there were even "more free" OSes available in all the BSD variants. And the reason why Linux turned to dominate despite the BSD alternatives, while in this exact way fostering an open source ecosystem with participants from all possible areas, can show you what's possible with Risc-V that's not with all other major ISAs.

Linux is an anomaly rather than the rule. Linux is a small part of the much wider Linux ecosystem which developed with very specific circumstances. Originally, the open sourceness of it wasn't the attraction, it was the cost. Linux really got its popularity in servers due to low cost web servers and embedded devices where the cost of windows didn't make sense.
Strongly disagree. Maybe you are too young, but cost doesn't even enter the picture if the OS has bad support, be it software or hardware. Linux's first breakthrough wasn't being cheaper than other solutions but being popular enough that in cases where it could be considered cheap it already included the necessary hardware support through voluntary contributors that already worked on it. And that initial software and hardware support only happened because it's open source. More specifically (and contrary to all the BSD variants) it's open source that rewards voluntary contributors by always keeping the source open (in contrast to efforts for BSD variants where any development can be turned closed source again) which is what fostered the whole open source ecosystem. Commercial players that purely looked at the cost joined only later (and reluctantly, IBM's involvement was a sensation, Balmer called the whole open source ecosystem a cancer back then).

MIPS has been around for a long time and never went beyond low end embedded devices
As said before MIPS also uses a proprietary license. That excludes any kind of dedicated open source ecosystem from the very beginning.

I've been here more than two decades (scary). Think the forum can last another 22 years?
I'm kinda afraid that the forum outlasts the site it's for.
 

Doug S

Platinum Member
Feb 8, 2020
2,318
3,663
136
You couldn't be farther off. Linux became the open source focus even though there were even "more free" OSes available in all the BSD variants. And the reason why Linux turned to dominate despite the BSD alternatives, while in this exact way fostering an open source ecosystem with participants from all possible areas, can show you what's possible with Risc-V that's not with all other major ISAs.

You don't explain why you think Linux beat the BSDs despite being "less free" in a licensing sense.

Cost wise Linux and BSD are equally free, and cost is the reason why Linux succeeded where it did and failed where it did. If it was about licensing freedom, BSD would have won.
 

Thala

Golden Member
Nov 12, 2014
1,355
653
136
And the reason why Linux turned to dominate despite the BSD alternatives, while in this exact way fostering an open source ecosystem with participants from all possible areas, can show you what's possible with Risc-V that's not with all other major ISAs.

The problem you neglect is, that the major difference between Linux and RISC-V is, that in case of RISC-V only the ISA is free but not necessarily the implementations. In case of Linux the interfaces AND the implementation is free. As example, SiFive is not openly disclosing the implementations but they are asking for license fees - there is nothing free about the SiFive RISC-V cores. In contrast the Linux implementation is open and free.
 

moinmoin

Diamond Member
Jun 1, 2017
4,975
7,736
136
You don't explain why you think Linux beat the BSDs despite being "less free" in a licensing sense.

Cost wise Linux and BSD are equally free, and cost is the reason why Linux succeeded where it did and failed where it did. If it was about licensing freedom, BSD would have won.
I clumsily tried to. It is the "less free" libre licensing terms that ensures the whole ecosystem around Linux couldn't be locked out suddenly. Linux got to where it is now not through corporate and commercial support but through voluntary contributors. And that made the difference. The different BSD variants on the other hand have way smaller communities and rely much more on corporate support by a few companies that in turn rely on the ability of closing the sources again (to include proprietary IPs or whatever).

The problem you neglect is, that the major difference between Linux and RISC-V is, that in case of RISC-V only the ISA is free but not necessarily the implementations. In case of Linux the interfaces AND the implementation is free. As example, SiFive is not openly disclosing the implementations but they are asking for license fees - there is nothing free about the SiFive RISC-V cores. In contrast the Linux implementation is open and free.
That's indeed an issue I see as well, especially that while there are plenty of open source implementations, the lack of libre licenses may lead to overall less continued open development on them. That would be unfortunate since there are quite some implementations to work with.

Open source implementations of Risc-V CPUs I'm aware of:
 
Reactions: Vattila

Zor Prime

Golden Member
Nov 7, 1999
1,018
587
136
Not sure what you are talking about. You can build and run ARM64 builds of Haiku OS right now, while on RISC-V only parts of the bootloader works. You are right, the ARM64 build still has lots of issues but its far more advanced than the RISC-V build.
My bad, it was my understanding Haiku OS was getting to desktop on RISC-V. I must have been looking at screenshots of something else then.

edit: Guess it wasn't my bad. RISC-V port did hit the finish line before ARM as evidenced here, almost a year ago.
 
Last edited:
Reactions: Vattila

DisEnchantment

Golden Member
Mar 3, 2017
1,623
5,894
136
Linux became the open source focus even though there were even "more free" OSes available in all the BSD variants. And the reason why Linux turned to dominate despite the BSD alternatives, while in this exact way fostering an open source ecosystem with participants from all possible areas, can show you what's possible with Risc-V that's not with all other major ISAs.
VxWorks, QNX and Integrity dominate mission critical systems. Then theres AUTOSAR, OSEK, FreeRTOS, Micrium, and countless proprietary ones
Not surprising but the vast billions of MCUs don't run Linux

VxWorks, Integrity added RISC-V support for a while now.

Open source implementations of Risc-V CPUs I'm aware of:
Missed one important one
C910 from Alibaba.

As said before MIPS also uses a proprietary license. That excludes any kind of dedicated open source ecosystem from the very beginning.
Looking at RISC-V Consortium members you can tell the ISA has lots of interest which MIPS could never have garnered.
Excluding Arm every design house is there.
 
Last edited:

nicalandia

Diamond Member
Jan 10, 2019
3,330
5,281
136
Impressive Specs for this CPU

Veyron V1 Highlights
  • Eight wide, aggressive out-of-order pipeline
  • 3.6GHz
  • 5nm process technology
  • 16 cores per cluster
  • High core count multi-cluster scalability (up to 192 cores)
  • 48MB of shared L3 cache
  • Advanced side channel attack mitigations
  • Comprehensive RAS features
  • System-level code profiling
  • Provided with IOMMU and Advanced Interrupt Architecture (AIA) system IP
  • SDK released with the necessary software already ported to Veyron
  • Veyron V1 Development Platform available

 

soresu

Platinum Member
Dec 19, 2014
2,721
1,921
136
I clumsily tried to. It is the "less free" libre licensing terms that ensures the whole ecosystem around Linux couldn't be locked out suddenly. Linux got to where it is now not through corporate and commercial support but through voluntary contributors. And that made the difference. The different BSD variants on the other hand have way smaller communities and rely much more on corporate support by a few companies that in turn rely on the ability of closing the sources again (to include proprietary IPs or whatever).


That's indeed an issue I see as well, especially that while there are plenty of open source implementations, the lack of libre licenses may lead to overall less continued open development on them. That would be unfortunate since there are quite some implementations to work with.

Open source implementations of Risc-V CPUs I'm aware of:
Not sure if you know about IIT Madras's RISC-V design project called SHAKTI but at least 2 cores have already been completed.

There is another program in India too called DIR-V which announced a Vega CPU some time ago.
 

Ajay

Lifer
Jan 8, 2001
15,628
7,955
136
WCCFTECH Just Posted the article.

I don't really like headlines like this. x86-64 is so dominate (in servers) that I think the title for these sorts of things should be "Plans to make inroads into the datacenter/cloud provider markets" - or the like.

Yes, it's a nit pick.
 

eek2121

Platinum Member
Aug 2, 2005
2,934
4,033
136
I have a RISC-V based SBC coming some time this month. It is almost as fast as the Pi 4 from a CPU performance standpoint and faster from a GPU standpoint. It also has native Linux kernel support being merged soon (if not already), and Ubuntu support as well.

RISC-V IMO is far more interesting than ARM or x86.
 

nicalandia

Diamond Member
Jan 10, 2019
3,330
5,281
136
I have a RISC-V based SBC coming some time this month. It is almost as fast as the Pi 4 from a CPU performance standpoint and faster from a GPU standpoint. It also has native Linux kernel support being merged soon (if not already), and Ubuntu support as well.

RISC-V IMO is far more interesting than ARM or x86.
RISC-V is indeed more interesting than ARM and x86 and I would say more important than any of those for the future of computing(at least from a ideological standpoint of making OpenSource Hardware and Software that will help humanity in the future). I hope RISC-V Succeeds.
 

moinmoin

Diamond Member
Jun 1, 2017
4,975
7,736
136
Not sure if you know about IIT Madras's RISC-V design project called SHAKTI but at least 2 cores have already been completed.

There is another program in India too called DIR-V which announced a Vega CPU some time ago.
No I didn't, thanks for mentioning these!


Vega doesn't appear to be open source though?
 
Reactions: soresu
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |