LM

linux-msm/cdba

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 质量 52 趋势 42BSD-3-Clause

= CDBA control tool The CDBA control tool is used for remotely booting images on development boards attached using a CDB Assist [https://github.com/sonyxperiadev/CDB-Assist] or Conmux.

概览

= CDBA control tool The CDBA control tool is used for remotely booting images on development boards attached using a CDB Assist [https://github.com/sonyxperiadev/CDB-Assist] or Conmux. = Dependencies sudo apt-get install libudev-dev libyaml-dev libftdi1-dev pkg-config meson for debian systems dnf install systemd-devel libyaml-devel libftdi1-devel pkg-config meson for fedora systems pacman -S libftdi libgpiod libyaml pkgconf meson for Arch systems = Device side 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 cdba -b [-h ] [-S ] [-c ] [-C ] [-R] [-s ] [-t ] [-T ] [write ]... [boot.img] cdba -i -b [-h ] [-S ] cdba -l [-h ] [-S ] will be connected to using ssh and will be selected for operation. As the board's fastboot interface shows up the given boot.img will be transfered and booted on the device. If is omitted, the cdba-server is started locally without using ssh.

README

以下为原文 README 节选,完整内容请查看原文。

= CDBA control tool The CDBA control tool is used for remotely booting images on development boards attached using a CDB Assist [https://github.com/sonyxperiadev/CDB-Assist] or Conmux.

= Dependencies sudo apt-get install libudev-dev libyaml-dev libftdi1-dev pkg-config meson for debian systems dnf install systemd-devel libyaml-devel libftdi1-devel pkg-config meson for fedora systems pacman -S libftdi libgpiod libyaml pkgconf meson for Arch systems

= Device side 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

= Build instructions

meson . build

ninja -C build

= Client side The client is invoked as:

cdba -b [-h ] [-S ] [-c ] [-C ] [-R] [-s ] [-t ] [-T ] [write ]… [boot.img] cdba -i -b [-h ] [-S ] cdba -l [-h ] [-S ]

will be connected to using ssh and will be selected for operation. As the board’s fastboot interface shows up the given boot.img will be transfered and booted on the device. If is omitted, the cdba-server is started locally without using ssh. The -S option can be used to specify an alternative cdba-server binary or command. If [boot.img] is omitted, “fastboot continue” is run to boot the installed operating system.

The optional write arguments can be repeated to flash one or more images through EDL before booting or continuing the board.

The board will execute until the key sequence ^A q is invoked or the board outputs a sequence of 20 ~ (tilde) chards in a row.

If the optional -c is given, the board will upon receiving the tilde sequence restart the board the given number of times. Each time booting the given boot.img. If -C is given instead, the board is only power-cycled for the tilde sequence and not for timeouts.

The optional -t argument controls the total timeout in seconds, and can be set to 0 to disable the total timeout. The optional -T argument specifies an inactivity timeout in seconds.

The optional -R argument repeats the fastboot boot when fastboot reappears.

The optional -s argument can be used to specify that a fifo should be created and opened. cdba will request the server to start sending status/measurement updates, which will be written to this fifo.

How to quit the console and close session: ctrl+a then q

= Codex skill

This repository includes a reusable Codex skill for operating cdba via CLI:

skills/cdba-cli/SKILL.md

To install it locally in Codex:

mkdir -p “$CODEX_HOME/skills” cp -r skills/cdba-cli “$CODEX_HOME/skills/”

= Server side

== Device configuration The list of attached devices is read from $HOME/.cdba and is YAML formatted.

== Status command

The “status-cmd” property for a board specifies a command line that should be

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add linux-msm/cdba
新手?先看 mcpskill.org 教程 →