cdba is mainly intended for remote usage, but it also works well for
controlling devices that you just need occasionally and then directly
connect to your local laptop instead of a remote server.
Another use case is if you just use cdba to power up a standard distro on a
remote board and then SSH into it remotely. To avoid interruptions, it's
better to start cdba locally on the server in a tmux session. That way,
temporary disconnections do not power down the board.
From a protocol perspective, everything is transferred through STDIN and
STDOUT. It makes no difference if we have ssh piping the data to a remote
server, or if the data is directly passed to the cdba-server binary started
locally. The functionality works exactly the same.
Add an option for this in the cdba client. If the -h <host> option is
omitted, cdba-server is started locally.
The <boot.img> option is optional in cdba. If omitted, cdba falls back to
falls back to running "fastboot continue" to boot the installed operating
system.
Introduce description of the status fifo, the status command, and the
data format for these in the README.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Now local_gpio has landed, also accept a more verbose
and cleaner yaml config syntax for ftdi_gpio.
For now keep support for the current configuration string.
Closes: #42
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This driver permits controlling local (on the system) gpios
by using the libgpiod library.
Support for gpiod v1 and v2 is added, and parses the options
via the yaml parser.
This can be tested with the gpio-sim module:
https://docs.kernel.org/admin-guide/gpio/gpio-sim.html
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Introduce meson.build to be used with the Meson build system,
which handles the dependency and advanced compiler options
for when used on various linux distributions.
The libftdi .so for example has different names on different
distribution, using meson makes sure we can handle those easily,
and easily integrate with other package build systems like
Yocto or Buildroot.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
It isn't clear with CDB Assist is or that someone could even make one
with the available design files. Provide a link to the project.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>