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???
A continuation of a long-awaited adventure!
Not only is it booted through an SD card, but also the same hacky, incoherent mess of two functions in memory that toggle a register has been recreated in Zig.
The steps and code so far are here.
These are definitely words in the title, but what do they mean? A long-awaited adventure!
By now, the probably obsolete and forgotten RiscV version of MangoPi has been on my TODO list for a while. Fashionable late, but sometimes you have to let things take their time.
What we have here is bare bone blinking of an LED on the MangoPi SBC with Allwinner D1 RiscV chip.
Quite a few steps to get to this point, from figuring out the boot procedure, architecture, pin-out, tool chains, itdā¦
The condensed version of the steps and code is here.
And there might be some notes as well.