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 rtems_mutex_init() and rtems_binary_semaphore_init() which I don't think are SMP safe (but I'm also new to this so I'm not sure). Thanks!
0
There are 0 best solutions below
Related Questions in TERMIOS
- Send files over UART
- Prevent canonical Mode from echoing special characters in C
- Serial Port Communication Issue in C Code on Linux
- Serial port reads are delayed (and bytes missing)
- Linux/C/C++ : Why use blocking or non-blocking read over serial/usb
- linux/C/serial port : VTIME and VMIN timeouts of termios structure do not work
- beaglebone black debian uart example c programing
- Using my TUI tool in a subshell or pipe "steals" the stdout. How can I delay a write to a pipe so that my TUI can use the terminal first?
- serial data transfer using device node
- Serial device skipping every other message (linux termios)
- Debuging failed JNA call to termios function tcgetattr()
- Why settings for termios doesn't reset each time I run my program?
- Serial communication with a modem, tcdrain/tcflush
- rs232 read() return 0 on YOCTO
- STDIN dup2 for OpenBSD/NetBSD
Related Questions in SMP
- Should ISR be re-entrant if I provide the same ISR to multiple interrupt lines?
- How to start secondary risc-v core in Renode emulator?
- How is ARM PPI is triggered and handled by an SMP ARM system?
- What is the difference between processor cores and SMP cores?
- Why atomic_thread_fence need atomic operation to work correctly
- Why Linux distributes threads among NUMA nodes almost equally?
- Linux softirq and SMP
- Send BLE raw packet through serial port
- why does read barrier can causes all effects prior to storage from another cpu be perceptible?
- "SMP is not supported on this platform"
- Can printf() be made SMP safe?
- Is memory reordering equivalent to instruction reordering?
- rpi-benchmark seems to have crashed my system: SMP : failed to stop secondary CPUs after running
- How to invalidate cache on mmap'ed shared memory (multi processor machine)
- for_each_possible_cpu macro in vmalloc_init() function, does the code run in only one cpu? or in every cpu?
Related Questions in RTEMS
- Getting the running time of Xen guest domain (RTEMS)
- How to log events in RTEMS 6?
- Can printf() be made SMP safe?
- Are variables updated by signal handlers optimized out when using RTEMS semaphore synchronization?
- newlib init_array contains only 0xffffffff with RTEMS
- Importing (RTEMS ) libraries in CMake
- Problem with RTEMS Tools and Kernel installation
- How to configure RTEMS in Eclipse?
- U-boot deployment questions
- simulating risc-v for rtems 5 bsp testing
- simple character device in rtems
- Can't read from serial port properly in linux
- Rtems 5 BSP Test Failing
- How is programming in rtems different than Linux?
- Can you use Zlib or Libarchive in RTEMS?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?