Skip to content

Commit 67e782f

Browse files
committed
glymur-crd: add spinor-nvme combo subdir
Add a combined SPINOR + NVMe partition definition for Glymur CRD. 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 59b3bda commit 67e782f

2 files changed

Lines changed: 17 additions & 9 deletions

File tree

platforms/glymur-crd/spinor/contents.xml.in renamed to platforms/glymur-crd/spinor-nvme/contents.xml.in

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,41 +60,41 @@
6060
<download_file>
6161
<fastboot_complete>{partition_name}</fastboot_complete>
6262
<file_name>{image_name}</file_name>
63-
<file_path>.</file_path>
63+
<file_path>disk0</file_path>
6464
</download_file>
6565
<partition_file>
6666
<storage_type>{storage_type}</storage_type>
6767
<file_name>{partition_file_name}</file_name>
68-
<file_path flavor="default">.</file_path>
68+
<file_path flavor="default">disk0</file_path>
6969
</partition_file>
7070
<partition_patch_file>
7171
<storage_type>{storage_type}</storage_type>
7272
<file_name>{partition_patch_file_name}</file_name>
73-
<file_path flavor="default">.</file_path>
73+
<file_path flavor="default">disk0</file_path>
7474
</partition_patch_file>
7575
<download_file storage_type="nvme" fastboot_complete="efi">
7676
<file_name>efi.bin</file_name>
77-
<file_path flavor="qcom_server">../</file_path>
77+
<file_path flavor="qcom_server">disk1</file_path>
7878
</download_file>
7979
<download_file storage_type="nvme" fastboot_complete="rootfs">
8080
<file_name>rootfs.img</file_name>
81-
<file_path flavor="qcom_server">../</file_path>
81+
<file_path flavor="qcom_server">disk1</file_path>
8282
</download_file>
8383
<download_file storage_type="nvme" flavor="qcom_server">
8484
<file_name>gpt_main0.bin</file_name>
85-
<file_path flavor="qcom_server">../</file_path>
85+
<file_path flavor="qcom_server">disk1</file_path>
8686
</download_file>
8787
<download_file storage_type="nvme" flavor="qcom_server">
8888
<file_name>gpt_backup0.bin</file_name>
89-
<file_path flavor="qcom_server">../</file_path>
89+
<file_path flavor="qcom_server">disk1</file_path>
9090
</download_file>
9191
<partition_file storage_type="nvme" flavor="qcom_server">
9292
<file_name>rawprogram0.xml</file_name>
93-
<file_path flavor="qcom_server">../</file_path>
93+
<file_path flavor="qcom_server">disk1</file_path>
9494
</partition_file>
9595
<partition_patch_file storage_type="nvme" flavor="qcom_server">
9696
<file_name>patch0.xml</file_name>
97-
<file_path flavor="qcom_server">../</file_path>
97+
<file_path flavor="qcom_server">disk1</file_path>
9898
</partition_patch_file>
9999
</build>
100100
</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 Glymur CRD.
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)