Command Line Interface
This page provides documentation for our command line tools.
CLI Reference
adidtc
ADI device tree utility
Usage
adidtc [OPTIONS] COMMAND [ARGS]...
Options
- -b, --board <board>
Set board configuration
- Default:
'adrv9009_pcbz'- Options:
ad9081_fmc | adrv9009_pcbz | adrv9009_zu11eg | daq2
- -c, --context <context>
Set context
- Default:
'local_sysfs'- Options:
local_file | local_sd | local_sysfs | remote_sysfs | remote_sd
- -u, --username <username>
Set username used by remote SSH sessions (default is root)
- Default:
'root'
- -w, --password <password>
Set password used by remote SSH sessions (default is analog)
- Default:
'analog'
- -a, --arch <arch>
Set target architecture which will set the target DT. auto with determine from running system
- Default:
'auto'- Options:
arm | arm64 | auto
- -f, --filepath <filepath>
Path of the target devicetree blob to be used in local_file mode (default is devicetree.dtb)
- Default:
'devicetree.dtb'
deps
Analyze device tree dependencies
- Examples:
- View dependency tree:
adidtc deps system.dts
- Export to GraphViz and generate image:
adidtc deps system.dts –format dot -o deps.dot dot -Tpng deps.dot -o deps.png
- Export to JSON with missing dependencies:
adidtc deps system.dts –format json –show-missing -o deps.json
- Limit depth of tree display:
adidtc deps system.dts –max-depth 3
Usage
adidtc deps [OPTIONS] DT_FILE
Options
Arguments
gen-dts
Generate device tree source file for AD9081
- Generate DTS with custom kernel path:
adidtc gen-dts -p vpk180 -c cfg.json -k /path/to/linux
- Generate and compile to DTB:
adidtc gen-dts -p zc706 -c cfg.json –compile
- Custom output path:
adidtc gen-dts -p zcu102 -c cfg.json -o custom.dts
Usage
adidtc gen-dts [OPTIONS]
Options
jif
JIF supported updates of DT
Usage
adidtc jif [OPTIONS] {clock|converter|system|fpga}
Options
Arguments
profile2dt
Generate devicetree from Profile Configuration Wizard files
Usage
adidtc profile2dt [OPTIONS]
Options
prop
Get and set device tree properties
Usage
adidtc prop [OPTIONS] [NODE_NAME] [PROP] [VALUE]
Options
Arguments
props
Get and set device tree properties
Usage
adidtc props [OPTIONS] [NODE_NAME]...
Options
- -cp, --compat
Use node name to check against compatible id of node during search. This is only used for the first node
Arguments
sd-move
Move files on existing SD card
Usage
adidtc sd-move [OPTIONS] [RD]
Options
Arguments
sd-remote-copy
Copy local boot files to remote existing SD card
Usage
adidtc sd-remote-copy [OPTIONS] [FILES]
Options
Arguments