Display parallel Interface (DPI) with RiscOS?
epikao (4492) 3 posts |
Hello, see title, is that Interface supported? Respectively the dpi-18/24 overlays? Unfortunately I only found support for the HDMI and MIPI DSI Interface see also: thanks |
epikao (4492) 3 posts |
I am little bit surprised that nobody knows that!?! BTW: For Industry Application that Interface is much more common than HDMI, because HDMI is expensive and raw Displays does only have a LVDS, RGB or MIPI-DSI Interface…. Is supported yes or no? |
Steve Pampling (1551) 8182 posts |
Had you considered that it is currently the Easter holiday period and that there are a reduced number of people around? |
Jeffrey Lee (213) 6048 posts |
There’s no explicit support for DPI displays in the OS. As I understand it most of the work is done by the firmware, with the OS only being responsible for setting up the GPIO pins correctly (as described by the device tree overlay). RISC OS doesn’t use device trees, but if the GPIO configuration is all that needs adjusting then you should be able to get a display working by writing a BASIC program or something to reconfigure the pins, and have the program be run on startup (e.g. as part of the !Boot sequence). I did pick up a VGA666 board kit a couple of weeks ago, but haven’t spent the time to assemble & test it yet. |
David Feugey (2125) 2709 posts |
Would be cool. |
Andrew Conroy (370) 740 posts |
I seem to remember building a DIY version of this when it was first talked about and getting it working on Linux but can’t remember if we got it working on RISC OS or not :( |
epikao (4492) 3 posts |
so I guess that Display Interface is unfortunately not avaiable with RISC OS? :-(( … bad.. |
Dave Higton (1515) 3543 posts |
There’s nothing to stop you writing it. When you get it to work, you can submit it to ROOL so that anyone else who wants to use it can do so :-) |
Dave Higton (1515) 3543 posts |
Please try not to sound like Donald Trump :-) |
Jeffrey Lee (213) 6048 posts |
As expected, it doesn’t work under RISC OS out-of-the-box. But after tweaking the HAL to set up the GPIOs (2-21 inclusive set to ALT2) it works OK (although I’m yet to try GPU mode changes). |
Jeffrey Lee (213) 6048 posts |
My tweaks for this are here, in the VGA666 branch – https://gitlab.riscosopen.org/jlee/HAL_BCM2835/tree/VGA666 You’ll need to enable the VGA666 option in hdr.BCM2835 (as well as make the necessary config.txt changes to tell the firmware to use the DPI interface). I still need to work out a good way of implementing runtime detection so that the code can be merged into the main sources. |