11 ms·
RISC-V Pushes into the Mainstream
- eternityforest 4y agoRiscv seems really cool. It's come so much farther than I would have guessed and seems to have a bright future.
- psychphysic 4y agoIm a big supporter of RISC-V doing my best to buy the hardware where possible and use it. The biggest hindrance to it is lack of software and distro support. The VisionFive2 is a lovely board but so far we only have a barren bootrom. No idea of OpenGl, OpenCl work on it! Someone lied about distro support being confirmed. StarFive probably... But those lies could torpedo the whole project. The early days of android were bogged down with complaints of fragmentation, patchy support.
- rwmj 4y agoWe're actually waiting for VF2 boards to be delivered and then we'll have a go at porting Fedora 37.
- GoOnThenDoTell 4y agoThe star64 (from pine64) might have a better chance of being well-supported
- snvzz 4y agoWith the same SoC, it should be about identical support-wise. It just launched, give it time. The whole point of VisionFive 2 is precisely to get these boards to developers in large numbers so that it can all be bootstrapped.
- count 4y agoIt's been a while but nothing from pine64 was well supported without hacky 3rd party custom kernel rolls and the like, with no apparent effort to move stuff into mainline. I hope that's changed?
- opan 4y agoLook at the PinePhone, Pinebook Pro, and RockPro64. All have mainline support and you can run several distros on them. I consider them the gold standard in this space, although it's thanks largely to the community and not the actual company. Anything newer than RK3399 will probably take a few years to become very good, but I'm sure mainline support is in the cards so long as the device is popular enough and Pine64 can sell enough. (Their PineCube IP camera device was a failure in recent years) postmarketOS also does a lot in this space. Their developers often help to improve support for everyone on a board.
- count 4y agoI got them all when they came out (trying to help support the concept, even if execution wasn't quite there yet). I haven't used them in a while, because it was such a shitshow. Glad to hear things have gotten better, might need to dig them out of the closet.
- deleted 4y ago[deleted]
- mananaysiempre 4y agoIs there a decent hardware manual even for the first VisionFive, say to the extent the original BeagleBoards had one (even if the Pis never did)? I wanted to write a (slow) emulator that could at least boot the Ubuntu image into text mode, but I have absolutely no idea how it all hangs together beyond the SoC docs. For that matter, the page for the Unmatched doesn’t have a link to a hardware manual either.
- Vt71fcAqt7 4y ago>The biggest hindrance to it is lack of software and distro support. https://debian.starfivetech.com/ https://debian.starfivetech.com/ Ubuntu is working on it as well. May already be done I'm not sure As for software see RISC-V Summit 2022—StarFive's Efforts in Fuelling RISC V Software Ecosystem[0] There is a lot of work being put into this, not only by StarFive but by other companies, the Chinese government (via the Chinese Academy of Sciences), researchers and hobbyists (once boards arive). [0]https://youtube.com/watch?v=VfA2HLibOOY https://youtube.com/watch?v=VfA2HLibOOY
- andrekandre 4y agojust booted up in debian on the visionfive 2 just this night (flashed to an sdcard from that very same link above) though 4k monitors dont work yet from hdmi... seems some kind of bug...
- BlueTemplar 4y agoLet me guess : issues coming from recent monitors expecting DRM ?
- monocasa 4y agoI've heard that the first rev of the boards have some signal integrity issues that should be fixed in later revs.
- snvzz 4y ago>The VisionFive2 is a lovely board but so far we only have a barren bootrom. No idea of OpenGl, OpenCl work on it! It is the first raspberry-pi like <$100 RISC-V SBC, and it only started shipping to customers last week. It is also the first board with a large run (long thousands vs short hundreds). Maybe there's just one Debian image and little documentation on how to get it all up and running, but that's today. In a month, it'll be a different story. That's the whole point of getting these into the hands of developers.
- andrewclunn 4y agoApple brought their chipset in house, using ARM is a base, to control their supply chain, cut costs, and allow for a RISC based architecture (which honestly just makes sense now these days). The biggest hinderance to RISC-V adoption will be if ARM remains customizable, cheap (from an IP perspective), and has widespread adoption. Honestly, I'm okay if RISC-V remains somewhat niche, but provides the necessary market pressure to keep non-open competitors honest. There's a meta-benefit to open standards as well.
- GoOnThenDoTell 4y agoARM committed the sin of suing a really big customer of theirs, so there is likely some exit-seeking all around the industry
- klelatti 4y agoI’m not sure what else Arm is supposed to do if it believes that the really big customer has broken their contract with them? I actually think this ought to be a positive for customers who are clearly abiding by the terms of their contracts.
- GoOnThenDoTell 4y agoIt doesn’t matter which party is correct, its now added risk that ARM could be the bad actor
- klelatti 4y agoWhy if Arm is correct does that add a risk that it's the bad actor? Most firms will have legal departments can look at this case on its merits and decide whether or not Arm is acting in bad faith. If I'm another Arm customer I definitely don't want a competitor playing fast and loose with its Arm contract.
- smoldesu 4y ago
- solarkraft 4y agoI have an ESP32-C3 and it just works! Sadly I haven't found much new it enables yet either (because at this point Xtensa is quite well supported too).
- sircastor 4y agoRealistically, it doesn't really enable anything new. It's largely a replacement for the ESP8266. It has a few more features of course, but I think the point of early RISC-V products is that they're comparable to existing ARM (or other ISAs) products in their respective spaces. I like that the ESP32-C3 is a RISC-V chip, but I realized after playing with it for a week that it turned out to not mean much - that's probably because I'm a pretty simplistic user though.
- solarkraft 4y agoA few years ago the only Wifi MCU you could use Rust on was an obscure Realtek one - because it had an ARM core. Having a standard core would've been a great benefit back then, but it seems like nowadays all the tooling you need has been ported to their current architecture as well.
- sircastor 4y agoIf I go through my parts box it's not hard to find Wifi modules that require a substantial amount of config and in some cases a solid understanding of how WiFi works. And they were 10s of dollars a unit. I'm delighted that modules like the ESP8266 showed up and made it easy and shockingly cheap. There was a real windfall moment when Arduino syntax was ported to the 8266, and Espressif has really taken advantage of it.
- pclmulqdq 4y agoSeveral other ARM-based wifi MCUs existed from the major semiconductor companies (TI) and other competitors (Nordic Semi).
- tmpburning 4y ago[dead]
- jimmaswell 4y agoWhat's the elevator pitch for RISC-V? My intuition is that RISC was dead for good reason.
- RobotToaster 4y ago>My intuition is that RISC was dead for good reason. ARM cores run most phones, routers, etc, and it's an acronym for Acorn RISC Machine.
- KMag 4y agoLast I checked, most hard drives contain ARM cores, so some x86 machines actually contain more ARM cores than x86 cores. An ICE car likely has one or more ARM cores managing the engine and one or more ARM cores running the entertainment system.
- imtringued 4y agoYeah but technically the brand has moved on from being an acronym. Now it is just Arm or "arm". There is no ARM.
- snvzz 4y ago>RISC was dead Dead how? I don't get it. They're literally everywhere, dominating the numbers both shipping right now and cumulative. Every new ISA of any significance in the last 3+ decades is RISC. The only pre-RISC legacy ISA in use is x86, and it is only losing market share.
- cesarb 4y ago> The only pre-RISC legacy ISA in use is x86, and it is only losing market share. The only pre-RISC legacy ISA in wide use is x86, but AFAIK the legacy ISA from IBM mainframes (s390/s390x), which is still supported by mainstream enterprise Linux distributions, is also a pre-RISC one.
- error503 4y ago> The only pre-RISC legacy ISA in use is x86, and it is only losing market share. And for many generations now, x86 machines are basically RISC processors with a CISC frontend. Empirically it seems that CISC has 'failed' as a way to design processors, and it's better to let the compiler do that job when you're building a general purpose computer.
- the__alchemist 4y agoI've only coded for ARM. On those devices, the toolchains etc handle the code logic, and each ARM device will have its own peripherals. Working at the MCU-register level and higher, is there any difference in RISC-V? Or does it only matter if writing compilers and toolchains? Maybe the way you handle interrupts changes? Eg you would no longer use a cortex-m library to handle them. Maybe low power modes too, since those use ARM registers in addition to MCU-specific ones?
- RobotToaster 4y agoMost of the time it's only an issue if you're writing assembly.
- Sirened 4y agoIt is fairly different from a systems programming perspective. The base instructions (I) are essentially everything you'd expect when writing any kind of regular program and it feels very normal and natural for anyone who has ever written assembly, but once you start needing fancier things like exceptions you'll see a lot of new RISCV specific design choices. This is sort of to be expected, x86 has a different exception architecture from ARMv8A. It's just different, not necessarily less capable. Odds are whatever RISCV MCUs come on the market will eventually be supported with the same SDKs you know and love, but they will have a different implementation for all the system specific functions.
- P_I_Staker 4y agoBasically, No, IMO. I do embedded systems. Most of the important differences, would be covered under the peripheral side. Assuming you move to a drastically different ARM chipset, there would be no difference. As disappointing as it may be to some people, architecture rarely winds up mattering much (although you might be able to argue that some elements that make it into the peripherals are "architectural"). At least for software developers, there will never be a reason to dig into architecture. Maybe for some stuff interrupt, or hardware exception related. I've found that the specific chipset and compiler tend to be more important for software developers working close to hardware. Even ASM code probably won't really matter, unless you plan to heavily rely on it; I would guess it could come into play if you plan on writing heavy ASM code, which I doubt you'd ever do on a modern architecture... maybe you're REALLY trying to save memory, or think you can improve CPU performance for some reason. Seems far fetched in almost every application, but I bet people out there are doing it for good reasons. Of course, there may always be little places where you end up doing stuff with ASM, but again IME they tend to be where the peripherals and architecture meet.
- zackmorris 4y agoDoes anyone know of a good wiki for doing multicore RISC-V on FPGA? Something more substantial than: https://www.reddit.com/r/RISCV/comments/z6xzu0/multi_core_implentation_of_risc_v/ https://www.reddit.com/r/RISCV/comments/z6xzu0/multi_core_im... When I got my ECE degree in 1999, I was so excited to start an open source project for at least a 256+ core (MIPS?) processor in VHDL on an FPGA to compete with GPUs so I could mess with stuff like genetic algorithms. I felt at the time that too much emphasis was being placed on manual layout, when even then, tools like Mentor Graphics, Cadence and Synopsys could synthesize layouts that were 80% as dense as what humans could come up with (sorry if I'm mixing terms, I'm rusty). Unfortunately the Dot Bomb, 9/11 and outsourcing pretty much gutted R&D and I felt discouraged from working on such things. But supply chain issues and GPU price hikes for crypto have revealed that it's maybe not wise to rely on the status quo anymore. Here's a figure that shows just how far behind CPUs have fallen since Dennard scaling ended when smartphones arrived in 2007 and cost/power became the priority over performance: https://www.researchgate.net/figure/The-Dennard-scaling-failed-around-the-middle-of-the-2000s-24_fig1_330893452 https://www.researchgate.net/figure/The-Dennard-scaling-fail... FPGA performance on embarrassingly parallel tasks scales linearly with the number of transistors, so more closely approaches the top line. I did a quick search and found these intros: https://www.youtube.com/watch?v=gJno9TloDj8 https://www.youtube.com/watch?v=gJno9TloDj8 https://www.hackster.io/pablotrujillojuan/creating-a-risc-v-system-with-an-fpga-80d726 https://www.hackster.io/pablotrujillojuan/creating-a-risc-v-... https://en.wikipedia.org/wiki/Field-programmable_gate_array https://en.wikipedia.org/wiki/Field-programmable_gate_array https://www.napatech.com/road-to-fpga-reconfigurable-computing/ https://www.napatech.com/road-to-fpga-reconfigurable-computi... Looks like the timeline went: 2000: 100-500 million transistors 2010: 3-5 billion transistors 2020: 50-100 billion transistors https://www.umc.com/en/News/press_release/Content/technology_related/19991018 https://www.umc.com/en/News/press_release/Content/technology... https://www.design-reuse.com/news/27611/xilinx-virtex-7-2000t-fpga.html https://www.design-reuse.com/news/27611/xilinx-virtex-7-2000... https://www.hpcwire.com/off-the-wire/xilinx-announces-general-availability-of-vu19p-worlds-largest-fpga/ https://www.hpcwire.com/off-the-wire/xilinx-announces-genera... I did a quick search on Digi-Key, and it looks like FPGAs are overpriced by a factor of about 10-100 with prices as high as $10,000. Since most of the patents have probably run out by now, that would be a huge opportunity for someone like Micron to make use of Inflation Reduction Act money and introduce a 100+ billion transistor 1 GHz FPGA for a similar price as something like an Intel i9, say $500 or less. Looks like about 75 transistors per gate, so I'm mainly interested in how many transistors it takes to make a 32 or 64 bit ALU, and for RAM or DRAM. I'm envisioning an 8x8 array of RISC-V cores, each with perhaps 64 MB of memory for 16 GB total. That would compete with Apple's M1, but with no special heterogenous computing hardware, so we could get back to generic multicore desktop programming and not have to deal with proprietary GPU drivers and function coloring problems around CPU code vs shaders.
- Varloom 4y agoLets go ! After decades of open-source software, finally we have open-source CPU.
- jlokier 4y agoNot yet. With a couple of exceptions, the RISC-V CPUs described in the article are all closed source. RISC-V is an open instruction set, so anyone can implement their own design using it, often with their own proprietary extensions. Because the instruction set is open, there are indeed hundreds of open source RISC-V designs out there, because basic CPU design is fun, easy and educational. However, at the moment, nearly all physical RISC-V CPUs you can actually buy, dev boards etc, and devices containing them, use closed source CPU designs.
- aappleby 4y agoIbex is open source and has taped out - https://github.com/lowRISC/ibex https://github.com/lowRISC/ibex
- deleted 4y ago[deleted]
- monocasa 4y agoI wouldn't quite say that's the case. Two of the three full Linux capable RISC-V SoC releases this year are using open source CPU cores. The BL808 and the Allwinner D1 both use T-Head CPU cores that are available on GitHub https://github.com/T-head-Semi/openc906 https://github.com/T-head-Semi/openc906 . The JH7110 in the VisionFive2 and Star 64 does use a closed CPU core however.
- snvzz 4y agoLook forward to LM4A (Sipeed, Q1). That's C910, even more capable. Far above Cortex-A72. Quite capable. Not bad at all for an open source core.
- user3939382 4y agoAs a high level language programmer, I look forward to understanding my computer all the way down i.e. including the ISA which is not happening on amd64.
- FullyFunctional 4y agoTSMC is not going to give up their trade secrets, sorry. Also, if you are using a high-end RISC-V (none on the market currently), then the implementation is going to be proprietary and decidedly non-trivial. I'm not sure in which sense you expect to "understand your computer".
- user3939382 4y agoThis is a surprisingly snarky/nasty comment "sorry" > I'm not sure in which sense you expect to "understand How about this? https://riscv.org/technical/specifications/ https://riscv.org/technical/specifications/ If there are a few extensions buried in the chip that doesn't materially change what I said.
- mike_hock 4y agoThe equivalent manuals are available from Intel and AMD.
- user3939382 4y agoThe issue isn’t the manuals existing it’s what they describe. Basically the R in RISC.
- mike_hock 4y agoAnd you can definitely understand amd64 on an ISA level, which is the publicly documented "high" level interface.
- user3939382 4y ago
- mark_l_watson 4y agoI really like the idea of RISK-V, open firmware, open source, etc. What makes me a hypocrite to some degree is addiction to devices like my Apple Watch. The freedom to not carry a phone and still get texts and phone calls is awesome, and also be able to check weather, etc. As I “get more retired” I am so tempted to drop the entire Apple ecosystem that drives my work and content creating work flow and just chill with a Linux laptop for recreational learning projects.