News for hackers. Stuff that matters.
Re:RISC-V SBI and the full boot process by Taniwha on Monday September 11, 2023 @05:32AM (#37464813)
UBoot typically runs in supervisor mode while OpenSBI runs in machine mode (as would OPTEE) - OpenSBI's (and OPTEE's) memory is locked behind a PMAP block so it can't be hacked from supervisor mode

If your riscv core has hypervisor support that sits between machine mode and supervisor modes

Re:RISC-V SBI and the full boot process by synergy20 on Tuesday September 12, 2023 @09:34AM (#37480964)
isn's OpenSBI's S means 'supervisor' mode? so OpenSBI is supposed to be in supervisor mode?
Re:RISC-V SBI and the full boot process by Taniwha on Tuesday September 12, 2023 @06:58PM (#37489786)
Nope, it runs in machine mode (I've ported it) - the S does stand for Supervisor, but I guess that's because it supervises the system
Re:RISC-V SBI and the full boot process by brucehoult on Wednesday September 13, 2023 @08:41AM (#37495968)
SBI is the ABI for the Supervisor to call to get certain services that can't be done in S mode.