There comes a time when a lot of work is being done, but not a lot is being done.
Sometimes, to get from point A to B, you just have to go through the grind.
There is a light at the end of the tunnel. But whether that is an exit or the train remains to be seen. But apparently you can generate RiscV binary from Plan9!
Step one: get a RiscV compiler working on 9front: 9front-riscv-overlay.
I cannot take any credit here apart from rebasing source from one codebase to another. Read the README for true hero.
Step two: get to know a whole new world of Plan9 assembly: poke-led-baremetal-c-plan9.
Step three: profit???
It has taken me this embarrassingly long time to set up a local Qemu instance, running 9front, with the ability to connect to it with drawterm.
And after all the fuss to have history in the terminal for easier operation -’
Here are the notes!