PI STATUS

Gedare Bloom gedare at rtems.org
Sun Mar 19 14:21:21 UTC 2017


On Sat, Mar 18, 2017 at 4:59 PM, Sagar Gupta
<sagarguptamonu1996 at gmail.com> wrote:
> Hi Gedare
>
> I was looking at the ticket #2733(Related to your SPI issues) and potential
> project for GSoc 2017 for Raspberry Pi
> the one I find interesting is "Convert the existing SPI support to the new
> Linux SPI API and test with SPI devices".
>
> I have gone through the wordpress bolg(https://asuolgsoc2014.wordpress.com/)
> of 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
> (https://github.com/RTEMS/rtems/commit/61e7c698a44137afbc1447ed328b14a0d9e55016)
>
> I have also gone through blog post of  Mudit
> Jain(http://rtemsgsoc2016-mudit.blogspot.in/) also i have gone through code
> which he commited in RTEMS repository in GitHub
> (https://github.com/RTEMS/rtems/commit/48704cdebdd40391c5ca8d8020e5a77edff37677).
>
> I have also read about how to port drivers from FreeBSD to Rtems/libBSD as
> posted by Ragunath in his blog post
> (http://ragustechblog.blogspot.in/2015/06/porting-driver-from-freebsd-to-rtems.html)
> .
>
> I have also read the Alan Blog
> post(http://alanstechnotes.blogspot.in/2013/04/setting-up-rtems-development.html)
> 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.
>
Alan's blog post may be outdated by now.

>
> For the project the API which is refered to is that André Marques developed
> ?
> What is the new Linux here been refered to?
The Linux API is defined under cpukit/dev

> Can you please tell me the basic structue of what is to be implemented as
> the part for this project.
>
I don't know which  BSP already implements one, but you can probably
search for an include of  dev/spi.h in the libbsp to figure that out.

>
> On Mon, Mar 6, 2017 at 6:17 PM, Gedare Bloom <gedare at rtems.org> wrote:
>>
>> On Sun, Mar 5, 2017 at 12:24 PM, Alan Cudmore <alan.cudmore at gmail.com>
>> wrote:
>> > Hi everyone,
>> > This is how far I was able to get when trying to run libBSD on the Pi. I
>> > will give you a better idea of where to start.
>> > https://lists.rtems.org/pipermail/devel/2016-September/016092.html
>> > Since then, the libbsd version has been updated in RTEMS, so it may need
>> > some work to get it to compile again.
>> >
>> > Here is a general status as I understand it:
>> > RTEMS ( without bsdlib ) works on the original Pi model B, Pi A+, Pi B+,
>> > Pi
>> > Zero, and the Pi 2.
>> > SMP works on the Pi 2.
>> >
>> > RTEMS does not work on the Pi 3 yet, The UART that the current BSPs use
>> > as a
>> > console is now used by the Bluetooth.
>> > So a new UART driver has to be written for the "mini-uart" that serves
>> > as
>> > the console on the Pi3.
>> > I believe the same applies to the new Raspberry Pi Zero W, which has the
>> > same Bluetooth wireless stack.
>> >
>> >
>> > We have been working on I2C, SPI, and GPIO support.
>> > I2C has been converted to the new linux user API, but SPI has not.
>> > GPIO and I2C work, but I have not been able to get my SPI devices to
>> > work.
>> >
>> > So potential Raspberry Pi work includes:
>> > Convert the existing SPI support to the new Linux SPI API and test with
>> > SPI
>> > devices
>> > Continue to work on the LibBSD support
>> > Support the Pi Zero W ( and potentially the Pi 3 ) by creating a new
>> > uart
>> > driver
>> > Support Pi 3 SMP ( along with the UART )
>> >
>> > Even more advanced work could include:
>> > Support the Wifi and bluetooth in LibBSD for the Pi Zero W and/or Pi 3.
>> >
>> > Gedare, I know this should probably be on the GSOC wiki, right  ?
>> >
>>
>> I added to the relevant open project ticket:
>> https://devel.rtems.org/ticket/2899
>>
>> Related to your SPI issues may be: https://devel.rtems.org/ticket/2733
>>
>> > Alan
>> >
>> >
>> > On Sun, Mar 5, 2017 at 7:49 AM, Gedare Bloom <gedare at rtems.org> wrote:
>> >>
>> >> Hello Sagar Gupta,
>> >>
>> >> The best place to start is with the previous GSoC effort that focused
>> >> on Raspberry PI. This was last year's project
>> >> https://devel.rtems.org/wiki/GSoC/2016/USB%26EthernetRaspberryPi
>> >>
>> >>
>> >>
>> >> On Sat, Mar 4, 2017 at 2:21 AM, Sagar Gupta
>> >> <sagarguptamonu1996 at gmail.com> wrote:
>> >> > Hi ,
>> >> >
>> >> > I have done a course on Operating Systems at undergraduate level.
>> >> > I am specifically interested in development of drivers for operating
>> >> > systems
>> >> > which work on hardware such as the Raspberry Pi.
>> >> > Can I get to know what are the potential projects for Raspberry pi in
>> >> > GSoc'17 ?
>> >> > also can you guide me to such threads, projects, documentation which
>> >> > could
>> >> > be be helpful for the same.
>> >> >
>> >> > Thanks
>> >> >
>> >> > Warm Regards,
>> >> > Sagar Gupta
>> >> > Phone : +91 8686146518
>> >> > Computer Science Student
>> >> > BITS Pilani , Hyderabad Campus
>> >> >
>> >> > _______________________________________________
>> >> > devel mailing list
>> >> > devel at rtems.org
>> >> > http://lists.rtems.org/mailman/listinfo/devel
>> >
>> >
>
>



More information about the devel mailing list