Skip to content

Commit e70c162

Browse files
committed
include: Make firehose program configuration flexible
This enables any device requiring custom firehose programmers to specify FIREHOSE_PROGRAM in their device configuration, improving maintainability and extensibility for future devices. The iq-x7181-evk device now defines its firehose programmer (xbl_s_devprg_ns.melf) in the device template, allowing the postprocess step to use it when present. Signed-off-by: Anil Yadav <anilyada@qti.qualcomm.com>
1 parent 9c9a808 commit e70c162

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lava_test_plans/devices/iq-x7181-evk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
{% set BOOT_OS_PROMPT = BOOT_OS_PROMPT|default("root@iq-x7181-evk") %}
55
{% set ROOTFS_URL_COMP = ROOTFS_URL_COMP|default("gz") %}
6+
{% set FIREHOSE_PROGRAM = FIREHOSE_PROGRAM | default("xbl_s_devprg_ns.melf") %}
67

78
{% set rootfs_label = 'rootfs' %}
89

lava_test_plans/include/postprocess.jinja2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@
1313
- echo "OVERLAY_PATH=/home/" >> $IMAGE_PATH/flash.settings
1414
{% endif %}
1515
- echo "DEVICE_TYPE={{flasher_device_type}}" >> $IMAGE_PATH/flash.settings
16+
{% if FIREHOSE_PROGRAM is defined %}
17+
- echo "FIREHOSE_PROGRAM={{ FIREHOSE_PROGRAM }}" >> $IMAGE_PATH/flash.settings
18+
{% endif %}
1619
- cat $IMAGE_PATH/flash.settings

0 commit comments

Comments
 (0)