<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      about the USB driver port from FreeBSD I am finding it difficult
      to gauge how much work it would involve, so I will follow your
      suggestion and look at something else.<br>
      <br>
      As for GPIO I belive the work that has been done is this:<br>
      <br>
<a class="moz-txt-link-freetext" href="https://github.com/pficheux/raspberry_pi/tree/master/RTEMS/gpio_driver">https://github.com/pficheux/raspberry_pi/tree/master/RTEMS/gpio_driver</a><br>
      <br>
      Am I right?<br>
      <br>
      I also found a discussion on the best way of implementing the
      driver<br>
      <br>
<a class="moz-txt-link-freetext" href="http://www.rtems.org/pipermail/rtems-users/2013-October/012059.html">http://www.rtems.org/pipermail/rtems-users/2013-October/012059.html</a><br>
      <br>
      but i am not sure if that came to a decision.<br>
      <br>
      Meanwhile I will update the proposal with some basic info on the
      drivers.<br>
      <br>
      --André Marques.<br>
      <br>
      On 03/14/14 13:16, Andre Marques wrote:<br>
    </div>
    <blockquote cite="mid:53230135.6020106@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hello,<br>
        <br>
        On 03/14/14 02:33, Alan Cudmore wrote:<br>
      </div>
      <blockquote
cite="mid:CAJrjN72FNe0JL7Dfdt25=FF6NxA5w=UjFd2VFXJPOZKdN6Acyw@mail.gmail.com"
        type="cite">
        <div dir="ltr">Andre,
          <div>I think your project proposal looks good, but I wonder if
            including USB support is too much. There are low level "bare
            metal" USB examples out there for the Raspberry Pi, and that
            may serve as a starting point, but I think a real USB
            implementation will use the BSD library that has been ported
            to RTEMS. It may be possible, since there is a FreeBSD port
            to the Raspberry Pi. Maybe others can help here. </div>
          <div><br>
          </div>
        </div>
      </blockquote>
      <br>
      I will take a look into this. <br>
      <br>
      <blockquote
cite="mid:CAJrjN72FNe0JL7Dfdt25=FF6NxA5w=UjFd2VFXJPOZKdN6Acyw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>If you think that GPIO, SPI, and I2C are not enough, then
            you could always look at the framebuffer or SD card access. </div>
          <div><br>
          </div>
        </div>
      </blockquote>
      <br>
      Yes, right now I am trying to clarify everything the best I can so
      I don't end up with a lot more (or less) work than I can handle.<br>
      <br>
      <blockquote
cite="mid:CAJrjN72FNe0JL7Dfdt25=FF6NxA5w=UjFd2VFXJPOZKdN6Acyw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>Finally, it may be necessary to have an Raspberry Pi and
            a few peripherals. For example, I have an inexpensive I2C
            compass module that I use with linux, and I have a
            breadboard wired up with LEDs to test GPIO. </div>
          <div><br>
          </div>
        </div>
      </blockquote>
      <br>
      Right now I have access to a Raspberry Pi at the university, not
      sure about the peripherals though. Anyway, if this projects really
      goes forward I will get myself a raspberry and peripherals (I have
      already some other components, like a breadboard, leds, wire,
      etc).<br>
      <br>
      <blockquote
cite="mid:CAJrjN72FNe0JL7Dfdt25=FF6NxA5w=UjFd2VFXJPOZKdN6Acyw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>Thanks,</div>
          <div>Alan</div>
          <div><br>
          </div>
        </div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Thu, Mar 13, 2014 at 8:32 PM, Alan
            Cudmore <span dir="ltr"><<a moz-do-not-send="true"
                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">I'm glad there is interest in this project.
                Andre, I will read your proposal and provide feedback. 
                <div> Joel, I was on the melange site and the system
                  recognizes my account. Do I need to do anything to be
                  a mentor for RTEMS?</div>
                <span class="HOEnZb"><font color="#888888">
                    <div>Alan</div>
                    <div><br>
                    </div>
                  </font></span></div>
              <div class="HOEnZb">
                <div class="h5">
                  <div class="gmail_extra"><br>
                    <br>
                    <div class="gmail_quote">On Thu, Mar 13, 2014 at
                      7:31 PM, Andre Marques <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:andre.lousa.marques@gmail.com"
                          target="_blank">andre.lousa.marques@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 bgcolor="#FFFFFF" text="#000000">
                          <div>It is now on melange too.<br>
                            <br>
                            --André Marques.
                            <div>
                              <div><br>
                                <br>
                                On 03/13/14 23:21, Hesham Moustafa
                                wrote:<br>
                              </div>
                            </div>
                          </div>
                          <div>
                            <div>
                              <blockquote type="cite">
                                <div dir="ltr">Hi Andre,
                                  <div><br>
                                  </div>
                                  <div>I quote from RTEMS SoC page : </div>
                                  <div><br>
                                  </div>
                                  "GSOC STUDENTS! PLEASE FILL IN THE
                                  APPLICATION AT <a
                                    moz-do-not-send="true"
                                    href="http://www.google-melange.com"
                                    target="_blank">http://www.google-melange.com</a>!
                                  YOU CAN EDIT UNTIL THE DEADLINE! BUT
                                  YOU WILL NOT GET A SLOT IF YOU DO NOT
                                  APPLY THROUGH Google!!!"
                                  <div> <br>
                                  </div>
                                  <div>Regards,</div>
                                  <div>Hesham<br>
                                    <div><strong
                                        style="line-height:19.1875px;font-size:13px;font-family:sans-serif">
                                        <center
                                          style="display:inline!important">
                                          <p style="margin:0.4em 0px
                                            0.5em;line-height:1.5em;display:inline!important">
                                            <br>
                                          </p>
                                        </center>
                                      </strong></div>
                                    <div><br>
                                    </div>
                                  </div>
                                </div>
                                <div class="gmail_extra"><br>
                                  <br>
                                  <div class="gmail_quote">On Fri, Mar
                                    14, 2014 at 1:16 AM, Andre Marques <span
                                      dir="ltr"><<a
                                        moz-do-not-send="true"
                                        href="mailto:andre.lousa.marques@gmail.com"
                                        target="_blank">andre.lousa.marques@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 bgcolor="#FFFFFF"
                                        text="#000000">
                                        <div>Hello,<br>
                                          <br>
                                          I just posted the first
                                          proposal draft for "Raspberry
                                          Pi BSP Peripherals " in the
                                          RTEMS Wiki<br>
                                          <br>
                                          <a moz-do-not-send="true"
                                            href="http://wiki.rtems.org/wiki/index.php/RTEMSSummerOfCode"
                                            target="_blank">http://wiki.rtems.org/wiki/index.php/RTEMSSummerOfCode</a><br>
                                          <br>
                                          Any feedback is more than
                                          welcome. Should I post it
                                          already in melange too?<br>
                                          <br>
                                          --André Marques.
                                          <div>
                                            <div><br>
                                              <br>
                                              On 03/13/14 15:26, Joel
                                              Sherrill wrote:<br>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <blockquote type="cite"> <br>
                                              <div>On 3/13/2014 9:46 AM,
                                                Andre Marques wrote:<br>
                                              </div>
                                              <blockquote type="cite">
                                                <div>Hello,<br>
                                                  <br>
                                                  I would be very
                                                  interested in working
                                                  in this project
                                                  because I'm currently
                                                  trying to work with
                                                  Raspberry Pi and RTEMS
                                                  for my undergraduate
                                                  thesis, so this could
                                                  be a great followup to
                                                  that for the summer.<br>
                                                  <br>
                                                  I will need to do some
                                                  reseach on it before
                                                  making a proposal (the
                                                  time is also gettting
                                                  shorter), but will
                                                  post a proposal draft
                                                  very soon.<br>
                                                </div>
                                              </blockquote>
                                              <br>
                                              This would be a great area
                                              to work. As Alan says, the
                                              list is likely too much
                                              for<br>
                                              one student, so it seems
                                              likely that the work could
                                              be divided for two
                                              students<br>
                                              working on different
                                              parts.<br>
                                              <br>
                                              For the Pi Master list, I
                                              would like to add the
                                              Geert board. That looks
                                              like something<br>
                                              of interest to RTEMS
                                              folks.<br>
                                              <br>
                                              --joel<br>
                                              <blockquote type="cite">
                                                <div> <br>
                                                  --André Marques.<br>
                                                  <br>
                                                  On 03/13/14 11:23,
                                                  Alan Cudmore wrote:<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div dir="ltr">( I
                                                    posted this to the
                                                    rtems-devel list by
                                                    mistake, my
                                                    apologies for the
                                                    duplicate message )
                                                    <div><br>
                                                      <div>
                                                        <div>f there are
                                                          still
                                                          potential GSOC
                                                          students out
                                                          there looking
                                                          for a project,
                                                          I would like
                                                          to offer a
                                                          potential
                                                          project to
                                                          work on:
                                                          Improving the
                                                          Raspberry Pi
                                                          BSP. I would
                                                          be happy to
                                                          mentor a
                                                          student for
                                                          this project.
                                                          Below is my
                                                          description
                                                          for the task. </div>
                                                        <div><br>
                                                        </div>
                                                        <div>Thanks,</div>
                                                        <div>Alan</div>
                                                        <div><br>
                                                        </div>
                                                        <div>One of the
                                                          RTEMS Open
                                                          Projects is to
                                                          contribute a
                                                          BSP or Board
                                                          Support
                                                          Package for
                                                          readily
                                                          available
                                                          boards. The
                                                          Raspberry Pi
                                                          is probably
                                                          the most
                                                          available
                                                          board at $25
                                                          and $35 USD,
                                                          and there have
                                                          been over two
                                                          million of
                                                          these boards
                                                          sold. The
                                                          RTEMS head
                                                          (4.11)
                                                          currently has
                                                          a basic BSP
                                                          for the
                                                          Raspberry Pi,
                                                          supporting the
                                                          CPU, a single
                                                          UART, and
                                                          timer. It is
                                                          enough to run
                                                          some basic
                                                          RTEMS
                                                          programs, but
                                                          expanding the
                                                          BSP to support
                                                          peripherals
                                                          will make it
                                                          much more
                                                          useful. </div>
                                                        <div>For this
                                                          project, the
                                                          GSOC student
                                                          could improve
                                                          the peripheral
                                                          support for
                                                          the Raspberry
                                                          Pi BSP.</div>
                                                        <div>The
                                                          peripherals we
                                                          need to
                                                          support (in
                                                          order of
                                                          increasing
                                                          difficulty)
                                                          include:</div>
                                                        <div>1. GPIO
                                                          (This has been
                                                          done by one
                                                          user, but is
                                                          not
                                                          integrated) </div>
                                                        <div>2. I2C Bus</div>
                                                        <div>3. SPI Bus </div>
                                                        <div>4. Secure
                                                          Digital card
                                                          read and write
                                                          support (using
                                                          the SPI bus)</div>
                                                        <div>5. Graphics
                                                          / RTEMS
                                                          Framebuffer
                                                          Support (I
                                                          have a
                                                          graphics demo
                                                          working in an
                                                          RTEMS task)</div>
                                                        <div> 6. USB
                                                          Device support
                                                           </div>
                                                        <div>7.
                                                          HDMI/Graphics
                                                          console
                                                          (Requires
                                                          framebuffer
                                                          support and
                                                          USB or GPIO
                                                          connected
                                                          keyboard
                                                          device)</div>
                                                        <div>8. Ethernet
                                                          network
                                                          support
                                                          (Requires USB
                                                          support)</div>
                                                        <div>The entire
                                                          list is
                                                          probably too
                                                          much for a
                                                          single student
                                                          to accomplish,
                                                          so we can
                                                          adjust the
                                                          list of work
                                                          according to
                                                          what is
                                                          possible.</div>
                                                        <div><br>
                                                        </div>
                                                        <div>It may also
                                                          be a good idea
                                                          to add support
                                                          for both
                                                          models of the
                                                          Raspberry Pi
                                                          (256MB and
                                                          512MB) and be
                                                          able to
                                                          configure the
                                                          memory map in
                                                          the BSP to
                                                          match the boot
                                                          time split
                                                          between the
                                                          CPU and GPU
                                                          memory. </div>
                                                        <div><br>
                                                        </div>
                                                        <div>Finally, in
                                                          order to do
                                                          some of this
                                                          coding, it may
                                                          be necessary
                                                          to come up
                                                          with a more
                                                          efficient way
                                                          to load and
                                                          debug code on
                                                          the Raspberry
                                                          Pi. Options
                                                          include using
                                                          U-boot or
                                                          connecting a
                                                          JTAG debug
                                                          device to load
                                                          code.</div>
                                                      </div>
                                                      <div><br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <br>
                                                  <fieldset></fieldset>
                                                  <br>
                                                  <pre>_______________________________________________
rtems-users mailing list
<a moz-do-not-send="true" href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a>
<a moz-do-not-send="true" href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a>
</pre>
                                                </blockquote>
                                                <br>
                                              </blockquote>
                                              <br>
                                              <pre cols="72">-- 
Joel Sherrill, Ph.D.             Director of Research & Development
<a moz-do-not-send="true" href="mailto:joel.sherrill@OARcorp.com" target="_blank">joel.sherrill@OARcorp.com</a>        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                <a moz-do-not-send="true" href="tel:%28256%29%20722-9985" value="+12567229985" target="_blank">(256) 722-9985</a></pre>
                                            </blockquote>
                                            <br>
                                          </div>
                                        </div>
                                      </div>
                                      <br>
_______________________________________________<br>
                                      rtems-users mailing list<br>
                                      <a moz-do-not-send="true"
                                        href="mailto:rtems-users@rtems.org"
                                        target="_blank">rtems-users@rtems.org</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://www.rtems.org/mailman/listinfo/rtems-users"
                                        target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
                                      <br>
                                    </blockquote>
                                  </div>
                                  <br>
                                </div>
                              </blockquote>
                              <br>
                            </div>
                          </div>
                        </div>
                        <br>
                        _______________________________________________<br>
                        rtems-users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:rtems-users@rtems.org"
                          target="_blank">rtems-users@rtems.org</a><br>
                        <a moz-do-not-send="true"
                          href="http://www.rtems.org/mailman/listinfo/rtems-users"
                          target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>