<div dir="ltr">The Pi 1/B+ would be a good model to start the USB development with. <div><br></div><div>I have actually not built the BSD lib myself. But I think this is the place to start:</div><div><a href="https://git.rtems.org/rtems-libbsd/tree/libbsd.txt">https://git.rtems.org/rtems-libbsd/tree/libbsd.txt</a><br></div><div><a href="https://git.rtems.org/rtems-libbsd/tree/README.waf">https://git.rtems.org/rtems-libbsd/tree/README.waf</a><br></div><div>Looks like the arm/<span style="color:rgb(0,0,0);font-size:13px">realview_pbx_a9_qemu BSP is the one use.</span></div><div><br></div><div>I have run some of the SMP examples on qemu with the arm/realview_pbx_a9_qemu_smp BSP and it worked well for me. </div><div><br></div><div><span style="color:rgb(0,0,0);font-size:13px">Alan</span></div><div><span style="color:rgb(0,0,0);font-size:13px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 23, 2016 at 9:03 AM, Deval Shah <span dir="ltr"><<a href="mailto:deval.maker@gmail.com" target="_blank">deval.maker@gmail.com</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 Tue, Mar 22, 2016 at 10:04 PM, Alan Cudmore <<a href="mailto:alan.cudmore@gmail.com">alan.cudmore@gmail.com</a>> wrote:<br>
> Hi Deval,<br>
> Your proposal looks good. I would suggest adding a step where you build a<br>
> known BSP with BSD lib support. It will help you become familiar with the<br>
> development process.<br>
<br>
</span>Thanks for the suggestion, Alan. I will be adding this to my proposal.<br>
Also, which BSP would you recommend that I pick up ? Is there any list<br>
of currently added BSPs from which I can choose?<br>
<span class=""><br>
> You should also address which Raspberry Pi model you will support. Now that<br>
> there are so many Raspberry Pi models, it might make the project more<br>
> complicated:<br>
> Original raspberry Pi Model A & A+: a single built in USB port in the<br>
> BCM2835 CPU. No ethernet or USB hub.<br>
> Raspberry Pi Model B & B+: USB hub and Ethernet in LAN9512 chip.<br>
> Raspberry Pi 2 Model B: USB hub and Ethernet in LAN9514 chip.<br>
> Raspberry Pi 3 Model B:  I would not worry about this one yet.<br>
> Raspberry Pi Zero: A single USB OTG port , no ethernet or USB hub.<br>
><br>
> I would pick one of them and get it working before seeing if another model<br>
> could be supported.<br>
><br>
> If the Raspberry Pi 1/B+ and 2/B Hubs are functionally the same ( LAN9512<br>
> vs. LAN9514 ), this would support the widest range of devices out there.<br>
><br>
</span>I was also thinking for that. I have a Raspberry PI 1/B+ and a<br>
majority of users have either 1/B+ or 2/B. Probably we can start with<br>
1/B+ and then enable the other models.<br>
<span class=""><br>
> If you have time, I would love to see USB support for the BCM2835 on the Pi<br>
> Model A+ and especially the Pi Zero.<br>
<br>
</span>Sure, I had left some buffer time in my proposal, probably if things<br>
goes as per plan that time can be used for USB support for the<br>
BCM2835.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks,<br>
> Alan<br>
><br>
><br>
> On Tue, Mar 22, 2016 at 8:52 AM, Deval Shah <<a href="mailto:deval.maker@gmail.com">deval.maker@gmail.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I have updated my draft proposal and shared on the tracking page. I'm<br>
>> sharing it here as well. <a href="https://goo.gl/QQiAf6" rel="noreferrer" target="_blank">https://goo.gl/QQiAf6</a><br>
>><br>
>> Sorry, I was busy with my Mid-Semester exams, could not update earlier.<br>
>><br>
>> Since this is a draft proposal, it may not be completely polished yet.<br>
>> I'd appreciate any comments on it, especially regarding the project<br>
>> description<br>
>> and timeline.<br>
>><br>
>> Thank you.<br>
>><br>
>> Regards,<br>
>> Deval Shah<br>
>><br>
>> On Fri, Mar 11, 2016 at 11:02 PM, Deval Shah <<a href="mailto:deval.maker@gmail.com">deval.maker@gmail.com</a>><br>
>> wrote:<br>
>> > On Fri, Mar 11, 2016 at 8:33 PM, Gedare Bloom <<a href="mailto:gedare@gwu.edu">gedare@gwu.edu</a>> wrote:<br>
>> >> On Fri, Mar 11, 2016 at 8:19 AM, Deval Shah <<a href="mailto:deval.maker@gmail.com">deval.maker@gmail.com</a>><br>
>> >> wrote:<br>
>> >>> Hello everyone!<br>
>> >>><br>
>> >>> I went through the links and blogs of the SD card and USB/Ethernet<br>
>> >>> project for Raspberry PI. I would like to work for the USB/Ethernet<br>
>> >>> support project.<br>
>> >>><br>
>> >>> I have prepared a draft of the timeline as follows:<br>
>> >>><br>
>> >>> Acceptance Waiting Period:<br>
>> >>> Understanding previous year's GSOC work<br>
>> >>><br>
>> >>> First Half:<br>
>> >>> completing USB support for RPI<br>
>> >>> Testing USB and add drivers for HIDs like Mouse and Keyboard<br>
>> >>><br>
>> >>> Second Half:<br>
>> >>> Adding Ethernet Support<br>
>> >>> Testing (ARP, PING, DHCP, FTP, TFTP)<br>
>> >>> Adding support for lwIP (since it is already ported to BBB, this<br>
>> >>> should not take more time)<br>
>> >>><br>
>> >> Timeline seems good. Is the USB support available from freebsd for the<br>
>> >> libbsd codebase?<br>
>> ><br>
>> > Yes. libbsd has support for USB.<br>
>> > Last year issues were in porting the driver (<br>
>> > <a href="http://gtament-rtems.blogspot.in/2015/06/my-progress-report.html" rel="noreferrer" target="_blank">http://gtament-rtems.blogspot.in/2015/06/my-progress-report.html</a> ).<br>
>> ><br>
>> >>> If we have wifi support in RTEMS, can support of a USB wifi module be<br>
>> >>> added to the project?<br>
>> >>><br>
>> >> I haven't seen any one using wifi yet.<br>
>> >><br>
>> >>> I'd really appreciate any feedback on my deliverables, especially<br>
>> >>> regarding the feasibility of doing it in this time frame. If there is<br>
>> >>> anything I may have missed out or anything else I should consider as a<br>
>> >>> part of this, I'd be really glad if someone could point that out, so<br>
>> >>> as to increase my chances of selection.<br>
>> >>><br>
>> >>> A quick question: How can I add my name to the tracking list @<br>
>> >>> <a href="https://devel.rtems.org/wiki/GSoC/2016" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/GSoC/2016</a> ?<br>
>> >>><br>
>> >> You need to register an account to edit the page through link at the<br>
>> >> bottom.<br>
>> >> Okay, Thank you.<br>
>> >>> Deval Shah<br>
>> >>><br>
>> >>> On Tue, Mar 1, 2016 at 3:07 AM, André Marques<br>
>> >>> <<a href="mailto:andre.lousa.marques@gmail.com">andre.lousa.marques@gmail.com</a>> wrote:<br>
>> >>>> Hello Jan and Deval,<br>
>> >>>><br>
>> >>>> Às 20:24 de 29-02-2016, Jan Sommer escreveu:<br>
>> >>>>><br>
>> >>>>> Hi,<br>
>> >>>>><br>
>> >>>>> If you take a look here:<br>
>> >>>>><br>
>> >>>>> <a href="https://devel.rtems.org/wiki/GSoC/2015#StudentsSummerofCodeTrackingTable" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/GSoC/2015#StudentsSummerofCodeTrackingTable</a> you<br>
>> >>>>> can find the links to the reports and repositories of the previous<br>
>> >>>>> GSoC.<br>
>> >>>>> Yurii Shevtsov was doing the work on the Ethernet/USB part for the<br>
>> >>>>> pi.<br>
>> >>>>> Andre Marques worked on the SPI and SD-Card driver.<br>
>> >>>><br>
>> >>>><br>
>> >>>> I have updated a bit the Raspberry Open Projects page with the state<br>
>> >>>> of the<br>
>> >>>> low level peripherals project, and provided links to the state of<br>
>> >>>> each of<br>
>> >>>> the other projects (the wiki pages of the students working on them<br>
>> >>>> last<br>
>> >>>> year, which also include their blogs and githubs).<br>
>> >>>><br>
>> >>>><br>
>> >>>> <a href="https://devel.rtems.org/wiki/Developer/Projects/Open/ImproveRaspberryPiBSP" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/Developer/Projects/Open/ImproveRaspberryPiBSP</a><br>
>> >>>><br>
>> >>>>  The other 3 raspberry projects I do not know exactly their current<br>
>> >>>> state,<br>
>> >>>> but they already have some work done (just not in the RTEMS tree<br>
>> >>>> yet).<br>
>> >>>><br>
>> >>>> It seems that only GPIO, I2C and SPI were merged last year.<br>
>> >>>><br>
>> >>>>> Cheers,<br>
>> >>>>><br>
>> >>>>>     Jan<br>
>> >>>>><br>
>> >>>>> Am Tuesday 01 March 2016, 01:15:24 schrieb Deval Shah:<br>
>> >>>>>><br>
>> >>>>>> It looks like there are more useful things in pipeline before<br>
>> >>>>>> raspberry<br>
>> >>>>>> pi<br>
>> >>>>>> cam support.<br>
>> >>>>>><br>
>> >>>>>> Can anybody give me pointers/links to refer for porting ethernet<br>
>> >>>>>> support<br>
>> >>>>>> and SD card support?<br>
>> >>>><br>
>> >>>><br>
>> >>>> For the last year efforts on the SD card support you can refer to:<br>
>> >>>><br>
>> >>>><br>
>> >>>> <a href="https://devel.rtems.org/wiki/GSoC/2015/RaspberryPi_peripherals_and_SD_card#SDcardsupport" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/GSoC/2015/RaspberryPi_peripherals_and_SD_card#SDcardsupport</a><br>
>> >>>><br>
>> >>>><br>
>> >>>>>><br>
>> >>>>>> On Thursday 18 February 2016, <a href="mailto:soja-lists@aries.uberspace.de">soja-lists@aries.uberspace.de</a> <<br>
>> >>>>>> <a href="mailto:soja-lists@aries.uberspace.de">soja-lists@aries.uberspace.de</a>> wrote:<br>
>> >>>>>><br>
>> >>>>>>> Am 2016-02-18 01:26, schrieb Joel Sherrill:<br>
>> >>>>>>><br>
>> >>>>>>>> On Feb 17, 2016 6:17 PM, "André Marques"<br>
>> >>>>>>>> <<a href="mailto:andre.lousa.marques@gmail.com">andre.lousa.marques@gmail.com</a>><br>
>> >>>>>>>> wrote:<br>
>> >>>>>>>><br>
>> >>>>>>> [...]<br>
>> >>>>>>><br>
>> >>>>>>>> Was i2c fully delivered for the new driver framework? I don't<br>
>> >>>>>>>> recall<br>
>> >>>>>>>>><br>
>> >>>>>>>>> off-hand.<br>
>> >>>>>>>>><br>
>> >>>>>>>>> Yes the i2c driver for the Pi uses the new (linux-based) i2c<br>
>> >>>>>>>>> framework.<br>
>> >>>>>>>>><br>
>> >>>>>>>> 10-bit addressing is untested because I had no compatible slave<br>
>> >>>>>>>> device.<br>
>> >>>>>>>><br>
>> >>>>>>>>> A detailed report of my last GSOC can be found here:<br>
>> >>>>>>>>><br>
>> >>>>>>>>><br>
>> >>>>>>>>><br>
>> >>>>>>>>><br>
>> >>>>>>>>> <a href="https://devel.rtems.org/wiki/GSoC/2015/RaspberryPi_peripherals_and_SD_card" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/GSoC/2015/RaspberryPi_peripherals_and_SD_card</a><br>
>> >>>>>>>>><br>
>> >>>>>>>>> SD card support was started but not completed last year, so it<br>
>> >>>>>>>>> may be<br>
>> >>>>>>>>><br>
>> >>>>>>>> included on a potential Raspberry project. I can help with that<br>
>> >>>>>>>> if<br>
>> >>>>>>>> needed.<br>
>> >>>>>>>><br>
>> >>>>>>>> Andres.. Thanks for speaking up. Can you update the project page<br>
>> >>>>>>>> and<br>
>> >>>>>>>> link<br>
>> >>>>>>>> to your blog?<br>
>> >>>>>>>><br>
>> >>>>>>>> What else do you think needs find on the Pi and Pi2?<br>
>> >>>>>>>><br>
>> >>>>>>>><br>
>> >>>>>>> Last year there was a GSoC to add ethernet support for the<br>
>> >>>>>>> raspberry pi<br>
>> >>>>>>> via rtems-libbsd, but I think it was never finished.<br>
>> >>>>>>> Maybe that could be started again?<br>
>> >>>>>>><br>
>> >>>>>>> I haven't researched it yet to know if it is feasible but I am<br>
>> >>>>>>> curious<br>
>> >>>>>>> if<br>
>> >>>>>>>><br>
>> >>>>>>>> the Arduino HW libraries have a clean porting layer which could<br>
>> >>>>>>>> provide<br>
>> >>>>>>>> support for a lot of i2c devices. Is this a wikd goose chase or<br>
>> >>>>>>>> of<br>
>> >>>>>>>> potential value?<br>
>> >>>>>>>><br>
>> >>>>>>>><br>
>> >>>>>>> Sounds like an interesting idea, but isn't Arduino written in C++?<br>
>> >>>>>>><br>
>> >>>>>>> Best regards,<br>
>> >>>>>>><br>
>> >>>>>>>     Jan<br>
>> >>>>>>><br>
>> >>>>>>><br>
>> >>>>>>>>> I very much look forward for any pointers on this.<br>
>> >>>>>>>>>>><br>
>> >>>>>>>>>>> I am eager to work for RTEMS organization because I believe my<br>
>> >>>>>>>>>>> skill<br>
>> >>>>>>>>>>> set is best suited for this.<br>
>> >>>>>>>>>>><br>
>> >>>>>>>>>>> Thanking you,<br>
>> >>>>>>>>>>> Deval Shah<br>
>> >>>>>>>>>>><br>
>> >>>>>>>>>>> _______________________________________________<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/mailman/listinfo/devel</a><br>
>> >>>>>>>>>>><br>
>> >>>>>>>>> --André Marques<br>
>> >>>>>>>>><br>
>> >>>>>>>>><br>
>> >>>>>>>>> _______________________________________________<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/mailman/listinfo/devel</a><br>
>> >>>>>>>>><br>
>> >>>>>>>> _______________________________________________<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/mailman/listinfo/devel</a><br>
>> >>>>>>>><br>
>> >>>>>>> _______________________________________________<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/mailman/listinfo/devel</a><br>
>> >>>>><br>
>> >>>>> _______________________________________________<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/mailman/listinfo/devel</a><br>
>> >>>><br>
>> >>>><br>
>> >>>> --André Marques<br>
>> >>>><br>
>> _______________________________________________<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/mailman/listinfo/devel</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>