LM

linux-msm/cdba

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

19 stars Качество 52 Тренд 42BSD-3-Clause

Инструмент управления CDBA Инструмент управления CDBA используется для удаленной загрузки изображений на платах разработки, подключенных с помощью CDB Assist или Conmux.

Обзор

Инструмент управления CDBA Инструмент управления CDBA используется для удаленной загрузки изображений на платах разработки, подключенных с помощью CDB Assist или Conmux. = Зависимости sudo apt-get install libudev-dev libyaml-dev libftdi1-dev pkg-config meson для систем debian dnf install systemd-devel libyaml-devel libftdi1-devel pkg-config meson для систем fedora pacman -S libftdi libgpiod libyaml pkgconf meson для систем Arch Сторона устройства На хосте с прилагаемым CDB Assist или Conmux исполняемый файл «cdba-server» запускается из песочницы/cdba/cdba-server. Доступные устройства считываются из $HOME/.cdba cdba -b [-h] [-S] [-C] [-R] [-t] [-T] [писать]... [boot.img] cdba -i -b [-h] [-S] cdba -l [-h] [-S] Он будет подключен к использованию ssh и будет выбран для работы. Как показывает интерфейс быстрой загрузки платы, заданный boot.img будет перенесен и загружен на устройство. Если опустить, cdba-сервер запускается локально без использования ssh.

Обзор (машинный перевод)

Инструмент управления CDBA Инструмент управления CDBA используется для удаленной загрузки изображений на платах разработки. Прикрепляется с помощью CDB Assist https://github.com/sonyxperiadev/CDB-Assist] или Conmux.

= зависимости sudo apt-get установить libudev-dev libyaml-dev libftdi1-dev pkg-config meson для систем debian dnf установить Systemd-devel libyaml-devel libftdi1-devel pkg-config meson для систем федоры pacman - S libftdi libgpiod libyaml pkgconf meson для систем Arch

Сторона устройства На хосте с CDB Assist или Conmux прилагается исполняемый файл «cdba-server». Из песочницы/cdba/cdba-сервера. Доступные устройства считываются из $HOME/.cdba

= Построение инструкций

#Мезон.Строить

ниндзя - C build

Клиентская сторона Клиент вызывается как:

cdba -b [-h] [-S] [-c] [-C] [-R] [-s] [-т] [-т] [написать]… [boot.img] cdba -i -b [-h] [-S] cdba -l [-h] [-S]

будет подключен к использованию SSH и будет выбран для Операция. Как интерфейс быстрой загрузки платы показывает заданный boot.img Они будут перенесены и загружены на устройство. Если опустить, то Cdba-сервер запускается локально без использования ssh. Можно использовать опцию -S Указать альтернативный двоичный сервер cdba или команду. Если [boot.img]

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add linux-msm/cdba
Новичок в MCP? Начните с руководства на mcpskill.org →