Picon

maximum valid frequency of LEON3



I am working on frequency reconfiguration of LEON3 processor in order to adjust the processor frequency on the fly but I don't know what is the valid frequency range of LEON3 processor, when I was trying to port LINUX 3.1 on LEON3 running at 100MHZ it got stuck in. Note that I was able to run LINUX 3.1 successfully when processor frequency was 60MHZ or below


Design: leon3-xilinx-ml50x

Board: Virtex-5 ML509

GRLIB: 1.3.7 Build 4144


Zohaib




__._,_.___
Posted by: zohaibnajam-ur4TIblo6goN+BqQ9rBEUg@public.gmane.org



__,_._,___
Picon

trying to read watchpoint registers



Design: leon3-xilinx-ml50x

Target Board: Virtex-5 ML509

GRLIB: 1.3.7 Build 4144

I have implemented 2 watchpoints (default) in my design during 'make xconfig'. So I am trying to read these watchpoint registers (ASR24 - ASR27) from the application program using the following code.


#include<stdio.h>

#include<stdlib.h>

#include<time.h>

int main()

{

int id=0;

__asm__ __volatile__("rd %%asr24,%0\n\t":"=r" (id) : );


printf("2-ASR24 = %i \n",id);

__asm__ __volatile__("rd %%asr25,%0\n\t":"=r" (id) : );


printf("3-ASR25 = %i \n",id);

__asm__ __volatile__("rd %%asr26,%0\n\t":"=r" (id) : );


printf("2-ASR26 = %i \n",id);

__asm__ __volatile__("rd %%asr27,%0\n\t":"=r" (id) : );


printf("3-ASR27 = %i \n",id);


return 0;

}

Problem:

I am getting logically left shifted value by 2 (i.e multilpy by 4) when I compare with following signals on the waveform

wpr(0).addr //ASR24

wpr(0).mask //ASR25

wpr(1).addr //ASR26

wpr(1).mask //ASR27


Note that I have modified iu3.vhd so that aforementioned signals have a fixed value defined in the RTL (iu3.vhd). I want to know am I doing anything wrong or these watchpoints are suppose to behave like this


Zohaib





__._,_.___
Posted by: zohaibnajam-ur4TIblo6goN+BqQ9rBEUg@public.gmane.org



__,_._,___
Picon

Synthesize Core with Different Frequency



Hi,

Whenever I synthesize the LEON3 with a clock frequency (either low or higher) different from the default 75 MHz for the ML605, the core breaks down. GRMON can still connect, but when I try to run a basic "Hello World"-program, it doesn't execute (IU in error mode (tt = 0x02, illegal instruction)). I see the same thing when synthesizing for the Digilent Atlys. For the ML605, this happens both when I select a pre-defined frequency from the dropdown in "make xconfig" (e.g. 60 MHz), and when I define new frequencies by modifying tkconfig2.h and config.in. For the Atlys, I'm simply changing the clock division and multiply parameters.


I want to lower the frequency because I added a component to the CPUs critical path that is longer than the stock frequency allows. However, this problem also occurs when synthesizing with a modified frequency from unmodified source code.


Do any other settings or files need to be changed in order to build a core with a different frequency?


Kind regards,


Pieter Maene



__._,_.___
Posted by: p.maene-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

GRTools 13-Aug-2014 RTEMS GCC spec file



After using the GRTools 13-Aug-2014 installer for Windows, I am unable to compile the RTEMS sample hello application:
$ pwd
/c/opt/rtems-4.10-mingw/src/samples
$ sparc-rtems-gcc rtems-hello.c
rtems-hello.c:5:19: error: rtems.h: No such file or directory

This exact sequence works on a previous version of GRTools (19-Dec-2013). After doing some investigation, it looks like the paths in specs (C:\opt\rtems-4.10-mingw\lib\gcc\sparc-rtems\4.4.6\specs) are different between GRTools versions.

Old: qleon3std: -isystem /opt/rtems-4.10/sparc-rtems/leon3/lib/include
New: qleon3std: -isystem c:/opt/rtems-4.10-mingw/sparc-rtems/leon3/lib/include

Notic e the missing c:/ and -mingw in the new version's path.

Is this a defect in GRTools 13-Aug-2014 or is there something I am doing wrong?

Thanks!


__._,_.___
Posted by: Cody Planteen <planteen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>



__,_._,___
Picon

trouble running the prom Image on ML605 [1 Attachment]



  Hi,
I am running leon3 design from Aeroflex gaisler on ML605 Board. When I run the sample hello.elf directly in the sdram, it works. But when I try to run it from the flash BPI, i.e generate the prom image using mkprom2 tools, load the flash with prom.out and try to run from the flash, I see  distorted data .
Here are my parameter option while generating PROM image for ML605:

mkprom2 -freq 40 -rmw hello.elf -msoft-float -v -nosram -sdram 1024  -memcfg1 0x10180944 -memcfg2 0xbac06000 -memcfg3 0x00000000 -romwidth 16 -dump

Baud rate is set to default 38400.

T hanks


__._,_.___ View attachments on the web
Posted by: anusha <anuyarlagadda-/E1597aS9LQxFYw1CcD5bw@public.gmane.org>



__,_._,___
Picon

Market a Leon 3 Processor



Hi, We are assembling the modified design of Integrating Leon 3 Processors. The question is that Is there any specific term and condition to market a Leon 3 Processor under the License of GPL version 2 ? Can we easily Market our product free of cost ?


__._,_.___
Posted by: Amber Frank <amberfrank23-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>



__,_._,___
Picon

instruction execution complete



Hi
Is there any flag in leon3 to indicate that some instruction has completed its execution or some new instruction is in the program counter, either in hardware or GRMON? please help.

Najam  


__._,_.___
Posted by: darnajam72-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

CentOs 6.6 GRMON eval



Hi!


Im using CentOS 6.6 and I want to use GRMON to communicate with my Altium Nanoboard 3000.


but when I type in: grmon -eth 192.168.0.51 -nb -u


I get a sequence of: Ethernet initialization failure, retrying
I did
turn off IP v6 and used a static/manial ip for IP v4: 192.168.0.1

with 192.168.0.51 for the gateway.


Hope someone could help as soon as possible.

Thank you ahead.

Marianne


 



__._,_.___
Posted by: borces.mgmendiola-/E1597aS9LToLY4ysWL1ZA@public.gmane.org



__,_._,___
Picon

trouble running the fpga binary file from BPI FLASH



Hi,
I am trying to load the fpga bit file in the BPI NOR FLASH.
1. Generated the fpga bit file.
2. using promgen converted the bit into binary file :

promgen -w -p bin -b -data_width 16 -o project1.bin -u 0 project1.bit

3. using grmon load the binary file
flash unlock all
flash erase all
flash load  -binary project1.bin 0x00000000

the loading is successful, but when I restart the board, the initalization done LED does not turn green and is red, if I load the flash using impact toolS,  on the eval board with the mcs file , I have no issues, but I need to use grmon. The flash chip on the actual board, i cannot use impact tools. Tried using grmon on the eval kit to load the binary file. same issue, but no isues  loading the BPI flash using impact tool.
Please advise if I am doing anything wrong.




__._,_.___
Posted by: anuyarlagadda-/E1597aS9LQxFYw1CcD5bw@public.gmane.org



__,_._,___
Picon

UBoot for VC707



Has anyone successfully ported UBoot to the VC707 for the LEON3?  If so, would you
be willing to post your configuration file?

Thanks,
Brendon




__._,_.___
Posted by: brendon.chetwynd-OVIABD91gjs3uPMLIKxrzw@public.gmane.org



__,_._,___
Picon

Time Code Callback



Hi,


I'm confused on setting up a callback for time codes.  In grspw.c, there is this line:


/* Function pointer called upon timecode receive */

void (*grspw_timecode_callback)  (void *pDev, void *regs, int minor, unsigned int tc) = NULL;


I could just substitute the NULL for my function, but I was expecting a call that wouldn't require me to change the driver code.  I suspect I am missing something, so any advice would be appreciated.


Thanks,


Chris




__._,_.___
Posted by: bckrup-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___

Gmane