Hello everyone,

I'm trying to tackle DMA support for the Pi next. I found a "standard"
upper-half in `nuttx/dma/dma.h` that seems like it is what I need to
implement. However, that code is used nowhere in the entire kernel except
for the 16550 UART driver. Everything else seems to roll its own
implementation of a DMA driver. To make matters worse, the dma.h
implementation is not documented! Does anyone have an idea of a good way I
can approach DMA control? This would be very beneficial for a bunch of
peripherals (like the framebuffer and SDIO support), but I'm tempted to put
it on the back burner for now until I have some clarity about the
implementation details.

Best,
Matteo

On Sat, Nov 8, 2025 at 4:20 PM Tomek CEDRO <[email protected]> wrote:

> On Sat, Nov 8, 2025 at 7:52 PM Tim Hardisty <[email protected]>
> wrote:
> > Dipping in and out here as I’m supposed to be on holiday lol. If the
> framebuffer is the low level interface to the hardware (?) what would be
> the right NuttX/portable graphics intermediate language?
>
> Well free time is a good time to do some interesting work indeed :D
>
> On top of video framebuffer and probably libinput (or similar) various
> libraries can run providing what is needed:
> 1. LVGL to implement user app, maybe even our default console terminal.
> 2. SDL2 to provide multiplatform portability to amazing amount of
> existing multimedia applications, video players, games, emulators,
> etc.
>
> I think SDL2 is most important because almost all existing
> applications can work on top of that and these could be just
> cross-compiled to NuttX in place of BSD or Linux :-)
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>

Reply via email to