<div dir="ltr">I dont get it, RTEMs has a port of sdmmc stack <a href="https://git.rtems.org/rtems-libbsd" rel="noreferrer" target="_blank" style="font-size:12.8px">https://git.rtems.org/rtems-l<wbr>ibbsd</a> but not all the drivers are using it. For example I saw, stmf32 implement its own command sending mechanism. Shouldnt that be generic, the sending of commands. Only the lower controller level detail should change.<div><br></div><div>Also I don't get the connection with freebsd code, do we use that code directly in RTEMs, is all of that ported???</div><div><br></div><div>Just want to understand the structure of RTEMs...</div><div><br></div><div>cheers,</div><div>Faizan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 10:43 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/04/17 02:06, faizan khan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there an sdio stack in RTEM because I could not find out. If the sd stack is not there then writing the sd driver for bbb will take a lot longer...<br>
</blockquote>
<br></span>
The SD/MMC card stack is in libbsd (<a href="https://git.rtems.org/rtems-libbsd" rel="noreferrer" target="_blank">https://git.rtems.org/rtems-l<wbr>ibbsd</a>). I guess this is the right driver:<br>
<br>
<a href="https://github.com/freebsd/freebsd/blob/master/sys/arm/ti/ti_sdhci.c" rel="noreferrer" target="_blank">https://github.com/freebsd/fre<wbr>ebsd/blob/master/sys/arm/ti/<wbr>ti_sdhci.c</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
Fax : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</font></span></blockquote></div><br></div>