Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 72 and Version 73 of GSoC/2016


Ignore:
Timestamp:
07/31/16 11:48:49 (8 years ago)
Author:
Mudit Jain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/2016

    v72 v73  
    108108== Mudit Jain ==
    109109* May 25 : My first deliverable is to provide SD card support for the RPi BSP. The code has already been ported to rtems-libbsd, however it has to be tailored to RPi by adding the quirks and logics unique to the SD host controller on RPi.I have cherry picked two commits from Andre's branch and I have built rtems-libbsd using waf. I had initial errors of redefinition however they were resolved.I would be going through the present implementation of the driver in FreeBSD using the FreeBSD documentation to learn/understand what are the different APIs that are used in the driver, how it interacts with SD host controllers, and the general driver interface that is provided to the user.
    110 
    111110* June 1 : I have done a basic port of the SD card driver. Initially a lot of code was ported, however as per the suggestions provided I have modified the code as per the guidelines mentioned in libbsd.txt and also trimmed down on what was not required explicitly.
    112 
    113111* June 8 : I acquired a RPi Model B as I had a RPi 2 initially and started testing on the same. The SDHCI and DMA controllers appear on nexus0. I would be requiring a DOSFS to test the functionality of the driver. For this I was looking at the testsuites provided in both the bsd tree as well as the RTEMS tree [ /testsuites/fileio ].
    114 
    115 * June 15 : I have a basic application prepared which initializes a DOSFS which will be required for the testing. Presently, I am stuck at using the Mailbox code that Yang had ported for the Framebuffer Operations, I require that for setting the power state.
     112* June 15 : I have a basic application prepared which initializes a DOSFS which will be required for the testing. Presently, I am stuck at using the Mailbox code that Yang had ported for the Framebuffer Operations, I require that for setting the power state.
     113* June 24 : I have used the Mailbox API that was added by Yang before to set the power for SDHCI controller. In addition to that I have also added functionality to the Mailbox interface to know the version, revision etc. This has been pushed as a patch and added into the Mainline.
     114* July 6 : I have started work on another deliverable in parallel, Adding DMA access to SPI and I2C devices. There are two ways to go forward, one is by adding the DMA API, another is to specifically modify the I2C and SPI drivers to add DMA Access. I would be doing a literature study, going through the DMA controller spec in the BCM peripherals. Will also go through some of the code available on the net regarding DMA in RPi in addition to the DMA driver in FreeBSD.
     115* July 13 : I have gone through the spec and some code and have developed an basic understanding how DMA takes place in RPi.Will be implementing the same in the weeks to come.
     116* July 27 : I have completed writing the code, have added that to the build process, have pushed it to my github repo and have asked for review on the group. I have taken care of issues, such as cache coherency and mutex operations using the API that RTEMS provides. Have also understood where in the code for the SPI driver you would have to use the above described API for DMA Access.
    116117
    117118