<div dir="ltr"><div>All,<br><br>FWIW to anyone interested in working on the RPi BSP, I noticed the logic in irq.c is suspect; these tests:<br><br>  if (BCM2835_REG(BCM2835_IRQ_BASIC) && 0x1)<br><br>..<br><br>  else if ( BCM2835_REG(BCM2835_IRQ_BASIC) && <br>
BCM2835_BIT(19))<br><br></div>presumably intended to use bitwise ANDs. Assuming the current RPi BSP is your starting point, that is hopefully a little shortcut I can contribute.<br><br><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 4:34 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"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 6:07 PM, Andre Marques <span dir="ltr"><<a 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>I'm taking this conversation to the
      list.<div><br>
      <br></div></div></div></blockquote><div>Sorry, I didn't realize that I did not reply to the list.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000"><div><div>
      On 04/23/14 01:21, Alan Cudmore wrote:<br>
    </div></div><div>
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Tue, Apr 22, 2014 at 6:09 AM,
            Andre Marques <span dir="ltr"><<a 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">Hello,<br>
              <br>
              I am very pleased to have the opportunity to participate
              in GSoC with the RTEMS project!<br>
            </blockquote>
            <div><br>
            </div>
            <div>Welcome! We are glad to have you helping RTEMS.  </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              Now, I have some questions:<br>
              <br>
              1. Does anyone have any recommendation on the proposal?<br>
            </blockquote>
            <div><br>
            </div>
            <div>I like the proposal, but there are a couple of things
              that may change slightly:</div>
            <div>1. You may want to look into making the UART driver
              work in interrupt driven mode, as it is currently polled.</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    I will have a look at it.<div><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <div>2. For the Framebuffer support, I have been talking to
              someone off list that is making progress on implementing a
              framebuffer driver. We may want to collaborate with this
              person for the framebuffer. </div>
            <div> </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    Certainly. I was scheduling the framebuffer work for July, should
    that be re-scheduled? <br></div></blockquote><div><br></div><div>July may still work. This gives us time to see what gets accomplished and the work can be integrating it into the RTEMS tree and testing. </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 bgcolor="#FFFFFF" text="#000000"><div>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              2. Is there any interesting documentation or code you
              think I should be looking at right now? For the past month
              I have been studying the RPi BSP code and the RPi
              architecture for the emmc driver that I am doing for my
              final project at the university.<br>
              <br>
            </blockquote>
            <div>From what I can see, you are off to a very good start!</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> 3.
              There is no wiki page for the Raspberry Pi BSP (at least I
              have not found any yet). May I create one using the Open
              Project template and link it in the Open Projects page
              under the BSP section?<br>
            </blockquote>
            <div><br>
            </div>
            <div>I did not create one, so please do.</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              4. I will create a dedicated development blog for the
              project very soon. How frequently should it be updated
              until may 19?<br>
              <br>
              5. How should the communication happen? Also I am not sure
              if the Amar Takhar and Muhammad Adnan e-mails are the
              correct ones.<br>
              <br>
              I will also be setting a github repository for this, and I
              am also looking to get my own RPi and some peripherals (I
              have one at the university right now).<br>
            </blockquote>
            <div><br>
            </div>
            <div>I have been setting up my Pi for RTEMS development
              again. I recently built u-boot and I am going to try to
              get it to boot RTEMS images from a TFTP server. This may
              help speed up development. </div>
            <div><br>
            </div>
            <div>I am also trying out a FT2232H MiniMod evaluation board
              that is supposed to work with the Raspberry Pi JTAG
              interface and the OpenOCD project. It also serves as the
              USB uart connector. I have it all wired up and I hope to
              try getting it to talk to OpenOCD soon. If I get it
              working, I will document everything. The FT2232H Minimod
              board was $20 USD. </div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    Nice. Looking forward to that, as I still need to look at the
    debugging part of the development.<br></div></blockquote><div><br></div><div>The FT2232H MiniMod is working so far! I am able to use the UART and at the same time load and run images over the JTAG interface using OpenOCD. Next, I plan on trying GDB. I will try to document the setup soon, but it just requires ~10 jumper wires to connect the MiniMod to the Pi GPIO header. </div>

<div><br></div><div>I need to use it, because I discovered that the RKI image no longer runs on the Pi. The samples such as ticker still work, so I'm sure it is a problem with the RKI code itself. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000">
    <br>
    Meanwhile I have set up a development blog and a google calendar for
    the project:<br>
    <br>
    <a href="http://asuolgsoc2014.wordpress.com/" target="_blank">http://asuolgsoc2014.wordpress.com/</a><br>
    <br>
<a href="https://www.google.com/calendar/embed?src=mo5guprvls0ip24rnrjio4ogks%40group.calendar.google.com&ctz=Europe/Lisbon" target="_blank">https://www.google.com/calendar/embed?src=mo5guprvls0ip24rnrjio4ogks%40group.calendar.google.com&ctz=Europe/Lisbon</a><br>


    <br>
    I will try to come up with more news during the weekend.<div><br></div></div></blockquote><div><br></div><div>Looks good.</div><div><br></div><div>Alan</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 bgcolor="#FFFFFF" text="#000000"><div>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>Alan</div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              Thank you,<br>
              André Marques.<br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div>

</blockquote></div><br></div></div>
<br>_______________________________________________<br>
rtems-devel mailing list<br>
<a href="mailto:rtems-devel@rtems.org">rtems-devel@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-devel" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-devel</a><br>
<br></blockquote></div><br></div>