Re: RTEMS in AMP mode

2018-10-11 Thread Sebastian Huber
On 11/10/2018 17:32, Thawra Kadeed wrote: Thanks a lot Sebastian for your answer. Actually, we are planning to run a multi-core system using a network-on-chip and network interfaces as a physical interconnect between cores instead of the bus interconnect. I understood that MPCI by the OS mayb

Re: Using RTEMS on Zynq ultrascale in 32bit mode

2018-10-11 Thread Mingyu Li
Hi Jan, RTEMS master currently supports ARM Xilinx Zynq: https://github.com/RTEMS/rtems/tree/master/bsps/arm/xilinx-zynq. Please have a look at https://docs.rtems.org/branches/master/cpu-supplement/arm.html. To understand the BSP framework, refer to https://docs.rtems.org/branches/master/bsp-howt

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-11 Thread Catalin Demergian
Hi, Yes, there is a call to rtems_task_wake_after in the code; but in that case state should have been STATES_DELAYING, right ? At another run, I got state = 0x0 = STATES_READY Wait.flags = 0x104 = THREAD_WAIT_CLASS_EVENT | THREAD_WAIT_STATE_READY_AGAIN Why would the state be ready in _Event_Seize

Re: RTEMS in AMP mode

2018-10-11 Thread Sebastian Huber
Hello Thawra, On 11/10/2018 12:40, Thawra Kadeed wrote: Hello, please, I have a question about using RTEMS in AMP mode. In AMP mode we can boot RTEMS from one core and then it starts other cores with their own instances of RTEMS. The question is does the master RTEMS support running another

RTEMS in AMP mode

2018-10-11 Thread Thawra Kadeed
Hello, please, I have a question about using RTEMS in AMP mode. In AMP mode we can boot RTEMS from one core and then it starts other cores with their own instances of RTEMS. The question is does the master RTEMS support running another version of RTEMS in other cores? For example, in case

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-11 Thread Sebastian Huber
On 11/10/2018 09:52, Catalin Demergian wrote: Hi, I don't use malloc myself in the code I added, but I see it is used a lot in the networking code. I printed state and Wait.flags for SCrx task * when all is ok * in _Event_Seize, after _Thread_Dispatch_enable state = 0x100 = STATES_WAITING_FOR_

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-11 Thread Catalin Demergian
Hi, I don't use malloc myself in the code I added, but I see it is used a lot in the networking code. I printed state and Wait.flags for SCrx task * when all is ok * in _Event_Seize, after _Thread_Dispatch_enable state = 0x100 = STATES_WAITING_FOR_EVENT Wait.flags = 0x102 = THREAD_WAIT_CLASS_EVENT