mirror of
https://github.com/linux-msm/cdba.git
synced 2026-10-06 21:32:09 -07:00
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>
22 lines
479 B
YAML
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
|