Hi,
That's great news Pavel.
Should I start merging all your findings and push it as a patch ?
What would be the next steps ?
Thanks
Mudit
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Hi all,
Good News !!
I have successfully moved my changes on top of the recent MMC stack update
to use the FreeBSD trunk, 2016-08-23,
9fe7c416e6abb28b1398fd3e5687099846800cfd
The GitHub Link :
https://github.com/spark1729/rtems-libbsd/commits/RPI_SD_LIBBSD
Sebastian, if you can review the
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.c | 13 +
libbsd_waf.py | 3 ++-
rtemsbsd/include/bsp/nexus-devices.h | 7 +++
rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 21 +
4 files changed, 43
---
freebsd/sys/dev/sdhci/sdhci.c | 1907 -
freebsd/sys/dev/sdhci/sdhci.h | 190
2 files changed, 2097 deletions(-)
delete mode 100644 freebsd/sys/dev/sdhci/sdhci.c
delete mode 100644 freebsd/sys/dev/sdhci/sdhci.h
diff --git
---
libbsd.py | 1 +
libbsd_waf.py | 10 ++
testsuite/sdhci01/test_main.c | 46 +++
3 files changed, 57 insertions(+)
create mode 100644 testsuite/sdhci01/test_main.c
diff --git a/libbsd.py b/libbsd.py
index
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.c | 768 +++
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.h | 60 ++
freebsd/sys/arm/broadcom/bcm2835/bcm2835_vcbus.h | 72 +++
libbsd.py| 13 +
4 files changed, 913 insertions(+)
Hi Pavel,
I am working on porting the changes I had done for the SD card, on top of
the recent MMC stack update. After that, my plan is to work on DMA.
Thanks
Mudit
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Adding functionality to get board serial,
power state & clock rate
---
c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 17 +
c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 78 ++
c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 35 ++
3 files
gt;
> 1. Delete the existing SDHCI support with one commit.
> 2. Do a fresh import of the SDHCI support.
> 3. Do the port to RTEMS.
>
> On 22/08/16 05:57, Mudit Jain wrote:
>
>> This is the initial port of the DMA controller
>> from the libbsd using freebsd-to-rtems.py
&g
ace-for-rpi.html?view=flipcard>
Thanks
Mudit Jain
On Mon, Aug 22, 2016 at 3:47 AM, Pavel Pisa <ppisa4li...@pikron.com> wrote:
> Hello Mudit,
>
> please, send information what is RTEMS GIT revision are
> your changes based on. See comment below
>
> On Saturday 20 of
---
libbsd.py| 1 +
libbsd_waf.py| 10 +++
testsuite/sdhci01/demo-shell-block-devices.h | 32 +
testsuite/sdhci01/demo-shell-minimal.h | 37 ++
testsuite/sdhci01/demo-shell.h | 44
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c | 21 +
freebsd/sys/dev/mmc/mmc.c| 2 +-
freebsd/sys/dev/sdhci/sdhci.c| 6 ++
freebsd/sys/dev/sdhci/sdhci.h| 2 +-
rtemsbsd/include/bsp/nexus-devices.h
This commit adds the files required for porting
the SD card driver namely bcm_sdhci.c, sdhci_if.h, sdhci_if.c
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c | 677 +++
libbsd.py| 2 +
libbsd_waf.py
The previous files had both the board specific
functions as well as the common functions.
---
freebsd/sys/dev/sdhci/sdhci.c | 3284 +++--
freebsd/sys/dev/sdhci/sdhci.h | 473 --
2 files changed, 1874 insertions(+), 1883 deletions(-)
diff --git
This is the initial port of the DMA controller
from the libbsd using freebsd-to-rtems.py
This change is dependent on the interrupt handler
in the Mainline.
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.c | 768 +++
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.h | 60
Changes required for using the DMA controller for SD card.
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.c | 13 +
rtemsbsd/include/bsp/nexus-devices.h | 20
2 files changed, 33 insertions(+)
diff --git
Changes required for using the DMA controller for SD card.
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.c | 13 +
rtemsbsd/include/bsp/nexus-devices.h | 20
2 files changed, 33 insertions(+)
diff --git
This is the initial port of the DMA controller
from the libbsd using freebsd-to-rtems.py
This change is dependent on the interrupt handler
in the Mainline.
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.c | 768 +++
freebsd/sys/arm/broadcom/bcm2835/bcm2835_dma.h | 60
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c | 21 +
freebsd/sys/dev/mmc/mmc.c| 2 +-
freebsd/sys/dev/sdhci/sdhci.c| 6 ++
freebsd/sys/dev/sdhci/sdhci.h| 2 +-
rtemsbsd/include/bsp/nexus-devices.h
The previous files had both the board specific
functions as well as the common functions.
---
freebsd/sys/dev/sdhci/sdhci.c | 3284 +++--
freebsd/sys/dev/sdhci/sdhci.h | 473 --
2 files changed, 1874 insertions(+), 1883 deletions(-)
diff --git
This commit adds the files required for porting
the SD card driver namely bcm_sdhci.c, sdhci_if.h, sdhci_if.c
---
freebsd/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c | 677 +++
libbsd.py| 2 +
libbsd_waf.py
Kindly ignore this. I have rebased and pushed all the changes in one
patch.
Thanks
Mudit
On Sat, Aug 20, 2016 at 6:55 PM, Mudit Jain <muditjain18011...@gmail.com>
wrote:
> From: Mudit Jain <mud...@nvidia.com>
>
> ---
> c/src/lib/libbsp/arm/raspberrypi/include/vc.h
Kindly ignore this. I have rebased and pushed all the changes in one
patch.
Thanks
Mudit
On Sat, Aug 20, 2016 at 6:55 PM, Mudit Jain <muditjain18011...@gmail.com>
wrote:
> From: Mudit Jain <mud...@nvidia.com>
>
> ---
> c/src/lib/libbsp/arm/raspberrypi/include/vc.h
Brief API Description
rpi_dma_init -> Initializes the channel structure
and its members for that particular channel, gets
the physical address of the control block structure
and installs the interrupt handler.
rpi_dma_allocate -> Allocates the channel if it is
not busy
rpi_dma_setup_dst
This is in accordance with the information
in the datasheet and has been verified with the
linux source code for RPi
---
c/src/lib/libbsp/arm/raspberrypi/include/irq.h | 1 +
c/src/lib/libbsp/arm/raspberrypi/irq/irq.c | 15 +++
2 files changed, 16 insertions(+)
diff --git
Added macros for DMA channels 0-12
Added interrupt handlers for DMA 0, 1 & 2
The added IRQs are in accordance with the
BCM Peripherals Datasheet and also have been verified
with the linux source code for RPi
---
c/src/lib/libbsp/arm/raspberrypi/include/irq.h | 17 ++
From: Mudit Jain <mud...@nvidia.com>
---
c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 7 +++
c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 24 ++
c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 11 ++
3 files changed, 42 insertions(+)
Kindly ignore this. I have rebased and pushed all the changes in one
patch.
Thanks
Mudit
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Adding functionality to get board serial,
power state & clock rate
---
c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 17 +
c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 75 ++
c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 35 ++
3 files
From: Mudit Jain <mud...@nvidia.com>
---
c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 8 +++
c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 26 ++
c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 12 ++
3 files changed, 46 insertions(+)
From: Mudit Jain <mud...@nvidia.com>
---
c/src/lib/libbsp/arm/raspberrypi/include/vc.h | 2 ++
c/src/lib/libbsp/arm/raspberrypi/misc/vc.c | 25 ++
c/src/lib/libbsp/arm/raspberrypi/misc/vc_defines.h | 12 +++
3 files changed, 39 insertions(+)
diff
Hi all,
I have added code for DMA support for RPi. Here is the link for the same :
GitHub Link :
https://github.com/spark1729/rtems/commit/f328c4cd89b02977ccc5d7154b4af5ee9c424ba3
Kindly review the code and provide comments to improve the same.
Questions :
If someone could specifically look at
Hi,
I have started this mail thread for discussions regarding the addition of
DMA in the RTEMS Mailine for RPI and subsequently being used by other
peripherals including SPI and I2C
The present implementation of the SPI uses the libi2c API and the present
I2C implementation used the Linux I2C
, Jun 24, 2016 at 3:56 PM, Pavel Pisa <ppisa4li...@pikron.com> wrote:
> Hello Mudit and Gedare,
>
> On Friday 24 of June 2016 12:02:36 Mudit Jain wrote:
> > Hi Gedare,
> >
> > When I use uncrustify, it makes a lot of changes to the previous code as
> &g
ems.org> wrote:
> On Mon, Jun 20, 2016 at 5:17 PM, Mudit Jain <muditjain18011...@gmail.com>
> wrote:
> > From: muditj <spark1...@yahoo.com>
> >
> > Added functions for retrieving firmware revision,
> > board model and board revision.
> > ---
&g
Hi,
I have added functionality to retrieve the firmware version, board model
number and board revision to the mail box code. This was one of the
deliverables of my project.
Github Link :
https://github.com/spark1729/rtems/commit/796231efc7b0f6dd1adce67f21615689a1b0224b
This is in accordance
s://github.com/spark1729/rtems-libbsd/commits/rpi_sd_card>Mudit
On Wed, Jun 1, 2016 at 1:56 PM, André Marques <andre.lousa.marq...@gmail.com
> wrote:
> Hello mudit,
>
>
> Às 09:13 de 30-05-2016, Mudit Jain escreveu:
>
> Hi all,
>
> I have ported the code from the
Hi all,
I have ported the code from the present FreeBSD.
Link : https://github.com/spark1729/rtems-libbsd/commits/rpi_sd_card
Kindly review the same and suggest changes.
The commits are a bit unstructured, the second last one being a huge one. I
will be breaking it down into smaller and
Hi Sebastian & Andre,
In the last IRC meeting, Gedare had mentioned that you have previously
worked on the SD card driver.
I was working on the SD Card driver for Rpi.
I was going through the driver code that has been ported. I was able to
browse and get a top level overview regarding the
As suggested by Alan, I did copy the image, rki.bin to kernel7.img, However
rtems doesn't boot in RPi 2 . For the same firmware I tried with the
raspbian kernel7.img, That works fine.
The attachment contains the commands used for installing RTEMS and logs
from RKI image creation for RPI2
Hi Pavel,
I have pulled your branch and I am able to build the rki.bin using the
following commands.
mkdir b-rpi2
cd b-rpi2
../rtems/configure --target=arm-rtems4.12 --prefix=$sandbox/rtems-4.12
--enable-rtems-inlines --disable-multiprocessing --enable-cxx
--enable-rdbg --enable-maintainer-mode
C student GitHub repo to not pollute space with yet
> another copy. But synchronization through public repo would
> probably help RPi as well.
>
> Best wishes,
>
> Pavel
>
> On Tuesday 24 of May 2016 14:09:48 Mudit Jain wrote:
> > Hi Pavel,
> >
>
Hi Pavel,
I do have a RPI2 and can help in testing your series.
Could you provide me with the details of your repo and also the tests that
are to be performed so that your series can be ACKed for mainline
integration.
Thanks
On Tue, May 24, 2016 at 5:29 PM, Mudit Jain <muditjain18
[ 5/16] Compiling local_shell_cmds.c
> [ 6/16] Compiling filesys.c
> [ 7/16] Compiling ramdisk.c
> [ 8/16] Compiling nvramdisk.c
> [ 9/16] Compiling task_cmd.c
> [10/16] Compiling hello_cmd.c
> [11/16] Compiling dhrystone_cmd.c
> [12/16] Compiling whetstone_cmd.c
>
Hi All,
For raspberry pi bsp, the RKI image using https://github.com/alanc98/rki is
successfully build by modifying the Makefile as per the instructions given
in the same .
However when I try the same for raspberry pi 2 bsp, the build fails with
the following error :
Hi everyone,
GSOC Updates :
As per Gedare's mail I have set up the blog, calendar, wiki and have forked
the rtems-libbsd on github. I had set-up rtems for rpi following alan's
blog and now have built rtems libbsd for rpi. My first blog post is
regarding the same- Blog
:47 PM, "Mudit Jain" <muditjain18011...@gmail.com> wrote:
> Hi all,
>
> I had completed the GSoC application successfully and also the basic setup
> of the RTEMS environment ready.
>
> A big thanks to everyone who gave me inputs even though it I applied at
> t
/1Ajhs7op7vLUYFeVZnjAaIhB2CNawvhQOMVtGtivOUtg/edit#
Thanks
Mudit Jain
On Fri, Mar 25, 2016 at 9:49 PM, Gedare Bloom <ged...@rtems.org> wrote:
> On Fri, Mar 25, 2016 at 11:46 AM, Joel Sherrill <j...@rtems.org> wrote:
> > Great! Remember today is the deadline to get the Google application
Hi everyone,
I am Mudit Jain, a final year undergraduate student in Electronics and
Communication Engineering at BITS Pilani Hyderabad Campus.
I wish to apply for GSOC 2016, with RTEMS as the mentoring organization.
I have gone through your website for details regarding the development
process
49 matches
Mail list logo