<div dir="ltr"><div><div><div><div>Hi,<br></div>Thanks for pointing that out. I think back porting the driver would be the most viable option. So, i'll move ahead with that.<br></div>Since, my proposal is almost ready, considering other libbsd projects at this time, would be a bit difficult.<br><br></div>Thanks and regards,<br></div>Udit agarwal<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 18, 2018 at 2:39 AM, Christian Mauderer <span dir="ltr"><<a href="mailto:list@c-mauderer.de" target="_blank">list@c-mauderer.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Am 17.03.2018 um 19:40 schrieb Udit agarwal:<br>
> Hi Sebastian, Hi all,<br>
> One part of my GSoC project consists of importing SDIO driver from<br>
> FreeBSD head (as on july 2017 or later). As far as importing is<br>
> concerned there is a lot of information in libbsd.txt or on previous<br>
> GSoC student's blogs which can help me understand the process. However,<br>
> before importing i also need to update libbsd base to FreeBSD head(as on<br>
> july 2017 or later). I couldn't find much information regarding this<br>
> update process. It would be really helpful if you point me towards its<br>
> relevant documentation or give me a gist of the whole process. That<br>
> would again help me understand the process better, and thus propose a<br>
> more elaborated and realistic time-line.<br>
><br>
> Thanks and Regards<br>
> Udit agarwal<br>
><br>
<br>
</div></div>Hello Udit,<br>
<br>
there is no step-by-step guide (or any other guide) regarding a complete<br>
FreeBSD update. That has to do with the fact that there is no standard<br>
way to do it. Each update is quite unique.<br>
<br>
The basic steps are the following ones:<br>
<br>
- Use the freebsd-to-rtems.py script to move the changes to freebsd-org<br>
folder.<br>
<br>
- Rebase the changes in freebsd-org to the latest head.<br>
<br>
- Re-Import the files with freebsd-to-rtems.py.<br>
<br>
- Take a look at what changed in FreeBSD and fix everything.<br>
<br>
The first three are easy. The last one is really hard if you don't know<br>
the code.<br>
<br>
I have seen that you are able to search through code quite quickly. But<br>
I also have seen that you had some trouble with the mutex in the<br>
getentropy patch. Although I'm sure you don't have problems learning the<br>
necessary basics I think that it is quite likely that it will use up too<br>
much time of the project. So I would suggest to plan the alternative<br>
solution: Backport the driver. Although with that there will be no patch<br>
that we can integrate into the current libbsd, it is a solution that is<br>
doable in the scope of your GSoC project.<br>
<br>
If you prefer to produce code that will be integrated quickly, you can<br>
still think about the other libbsd projects.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Christian Mauderer<br>
</font></span></blockquote></div><br></div></div>