catphish / allwinner-bare-metal

A simple framework to boot an Allwinner H3 SoC and run bare metal code
MIT License
23 stars 8 forks source link

Port to riscv d1 #3

Open phanrahan opened 1 year ago

phanrahan commented 1 year ago

I saw your implementation of display.c for the H3. I am trying to create a similar modules for the allwinner d1 which uses the riscv (I am using a Mango Pi Pro). My understanding is the the display engine is the same. The code compiles using the riscv toolchain, but I don't get hdmi video out.

Do you know if anyone has tried to port your code the the d1?

vanvught commented 1 year ago

@phanrahan Fyi, I've also done a HDMI implementation for the H3 -> https://github.com/vanvught/rpidmx512/tree/master/lib-h3/device/fb

phanrahan commented 1 year ago

@vanvught thank you for the pointer! Awesome work. I downloaded it and am studying it now.

Is there a simple demo program? Something that boots and displays an image? I am trying to find a bare metal implementation to use as the basis of a class on computer systems programming.