Re: GSOC 2017 RTEMS-libbsd issue

2017-04-18 Thread Christian Mauderer
Am 18.04.2017 um 17:10 schrieb Sichen Zhao: > > Hi all, > > I am working on my goal of GSOC 2017 project: Beaglebone black bsp > improvement. > > > And i have some issue about the RTEMS-libbsd: > > if i switch on the macro USB_HAVE_UGEN in the > /rtemsbsd/include/rtems/bsd/local/opt_usb.h, >

[PATCH] cpukit: Return RTEMS_INVALID_MODE if the rtems_task_create mode is invalid.

2017-04-18 Thread Chris Johns
The mode's RTEMS_NO_PREEMPT and RTEMS_INTERRUPT_LEVEL(n) are not valid with SMP. This change reports the error as RTEMS_INVALID_MODE rather than RTEMS_UNSATISFIED. Closes #3000. --- cpukit/rtems/include/rtems/rtems/status.h | 8 ++-- cpukit/rtems/src/status.c | 3 ++-

Re: Issue with 'rtems_shell_wait_for_input' function

2017-04-18 Thread Chris Johns
On 18/04/2017 20:12, vivek kukreja wrote: Hello Sebastian, all, Sir as you said the uart_set_attributes function for xilinx serial driver simply returns false. I'm reffering the following file: /c/src/lib/libbsp/arm/xilinx-zynq/console/zynq-uart.c where the tcsetattr function fails. I'm looking

[PATCH] bsp/xilinx-zynq: Correct the ZedBoard PERIPHCLK frequency

2017-04-18 Thread Patrick Gauvin
With the default CPU clock ratio of 6:2:1 with a PS_CLK of 33.33 MHz, the CPU/SCU clock is 667 MHz (See UG585 v1.11 section 25.3). In the Zynq7000 series, PERIPHCLK is equivalent to the CPU/SCU clock divided by 2. This was discovered by noticing that the ticker sample program was running two

GSOC 2017 RTEMS-libbsd issue

2017-04-18 Thread Sichen Zhao
Hi all, I am working on my goal of GSOC 2017 project: Beaglebone black bsp improvement. And i have some issue about the RTEMS-libbsd: if i switch on the macro USB_HAVE_UGEN in the /rtemsbsd/include/rtems/bsd/local/opt_usb.h, There are lots of errors when compile code.

Re: Issue with 'rtems_shell_wait_for_input' function

2017-04-18 Thread vivek kukreja
Hello Sebastian, all, Sir as you said the uart_set_attributes function for xilinx serial driver simply returns false. I'm reffering the following file: /c/src/lib/libbsp/arm/xilinx-zynq/console/zynq-uart.c where the tcsetattr function fails. I'm looking at the older implementations of uart for