Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Add more baud rates defined in termios.h.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
If the baud rate cannot be set provide an error message and abort.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Update kdmx version
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Add status file feature so tools that use the slave pty paths can be
automated.
An example of using this feature can be found in the section
'example 2(automate paths of gdb pty and terminal emulator pty)'
at http://elinux.org/Kdmx
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Clean up and fix some areas that will be impacted by patches later in the series
- testing for changed pty name was incorrect because ptsname() returns
a global string, change to use ptsname_r()
- change to ptsname_r() universally in preparation for adding status files
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
replace SERIAL_PORT_PATHLEN with MAXPATHLEN
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Clean up some areas that will be impacted by patches later in the series
- replace mis-used perror() with pr_err()
- clean up perror() strings, for consistency and brevity
- ensure all error and warning strings are unique
- correct one word in usage()
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
kdmx incorrectly detects a 0xff character read from the serial port
as a read error. The false read error results in kdmx terminating.
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Initial version of kdmx makefile
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Initial version of kdmx README
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Initial version of kdmx.c
kdmx is a program designed to split GDB packets and other trafic coming
from a target on a serial line into 2 separate pseudo-ttys.
Author: Tom Rini <trini@mvista.com>
Significant update by: Frank Rowand <frank.rowand@sonymobile.com>
Updates include:
- Fix issues that prevented use of serial USB port.
- Detect and handle I/O errors.
- Add additional error checking.
- Detect and handle disconnect by gdb and terminal emulator.
- Add ability to send BREAK to serial port.
- Replace do_read() and do_write() debug mode.
- Expand usage text.
- Allow terminal emulator to send the null character to the serial port.
- Restructure and change to Linux kernel coding style.
- General clean up.
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Acked-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
When using a system such as bitbake, it provides its own CC=
and we should not assume they will also force set the
version of the agent-proxy.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
agent-proxy.c: In function ‘writeScriptClients’:
agent-proxy.c:806:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
agent-proxy.c: In function ‘main’:
agent-proxy.c:1460:6: warning: variable ‘latency’ set but not used [-Wunused-but-set-variable]
agent-proxy.c:1459:6: warning: variable ‘baud’ set but not used [-Wunused-but-set-variable]
The ret warning just needs to have the variable deleted. For the latency
and baud, they are for a seldom used feature that is #if def'ed and
these variables should be behind the #if USE_LATENCY option.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|