Questions tagged [rtems]

Real-Time Executive for Multiprocessor Systems

RTEMS (Real-Time Executive for Multiprocessor Systems) is a free real-time operating system designed for deeply embedded systems including automotive, medical devices, science, industrial control, and space flight. RTEMS has been to Venus, circles Mars, is going to the asteroid belt, and can be found in high energy physics research labs around the world.

Find out more: www.rtems.org

63 questions
1
vote
0 answers

Can printf() be made SMP safe?

I'm trying to get RTEMS running using SMP on a Leon3/gr712rc (2 cores). I have it partially running, but it crashes intermittently on printf's. Can anyone tell me if there's a way to make printf() SMP safe? printf appears to use termios which uses…
Symmetric
  • 4,013
  • 3
  • 27
  • 33
1
vote
0 answers

RTEMS without /dev/console

I'm working on an (old) application used since many years, based on RTEMS 4.6.2. Everything well, but now I've to made some changes to test a demo: I need to use an RS232 interface to communicate with another 3rd party board. Unfortunately, our…
Andre
  • 186
  • 11
1
vote
1 answer

Why editing default linker script in rtems causes segmentation fault?

I need to add a new section to my application (.elf). I have got the default linker script. Then I have read the GNU Linker manual. By following the instructions in manual, I have edited linker script file. However, the application gives a…
1
vote
1 answer

How do I link an application for dynamic loading by RTEMS?

I'm using RTEMS 4.11 and the builtin POSIX API functions to dynamically load a program image into memory. The program image is loaded in RTEMS using the following code: void* handle = dlopen(prog_name, RTLD_NOW | RTLD_GLOBAL); if (!handle) …
palotasb
  • 4,108
  • 3
  • 24
  • 32
1
vote
1 answer

RTEMS STM32F4 how to use BSP

I’m very new to RTEMS. I think to have successfully built RTEMS to run on the STM32F4. I’ve tried the LED blinking example (trough timer) contained in the examples folder (here: https://github.com/RTEMS/examples-v2/tree/master/led). I have compiled…
Andak
  • 124
  • 12
1
vote
1 answer

GCC - Linking is unsuccessful

and sorry for my not really good english. I'll try my best :) I am trying to compile a addin for my Casio graphic calculator in C. This works without problems when using the official SDK. Because it is only available for Windows, I want to use…
xythobuz
  • 13
  • 5
1
vote
2 answers

Undefined reference to `nfsInit`

I am currently trying to integrate an NFS server into some code running on RTEMS 4.9.2 on a POWER PC 5200. This is going to be tough to succinctly explain so bear with me. RTEMS NFS Currently RTEMS implements an NFS client through the nfs.c file.…
Fantastic Mr Fox
  • 32,495
  • 27
  • 95
  • 175
1
vote
2 answers

shell cmd failed while building rtems on Linux Mint

I was trying to build RTEMS using RTEMS Source Builder on a linux mint 17.02 system.I am getting shell cmd failed errors i.e(the last few lines of the error report ) + cd…
1
vote
1 answer

RTEMS Build failure for Ubuntu 15.04

I tried to build rsb for rtems in ubuntu 15.04 but gdb failed to install due to python. $python --version it is Python 2.7.10 I have also installed $sudo apt-get install python-all-dev One solution I have found on SO is Unable to install GDB with…
Punit Vara
  • 3,744
  • 1
  • 16
  • 30
1
vote
2 answers

RTEMS compilation and installation error

I am trying to compile RTEMS on Ubuntu 14.04. I am getting following error while trying run 'make': Making all in tools/build make[1]: Entering directory /home/user/development/rtems/b-sis/tools/build' make all-am make[2]: Entering…
1
vote
1 answer

RTEMS: how to compile and execute programs?

I've just started my academic project: Nano Sattelites Software Infrastructure. I installed RTEMS on CentOS and i can compile and execute sample programs, like hello or ticker. When i'm doing any changes to existing files(init.c for example) adding…
Geka P
  • 587
  • 1
  • 6
  • 22
1
vote
1 answer

gnu fileutils upgrade for rtems install

To install RTEMS and all the requirements, I need the install bin to work correctly and it seems not to be the case. Indeed, when I try "install -c -d tmp/foo/bar" it doesn't create the directories as it should. On the RTEMS doc, they say I need to…
gcomte
  • 51
  • 1
  • 7
0
votes
0 answers

Getting the running time of Xen guest domain (RTEMS)

I have an RTEMS domain (as DomU) in Xen. I want RTEMS not to notice the time passes when it does not run on a vCPU. For example: <2 sec> At the start of B, RTEMS thinks 1 second has…
ZGC
  • 104
  • 7
0
votes
0 answers

How to log events in RTEMS 6?

What's the simplest way in RTEMS 6 to log events in tasks and their timestamp? E.g. rtems_task Foo_task( rtems_task_argument task_index ) { // log here rtems_semaphore_obtain(sem); // log here foo(); rtems_semaphore_release(sem); //…
diridev
  • 75
  • 7
0
votes
0 answers

as I configurate rtems on redhat9.0 there is somthing wrong with it

I have succssfully complie the former file, but as i complie the enviroment of rtems the error is coming and I had install gcc .How can I solve it? I am looking forward to someone could help me solve it.
gaoimo
  • 1