[RTEMS Project] #3790: Terminal should block in default config case

RTEMS trac trac at rtems.org
Fri Aug 23 08:54:24 UTC 2019


#3790: Terminal should block in default config case
-----------------------------+--------------------
  Reporter:  Andreas Werner  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  normal          |  Milestone:
 Component:  posix           |    Version:  5
  Severity:  normal          |   Keywords:
Blocked By:                  |   Blocking:
-----------------------------+--------------------
 Terminal should block in default config case

 == expected behaviour
 Open terminal without configure over tcsetattr.
 read block until new line ICANON is in termios.c_lflag set in default
 case.

 == undesired behaviour
 Open terminal without configure over tcsetattr.
 read return with return value 0. After reset the default settings with
 tcgetattr and tcsetattr read shown expected behavior (see Example Code).

 == target hardware
 TMS570 with bugfixes see Bug #3789

 == toolchain version
 Modified GCC, binutils and gdb build script to build armeb compiler build
 with RTEMS Source Builder master(see patches for RTEMS Soucre Builder)
 I need a ARM Compiler with Big Endian Support as default for TMS570 see
 Bug #3789

 == configuration options for bsp
 ../rtems/configure '--prefix=[bsp path]/bsp/armeb-rtems5' '--host=arm-
 rtems5' '--target=arm-rtems5' '--enable-posix' '--enable-rtems-debug'
 '--disable-tests' '--disable-networking' '--enable-
 rtemsbsp=tms570ls3137_hdk' 'CC_FOR_TARGET=armeb-rtems5-gcc'
 'CXX_FOR_TARGET=armeb-rtem5-gcc' 'AR=armeb-rtems5-ar'
 'TMS570_USE_HWINIT_STARTUP=1'

 Test on master commit RTEMS (4a9a58ea8ad75248af5876c01ef654f9bc59c312)
 with patches for TMS570 see bug #...

 == Example source code
 See test.tar.gz

 == Bug Fix
 Add initialization for wait variable in tty struct in
 rtems_termios_open_tty function see patch

--
Ticket URL: <http://devel.rtems.org/ticket/3790>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list