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.


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

Reply via email to