News for hackers. Stuff that matters.
Re:Debian port for RISC-V 64-bit by lamby on Sunday April 23, 2017 @04:18AM (#14177131)
RISC will change everything.
Re:Debian port for RISC-V 64-bit by cyphar on Sunday April 23, 2017 @04:53AM (#14177224)
Yeah, RISC is good...
Re:Debian port for RISC-V 64-bit by trsohmers on Sunday April 23, 2017 @02:08PM (#14179440)
Hack the Planet!
Re:Debian port for RISC-V 64-bit by keithpeter on Sunday April 23, 2017 @04:48AM (#14177206)
What time-scale do you envisage for actual hardware?
Re:Debian port for RISC-V 64-bit by tyingq on Sunday April 23, 2017 @09:27AM (#14178065)
The one that's most interesting to me is lowRISC. Mostly because it has something tangible to offer as a differentiator other than the "open ISA". Specifically, the "minion cores"[1] Their initial use case for them sounds a lot like the PRUs on a BeagleBone board.

Basically, it enables you to do hard real-time tasks like signal generation (controlling led matrices, audio) or fast data/signal acquisition, but without running some specialty os. The minion cores can read+write memory from the main cpu that's running normal Linux.

That feature also gives them a little breathing room on initial pricing. Their SoC board would be viewed as competition for a $70 board, instead of competition for a cheaper Raspberry PI or similar. So, initial pricing wouldn't necessarily hurt the popularity.

They seem to plan to have something out either this year, or sometime next year: "We are expecting to crowdfund an initial instantiation of the lowRISC platform during the course of 2017."

[1]http://www.lowrisc.org/downloads/lowRISC-memo-2014-001.pdf

Re:Debian port for RISC-V 64-bit by phkahler on Sunday April 23, 2017 @09:03AM (#14177988)
SiFive has been late with their U500 or it would exist already. I suspect they're waiting for finalization of the privileged instruction spec. Since they will have PCIe support I'm wondering if you could actually use it with commercial graphics cards and open source drivers. That would put real usable hardware out in the world late this year.

There are other companies on the verge of releasing hardware implementations. But in every case, I would wait for the final specs before jumping on any particular hardware even if it shipped now. Other than the micro controllers of course.

Re:Debian port for RISC-V 64-bit by cyphar on Sunday April 23, 2017 @04:53AM (#14177226)
It was a reference to Hackers (1995).

> Burn: RISC architecture is going to change everything. > Cool: Yeah, RISC is good...

Re:Debian port for RISC-V 64-bit by keithpeter on Sunday April 23, 2017 @07:09AM (#14177638)
You caught me there, but child comments give me hope
Re:Debian port for RISC-V 64-bit by feld on Sunday April 23, 2017 @08:43AM (#14177952)
At MeetBSD 2016 they announced a roadmap of a Raspberry Pi type device by end of 2017
Re:Debian port for RISC-V 64-bit by richardxia on Sunday April 23, 2017 @04:59AM (#14177243)
Linux-capable hardware will be coming out this year.
Re:Debian port for RISC-V 64-bit by pantalaimon on Sunday April 23, 2017 @01:20PM (#14179126)
Where did you find this bit of information?
Re:Debian port for RISC-V 64-bit by desdiv on Sunday April 23, 2017 @05:05AM (#14177258)
Some have already shipped[0], though the availability is very limited.

[0] https://www.crowdsupply.com/sifive/hifive1

Re:Debian port for RISC-V 64-bit by rwmj on Sunday April 23, 2017 @06:32AM (#14177537)
These have very limited RAM, and won't run Linux.
Re:Debian port for RISC-V 64-bit by shakna on Sunday April 23, 2017 @07:39AM (#14177738)
128MB Flash off-chip, and I know of several Linux distros that can run with under 50MB, so I would say it would be entirely possible to run it.
Re:Debian port for RISC-V 64-bit by rvense on Sunday April 23, 2017 @08:02AM (#14177824)
128 MB Flash, not RAM.

Linux will run in 8 megabytes of RAM if you want. The SiFive board has 16 kilobytes.

Re:Debian port for RISC-V 64-bit by shakna on Sunday April 23, 2017 @09:14AM (#14178025)
What's to stop you connecting up an old SIMM card? The memory won't be fast, but doable.

I saw Flash as the larger limitation, as expanding that is problematic.

Re:Debian port for RISC-V 64-bit by rvense on Sunday April 23, 2017 @09:48AM (#14178139)
> What's to stop you connecting up an old SIMM card? The memory won't be fast, but doable.

There aren't enough pins. Certainly not enough pins accesible in single-cycle reads/writes. Maybe you could multiplex them with external hardware to talk to a SIMM but you'd be talking to memory at single megahertz effectively.

An SDRAM controller in an FPGA on the other side of the QSPI link would be faster, but it'd still be slow. You could get it to work to say you've done it, but it'd run at literal-days-to-boot speeds.

The board (and chip) is meant and marketed for freetards who like Arduinos - so I bought one and so did several of my friends. LEDs were blinked and better futures dreamt of. It's cool. But it's not a workstation chip by any stretch of the imagination.

Hopefully the next version will have a real external memory bus.

Re:Debian port for RISC-V 64-bit by welterde on Sunday April 23, 2017 @12:18PM (#14178763)
I reckon it would be more in the range of minutes (depending on how complete of a linux system we are talking about here). The QSPI peripherial can run at 100MHz if I read the datasheet correctly (so you can read/write data at about 400MBit/s minus overhead). For reference booting linux on an ATmega@24MHz running an ARM emulator and external SDRAM with an memory bandwidth of about 300kbyte/s seems to take about 6 hours [1]. Assuming the SiFive is just as efficient as the ATmega it would take less than a minute (assuming the memory bandwidth is the only bottleneck and not the slow CPU - the SiFive also has 16kB of L1 cache and has a clock rate 10x faster).

[1] http://dmitry.gr/index.php?r=05.Projects&proj=07.%20Linux%20...

Re:Debian port for RISC-V 64-bit by rvense on Sunday April 23, 2017 @03:49PM (#14180088)
OK, maybe it could work. I remembered that ATmega port as slower. Maybe it should be tried.
Re:Debian port for RISC-V 64-bit by squarefoot on Tuesday April 25, 2017 @04:46AM (#14191789)
Just for the records, you can run ELKS, a Linux variant for small processors, on 8086 hardware. Ages ago I successfully booted it on a 8088 based ancient industrial system with less than one megabyte of RAM and two floppy drives (hard disk? what hard disk?!? :). But the Linux a "normal" user would run is a very different thing which would require some more power.

http://elks.sourceforge.net/

Re:Debian port for RISC-V 64-bit by navaati on Sunday April 23, 2017 @07:48AM (#14177774)
I guess it's rather due to the thing not having an MMU
Re:Debian port for RISC-V 64-bit by Zaak on Monday April 24, 2017 @01:13PM (#14186051)
Linux can run on systems that lack an MMU.

https://unix.stackexchange.com/questions/190350/mmu-less-ker...