Strategies¶
Schema-level lookup for every strategy registered by adi-labgrid-plugins. For
full prose, state diagrams, and troubleshooting, follow the link on each strategy
name into the User Guide.
Schema¶
Name |
Optional attributes (defaults) |
Required bindings |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
Shell, SSH, power, JESD (see User Guide) |
|
|
|
|
|
|
|
|
Minimal YAML¶
FPGA SoC Boot Variants¶
# BootFPGASoC — SD-card mux based
strategies:
BootFPGASoC:
reached_linux_marker: 'analog'
# BootFPGASoCSSH — SSH-based file transfer after initial boot
strategies:
BootFPGASoCSSH:
reached_linux_marker: 'analog'
# BootFPGASoCTFTP — U-Boot + TFTP kernel/dtb load
strategies:
BootFPGASoCTFTP:
reached_linux_marker: 'analog'
bootargs: 'console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait'
Dual-FPGA (SelMap)¶
strategies:
BootSelMap:
reached_linux_marker: 'analog'
iio_jesd_driver_name: 'axi-ad9081-rx-hpc'
FPGA Fabric (Microblaze / JTAG)¶
strategies:
BootFabric:
reached_boot_marker: 'login:'
wait_for_boot_timeout: 120
verify_iio_device: 'axi-ad9081-rx-hpc'
Raspberry Pi¶
strategies:
BootRPI: {}
Software Provisioning¶
strategies:
SoftwareProvisioningStrategy:
packages: [git, build-essential]
repos:
- {url: 'https://github.com/analogdevicesinc/libiio', dest: '/opt/libiio', branch: 'main'}
build_steps:
- {cmd: 'cmake -S . -B build && cmake --build build -j4', dir: '/opt/libiio'}
test_steps:
- {cmd: 'ctest --test-dir build', dir: '/opt/libiio'}