RTEMS | BSP Improvements for RPi4 (&6)
Ning Yang (@yangn0)
gitlab at rtems.org
Wed Aug 7 13:47:18 UTC 2024
Ning Yang commented: https://gitlab.rtems.org/groups/rtems/-/epics/6#note_110643
Coding Period Week #13
Planned:
- SD R/W access support.
- mailbox driver
Completed:
1. Merged SPI MR. !103
2. Improved Watchdog MR. rtems/rtos/rtems!120
3. Read freebsd-org/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c.
Blockers/Problems:
1. Barusu's mailbox driver is missing some implementations. I want to complete them after porting the SDHCI driver.
In bcm2835_sdhci.c file, there are only two functions to communicate with mailbox:
```c
bcm2835_mbox_set_power_state(BCM2835_MBOX_POWER_ID_EMMC,TRUE);
bcm2835_mbox_get_clock_rate(BCM2835_MBOX_CLOCK_ID_EMMC,&default_freq);
```
There can be some alternatives
- `bcm2835_mbox_set_power_state`: I can use a temporary function to communicate with the mailbox to set power state.
- `bcm2835_mbox_get_clock_rate`: I can get the clock rate from the spec file.
2. sdhci uses dma mode for transmission. I need to complete the DMA driver first.
Next week plans:
1. DMA driver
--
View it on GitLab: https://gitlab.rtems.org/groups/rtems/-/epics/6#note_110643
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/20240807/cf1c05f2/attachment.htm>
More information about the bugs
mailing list