Re: Issue with 'rtems_shell_wait_for_input' function
Hello Chris, Inside rtems_shell_wait_for_input we call the change_serial_settings function which is returning RTEMS_UNSUCCESSFUL so the test doesn't start on qemu. I tried the tests on gdb for other bsps and they work. I'm still looking into this issue so I can start working on transports. If you have any idea about this error, please suggest any docs to help solve it until Sebastian is away. Thank you. Regards, Vivek On Apr 19, 2017 6:03 AM, "Chris Johns"wrote: > 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 at the older implementations of >> uart for xilinx and your recent commits to solve this issue. I'm also >> studying the new Termios driver and it would be helpful if you can >> refer some approach or other guidelines for this exercise. >> >> > I do not think any termios attributes have been supported in the Zynq > driver. I think Sebastian has made the call return false which is an error > which is correct. > > Chris > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Issue with 'rtems_shell_wait_for_input' function
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 at the older implementations of uart for xilinx and your recent commits to solve this issue. I'm also studying the new Termios driver and it would be helpful if you can refer some approach or other guidelines for this exercise. I do not think any termios attributes have been supported in the Zynq driver. I think Sebastian has made the call return false which is an error which is correct. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Issue with 'rtems_shell_wait_for_input' function
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 xilinx and your recent commits to solve this issue. I'm also studying the new Termios driver and it would be helpful if you can refer some approach or other guidelines for this exercise. Regards, Vivek On Tue, Mar 7, 2017 at 8:21 PM, Sebastian Huberwrote: > On 03/03/17 23:50, vivek kukreja wrote: >> >> Hello all, >> >> I made few changes to the fileio test to run NFS using libbsd. The test >> compiles and when i run it on qemu NFS is initialised. >> >> The test starts with the 'rtems_shell_wait_for_input' function which >> returns RTEMS_UNSATISFIED so the test quits as soon as it begins. I read >> this means the terminal related attributes could not be set. When i bypass >> this function to directly start the test it works fine. Im not sure this is >> a bug or some problem with my configuration. Any help with this issue is >> appreciated! > > > The serial driver doesn't implement the set attributes device handler > properly and returns an error. > > -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Issue with 'rtems_shell_wait_for_input' function
On 03/03/17 23:50, vivek kukreja wrote: Hello all, I made few changes to the fileio test to run NFS using libbsd. The test compiles and when i run it on qemu NFS is initialised. The test starts with the 'rtems_shell_wait_for_input' function which returns RTEMS_UNSATISFIED so the test quits as soon as it begins. I read this means the terminal related attributes could not be set. When i bypass this function to directly start the test it works fine. Im not sure this is a bug or some problem with my configuration. Any help with this issue is appreciated! The serial driver doesn't implement the set attributes device handler properly and returns an error. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel