<div dir="ltr">Hi Alan, <div><br></div><div>Thanks for the information. Besides my below queries, could you please also let me know from where I should begin with ?</div><div> </div><div>Like first I was thinking of understanding at least the initialization routine from the starting point of raspberry pi. Starting with the stack/vector initialization and ending up to driver and filesystem(in brief)... Would be good if there any documentation which I can directly refer to apart from code. </div>
<div><br></div><div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 20, 2014 at 7:07 PM, Alan Cudmore <span dir="ltr"><<a href="mailto:alan.cudmore@gmail.com" target="_blank">alan.cudmore@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ritesh,<div>For the Raspberry Pi, Andre Marques added GPIO, SPI, and I2C support for his Google Summer of Code project. When this code is merged, it will allow many other devices to work on the Pi. There is still</div>
</div></blockquote><div><br></div><div>Ok, I will try to go through this once. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div> plenty of other work to do on the Raspberry Pi BSP including:</div>
<div>- JTAG debugging - I have not had the time to continue my work with the MiniMod/OpenOCD JTAG debugger. It currently does not work reliably for me. Another user is using a second Raspberry Pi as a JTAG interface. </div>
</div></blockquote><div><br></div><div>Any link to that information of using other pi board as JTAG interface ?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>- SD card driver - Some work has been done by Andre towards this. </div></div></blockquote><div><br></div><div>Ok, will try to find out about this more from RTEMS mailing list. Would be good if direct link to github patches or blog. </div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>- USB/Network - The ethernet device goes through the USB interface, which means that a USB stack has to be in place to access the ethernet chip. </div>
</div></blockquote><div><br></div><div>any starting point for this ? </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div>- Console & Framebuffer graphics </div><div>- Sound?</div><div><br></div><div>As you can see, there is plenty to work on with the Raspberry Pi BSP. There are also plenty of other boards/BSPs to work on, but I am biased. There are over 2.5 million Pi's out there, and I believe that having first class RTEMS support will help to expand the RTEMS user base.</div>
</div></blockquote><div><br></div><div>I agree with the viewpoint. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div><br></div><div>Links to Andre's GSOC work:</div><div><a href="http://www.rtems.org/wiki/index.php/Raspberry_Pi_BSP_Peripherals" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://www.rtems.org/wiki/index.php/Raspberry_Pi_BSP_Peripherals</a><br style="font-family:arial,sans-serif;font-size:13px">

<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">and the blog</span><br style="font-family:arial,sans-serif;font-size:13px"><a href="http://asuolgsoc2014.wordpress.com/2014/08/18/testing-the-project/" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://asuolgsoc2014.wordpress.com/2014/08/18/testing-the-project/</a></div>
</div></blockquote><div><br></div><div>Thanks for the link. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br>
</div><div><br></div><div>Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Aug 20, 2014 at 5:40 AM, Hesham Moustafa <span dir="ltr"><<a href="mailto:heshamelmatary@gmail.com" target="_blank">heshamelmatary@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi Ritesh,<br>
<div><div><br>
On Wed, Aug 20, 2014 at 11:28 AM, Ritesh Harjani<br>
<<a href="mailto:ritesh.harjani@gmail.com" target="_blank">ritesh.harjani@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I have been following RTEMS from quite some time rather I would say my<br>
> questions have been on & off from this community (although I haven't<br>
> contributed anything yet). So, this mail is mainly regarding some help from<br>
> the community members so that I can pitch in to contribute something to this<br>
> community.<br>
><br>
> Based on my knowledge I would like to start from ARM bsps/raspberry pi as I<br>
> am seeing quite lot of development activity going on in these areas.<br>
><br>
> If someone can guide me with the following activities it would be great:<br>
><br>
> 1. I need to just start something, may be with a small patch (which should<br>
> be related to the above mentioned area):<br>
> Earlier I thought of starting with some driver development but without<br>
> having basic knowledge of RTEMS file structure/other areas, I wasn't able to<br>
> complete it.<br>
><br>
> 2. Need to understand the boot flow and the code initialization routine<br>
> which can give me an idea as to where all and what all drivers are present<br>
> etc etc..<br>
><br>
><br>
> Later may be I can think of porting/developing some driver for any ARM bsp.<br>
><br>
><br>
> Background activity done till now:<br>
><br>
> 1. Followed all the steps in Alan's Blog<br>
> (<a href="http://alanstechnotes.blogspot.in/2013/03/running-your-first-rtems-program-on.html" target="_blank">http://alanstechnotes.blogspot.in/2013/03/running-your-first-rtems-program-on.html</a>):<br>
> I was able to run ticker.exe sample test on Raspberry pi. Although there are<br>
> some doubts which I have asked below.<br>
><br>
> 2. Ordered OpenOCD based JTAG board. Once this comes I will make this JTAG<br>
> board start working.<br>
><br>
><br>
> Queries:<br>
> 1. Is by default raspberry pi MMU enabled and all the page table are setup<br>
> ?(from HEAD of git://<a href="http://git.rtems.org/rtems.git" target="_blank">git.rtems.org/rtems.git</a>)<br>
><br>
> 2. I cannot see any libmmu tests which I think Hesham developed during GSOC<br>
> 2013 ?<br>
> Do we keep this into different git ?<br>
><br>
</div></div>Some of my project code has been merged (mainly low-level parts of<br>
libmm implemented for Raspberry Pi). The other code is held in my old<br>
github repo here <a href="https://github.com/heshamelmatary/rtems-gsoc2013" target="_blank">https://github.com/heshamelmatary/rtems-gsoc2013</a><br>
<div>> 3. With OpenOCD and gdb is it possible to see all the CP15 coprocessor<br>
> registers on ARM ?<br>
><br>
> 4. How was Hesham able to debug and see the MMU register settings(like<br>
> SCTLR.MMU) during his work on GSoc 2013 libmmu development for raspberry pi<br>
> ? Was it QEMU ?<br>
><br>
</div>I was using QEMU for debugging Xilinx Zynq BSP, as well as Realview.<br>
For Raspberry Pi (worked on the HW board, no simulators), I just used<br>
printf to print out the values of registers which I need to peek into.<br>
<div>><br>
><br>
> Please feel free to guide me through the work plan if anyone have in his/her<br>
> mind for ARM bsps.<br>
><br>
><br>
><br>
> Thanks<br>
> Ritesh Harjani<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div></div>_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div>