mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
bad: Rename to cdba-server
cdba-server more accurately reflects its purpose now. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
bf2521dcdb
commit
c5cbe74df2
2
.gitignore
vendored
2
.gitignore
vendored
@@ -52,5 +52,5 @@ Mkfile.old
|
||||
dkms.conf
|
||||
|
||||
# Binaries generated by the program
|
||||
bad
|
||||
cdba-server
|
||||
cdba
|
||||
|
||||
4
Makefile
4
Makefile
@@ -1,5 +1,5 @@
|
||||
CLIENT := cdba
|
||||
CDBA := bad
|
||||
CDBA := cdba-server
|
||||
|
||||
.PHONY: all
|
||||
|
||||
@@ -11,7 +11,7 @@ LDFLAGS := -ludev -lyaml
|
||||
CLIENT_SRCS := cdba.c circ_buf.c
|
||||
CLIENT_OBJS := $(CLIENT_SRCS:.c=.o)
|
||||
|
||||
CDBA_SRCS := bad.c cdb_assist.c circ_buf.c conmux.c device.c device_parser.c fastboot.c alpaca.c
|
||||
CDBA_SRCS := cdba-server.c cdb_assist.c circ_buf.c conmux.c device.c device_parser.c fastboot.c alpaca.c
|
||||
CDBA_OBJS := $(CDBA_SRCS:.c=.o)
|
||||
|
||||
$(CLIENT): $(CLIENT_OBJS)
|
||||
|
||||
4
README
4
README
@@ -7,8 +7,8 @@ sudo apt-get install libudev-dev libyaml-dev for debian systems
|
||||
dnf install systemd-devel libyaml-devel for fedora systems
|
||||
|
||||
= Device side
|
||||
On the host with the CDB Assist or Conmux attached the "bad" executable is run
|
||||
from sandbox/cdba/bad. Available devices are read from $HOME/.cdba
|
||||
On the host with the CDB Assist or Conmux attached the "cdba-server" executable is run
|
||||
from sandbox/cdba/cdba-server. Available devices are read from $HOME/.cdba
|
||||
|
||||
= Client side
|
||||
The client is invoked as:
|
||||
|
||||
2
alpaca.c
2
alpaca.c
@@ -41,7 +41,7 @@
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bad.h"
|
||||
#include "cdba-server.h"
|
||||
#include "alpaca.h"
|
||||
|
||||
struct alpaca {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bad.h"
|
||||
#include "cdba-server.h"
|
||||
#include "cdb_assist.h"
|
||||
|
||||
struct cdb_assist {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bad.h"
|
||||
#include "cdba-server.h"
|
||||
#include "circ_buf.h"
|
||||
#include "device.h"
|
||||
#include "device_parser.h"
|
||||
2
cdba.c
2
cdba.c
@@ -549,7 +549,7 @@ int main(int argc, char **argv)
|
||||
|
||||
request_select_board(board);
|
||||
|
||||
ret = fork_ssh(host, "sandbox/cdba/bad", ssh_fds);
|
||||
ret = fork_ssh(host, "sandbox/cdba/cdba-server", ssh_fds);
|
||||
if (ret)
|
||||
err(1, "failed to connect to \"%s\"", host);
|
||||
|
||||
|
||||
2
conmux.c
2
conmux.c
@@ -40,7 +40,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bad.h"
|
||||
#include "cdba-server.h"
|
||||
#include "conmux.h"
|
||||
|
||||
extern int h_errno;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "bad.h"
|
||||
#include "cdba-server.h"
|
||||
#include "fastboot.h"
|
||||
|
||||
#define MAX_USBFS_BULK_SIZE (16*1024)
|
||||
|
||||
Reference in New Issue
Block a user