Files
Bjorn Andersson 48efa3096e cdba-server: Provide QDL access control list
The newly introduced support for QDL-based remote flashing of devices is
powerful, but provides an easy way to alter shared boards in unwanted
ways.

Introduce an optional "qdl_access" entry to the device configuration,
which allows to specify a list of entries each one defining a set of
users and their accepted flash targets.

A special target "all" can be used to give e.g. administrators
unrestricted access to the flash.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
2026-06-14 22:14:26 +00:00

22 lines
479 B
YAML

---
devices:
- board: myboard
name: "My Board"
description: |
My Awesome board with QDL flashing support
console: /dev/ttyABC0
fastboot: cacafada
fastboot_set_active: true
fastboot_key_timeout: 2
qdl_programmer: /path/to/prog_firehose_ddr.elf
qdl_serial: 1234567890ABCDEF
qdl_storage: ufs
qdl_access:
- user: alice
targets:
- all
- user: bob
targets:
- userdata
- 0/123456