Skip to content

Commit 50eb5d2

Browse files
committed
iq-x7181-evk: add spinor-nvme combo subdir
Add a combined SPINOR + NVMe partition definition for IQ-X7181 EVK. Use %include to pull in the existing spinor and nvme partitions.conf files. Move contents.xml.in from spinor/ to spinor-nvme/ since it already references both storage types and update file_path references to use subdirectory names (spinor/, nvme/) instead of relative paths (., ../). The combo subdir generates artifacts for both storage types under spinor-nvme/spinor/ and spinor-nvme/nvme/, making it straightforward for downstream consumers to discover all required storages for this platform. Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
1 parent 67e782f commit 50eb5d2

2 files changed

Lines changed: 17 additions & 9 deletions

File tree

platforms/iq-x7181-evk/spinor/contents.xml.in renamed to platforms/iq-x7181-evk/spinor-nvme/contents.xml.in

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,41 +65,41 @@
6565
<download_file>
6666
<fastboot_complete>{partition_name}</fastboot_complete>
6767
<file_name>{image_name}</file_name>
68-
<file_path>.</file_path>
68+
<file_path>disk0</file_path>
6969
</download_file>
7070
<partition_file>
7171
<storage_type>{storage_type}</storage_type>
7272
<file_name>{partition_file_name}</file_name>
73-
<file_path flavor="default">.</file_path>
73+
<file_path flavor="default">disk0</file_path>
7474
</partition_file>
7575
<partition_patch_file>
7676
<storage_type>{storage_type}</storage_type>
7777
<file_name>{partition_patch_file_name}</file_name>
78-
<file_path flavor="default">.</file_path>
78+
<file_path flavor="default">disk0</file_path>
7979
</partition_patch_file>
8080
<download_file storage_type="nvme" fastboot_complete="efi">
8181
<file_name>efi.bin</file_name>
82-
<file_path flavor="ub_qcom_server">../</file_path>
82+
<file_path flavor="ub_qcom_server">disk1</file_path>
8383
</download_file>
8484
<download_file storage_type="nvme" fastboot_complete="rootfs">
8585
<file_name>rootfs.img</file_name>
86-
<file_path flavor="ub_qcom_server">../</file_path>
86+
<file_path flavor="ub_qcom_server">disk1</file_path>
8787
</download_file>
8888
<download_file storage_type="nvme" flavor="ub_qcom_server">
8989
<file_name>gpt_main0.bin</file_name>
90-
<file_path flavor="ub_qcom_server">../</file_path>
90+
<file_path flavor="ub_qcom_server">disk1</file_path>
9191
</download_file>
9292
<download_file storage_type="nvme" flavor="ub_qcom_server">
9393
<file_name>gpt_backup0.bin</file_name>
94-
<file_path flavor="ub_qcom_server">../</file_path>
94+
<file_path flavor="ub_qcom_server">disk1</file_path>
9595
</download_file>
9696
<partition_file storage_type="nvme" flavor="ub_qcom_server">
9797
<file_name>rawprogram0.xml</file_name>
98-
<file_path flavor="ub_qcom_server">../</file_path>
98+
<file_path flavor="ub_qcom_server">disk1</file_path>
9999
</partition_file>
100100
<partition_patch_file storage_type="nvme" flavor="ub_qcom_server">
101101
<file_name>patch0.xml</file_name>
102-
<file_path flavor="ub_qcom_server">../</file_path>
102+
<file_path flavor="ub_qcom_server">disk1</file_path>
103103
</partition_patch_file>
104104
</build>
105105
</builds_flat>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright (c) 2026 Qualcomm Innovation Center, Inc. All rights reserved.
2+
# SPDX-License-Identifier: BSD-3-Clause-Clear
3+
#
4+
# Combined NVMe + SPINOR partition layout for IQ-X7181 EVK.
5+
# NHLOS firmware on SPINOR, HLOS (Linux) on NVMe.
6+
7+
%include ../spinor/partitions.conf
8+
%include ../nvme/partitions.conf

0 commit comments

Comments
 (0)