Re: Testing SMP Configuration with rtems-test

2022-02-19 Thread Jiri Gaisler
You should add -m 4 to the bsp_run_opts in the leon3-sis-cov.ini file, which is in /opt/rtems/6/share/rtems/tester/rtems/testing/bsps/leon3-sis-cov.ini (or similar depending on where you installed RBS). Jiri. On 2022-02-19 09:26, Jerzy J wrote: Hi, I've been trying to get some cov

Re: [SIS] Connecting to riscv-rtems6-sis via gdb

2021-06-15 Thread jiri
he same application does not run when loaded through gdb.I did $ riscv-rtems6-sis -gdb SIS - SPARC/RISCV instruction simulator 2.26,  copyright Jiri Gaisler 2020 Bug-reports to j...@gaisler.se RISCV/GRLIB emulation enabled, 1 cpus online, delta 50 clocksgdb: listening on port 1234  connectedX4

Re: About runnning RTEMS on qemu

2021-05-19 Thread Jiri Gaisler
On 5/19/21 10:44 AM, Richi Dubey wrote: Can I use sparc leon3 and use sis/gdb as well for a SMP test? Yes. You can also run SMP tests on sis using the griscv or riscv32 bsps. Thanks! ___ users mailing list users@rtems.org http://lists.rtems.org/m

Re: SIS in "real time"

2021-04-09 Thread Jiri Gaisler
On 2021-04-09 13:23, Heinz Junkes wrote: Can the SIS Simple Instruction Simulator run in "real time"? I.e. a sleep of 3 seconds should also last 3 seconds? Thanks Heinz Try starting sis with -rt . Jiri. ___ users mailing list users

Re: riscv: gdb cannot connect to rtems runnin in qemu

2021-01-29 Thread Jiri Gaisler
ker.exe... (gdb) target remote :1234 Remote debugging using :1234 bfd requires flen 8, but target has flen 4 griscv are Jiri's BSPs and should run on sis and be able to be debugged that way. He should know if they worked on qemu and he was able to connect gdb. Sorry for the confusion. J

Re: How to run RISC-V test applications using qemu?

2020-11-25 Thread Jiri Gaisler
ything. The griscv bsp only works with sis, as it uses leon3/grlib peripherals. To run on qemu, you need to use the riscv/riscv bsps, e.g. rv32imafdc or any other in rtems/bsp/riscv/riscv/config. Jiri. PS. I plan to add "pure" riscv support to sis,

Re: Leon4+ethernet?

2020-08-23 Thread Jiri Gaisler
GR740 has two on-chip GRETH MAC's, the board has no external SMC91C111 device. Contact Cobham for the correct defines for GRETH and RCC ... On 8/23/20 5:41 PM, Diego Benavides wrote: > I'm new to rtems and the leon in general. I've managed to build the samples > provided by Gaisler and load (som

Re: RES: Question about SIS for RTEMS 5 and timing

2020-08-08 Thread Jiri Gaisler
dynamic translation for x64 ... Jiri. On 8/7/20 6:40 PM, Fabrício de Novaes Kucinskis wrote: > > Thanks for the response, Joel! Hope you’re fine. > >   > > It’s been a while since I've used SIS paying attention to its timing. > I'm trying it now to make some ac

Re: sparc and trap 4 (floating point disabled)

2019-12-03 Thread Jiri Gaisler
or it ... Jiri. On 12/3/19 3:48 PM, Schweikhardt, Jens (TSPCE3-TL4) wrote: > > Hello, world\n > >   > > I have a question about the use of trap 4 by RTEMS on Sparc32 (leon3). > > Since our app needs FP, we set the PSR[EF] bit during the boot process before > RTEMS is in

Re: Three chip erc32 Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-09-03 Thread Jiri Gaisler
On 9/3/19 9:14 AM, Jiri Gaisler wrote: > > Hmm, maybe clock driver code has been changed during the years to read > or write some register bits that are illegal on the 3-chip ERC32. This > would cause a trap to error mode and most likely a watchdog reset. I > quickly looked th

Re: Three chip erc32 Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-09-03 Thread Jiri Gaisler
. It could also be an ERC32 interrupt driver issue - enabling interrupts seems to trigger the problem. I will try to run ticker on an old version of sis that did some more checks for the 3-chip version ... On 9/3/19 12:57 AM, Joel Sherrill wrote: > Jiri does this ring a bell with the old Thar

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-18 Thread Jiri Gaisler
On 6/18/19 1:05 AM, Chris Johns wrote: > On 17/6/19 5:48 pm, Jiri Gaisler wrote: >> I don't know if it is of any help, > but I managed to build gdb-8.2.1 >> on MacOSX 10.10 using gcc-9. The trick > was to install gcc with >> 'brew install gcc', and t

Re: Eclipse/LIDE Debug Issue

2019-06-18 Thread Jiri Gaisler
es > anyone know how to track this down with the LIDE or grmon? > When the program exits, print the history trace in grmon. Then run the program again in LIDE, and put a breakpoint some where in the trace. Then execution should stop before the program exits and you should be able to see the s

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-17 Thread Jiri Gaisler
it matters. The resulting gdb binary worked fine. I am now trying to build the whole tool-chain with RSB ... brew install gcc export CC=gcc-9 export CXX=g++-9 ../gdb-8.2.1/configure --target=sparc-rtems make -j2 Jiri. On 6/17/19 7:30 AM, Chris Johns wrote: > On 17/6/19 5:31 am, Juan Rafae

Re: Upper limit for BSS on SPARC BSP ?

2018-09-08 Thread Jiri Gaisler
check that the program is linked to start address that is withing the RAM boundaries. Note that GR740 has start of SDRAM at address 0x0 while most leon2/3 systems has this at 0x4000. A general leon3 binary will then not run properly on GR740 except when it fits in the L2 cache. Jiri. > >

Re: RTEMS Source Builder error

2018-06-18 Thread Jiri Gaisler
. Jiri. On 06/18/2018 01:37 PM, Mathew Benson wrote: > I apologize if this is a known issue.  Last week, I was able to build > RTEMS 5, but now I'm getting the following error when building the > toolchain: > > downloading: sources/gdb-8.0.1.tar.xz - 18.7MB of 18.7MB (100%

Re: Tenth Anniversary of NASA Dawn Launch

2017-09-28 Thread Jiri Gaisler
more info on the LEON processors, you can look at Wikipedia: https://en.wikipedia.org/wiki/LEON Jiri. > > Russ > > On Thu, Sep 28, 2017 at 10:56 AM, Joel Sherrill <mailto:j...@rtems.org>> wrote: > > Hi > > We made a flyer a few years back about the Dawn

Re: Infinite loop on _Heap_Allocate

2017-08-24 Thread Jiri Gaisler
Have you applied leon3 patches for qemu from https://gaisler.org/qemu ? These are needed to boot RTEMS binaries properly. Jiri. On 08/24/2017 10:22 AM, LOPEZ CUEVA Patricia wrote: > > Hello all ! > > > > I’ve just installed rtems-4.8 on a Redhat 7 64 bits machine. I’