<div dir="ltr"><div style="font-size:12.8px">Hi Gedare</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I was looking at the ticket #2733(<span style="font-size:12.8px">Related to your SPI issues</span>) and potential project for GSoc 2017 for Raspberry Pi </div><div style="font-size:12.8px">the one I find interesting is "<span style="background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif;font-size:13px">Convert the existing SPI support to the new Linux SPI API and test with SPI devices".</span></div><div style="font-size:12.8px"><span style="background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-size:13px;background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif">I have gone through the wordpress bolg(</span><font color="#000000" face="verdana, arial, bitstream vera sans, helvetica, sans-serif"><a href="https://asuolgsoc2014.wordpress.com/">https://asuolgsoc2014.wordpress.com/</a></font><span style="font-size:13px;background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif">) of </span><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">André Marques to understand the SPI API developed by him as a part of GSoc 14,15 . I am going through his code which he commited in RTEMS repository in GitHub (</span><font color="#262626" face="georgia, sans-serif"><span style="font-size:15px"><a href="https://github.com/RTEMS/rtems/commit/61e7c698a44137afbc1447ed328b14a0d9e55016">https://github.com/RTEMS/rtems/commit/61e7c698a44137afbc1447ed328b14a0d9e55016</a></span></font><span style="color:rgb(38,38,38);font-family:georgia,sans-serif;font-size:15px">)</span></div><div><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif"><br></span></div><div><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">I have also gone through blog post of  Mudit Jain(</span><font color="#262626" face="georgia, sans-serif"><span style="font-size:15px"><a href="http://rtemsgsoc2016-mudit.blogspot.in/">http://rtemsgsoc2016-mudit.blogspot.in/</a></span></font><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">) also i have gone through code which he commited in RTEMS repository in GitHub (</span><font color="#262626" face="georgia, sans-serif"><span style="font-size:15px"><a href="https://github.com/RTEMS/rtems/commit/48704cdebdd40391c5ca8d8020e5a77edff37677">https://github.com/RTEMS/rtems/commit/48704cdebdd40391c5ca8d8020e5a77edff37677</a></span></font><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">).</span></div><div><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif"><br></span></div><div><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">I have also read about how to port drivers from FreeBSD to Rtems/libBSD as posted by Ragunath in his blog post (</span><font color="#262626" face="georgia, sans-serif"><span style="font-size:15px"><a href="http://ragustechblog.blogspot.in/2015/06/porting-driver-from-freebsd-to-rtems.html">http://ragustechblog.blogspot.in/2015/06/porting-driver-from-freebsd-to-rtems.html</a></span></font><span style="color:rgb(38,38,38);font-family:georgia,sans-serif;font-size:15px">) .</span></div><div style="font-size:12.8px"><span style="color:rgb(38,38,38);font-family:georgia,sans-serif;font-size:15px"><br></span></div><div><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">I have also read the Alan Blog post(</span><font color="#262626" face="georgia, sans-serif"><span style="font-size:15px"><a href="http://alanstechnotes.blogspot.in/2013/04/setting-up-rtems-development.html">http://alanstechnotes.blogspot.in/2013/04/setting-up-rtems-development.html</a></span></font><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif">)  on how to compile GCC and RTEMS for arms and I am trying to get that running on my system . I will share the results as soon as I finish with the community.</span></div><div><br></div><div><span style="font-size:15px;color:rgb(38,38,38);font-family:georgia,sans-serif"><br></span></div><div style="font-size:12.8px"><span style="background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif;font-size:13px">For the project the API which is refered to is that </span><span style="color:rgb(38,38,38);font-family:georgia,sans-serif;font-size:15px">André Marques developed  ?</span></div><div style="font-size:12.8px"><font color="#262626" face="georgia, sans-serif"><span style="font-size:15px">What is the new Linux here been refered to?</span></font></div><div style="font-size:12.8px"><span style="background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif;font-size:13px">Can you please tell me the basic structue of what is to be implemented as the part for this project.</span></div><div><span style="background-color:rgb(255,255,221);color:rgb(0,0,0);font-family:verdana,arial,"bitstream vera sans",helvetica,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 6:17 PM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</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">On Sun, Mar 5, 2017 at 12:24 PM, Alan Cudmore <<a href="mailto:alan.cudmore@gmail.com">alan.cudmore@gmail.com</a>> wrote:<br>
> Hi everyone,<br>
> This is how far I was able to get when trying to run libBSD on the Pi. I<br>
> will give you a better idea of where to start.<br>
> <a href="https://lists.rtems.org/pipermail/devel/2016-September/016092.html" rel="noreferrer" target="_blank">https://lists.rtems.org/<wbr>pipermail/devel/2016-<wbr>September/016092.html</a><br>
> Since then, the libbsd version has been updated in RTEMS, so it may need<br>
> some work to get it to compile again.<br>
><br>
> Here is a general status as I understand it:<br>
> RTEMS ( without bsdlib ) works on the original Pi model B, Pi A+, Pi B+, Pi<br>
> Zero, and the Pi 2.<br>
> SMP works on the Pi 2.<br>
><br>
> RTEMS does not work on the Pi 3 yet, The UART that the current BSPs use as a<br>
> console is now used by the Bluetooth.<br>
> So a new UART driver has to be written for the "mini-uart" that serves as<br>
> the console on the Pi3.<br>
> I believe the same applies to the new Raspberry Pi Zero W, which has the<br>
> same Bluetooth wireless stack.<br>
><br>
><br>
> We have been working on I2C, SPI, and GPIO support.<br>
> I2C has been converted to the new linux user API, but SPI has not.<br>
> GPIO and I2C work, but I have not been able to get my SPI devices to work.<br>
><br>
> So potential Raspberry Pi work includes:<br>
> Convert the existing SPI support to the new Linux SPI API and test with SPI<br>
> devices<br>
> Continue to work on the LibBSD support<br>
> Support the Pi Zero W ( and potentially the Pi 3 ) by creating a new uart<br>
> driver<br>
> Support Pi 3 SMP ( along with the UART )<br>
><br>
> Even more advanced work could include:<br>
> Support the Wifi and bluetooth in LibBSD for the Pi Zero W and/or Pi 3.<br>
><br>
> Gedare, I know this should probably be on the GSOC wiki, right  ?<br>
><br>
<br>
</div></div>I added to the relevant open project ticket: <a href="https://devel.rtems.org/ticket/2899" rel="noreferrer" target="_blank">https://devel.rtems.org/<wbr>ticket/2899</a><br>
<br>
Related to your SPI issues may be: <a href="https://devel.rtems.org/ticket/2733" rel="noreferrer" target="_blank">https://devel.rtems.org/<wbr>ticket/2733</a><br>
<div class="HOEnZb"><div class="h5"><br>
> Alan<br>
><br>
><br>
> On Sun, Mar 5, 2017 at 7:49 AM, Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
>><br>
>> Hello Sagar Gupta,<br>
>><br>
>> The best place to start is with the previous GSoC effort that focused<br>
>> on Raspberry PI. This was last year's project<br>
>> <a href="https://devel.rtems.org/wiki/GSoC/2016/USB%26EthernetRaspberryPi" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/<wbr>GSoC/2016/USB%<wbr>26EthernetRaspberryPi</a><br>
>><br>
>><br>
>><br>
>> On Sat, Mar 4, 2017 at 2:21 AM, Sagar Gupta<br>
>> <<a href="mailto:sagarguptamonu1996@gmail.com">sagarguptamonu1996@gmail.com</a>> wrote:<br>
>> > Hi ,<br>
>> ><br>
>> > I have done a course on Operating Systems at undergraduate level.<br>
>> > I am specifically interested in development of drivers for operating<br>
>> > systems<br>
>> > which work on hardware such as the Raspberry Pi.<br>
>> > Can I get to know what are the potential projects for Raspberry pi in<br>
>> > GSoc'17 ?<br>
>> > also can you guide me to such threads, projects, documentation which<br>
>> > could<br>
>> > be be helpful for the same.<br>
>> ><br>
>> > Thanks<br>
>> ><br>
>> > Warm Regards,<br>
>> > Sagar Gupta<br>
>> > Phone : +91 8686146518<br>
>> > Computer Science Student<br>
>> > BITS Pilani , Hyderabad Campus<br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > devel mailing list<br>
>> > <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
>> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>