RE: [PATCH 2/5] Modify termios to support dedicated input and output baud rates for termios structure

2017-03-14 Thread Kirspel, Kevin
I'll send new patches without the name change. Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 -Original Message- From: Sebastian Huber [mailto:sebastian.hu...@emb

[PATCH 3/5] Updated BSPs to use dedicated input and output baud rates in termios structure

2017-03-14 Thread Kevin Kirspel
--- c/src/lib/libbsp/arm/csb336/console/uart.c | 2 +- c/src/lib/libbsp/arm/lpc32xx/console/hsu.c | 2 +- c/src/lib/libbsp/i386/shared/comm/tty_drv.c| 2 +- .../libbsp/lm32/shared/milkymist_console/console.c | 2 +- c/src/lib/libbsp/m68k/av5282/console/console.c |

[PATCH 5/5] Updated termios testsuites to use dedicated input and output baud rates in termios structure

2017-03-14 Thread Kevin Kirspel
--- testsuites/libtests/termios/init.c | 341 + testsuites/libtests/termios01/init.c | 143 +++-- testsuites/libtests/termios01/termios01.scn| 270 testsuites/libtests/termios01/termios_testdriver.c | 6 +- testsuites

[PATCH 2/5] Modify termios to support dedicated input and output baud rates for termios structure

2017-03-14 Thread Kevin Kirspel
--- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/include/rtems/termiostypes.h | 8 +- cpukit/libcsupport/include/sys/ioccom.h | 11 - cpukit/libcsupport/include/sys/termios.h| 280 +++- cpukit/libcsupport/include/sys/ttycom.h

[PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

2017-03-14 Thread Kevin Kirspel
--- cpukit/libcsupport/include/sys/_termios.h| 264 +++ cpukit/libcsupport/include/sys/ttydefaults.h | 111 +++ cpukit/libcsupport/src/cfmakesane.c | 66 +++ 3 files changed, 441 insertions(+) create mode 100644 cpukit/libcsupport/include/sys/_ter

[PATCH 4/5] Updated tools to use dedicated input and output baud rates in termios structure

2017-03-14 Thread Kevin Kirspel
--- tools/cpu/sh/sci.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c index a092bce..2b68612 100644 --- a/tools/cpu/sh/sci.c +++ b/tools/cpu/sh/sci.c @@ -43,10 +43,15 @@ static unsigned int bitrate [] = {

[PATCH 2/7] dosfs: Fix msdos_utf8_normalize_and_fold()

2017-03-14 Thread Sebastian Huber
It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Update #2928. --- cpukit/libfs/src/dosfs/msdos_conv_utf8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libfs/src/dosfs/

[PATCH 1/7] dosfs: Fix fat_file_write()

2017-03-14 Thread Sebastian Huber
Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Update #2622. --- cpukit/libfs/src/dosfs/fat.c | 15 +-- cpukit/libfs/src/dosfs/fat.h | 3 +--

[PATCH 4/7] dosfs: Simplify fat_file_open()

2017-03-14 Thread Sebastian Huber
Update #2929. --- cpukit/libfs/src/dosfs/fat_file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c index cbc0ab3..c65c758 100644 --- a/cpukit/libfs/src/dosfs/fat_file.c +++ b/cpukit/libfs/src/dosfs/fat_f

[PATCH 3/7] dosfs: Simplify msdos_creat_node()

2017-03-14 Thread Sebastian Huber
Update #2929. --- cpukit/libfs/src/dosfs/msdos_create.c | 35 ++- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/cpukit/libfs/src/dosfs/msdos_create.c b/cpukit/libfs/src/dosfs/msdos_create.c index eba6417..5f594bf 100644 --- a/cpukit/libfs/src/dosf

[PATCH 6/7] dosfs: Simplify msdos_add_file()

2017-03-14 Thread Sebastian Huber
Update #2929. --- cpukit/libfs/src/dosfs/msdos_misc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index 5c16f4a..d1d0181 100644 --- a/cpukit/libfs/src/dosfs/msdos_misc.c +++ b/cpukit/libfs/src/

[PATCH 7/7] dosfs: Fix msdos_add_file()

2017-03-14 Thread Sebastian Huber
Make sure that long file names work accross cluster boundaries. Update #2929. --- cpukit/libfs/src/dosfs/msdos_misc.c | 400 ++-- 1 file changed, 155 insertions(+), 245 deletions(-) diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_m

[PATCH 5/7] dosfs: Add and use msdos_lfn_checksum()

2017-03-14 Thread Sebastian Huber
Update #2929. --- cpukit/libfs/src/dosfs/msdos.h | 2 ++ cpukit/libfs/src/dosfs/msdos_dir.c | 10 ++ cpukit/libfs/src/dosfs/msdos_misc.c | 35 +-- 3 files changed, 25 insertions(+), 22 deletions(-) diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit

Re: [PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

2017-03-14 Thread Sebastian Huber
The patch set looks good after a rough review. I will check this in in two or three days if nobody objects. -- 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-

RE: [PATCH 1/5] Adding modified FREEBSD headers to sync RTEMS termios with FREEBSD

2017-03-14 Thread Kirspel, Kevin
I tested it against xilinx_zynq_a9_qemu. I'm not sure it exists, but if there is a way to compile the patch against every (or most) BSP then we could ensure no BSP is broken. Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510-

Re: IoT Protocol in RTEMS

2017-03-14 Thread Gedare Bloom
On Tue, Mar 14, 2017 at 1:26 AM, punit vara wrote: > Hi > > I think RTEMS don't have any IoT protocol so I propose we should > implement at least two important IoT protocols > > 1. MQTT (http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html) > 2. CoAP (http://coap.technology/) > Why are th

Re: [GSoC] RTEMS Tester Improvements

2017-03-14 Thread Gedare Bloom
On Tue, Mar 14, 2017 at 1:50 AM, Chris Johns wrote: > On 14/3/17 9:18 am, Chris Johns wrote: >> >> The follow is the work I see needing to be done. >> > > I have created a ticket for this project. Please update and add > BSP/Simulator section to track those tasks. > > https://devel.rtems.org/tick

Re: [GSoC] RTEMS Tester Improvements

2017-03-14 Thread Gedare Bloom
On Tue, Mar 14, 2017 at 9:58 AM, Gedare Bloom wrote: > On Tue, Mar 14, 2017 at 1:50 AM, Chris Johns wrote: >> On 14/3/17 9:18 am, Chris Johns wrote: >>> >>> The follow is the work I see needing to be done. >>> >> >> I have created a ticket for this project. Please update and add >> BSP/Simulator

[PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-14 Thread Sichen Zhao
--- c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c | 684 -- c/src/lib/libbsp/arm/beagle/include/i2c.h | 18 +- cpukit/dev/i2c/eeprom.c | 24 +- testsuites/samples/i2c0/init.c| 98 - 4 files changed, 777 insertions(+), 47 deletions(-) di

Re: IoT Protocol in RTEMS

2017-03-14 Thread Joel Sherrill
On Tue, Mar 14, 2017 at 8:56 AM, Gedare Bloom wrote: > On Tue, Mar 14, 2017 at 1:26 AM, punit vara wrote: > > Hi > > > > I think RTEMS don't have any IoT protocol so I propose we should > > implement at least two important IoT protocols > > > > 1. MQTT (http://docs.oasis-open.org/mqtt/mqtt/v3.1.

Re: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-14 Thread Sebastian Huber
On 14/03/17 15:05, Sichen Zhao wrote: --- c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c | 684 -- c/src/lib/libbsp/arm/beagle/include/i2c.h | 18 +- cpukit/dev/i2c/eeprom.c | 24 +- What is the problem with the generic EEPROM driver? testsuit

Re: IoT Protocol in RTEMS

2017-03-14 Thread punit vara
On Tue, Mar 14, 2017 at 7:26 PM, Gedare Bloom wrote: > On Tue, Mar 14, 2017 at 1:26 AM, punit vara wrote: >> Hi >> >> I think RTEMS don't have any IoT protocol so I propose we should >> implement at least two important IoT protocols >> >> 1. MQTT (http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-

Re: IoT Protocol in RTEMS

2017-03-14 Thread punit vara
Can I port MQTT from here ? https://github.com/zephyrproject-rtos/zephyr/tree/master/subsys/net/lib/mqtt It has Apache licence. Where do I possibly need to add files ? Any suggestion ? -- PV On Tue, Mar 14, 2017 at 7:50 PM, Joel Sherrill wrote: > > > On Tue, Mar 14, 2017 at 8:56 AM, Gedare Bl

Re: IoT Protocol in RTEMS

2017-03-14 Thread Joel Sherrill
On Tue, Mar 14, 2017 at 10:22 AM, punit vara wrote: > Can I port MQTT from here ? > > https://github.com/zephyrproject-rtos/zephyr/tree/master/subsys/net/lib/ > mqtt > > It has Apache licence. Where do I possibly need to add files ? Any > suggestion ? > > Why would Zephyr want their code to supp

Re: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-14 Thread Gedare Bloom
We eventually need all of the combined patches at once in order to merge. If this is functionally working, then it is time to focus on cleaning up. It would be good to separate the testsuite change from the others. I'm not sure the testsuite is mergeable. It would also be best to separate the eep

Re: IoT Protocol in RTEMS

2017-03-14 Thread Gedare Bloom
On Tue, Mar 14, 2017 at 12:08 PM, Joel Sherrill wrote: > > > On Tue, Mar 14, 2017 at 10:22 AM, punit vara wrote: >> >> Can I port MQTT from here ? >> >> >> https://github.com/zephyrproject-rtos/zephyr/tree/master/subsys/net/lib/mqtt >> >> It has Apache licence. Where do I possibly need to add fil

Re: [GSoC] RTEMS Tester Improvements

2017-03-14 Thread Chris Johns
On 15/3/17 12:58 am, Gedare Bloom wrote: > On Tue, Mar 14, 2017 at 1:50 AM, Chris Johns wrote: >> On 14/3/17 9:18 am, Chris Johns wrote: >>> >>> The follow is the work I see needing to be done. >>> >> >> I have created a ticket for this project. Please update and add >> BSP/Simulator section to tr

Re: [GSoC] RTEMS Tester Improvements

2017-03-14 Thread Chris Johns
On 15/3/17 1:02 am, Gedare Bloom wrote: > On Tue, Mar 14, 2017 at 9:58 AM, Gedare Bloom wrote: >> On Tue, Mar 14, 2017 at 1:50 AM, Chris Johns wrote: >>> On 14/3/17 9:18 am, Chris Johns wrote: The follow is the work I see needing to be done. >>> >>> I have created a ticket for this

[PATCH] user: Add tool commands to the user manual.

2017-03-14 Thread Chris Johns
--- common/_static/my-styles.css | 9 ++ user/index.rst | 2 + user/tools/bsp-builder.rst | 200 ++ user/tools/build.rst | 17 user/tools/exeinfo.rst | 204 +++ user/tools/index.