Hi all,
I successfully build and ran RT-Thread on the RISC-V Allwinner D1H SoC.
Experimenting on ClockworkPi DevTerm R-01 device and Sipeed Lichee RV board
Allwinner D1H documentation very limited regarding peripherals. However if you enjoy brainteaser and some low-level stuff, you’re welcome.
Intention was to make RT-Thread portable terminal with working display and keyboard.
I manage to:
The code is available at: https://github.com/ylyamin/RT-Thread-on-Allwinner-D1H
Ready images for SD card:
Please note: The DevTerm/uConsole battery charging/discharging controller is not yet configured in the driver, so I’m unsure how it affects the battery. I suggest not using the battery with RT-Thread and powering it via USB instead.
I’m writing a series of articles covering the knowledge and experience I’ve gained:
Finally, I dare to ask for help from the community, please:
I’m really stuck with the USB driver. It can detect device connections, but communication has not started.
Perhaps someone would enjoy diving deep into the USB driver to solve this riddle. Ready for issue reports and pull requests.
Picture of LCD Display test in RT-Thread running on Devterm R-01: