News for hackers. Stuff that matters.
Re:A tiny RISC-V MCU board selling for $3 by freeopinion on Thursday January 02, 2020 @07:12PM (#21941495)
The Reference Manual claims "Machine (M) and User (U) Privilege levels support" on page 22.

Probably not the kind of privileges discussed yesterday.

Re:A tiny RISC-V MCU board selling for $3 by Taniwha on Thursday January 02, 2020 @07:42PM (#21941726)
yup, for linux you want M/S/U modes at least (kernel runs in S) and page table table support of course
Re:A tiny RISC-V MCU board selling for $3 by p0llard on Friday January 03, 2020 @04:03AM (#21944371)
I was under the impression you could get away with using Machine mode for both the SBI and the Kernel?

Sv39 paging is the major requirement as you point out.

Re:A tiny RISC-V MCU board selling for $3 by Taniwha on Friday January 03, 2020 @07:35AM (#21945359)
Machine mode runs without the MMU, linux really needs an MMU to do kernel stuff too (including stuff like copyin/copyout)
Re:A tiny RISC-V MCU board selling for $3 by nickik on Friday January 03, 2020 @01:33PM (#21948835)
There is actually quite a bit of work going on in Linux without MMU. Check Linux Plummers conference RISC-V track for example.
Re:A tiny RISC-V MCU board selling for $3 by Taniwha on Friday January 03, 2020 @08:08PM (#21952017)
Yeah that's why I said "really needs", there are cut down versions that will run without an MMU, it's not really the mainline Linux though - I've worked with MMUless kernels in the past, it's not a lot of fun (and I started porting V6/V7 for base and bounds swapping machines)
Re:A tiny RISC-V MCU board selling for $3 by p0llard on Friday January 03, 2020 @01:00PM (#21948467)
Ah, I didn't actually know this, thanks for pointing it out :)