Re: [PATCH 6/9] Adding USB serial driver test cases

2017-02-08 Thread Chris Johns
On 09/02/2017 14:21, Kevin Kirspel wrote: --- .../include/rtems/bsd/test/default-usb-init.h | 158 + testsuite/usbserial/init.c | 373 testsuite/usbserial01/test_main.c | 666 + testsuite/usbserial02/test_main.c

[PATCH 9/9] Updating script files for USB serial devices

2017-02-08 Thread Kevin Kirspel
--- libbsd.py | 67 +- libbsd_waf.py | 86 +++ 2 files changed, 134 insertions(+), 19 deletions(-) diff --git a/libbsd.py b/libbsd.py index 7264ac4..a690a00 100755 --- a/libbsd.py +++

[PATCH 8/9] Patching USB serial drivers and Termios for use in RTEMS

2017-02-08 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/serial/uplcom.c| 22 freebsd/sys/dev/usb/serial/usb_serial.c| 24 freebsd/sys/dev/usb/usb_dev.c | 18 +++ freebsd/sys/fs/devfs/devfs_int.h | 2 +- freebsd/sys/kern/kern_conf.c | 16 +--

[PATCH 1/9] Adding Prolific USB Serial driver

2017-02-08 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/serial/uplcom.c | 936 + freebsd/sys/dev/usb/serial/usb_serial.c | 1719 +++ freebsd/sys/dev/usb/serial/usb_serial.h | 221 3 files changed, 2876 insertions(+) create mode 100644 freebsd/sys/dev/usb/serial/uplcom.c

[PATCH 2/9] Adding files to support FREEBSD termios which is needed for the USB serial drivers

2017-02-08 Thread Kevin Kirspel
--- freebsd/sys/kern/tty.c | 2299 freebsd/sys/kern/tty_inq.c | 491 + freebsd/sys/kern/tty_outq.c| 341 ++ freebsd/sys/kern/tty_ttydisc.c | 1267 ++ freebsd/sys/sys/_termios.h | 222

[PATCH 7/9] Patching STTY command for use in RTEMS

2017-02-08 Thread Kevin Kirspel
--- freebsd/bin/stty/cchar.c | 11 freebsd/bin/stty/gfmt.c | 22 freebsd/bin/stty/key.c| 21 freebsd/bin/stty/modes.c | 9 freebsd/bin/stty/print.c | 14 +

[PATCH 6/9] Adding USB serial driver test cases

2017-02-08 Thread Kevin Kirspel
--- .../include/rtems/bsd/test/default-usb-init.h | 158 + testsuite/usbserial/init.c | 373 testsuite/usbserial01/test_main.c | 666 + testsuite/usbserial02/test_main.c | 252

[PATCH 5/9] Adding RTEMS support for FREEBSD virtual device operations

2017-02-08 Thread Kevin Kirspel
--- rtemsbsd/sys/fs/devfs/devfs_vnops.c | 136 1 file changed, 136 insertions(+) create mode 100755 rtemsbsd/sys/fs/devfs/devfs_vnops.c diff --git a/rtemsbsd/sys/fs/devfs/devfs_vnops.c b/rtemsbsd/sys/fs/devfs/devfs_vnops.c new file mode 100755 index

[PATCH 4/9] Adding RTEMS termios FREEBSD support

2017-02-08 Thread Kevin Kirspel
--- rtemsbsd/include/machine/rtems-bsd-termios.h | 68 + rtemsbsd/rtems/rtems-bsd-termios.c | 213 +++ 2 files changed, 281 insertions(+) create mode 100755 rtemsbsd/include/machine/rtems-bsd-termios.h create mode 100755

[PATCH 3/9] Adding files for stty command

2017-02-08 Thread Kevin Kirspel
--- freebsd/bin/stty/cchar.c | 142 freebsd/bin/stty/extern.h | 45 ++ freebsd/bin/stty/gfmt.c | 129 +++ freebsd/bin/stty/key.c| 296 ++ freebsd/bin/stty/modes.c

Re: Problem while linking rtems-libbsd with application

2017-02-08 Thread Chris Johns
On 09/02/2017 09:54, vivek kukreja wrote: Hello all, Hello and welcome back to RTEMS. I have setup rtems for arm/xilinx_zynq_a9_qemu pair and installed rtems-libbsd. Im trying to run NFS in an application but i get an error while linking libbsd drivers. I use the following commands to

Re: perf tool for RTEMS?

2017-02-08 Thread Chris Johns
On 08/02/2017 16:56, 구철회 wrote: I am CHEOL. H. KOO from KARI, and newbie here. For application and project to be required, I think perf tool just like as linux perf tool is interesting to perform performance analysis of time critical application on RTEMS. Tool such perf sample the program

Re: Running/Debugging RTEMS applications on Zynq

2017-02-08 Thread Chris Johns
On 08/02/2017 21:37, Chris Johns wrote: It is missing some steps which I will fill in when I can. I hope it helps get you going. I have completed documenting the set up to run RTEMS applications including running the RTEMS debugger test built by libbsd. Chris

Problem while linking rtems-libbsd with application

2017-02-08 Thread vivek kukreja
Hello all, I have setup rtems for arm/xilinx_zynq_a9_qemu pair and installed rtems-libbsd. Im trying to run NFS in an application but i get an error while linking libbsd drivers. I use the following commands to compile the application: arm-rtems4.12-gcc -B../../../../../xilinx_zynq_a9_qemu/lib/

C++ thread library

2017-02-08 Thread Stavros Passas
Hello all, I would like to know which is the proper way configuring our tool chain for gnu threads support. Currently if RTEMS thread compatibility is selected, gthr-rtems.h is used, which enables #define __GTHREADS 1 If instead of RTEMS, POSIX thread compatibility is selected, gthr-posix.h is

Re: Running/Debugging RTEMS applications on Zynq

2017-02-08 Thread Chris Johns
On 7/2/17 11:18 pm, Jose Pedro Canilho wrote: > Hey all! Hi and welcome. > I'm trying to run a simple RTEMS program in my Zedboard, and I'm having > some issues figuring out how to actually run my program on the board. > I have my program successfully compiled with the ARM cross-compiling > tool