Re: [PATCH 4/4] Code refactor xilinx-zynq BSP MMU initialization

2015-08-24 Thread Rohini Kulkarni
OK, thanks all for the views. That gave plenty insight into the details I had not thought of earlier. Clearly not the way to go. But then is such refactoring a good idea? These changes even if modified will apply only to cp15 ARM BSPs. On 24 Aug 2015 21:20, Pavel Pisa p...@cmp.felk.cvut.cz wrote:

Re: [PATCH 4/4] Code refactor xilinx-zynq BSP MMU initialization

2015-08-15 Thread Rohini Kulkarni
On Fri, Aug 14, 2015 at 12:41 PM, Rohini Kulkarni krohini1...@gmail.com wrote: On Fri, Aug 14, 2015 at 8:33 AM, Chris Johns chr...@rtems.org wrote: On 14/08/2015 7:44 am, Rohini Kulkarni wrote: --- -BSP_START_DATA_SECTION static const arm_cp15_start_section_config

Re: [PATCH 4/4] Code refactor xilinx-zynq BSP MMU initialization

2015-08-14 Thread Rohini Kulkarni
On Fri, Aug 14, 2015 at 8:33 AM, Chris Johns chr...@rtems.org wrote: On 14/08/2015 7:44 am, Rohini Kulkarni wrote: --- -BSP_START_DATA_SECTION static const arm_cp15_start_section_config -zynq_mmu_config_table[] = { +BSP_START_DATA_SECTION const arm_cp15_start_section_config

[PATCH] Code refactor changes to mm.h and mminit.c

2015-08-13 Thread Rohini Kulkarni
--- c/src/lib/libbsp/arm/shared/mminit.c | 17 +++-- c/src/lib/libbsp/shared/include/mm.h |5 - 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/c/src/lib/libbsp/arm/shared/mminit.c b/c/src/lib/libbsp/arm/shared/mminit.c index acfbfc0..f2617f8 100644 ---

[PATCH 3/4] Code refactor realview-pbx-a9 BSP MMU initialization

2015-08-13 Thread Rohini Kulkarni
--- c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am |4 +++ .../arm/realview-pbx-a9/startup/bspstarthooks.c| 27 ++-- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am

[PATCH 4/4] Code refactor xilinx-zynq BSP MMU initialization

2015-08-13 Thread Rohini Kulkarni
--- c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am |4 +++ .../libbsp/arm/xilinx-zynq/startup/bspstartmmu.c | 27 ++-- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am

Re: Fwd: SMP support for Raspberry Pi 2

2015-08-12 Thread Rohini Kulkarni
/raspberrypi/bcm2836/QA7_rev3.4.pdf , are quite different from the ones for Pi 1. [3] Can the same mailbox interface as Pi1 be used? Thanks. On Wed, Aug 12, 2015 at 1:29 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 8/11/2015 2:06 PM, Rohini Kulkarni wrote: Hi, I would have

Re: Fwd: SMP support for Raspberry Pi 2

2015-08-11 Thread Rohini Kulkarni
-doc $r/doc/configure --enable-maintainer-mode \ --prefix=DIRECTORY make make install That should be similar to how it is built. --joel On 8/10/2015 1:35 PM, Rohini Kulkarni wrote: The documentation that Sebastian was referring to. On Tue, Jul 28, 2015 at 12:24 PM, Sebastian Huber

Re: Fwd: Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-08-11 Thread Rohini Kulkarni
: Sebastian Huber sebastian.hu...@embedded-brains.de To: Rohini Kulkarni krohini1...@gmail.com, Gedare Bloom ged...@gwu.edu CC: rtems-de...@rtems.org devel@rtems.org On 24/07/15 21:55, Rohini Kulkarni wrote: Hi, I have attached the report containing outputs of arm-rtems4.11-size and arm

Re: SMP support for Raspberry Pi 2

2015-08-09 Thread Rohini Kulkarni
: On August 8, 2015 3:17:01 PM CDT, Rohini Kulkarni krohini1...@gmail.com wrote: Can mailboxes be useful here? Nothing else that is coming to my mind They may be and I am seeing references to ARM's own mpcore which uses the GIC. This appears to be SOC specific but ARM has recommendations which may

Re: SMP support for Raspberry Pi 2

2015-08-08 Thread Rohini Kulkarni
Can mailboxes be useful here? Nothing else that is coming to my mind On Sun, Aug 9, 2015 at 1:44 AM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi, I am stuck at how to set up IPI for Pi 2. This https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-08-04 Thread Rohini Kulkarni
On 5 Aug 2015 01:47, Gedare Bloom ged...@gwu.edu wrote: On Tue, Aug 4, 2015 at 2:18 PM, Rohini Kulkarni krohini1...@gmail.com wrote: On Tue, Jul 28, 2015 at 5:51 AM, Pavel Pisa ppisa4li...@pikron.com wrote: Hello Rohini and Gedare, On Friday 24 of July 2015 15:33:03 Gedare Bloom

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-08-04 Thread Rohini Kulkarni
On Wed, Aug 5, 2015 at 1:47 AM, Gedare Bloom ged...@gwu.edu wrote: On Tue, Aug 4, 2015 at 2:18 PM, Rohini Kulkarni krohini1...@gmail.com wrote: On Tue, Jul 28, 2015 at 5:51 AM, Pavel Pisa ppisa4li...@pikron.com wrote: Hello Rohini and Gedare, On Friday 24 of July 2015 15:33:03

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-08-04 Thread Rohini Kulkarni
with this. Best wishes, Pavel On Friday 24 of July 2015 21:55:00 Rohini Kulkarni wrote: Hi, I have attached the report containing outputs of arm-rtems4.11-size and arm-rtems4.11-nm -S. From arm-rtems4.11-nm -S I don't see how memset() is accessing .text section

Re: SMP support for Raspberry Pi 2

2015-07-31 Thread Rohini Kulkarni
Kulkarni wrote: On Tue, Jul 28, 2015 at 12:24 PM, Sebastian Huber sebastian.hu...@embedded-brains.de mailto: sebastian.hu...@embedded-brains.de wrote: Hello Rohini, please use the devel list. On 28/07/15 07:41, Rohini Kulkarni wrote: Hi, I wish

Re: SMP support for Raspberry Pi 2

2015-07-29 Thread Rohini Kulkarni
On Tue, Jul 28, 2015 at 12:24 PM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: Hello Rohini, please use the devel list. On 28/07/15 07:41, Rohini Kulkarni wrote: Hi, I wish to understand where the interprocessor interrupts are used during the boot process. During final

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-07-24 Thread Rohini Kulkarni
On 24 Jul 2015 12:35, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: On 23/07/15 23:24, Rohini Kulkarni wrote: I could finally get back to this issue. I used Pi 1 for debugging, but the reason for this problem will apply to Pi 2 also. With text section set

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-07-24 Thread Rohini Kulkarni
On Fri, Jul 24, 2015 at 7:03 PM, Gedare Bloom ged...@gwu.edu wrote: On Fri, Jul 24, 2015 at 3:30 AM, Rohini Kulkarni krohini1...@gmail.com wrote: On 24 Jul 2015 12:35, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: On 23/07/15 23:24, Rohini Kulkarni wrote: I could

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-07-23 Thread Rohini Kulkarni
On Tue, Jun 23, 2015 at 4:27 PM, Rohini Kulkarni krohini1...@gmail.com wrote: On Tue, Jun 23, 2015 at 1:44 PM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: Please avoid unnecessary white-space changes and white-space at the end of line. Something went wrong

Raspberry Pi 2 SMP debug

2015-07-22 Thread Rohini Kulkarni
Hi, I need to debug my code to check what is going wrong with SMP initialization. Any suggestions on how I can go about this in the absence of actual debugging hardware? Thanks. -- Rohini Kulkarni ___ devel mailing list devel@rtems.org http

Re: SMP support for Raspberry Pi 2

2015-07-12 Thread Rohini Kulkarni
/listinfo/devel PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. -- Rohini Kulkarni ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] Code refactor: Changes to memory management initialization

2015-07-12 Thread Rohini Kulkarni
Hi, Please review the changes. I will work on the suggestions and make the required modifications. Thanks. On 9 Jul 2015 19:24, krohini1...@gmail.com wrote: From: Rohini Kulkarni krohini1...@gmail.com --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am |1 + c/src/lib/libbsp/arm

Re: SMP support for Raspberry Pi 2

2015-07-11 Thread Rohini Kulkarni
am missing. Thanks. On 3 Jul 2015 22:43, Joel Sherrill joel.sherr...@oarcorp.com wrote: On July 3, 2015 11:53:07 AM CDT, Rohini Kulkarni krohini1...@gmail.com wrote: Any help that I can with this? On 1 Jul 2015 16:59, Rohini Kulkarni krohini1...@gmail.com wrote: Hi all, I wish

Re: Code refactor for ARM bsp MMU initialization

2015-07-09 Thread Rohini Kulkarni
Hi, I have made the suggested changes. git send-email is failing to send the patch, need to settle it. Please review the attached file. Thanks. On Wed, Jul 8, 2015 at 7:04 PM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: On 08/07/15 15:10, Rohini Kulkarni wrote: On Wed

Code refactor for ARM bsp MMU initialization

2015-07-08 Thread Rohini Kulkarni
uint32_t bsp_initial_mmu_ctrl_clear; +extern uint32_t domain_set; + void bsp_memory_management_initialize(void); #ifdef __cplusplus -- 1.7.9.5 -- Rohini Kulkarni ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: SMP support for Raspberry Pi 2

2015-07-08 Thread Rohini Kulkarni
On Wed, Jul 8, 2015 at 6:25 PM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: On 08/07/15 14:54, Rohini Kulkarni wrote: This piece of code gets the configured number of CPUs. I suppose this number is not specified and will have to be specified by me somewhere

SMP on ARM

2015-06-23 Thread Rohini Kulkarni
. Is there something else that can be done? [3] Where do the other cores start waiting for an interrupt from primary core. Where does the interprocessor interrupt come into picture. Thanks! -- Rohini Kulkarni ___ devel mailing list devel@rtems.org http

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-06-23 Thread Rohini Kulkarni
, Rohini Kulkarni wrote: --- .../arm/raspberrypi/startup/mm_config_table.c | 18 +++ c/src/lib/libbsp/arm/shared/mminit.c | 23 2 files changed, 32 insertions(+), 9 deletions(-) diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup

[PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-06-22 Thread Rohini Kulkarni
) arm_cp15_start_mmu_config_table_size ); } +#endif \ No newline at end of file -- 1.7.9.5 -- Rohini Kulkarni ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
. - Am 20. Jun 2015 um 22:02 schrieb Rohini Kulkarni krohini1...@gmail.com: Hi, I have added an SMP related post to my blog to define where exactly in the code I need to work. Some feedback to indicate if I am identifying the work area correctly would be very helpful! -- Rohini Kulkarni

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
to 250 :) Thanks! On Sun, Jun 21, 2015 at 1:32 AM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi, I have added an SMP related post to my blog to define where exactly in the code I need to work. Some feedback to indicate if I am identifying the work area correctly would be very helpful

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
:) There is very little code that had to be added. I need to clean the code and add conditional call for Pi 2. Then I would be ready to submit a patch. On 22 Jun 2015 00:52, Gedare Bloom ged...@gwu.edu wrote: On Sun, Jun 21, 2015 at 3:04 PM, Rohini Kulkarni krohini1...@gmail.com wrote: I

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
I missed mentioning the number of dhrystones in the previous mail. Originally it was 1 million. The new number of dhrystones I executed is 100 million. On Mon, Jun 22, 2015 at 12:29 AM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi all, I have managed to get a significant performance

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-20 Thread Rohini Kulkarni
Hi, I have added an SMP related post to my blog to define where exactly in the code I need to work. Some feedback to indicate if I am identifying the work area correctly would be very helpful! Thanks! On 18 Jun 2015 03:37, Rohini Kulkarni krohini1...@gmail.com wrote: Hi all, I have updated

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-17 Thread Rohini Kulkarni
/viewtopic.php?f=72t=98904 When it comes to the Pi 2 and SMP, you are our RTEMS expert :) Thanks, Alan On Sat, Jun 13, 2015 at 2:29 PM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi, This is regarding Pi 2 SMP support. After powering on, the secondary mailboxes read one of their four

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-03 Thread Rohini Kulkarni
But, I can't say cache configurations have a role here. I'll push my code to my github project soon. P.S. The Pi2 board I possess seems to have broken down. It just isn't turning on. Unable to test further. Will order one immediately. On 3 Jun 2015 09:03, Rohini Kulkarni krohini1...@gmail.com

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
AM, Hesham ALMatary heshamelmat...@gmail.com wrote: On Tue, Jun 2, 2015 at 12:41 PM, Rohini Kulkarni krohini1...@gmail.com wrote: From what I saw, they have to be enabled separately. Cache/mmu are disabled upon reset. For the existing Raspberry BSP [1] there's a code for MMU/Cache init

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
/mminit.c On Tue, Jun 2, 2015 at 12:18 PM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On June 2, 2015 7:01:21 AM EDT, Rohini Kulkarni krohini1...@gmail.com wrote: Dr. Joel, So we can't say something solely on the basis of this result? I don't think so. If Linux performs the same

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
with caches disabled. I have been working on this since two days and could not figure out an improvement. Any pointers? Thanks. On Thu, May 28, 2015 at 8:41 PM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi All, I have to implement the cache coherency support for Cortex A7. But for A7 MPCore

Re: GSoC 2015: Raspberry Pi 2 Support

2015-05-28 Thread Rohini Kulkarni
Control Register which enables cache broadcast operations. The register format is different for A7 and again I am unable to find how to achieve the same for A7. Thanks! On Tue, May 5, 2015 at 10:42 PM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 5/5/2015 11:11 AM, Rohini Kulkarni wrote

GSoC 2015: Raspberry Pi 2 Support

2015-05-05 Thread Rohini Kulkarni
are welcome Thanks! On 1 May 2015 12:45, Rohini Kulkarni krohini1...@gmail.com wrote: Hi, Excited to be a part of this edition of GSoC! Thanks to everybody for helping me get here and congratulations to all the participating students! So, now getting to work, firstly I wish to know

Re: GS0C 2015-Hello Word

2015-04-01 Thread Rohini Kulkarni
Hi, I was yet to submit the patch for hello world. Attaching it here. On Thu, Mar 26, 2015 at 7:15 PM, Gedare Bloom ged...@gwu.edu wrote: Yes this is acceptable, thanks! Please post your patch too. -Gedare On Thu, Mar 26, 2015 at 1:07 AM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi

Re: GSoC Raspberry pi 2 project

2015-03-23 Thread Rohini Kulkarni
. Thanks! On 21 Mar 2015 10:40, Rohini Kulkarni krohini1...@gmail.com wrote: Hello, I had a look at updated the project groups for raspberry pi improvements for my proposal. Because I had not tracked the page for a few days I was not aware that the Raspberry pi 2 support tasks had been defined. As I

Raspberry pi 2 project

2015-03-20 Thread Rohini Kulkarni
Hello, I had a look at updated the project groups for raspberry pi improvements for my proposal. Because I had not tracked the page for a few days I was not aware that the Raspberry pi 2 support tasks had been defined. As I had also asked about SMP support earlier, this projects interests me

Re: RTEMS build problem

2015-03-19 Thread Rohini Kulkarni
PATH=~/development/rtems/4.11/bin:$PATH $ ../source-builder/sb-set-builder --log=l-4.11-sparc.txt --prefix=$HOME/development/rtems/4.11 4.11/rtems-sparc On Thu, Mar 19, 2015 at 12:41 PM, Chris Johns chr...@rtems.org wrote: On 19/03/2015 4:49 pm, Rohini Kulkarni wrote: There is an issue I've

RTEMS build problem

2015-03-18 Thread Rohini Kulkarni
Hi! There is an issue I've run into a few times. Everytime I run bootstrap script for rtems(say after restarting my machine) the bootstrap says autoconf version is not updated. So I have to build the toolset every such time when I have already built it and only want to compile rtems. Is there

Re: GSoC 2015 - Raspberry Pi improvements

2015-03-13 Thread Rohini Kulkarni
some help to figure out booting RTEMS on the board. Thanks! On 11 Mar 2015 19:29, Gedare Bloom ged...@gwu.edu wrote: On Wed, Mar 11, 2015 at 9:52 AM, Rohini Kulkarni krohini1...@gmail.com wrote: Hi, I am interested in contributing to this project. I referred the page Raspberry Pi

GSOC 2015 - SMP Projects

2015-03-10 Thread Rohini Kulkarni
Hi All, I am interested in doing a project under SMP (Improvements to SMP support). Are there any suitable SMP projects which can be undertaken as part of GSOC. However,I do not have an experience with such kind of development. Thanks! ___ devel

Re: Starting with RTEMS

2015-02-19 Thread Rohini Kulkarni
+0530, Rohini Kulkarni wrote: Hi, I am trying to build RTEMS for arm. I want to know what --enable -rtemsbsp in config does, when building RTEMS. Hi Rohini! It selects which Board Support Package(s) (BSP(s)) you'd like to compile RTEMS for - or, if you prefer, which BSPs' code