News for hackers. Stuff that matters.
Re:RISC V: A new blueprint for microprocessors challenges th... by m0zg on Saturday October 05, 2019 @11:15PM (#21169606)
Gentle reminder: you can buy dual core RISC-V chips today for $9, FPU, DSP, and TPU included, with WiFi onboard if you buy a module: https://kendryte.com/. It won't run Linux (no MMU), but it will run FreeRTOS and TensorFlow Lite, straight from their GitHub.
Re:RISC V: A new blueprint for microprocessors challenges th... by jtl999 on Saturday October 05, 2019 @11:50PM (#21169724)
There's uclinux, but I don't know how well it works (seems abandoned) and if there are other issues with it running on above mentioned RISC-V core.
Re:RISC V: A new blueprint for microprocessors challenges th... by ronsor on Sunday October 06, 2019 @05:33PM (#21175322)
I think it's part of mainline now (just like User Mode Linux/UML). So it's not abandoned.
Re:RISC V: A new blueprint for microprocessors challenges th... by jtl999 on Tuesday October 08, 2019 @02:34PM (#21195474)
Ah, thanks
Re:RISC V: A new blueprint for microprocessors challenges th... by copperx on Saturday October 05, 2019 @11:35PM (#21169665)
It's not clear from the website that you can buy a module easily. Do you have to buy them in bulk?
Re:RISC V: A new blueprint for microprocessors challenges th... by m0zg on Sunday October 06, 2019 @12:06AM (#21169763)
You can buy them on Adafruit in the form of a device with battery, display and camera (but no wifi). Modules can be bought from Seeed or other usual Chinese places. No "bulk", you can even buy a single module. This, IMO, is one of the most exciting things I have seen in the embedded hardware space in years. At least all that Bitcoin money ended up producing something of value (the company that makes the chip stated out manufacturing bitcoin mining ASICs).

https://www.seeedstudio.com/Sipeed-MAIX-I-module-WiFi-versio...

Re:RISC V: A new blueprint for microprocessors challenges th... by PhantomGremlin on Sunday October 06, 2019 @02:47AM (#21170273)
It won't run Linux (no MMU)

How are processes isolated from one another if there is no MMU? Is there some other form of memory protection? That doesn't seem likely?

Not having process isolation really limits the applicability of the chip.

Re:RISC V: A new blueprint for microprocessors challenges th... by kbumsik on Sunday October 06, 2019 @11:18AM (#21172550)
It doesn't have processes.

This looks like to be a bare-metal (or RTOS) embedded system. It usually is for running a single application so isolation between processes doesn't make much sense. FreeRTOS doesn't even have concept of process neither, but tasks, which is similar to threads with preemption and deadline.

Furthermore MMU is often avoided in embedded systems because it violates hard real-time requirements: Translation table walking can take place while an interrupt occurs so it causes unpredictable worst-case execution time.

In case of ARM Cortex-M and R series they have Memory Protection Unit (MPU) instead of MMU to protect critical memory region.

Re:RISC V: A new blueprint for microprocessors challenges th... by Zardoz84 on Sunday October 06, 2019 @07:34PM (#21175991)
Minix v1 and some older Unix clones run very well on 8086 and had processes. MMU make it easier, faster and more secure.
Re:RISC V: A new blueprint for microprocessors challenges th... by akerro on Sunday October 06, 2019 @03:02PM (#21174180)
Will any BSD run on it?
Re:RISC V: A new blueprint for microprocessors challenges th... by loeg on Sunday October 06, 2019 @06:33PM (#21175661)
The modern ones (FreeBSD at least) require an MMU. RetroBSD might, if they have RiscV support? Probably not, though. http://retrobsd.org/wiki/doku.php/start

(FreeBSD has RiscV support for versions with an MMU.)