manish jain | 22 May 2013 18:35
Picon

sparc-rtems4.10-gcc linker warning for _start symbol

Hi,
I switched to rtems-source builder for building the tools and it built all my tools. But when I am testing the built cross gcc compiler on a test file. I am getting the following warning from linker:

"sparc-rtems4.10/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000010074".

Soucre builder buillt gcc4.4.7 with newlib-1.18.

Should I ignore this warning or is there some fix available for this?

Thanks
Manish

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
manish jain | 21 May 2013 23:37
Picon

Unused Variable Error while building binutil-2.20.1

Hi,
As I am working with leon3 and Gaisler is currently using rtems4.10 bsp therefore I am trying to build rtems4.10. I was able to build rtems4.11 succesfully.

But, now as I build following binutil packages:

"ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/a/binutils-2.20.1.tar.bz2" and
the patch
"binutils-2.20.1-rtems4.10-20130320.diff".(last updated on 03/20/2013)

I am facing various "unused variable compile error".

For example:
"rtems-4.10/binutils-2.20.1/bfd/verilog.c:225:15: error: variable ‘address’ set but not used [-Werror=unused-but-set-variable]"

I have tried to change these files(by removing these variable). But it seems this error is spreading at many place.
I checked with my previous "binutils-2.23.1.tar.bz2"(it was for rtems4.11). . It was building fine and those above variables were not present in this packages.

Am I using correct binutil package for rtems-4.10?

Thanks
Manish
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
manish jain | 21 May 2013 06:05
Picon

RTEMS-4.10.2 Building Error

Hi All,
I was able to build  RTEMS-4.10.2 successfully last time. But due to some reason when I tried to build again, I am getting following "Assembler Errors". I have checked "sparc-rtems4.11-gcc", it is still working fine with ordinary ".c"files. Any input what might be the reason for these errors?

configure:3440: sparc-rtems4.11-gcc -mcpu=cypress -O2 -g   conftest.c  >&5
/tmp/ccHERiZW.s: Assembler messages:
/tmp/ccHERiZW.s:8: Error: unrecognized symbol type ""
/tmp/ccHERiZW.s:9: Error: unknown pseudo-op: `.proc'
/tmp/ccHERiZW.s:16: Error: bad register name `%o7+8'
/tmp/ccHERiZW.s:17: Error: bad register name `%o0'
/tmp/ccHERiZW.s:25: Error: unknown pseudo-op: `.uaword'
/tmp/ccHERiZW.s:26: Error: unknown pseudo-op: `.uahalf'
/tmp/ccHERiZW.s:27: Error: unknown pseudo-op: `.uaword'
/tmp/ccHERiZW.s:30: Error: unknown pseudo-op: `.uaword'
/tmp/ccHERiZW.s:32: Error: unknown pseudo-op: `.uaword'
/tmp/ccHERiZW.s:33: Error: unknown pseudo-op: `.uaword'
/tmp/ccHERiZW.s:34: Error: unknown pseudo-op: `.uaword'
/tmp/ccHERiZW.s:35: Error: unknown pseudo-op: `.uaword'

configure:3487: error: in `/home/manish/tools/b-rtems/sparc-rtems4.11/c/sis':
configure:3489: error: C compiler cannot create executables

Thanks
Manish
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
manish jain | 21 May 2013 00:10
Picon

Driver Manager for LEON BSP

I am trying to port RTEMS on LEON3(GR-XCS Development Board). While referring to "Gaisler RTEMS Driver Documentation", I found that a driver manager is responsible for managing the drivers in RTEMS bsp for Leon3. But the RTEMS-4.10.2 source code which I cloned from the repository doesn't have any directory named "cpukit/libdrvmgr".
Can someone please explain why it is so?

Thanks
Manish

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
rwas | 18 May 2013 22:08
Picon

mvme177: pty's

Hello,

I've been working the bsp for the mvme177. It's looking pretty good at 
this point.

Currently, I'm trying to get rshell to work. After some debugging I find 
that the "spawned_shell()" function
in "telnetd.c" is trying to open "/dev/pty0" and failing. I tried to do 
a simple "fopen("/dev/pty0", "r+")" within
"main.c" and that fails as well.

Here are my configs from "main.c": The "CONFIGURE_SHELL..." stuff is 
commented out here, but enabled in another file.

/* configuration information */

#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER // need this for "sleep()"
#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER // experimental 20130518

#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM

#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS       4

#define CONFIGURE_EXECUTIVE_RAM_SIZE            (32 * 512*1024)

#define CONFIGURE_MEMORY_OVERHEAD               256 // this is in kbytes!!

#define CONFIGURE_MESSAGE_BUFFER_MEMORY         (256 * 1024)

#define CONFIGURE_MAXIMUM_SEMAPHORES            40
#define CONFIGURE_MAXIMUM_TASKS                 20
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES        20
#define CONFIGURE_MAXIMUM_PTYS                  10       // needed for 
telnet
#define CONFIGURE_MAXIMUM_DRIVERS               10

#define CONFIGURE_MINIMUM_TASK_STACK_SIZE       (64 * 1024) // more bigger

#define CONFIGURE_INIT_TASK_STACK_SIZE          (16*1024)
#define CONFIGURE_INIT_TASK_PRIORITY    120
#define CONFIGURE_INIT_TASK_INITIAL_MODES (RTEMS_PREEMPT | \
                                            RTEMS_NO_TIMESLICE | \
                                            RTEMS_NO_ASR | \
                                            RTEMS_INTERRUPT_LEVEL(0))

#if 0
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

#define CONFIGURE_INIT

#include <rtems/confdefs.h>

//#define CONFIGURE_SHELL_USER_ALIASES &Shell_USERECHO_Alias
//#define CONFIGURE_SHELL_COMMANDS_INIT
//#define CONFIGURE_SHELL_COMMANDS_ALL
//#define CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING

#include <rtems/shellconfig.h>

Help appreciated.

Robert W.
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Matthew J Fletcher | 15 May 2013 13:16
Picon

RTEMS classic timers

Hi,

It looks like rtems_timer_fire_after() is a one time only timer, you need to call rtems_timer_fire_after() to generate another.

The documentation does not seem to indicate that, is it possible a small update could be made for clarity.

I wrongly presumed it was a repeating timer that would go until you cancelled the timer.


--

regards
---
Matthew J Fletcher

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
SAeeD | 15 May 2013 11:15
Picon

Paranoia Test Failure on Personal Computers

Hello,

I've executed paranoia test on 3 personal computers and on all of
them, I get the following result at the end:
"The number of  FAILUREs  encountered =       4.
The number of  SERIOUS DEFECTs  discovered = 5.
The number of  DEFECTs  discovered =         3.
The number of  FLAWs  discovered =           2.

The arithmetic diagnosed has unacceptable Serious Defects.
Potentially fatal FAILURE may have spoiled this program's subsequent diagnoses."

This is while the test runs perfectly on LPC3250 and here is the result:
"No failures, defects nor flaws have been discovered.
Rounding appears to conform to the proposed IEEE standard P754.
The arithmetic diagnosed appears to be Excellent!"

I wonder is there any consideration I'm missing for x86 platform!?
As far as I know, stack overflow, and floating point exception
handlers not being installed are possible reasons of failure. Am I
doing something wrong?

Thanks
SAeeD
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Peter Dufault | 14 May 2013 23:29

mvme5500, PowerPC, VME, and end-of-life issues

Arrow recently notified my client using the MVME5500 that it is end-of-life with a last order coming up in
June.  I told them to check if the situation is the same for the MVME6100.

Is there anyone else using PowerPC, VME, and RTEMS that has a similar issue and what are you thinking of?  My
thinking is that since you can still get MVME167 boards without too much trouble my client should start a
migration to a modern architecture, away from VME, to complete over the next few years.  If the MVME6100
isn't end-of-life then switch to that during the change-over, if not just stick with the MVME5500 during
the change.

Or is there something special about the availability of old boards like the MVME167 that doesn't apply to
the MVME5500?

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Thomas Doerfler | 13 May 2013 13:25
Picon
Favicon

Final call: RTEMS open class in Munich/Germany, June 25th 2013

Hello,

as we have announced before, we will have another open RTEMS class in
Munich/Germany in the time of

		June 25 - June 28 2013.

Maybe you or some of your colleagues like to join in? See our updated
website

http://www.embedded-brains.de/index.php?id=rtems_class&L=1

for more details.

Please note, that the closing date for registrations is May, 22th 2013,
so if you would like to attend, NOW is the right time to register :-)

Please send us an email or use the website form if you and/or your
colleagues are interested to attend, so we can reserve seats for you.

wkr,
Thomas Doerfler.

--

-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler
Dornierstr. 4
D-82178 Puchheim
Germany
email: Thomas.Doerfler@...
Phone: +49-89-18 94 741-12
Fax: +49-89-18 94 741-09
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Peng Fan | 10 May 2013 16:49
Picon

bfin simulator problems

Hi,
I have encounter a problem when using bfin simulator.

$bf537Stamp -i ticker.exe 
bfin-rtems4.11-run is /opt/rtems-4.11/bin/bfin-rtems4.11-run


*** CLOCK TICK TEST ***
TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988
TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988

It stops at the 'TA3' and does not go on.

And when I use ezkit533 bsp with the command 'ezkit533 -i hello.exe', it shows that:
"bfin-rtems4.11-run is /opt/rtems-4.11/bin/bfin-rtems4.11-run
_cec_raise: double fault at 0xffb00000 ! :("

I have tried skyeye 1.2.4 to run bfin, but some instructions can not be decoded.

Thanks.

Regards,
Peng.

_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users
Peng Fan | 8 May 2013 06:05
Picon

Does the arm gdb support timer?

When I use arm-rtemseabi4.11-gdb fileio.exe/capture.exe, It always halts.

The message is following.

*** TEST FILE I/O SAMPLE ***
sim: MULTIPLY64 - INVALID ARGUMENTS
Press any key to start file I/O sample (20s remaining)

After showing the 20s remaining, It halts and does not respond any input.

Thanks.
_______________________________________________
rtems-users mailing list
rtems-users@...
http://www.rtems.org/mailman/listinfo/rtems-users

Gmane