Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 02-Feb-2025 21:32:20 JST Haelwenn /элвэн/ :triskell:
*reads RISCV SBI spec*
Hmm, is there nothing in the style of like ctrl+alt+o+f to get a supervision console? (Or other things similar to SysRq-magic)-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 02-Feb-2025 23:50:26 JST Haelwenn /элвэн/ :triskell:
@yyp Well something like a serial console is somewhat part of SBI / risc-v platform, allows to pass earlycon=sbi to the kernel.
-
Embed this notice
Alexey Yerin (yyp@fosstodon.org)'s status on Sunday, 02-Feb-2025 23:50:27 JST Alexey Yerin
@lanodan From my understanding, most RISC-V specifications (including SBI) don't expect any kind of input devices or special shortcuts.
So any kind of SysRQ-magic is just using the default input driver from the kernel. This is what Linux does at least.
It's possible that a device has an interrupt source for this use-case - check the device tree. Though I'm not very familiar with RV hardware, no idea if there exists a board with such a feature.
-
Embed this notice