5 ms·
Is this the next Raspberry Pi? And does it have real-time support?
by amelius 8y ago
Is this the next Raspberry Pi?
And does it have real-time support?
- detaro 8y ago> Is this the next Raspberry Pi? It's a 999$ development board, so no. Hopefully RISC-V based hardware will get to mass production at some point, but that's in the future.
- sitkack 8y ago> Is this the next Raspberry Pi? http://www.lowrisc.org/ http://www.lowrisc.org/ https://github.com/lowrisc https://github.com/lowrisc lowRISC was founded by: Robert Mullins - Computer Laboratory, University of Cambridge, co-founder of Raspberry Pi Gavin Ferris - Dreamworks, Radioscape (co-founder), Aspect Capital (former CIO) Alex Bradbury - Computer Laboratory, University of Cambridge and Raspberry Pi
- rwmj 8y agoI'd really love lowRISC to produce a cheap board, unfortunately they've been promising something "next year" for about 3 years now. To be fair they do have a reasonable development environment that you can download and write to a cheap-ish FPGA. They are promising a completely open design. But to achieve that without proprietary IP blocks involves using so-called "minion cores" to handle I/O, where a minion core is a cut down RV32 core hanging off the side of the main RV64 application cores. The minion cores would essentially handle I/O by bitbanging, which sounds OK for slow devices like serial lines and perhaps even fast ethernet, but I'm not sure how well that's going to work for SATA, gigabit ethernet or DDR4 RAM.
- sitkack 8y agoYeah it is a hard problem. But given a small amount of FPGA fabric to be used by each minion core, they could probably achieve agnostic IO. Both Green Arrays [1] and Xmos [2] have a similar arch when it comes to IO. [1] http://www.greenarraychips.com/home/products/index.html http://www.greenarraychips.com/home/products/index.html [2] http://www.xmos.com/ http://www.xmos.com/
- rwmj 8y agoRight, although I don't know how popular Green Arrays have been in the real world outside FORTH fanatics. Xmos was new to me but looks interesting, thanks. One thing I forgot to say about minion cores is that they could be used to control external chips. For example if you had an external gigabit ethernet device which could do DMA then the minion core would only have to bitbang the control plane (per packet), which seems much more achievable. Of course this just moves the proprietary IP outside the SoC into an external IC - I don't know if that's a good or a bad thing in itself.
- sitkack 8y agoI think using minion cores as controllers for external chips is a good first step. I am envisioning something like AVX (grid of registers) for running state machines with built in SERDES (parallel loads/store, serial in/out) for running IO.
- justinclift 8y agoXMOS are kind of interesting. Not Open Source chips though. Their IDE is Eclipse based (or used to be), though the language used is a variant of C. I still have 2x their original audio dev boards here. They have ports galore on them (USB to PC, then 7.1 channel out, 7.1 channel in, SPDIF, has it's own timing crystal, and apparently does things well at 192kHz). Could have sworn they do 384kHz as well, but that doesn't seem to show up in any of the options (when I last checked anyway). These days mine are just getting used as weird looking consumer items. eg to drive the 5.1 setup on my CentOS 7 desktop. ;)
- rwmj 8y agoOn your second question about real-time support, I think the answer is (probably) yes although it depends a bit on precisely what you mean by "real time". I'm assuming you mean as a hard real time microcontroller. First off there is an Intel SMM-like layer (M mode) running under the operating system. Unlike Intel it's all open source. So if you find that something in M mode is taking too long and disturbing your real time guarantees, you at least have a hope of fixing it. Obviously Linux is no use for hard real time, but in the HiFive Unleashed board there is a separate RV32 core on the side which actually does nothing except spinning in M mode. It literally runs this loop: https://github.com/riscv/riscv-pk/blob/600ff370c65ba99d2103a050a1847671cc0bd9c9/bbl/bbl.c#L51 https://github.com/riscv/riscv-pk/blob/600ff370c65ba99d2103a... You could have this spare core do anything you want while running Linux on the application cores. I believe it has full access to RAM and GPIO pins. Secondly there is a 96Boards compatible expansion header with some but not very many GPIO pins, see section 8.2 here: https://static.dev.sifive.com/HiFive-Unleashed-Getting-Started-Guide-v1p1.pdf https://static.dev.sifive.com/HiFive-Unleashed-Getting-Start... Thirdly the clock currently runs at a constant speed (but settable), so there's no power management, both a good and a bad thing, but probably good for real-time.
- voxadam 8y ago> Obviously Linux is no use for hard real time While it's true that the mainline kernel is not currently capable of delivering hard real-time performance the PREEMPT_RT developers keep chipping away at the remaining issues. LinuxCNC users have been achieving hard real-time performance on their controls through the use of the PREEMPT_RT patches for some time now.