WLOG - blog something different

tags: ai arduino bass games godot i2c linux plan9 ramdom random rv web werc zig
Tickle a Register
link | plan9, rv | Sun Apr 27 17:07:26 CET 2025 No.46

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!

A poke program turning on an LED

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???


Blink from boot1 with U-Boot
link | rv | Sun Jan 26 18:02:49 CET 2025 No.43

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.

A blink program booted through an SD card

The steps and code so far are here.


Blink from boot0 over FEL
link | rv | Sun Mar 10 15:35:26 CET 2024 No.33

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.

Trace on the analyzer goes up and down

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.