Shaunak Datar created an issue: 
https://gitlab.rtems.org/rtems/programs/gsoc/-/issues/89



## Background
The Raspberry Pi BSP support has improved over the years. Last year the BSP 
received Mailbox and DMA support. The motivation for adding their support was 
to ultimately add support for SD support pending since 2024. 
The recent mailbox addition also enabled us to add support for framebuffer. 
Along with framebuffer and sd card support PCI support exists in freebsd 
upstream which could be added to the BSP.

## Approach:

**Framebuffer support:** The mailbox support enables framebuffer initialization 
via the VideoCore mailbox property interface(Channel 8). Refer this link for 
details on property interface and framebuffer: [Github 
Wiki](https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface)

**SD card support:** The sdhci driver has been pending since 2024. With the 
support for mailbox and DMA now added the work remaining is the SDHCI glue 
layer for the Rasperry Pi 4b BSP. The upstream freebsd driver at 
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c. This needs to be imported into libbsd 
and adapted for RTEMS. Refer to the Chapter 5 in the BCM2835 arm peripherals 
manual and existing DMA and Mailbox support.

**PCIe Support:** Freebsd has upstream support for PCI at 
sys/arm/broadcom/bcm2835/bcm2838_pci.c. This needs to be imported to RTEMS 
libbsd. We would use the freebsd-to-rtems.py script and import the driver.

## Knowledge/Skills
- C, assembly
- Hardware-level debugging

## Possible Mentors
@opticron 


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/programs/gsoc/-/issues/89
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to