RTEMS | bsp/aarch64/raspberrypi: Add support for DMA (!662)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Aug 18 17:10:58 UTC 2025




Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/dma/raspberrypi-dma.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128955

 > +  }
 > +
 > +  cb->source_addr      = (uint32_t) ADDRESS_LOW( source_address );
 > +  cb->source_info      = SI_SRC_INC | ADDRESS_HIGH( source_address );
 > +  cb->destination_addr = (uint32_t) ADDRESS_LOW( destination_address );
 > +  cb->destination_info = DI_DEST_INC | ADDRESS_HIGH( destination_address );
 > +  cb->transfer_length  = transfer_length;
 > +  cb->transfer_info    = 0;
 > +  cb->next_cb          = 0;
 > +  cb->reserved         = 0;
 > +
 > +  return cb;
 > +}
 > +
 > +
 > +void *rpi_unaligned_mem_to_mem_dma( rpi_dma_channel channel, void *src, uint32_t length )

I assume this was the initial proof of concept code. Copying to a location not controlled by the user is not particularly useful, so I think this function can be removed.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/662#note_128955
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250818/04c1a0f2/attachment-0001.htm>


More information about the bugs mailing list