Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 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" wrote: > Hi, > > Alan

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
Hi, Alan, your suggestion has resulted in much improvement arm_control=0x1000 This has simply worked! Looks like the other cores were taking up plenty of time. I was aware from references that the other cores run a WFI, but ya, did not get its impact. Time for each dhrystone has reduced to 7 fro

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Alan Cudmore
The caches are being enabled on the RPI 1 BSP. The same code is being executed by the RPI 2 BSP, but obviously it’s not sufficient for the cache setup. I have been reading through this long thread, and it is very informative: https://www.raspberrypi.org/forums/viewtopic.php?f=72&t=98904

Re: [RPI BSP] fbcon implementation

2015-06-02 Thread Joel Sherrill
On June 2, 2015 5:45:07 PM EDT, Pavel Pisa wrote: >Hello Yang Qiao, > > >On Tuesday 02 of June 2015 22:58:09 QIAO YANG wrote: >> For the graphic text output, I've implemented two functions >_RPI_initvideo >> and _RPI_outch, used to print chars to graphic. They are declared in >bsp.h >> and imple

Re: [RPI BSP] fbcon implementation

2015-06-02 Thread Pavel Pisa
Hello Yang Qiao, On Tuesday 02 of June 2015 22:58:09 QIAO YANG wrote: > For the graphic text output, I've implemented two functions _RPI_initvideo > and _RPI_outch, used to print chars to graphic. They are declared in bsp.h > and implemented in outch.c as we've done in i386 bsp. > > 1. The _RPI_i

[RPI BSP] fbcon implementation

2015-06-02 Thread QIAO YANG
Hello, I've got a couple of questions about the fbcon implementation in detail, in order to cleanup my code and create a mergable patch for review. For the graphic text output, I've implemented two functions _RPI_initvideo and _RPI_outch, used to print chars to graphic. They are declared in b

TMS570 headers ready for review

2015-06-02 Thread Pavel Pisa
Hello all, Premysl Houdek has prepared new and hopefully near ready complete header files for TMS570LS3137 microcontroller. They are based on PDF documentation and license is RTEMS compatible. The scripts used during process can be found in https://github.com/AoLaD/rtems-tms570-utils/tree/heade

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Hesham ALMatary
On Tue, Jun 2, 2015 at 12:41 PM, Rohini Kulkarni 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, however I don't know about Pi2 and where its code is. [1] https://github.com/

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
>From what I saw, they have to be enabled separately. Cache/mmu are disabled upon reset. On 2 Jun 2015 16:59, "Hesham ALMatary" wrote: > Hi, > > Aren't the MMU/Caches enabled by default for RPi [1]? > > [1] > https://github.com/RTEMS/rtems/blob/master/c/src/lib/libbsp/arm/shared/mminit.c > > On T

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Joel Sherrill
On June 2, 2015 7:29:52 AM EDT, Hesham ALMatary wrote: >Hi, > >Aren't the MMU/Caches enabled by default for RPi [1]? Yes but I recall that the setup is different on the Pi2 and Alan disabled the code to to work at all. >[1] >https://github.com/RTEMS/rtems/blob/master/c/src/lib/libbsp/arm/sha

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Hesham ALMatary
Hi, Aren't the MMU/Caches enabled by default for RPi [1]? [1] https://github.com/RTEMS/rtems/blob/master/c/src/lib/libbsp/arm/shared/mminit.c On Tue, Jun 2, 2015 at 12:18 PM, Joel Sherrill wrote: > > > On June 2, 2015 7:01:21 AM EDT, Rohini Kulkarni wrote: >>Dr. Joel, >> >>So we can't say som

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Joel Sherrill
On June 2, 2015 7:01:21 AM EDT, Rohini Kulkarni 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, then what you did is as good as it gets. However, if Linux is faster then some setting still isn't right. You need

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
Dr. Joel, So we can't say something solely on the basis of this result? On 2 Jun 2015 16:28, "Rohini Kulkarni" wrote: > I have not run it under linux on pi2 yet. Will have to run and check the > result. > On 2 Jun 2015 16:16, "Joel Sherrill" wrote: > >> >> >> On June 2, 2015 5:58:33 AM EDT, Roh

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
I have not run it under linux on pi2 yet. Will have to run and check the result. On 2 Jun 2015 16:16, "Joel Sherrill" wrote: > > > On June 2, 2015 5:58:33 AM EDT, Rohini Kulkarni > wrote: > >HI, > > > >I tried running the dhrystone benchmark with some changes for cache/mmu > >set up. > > > >Howe

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Joel Sherrill
On June 2, 2015 5:58:33 AM EDT, Rohini Kulkarni wrote: >HI, > >I tried running the dhrystone benchmark with some changes for cache/mmu >set up. > >However, the output shows a reduction in performance. >The time to run through the dhrystone has increased from 12 to 13 and >dhrystones run per se

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-02 Thread Rohini Kulkarni
HI, I tried running the dhrystone benchmark with some changes for cache/mmu set up. However, the output shows a reduction in performance. The time to run through the dhrystone has increased from 12 to 13 and dhrystones run per second decreased. According to this result, things were better with ca