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
0
votes
2 answers

Are variables updated by signal handlers optimized out when using RTEMS semaphore synchronization?

Let's say that the function isr_callback() is called on hardware interrupts. If my_function() sets the variable data to 0, and waits for tx_complete_semaphore, will the variable data be updated to 1 in my_function() when tx_complete_semaphore is…
LukesDiner
  • 145
  • 8
0
votes
2 answers

newlib init_array contains only 0xffffffff with RTEMS

I'm trying to port RTEMS on the SAME54P20A. I managed to make a basic BSP that compile and a basic application. I compile the application using ./waf configure --rtems=$HOME/rtems/5 --rtems-bsp=arm/same54p20a ./waf But when running the application…
Lucas
  • 65
  • 9
0
votes
1 answer

Importing (RTEMS ) libraries in CMake

I am trying to import a library in CMake the modern way like shown in this thread: How do I add a library path in cmake? The goal is to build a RTEMS test program. I'm building on a Ubuntu 20.04 machine, and I am cross compiling for an ARM target…
Spacefish
  • 305
  • 4
  • 11
0
votes
0 answers

Problem with RTEMS Tools and Kernel installation

I'm installing RTEMS in Ubuntu 19.10. In the last step of https://docs.rtems.org/releases/rtems-docs-4.11.3/user/installation/index.html#rtems-tools-and-kernel (../source-builder/sb-set-builder --prefix=/opt/rtems/4.11 4.11/rtems-i386) it shows next…
0
votes
0 answers

How to configure RTEMS in Eclipse?

I want to develop a simple program using RTEMS in Eclipse using Ubuntu. I have installed RTEMS CDT Support following https://devel.rtems.org/wiki/Developer/Eclipse/Plugin But I can't configure Window > Preferences > C/C++ > RTEMS paths, because…
0
votes
0 answers

U-boot deployment questions

I'am currently developing an application for an embedded system (RTEMS for RPI2). As you may know developing proccess on embedded systems imply: Modifing the program Compile it and load it into de SD card Insert the SD card on the board It is a…
Mario
  • 19
  • 4
0
votes
1 answer

simulating risc-v for rtems 5 bsp testing

How can I run RTEMS BSP tests for RISCV using a simulator? I followed the RTEMS quick start guide for sparc/erc32. In attempting to perform the BSP tests, I ran into the same problems highlighted in a separate thread, but followed the instructions…
md403
  • 3
  • 1
0
votes
1 answer

simple character device in rtems

I am new to RTEMS and I want to write a very simple character device for it but when I search in internet I can't find anything. I can write character device for linux but doesn't have any experience in RTEMS. I want to write a character device…
milad
  • 1,854
  • 2
  • 11
  • 27
0
votes
0 answers

Can't read from serial port properly in linux

I programmed a board (ERC 32 processor) to return a character every time I send one character from the serial port. When I send a character through GTKterm everything works fine and the boards returns properly. I'm writing a code in C to send and…
Macena
  • 43
  • 5
0
votes
1 answer

Rtems 5 BSP Test Failing

I am trying to install rtems 5 on my ubuntu-19.04 machine, using the instructions in QuickStart, everything is ok until section 2.7, when it appears that the gdb that was built is missing the "sim" target. The complete sequence of commands is : …
NWS
  • 3,080
  • 1
  • 19
  • 34
0
votes
1 answer

Can you use Zlib or Libarchive in RTEMS?

Was wondering if it was possible to use Zlib or libarchive to compress and decompress files in rtem?
avan989
  • 317
  • 1
  • 5
  • 12
0
votes
1 answer

decompressing tar.gz in rtems operating system

I was wondering if there was a specific set of library that can decompress tar.gz files in an rtems operating system. Most of the answer I seen is for linux. I was looking at gzip and libz but was not sure if these were for linux or can I use them…
avan989
  • 317
  • 1
  • 5
  • 12
0
votes
1 answer

SPARC-RTEMS5-GCC ignores or don't find libraries

I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with linux mint. The environment comes with sample applications. I'm trying to compile the sample from "hello" (init.c)…
Macena
  • 43
  • 5
0
votes
1 answer

How to Build RTEMS 4.11 environment properly in a Linux Mint

I'm an unexperienced linux and rtems user trying to build and configure rtems 4.11 environment on a Linux Mint host. I want this environment to compile a RTEMS application for an ERC32 chipset. I'm following the instructions given by the 4.11…
Macena
  • 43
  • 5
0
votes
1 answer

RTEMS Source Builder - Set Builder, 5 (f07d2b6e9ad7) error: exe: not found: (__xz) xz error: host build environment is not set up correctly

I want to install rtems on beaglebone black. First I am trying to create image for sd card. and I'm following this link [https://docs.rtems.org/branches/master/user/start/index.html#creating-a-workspace] but when I wrote…
Kartopu
  • 65
  • 6