An update regarding the driver is that, Pavel's patch has fixed the mailbox error that was occurring.
Previously, set power gave a -2 error. --------------------------------------------------------------------------------------------------------------------------------------------------------------- *** LIBBSD SDHCI 01 TEST *** nexus0: <RTEMS Nexus device> bcm_dma0: <BCM2835 DMA Controller> on nexus0 sdhci_bcm0: <Broadcom 2708 SDHCI controller> on nexus0 Enable the power returns 0 mmc0: <MMC/SD bus> on sdhci_bcm0 Sleeping to see what happens Stack usage by thread ID NAME LOW HIGH CURRENT AVAILABLE USED 0x09010001 IDLE 0x12c668 - 0x12d667 0x12d600 4080 128 0x0a010001 UI1 0x12d880 - 0x13587f 0x1354a8 32752 1008 0x0a010002 TIME 0x135fd0 - 0x13dfcf 0x13df10 32752 332 0x0a010003 IRQS 0x13dfd8 - 0x145fd7 0x145f18 32752 308 0x0a010004 _BSD 0x158678 - 0x160677 0x1605b0 32752 336 0x0a010005 _BSD 0x1607d0 - 0x1687cf 0x168708 32752 240 0x0a010006 _BSD 0x16a9f8 - 0x1729f7 0x172938 32752 232 0x0a010007 _BSD 0x172ab8 - 0x17aab7 0x17a9f8 32752 232 0x0a010008 _BSD 0x17ac58 - 0x182c57 0x182b90 32752 240 0x0a010009 _BSD 0x182df8 - 0x18adf7 0x18ad30 32752 240 *** END OF TEST LIBBSD SDHCI 01 *** ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Thanks Mudit On Tue, Jun 21, 2016 at 4:24 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > For an example see media01 test. > > > On 21/06/16 12:40, Mudit Jain wrote: > >> Hi all, >> >> This is what I get on minicom. >> >> ---------------------------------------------------------------------------------------------- >> *** LIBBSD SDHCI 01 TEST *** >> nexus0: <RTEMS Nexus device> >> bcm_dma0: <BCM2835 DMA Controller> on nexus0 >> sdhci_bcm0: <Broadcom 2708 SDHCI controller> on nexus0 >> >> RTEMS Shell on /dev/console. Use 'help' to list commands. >> [/] # ls /dev >> bpf bpf0 console ttyS0 >> [/] # >> >> >> ----------------------------------------------------------------------------------------------- >> The app code - >> https://github.com/spark1729/rtems-libbsd/blob/ae67c8bf554b3d59ab5c8a0da70d244a5ffbbc4b/testsuite/sdhci01/test_main.c >> >> Ideally an mmc device should be initialized. It would be great if someone >> could direct me in the right direction here. >> >> Thanks. >> Mudit >> >> > -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel