RPi SD card Driver
Mudit Jain
muditjain18011995 at gmail.com
Sun Aug 28 04:39:12 UTC 2016
Hi all,
Good News !!
I have successfully moved my changes on top of the recent MMC stack update
to use the FreeBSD trunk, 2016-08-23,
9fe7c416e6abb28b1398fd3e5687099846800cfd
The GitHub Link :
https://github.com/spark1729/rtems-libbsd/commits/RPI_SD_LIBBSD
Sebastian, if you can review the commits, then I will push it as patches.
Testing :
As shown below, the DMA controller, SDHCI controller, MMC bus and the MMCSD
are initialized and the card is identified correctly.
*** LIBBSD SDHCI 01 TEST ***
nexus0: <RTEMS Nexus device>
bcm_dma0: <BCM2835 DMA Controller> on nexus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> on nexus0
mmc0: <MMC/SD bus> on sdhci_bcm0
mmcsd0: 8GB <SDHC SL08G 8.0 SN ED120D81 MFG 11/2015 by 3 SD> at mmc0
50.0MHz/4bit/65535-block
Sleeping to see what happens
Stack usage by thread
ID NAME LOW HIGH CURRENT AVAILABLE USED
0x09010001 IDLE 0x12cc10 - 0x12dc0f 0x12dba8 4080 128
0x0a010001 UI1 0x12de28 - 0x135e27 0x135a50 32752 1472
0x0a010002 TIME 0x136578 - 0x13e577 0x13e4b8 32752 332
0x0a010003 IRQS 0x13e580 - 0x14657f 0x1464c0 32752 308
0x0a010004 _BSD 0x158bb0 - 0x160baf 0x160ae8 32752 344
0x0a010005 _BSD 0x160d00 - 0x168cff 0x168c38 32752 240
0x0a010006 _BSD 0x16aed0 - 0x172ecf 0x172e10 32752 232
0x0a010007 _BSD 0x172f90 - 0x17af8f 0x17aed0 32752 232
0x0a010008 _BSD 0x17b128 - 0x183127 0x183060 32752 240
0x0a010009 _BSD 0x1832c0 - 0x18b2bf 0x18b1f8 32752 240
*** END OF TEST LIBBSD SDHCI 01 ***
Thanks
Mudit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160828/a1dc9b0a/attachment.html>
More information about the devel
mailing list