Skip to content

Commit 9485088

Browse files
committed
platforms/qcs8300-ride-sx: add contents template
Add a template which can be passed to gen_contents.py script, to generate contents.xml suitable for QCS8300-RIDE boards. The 'contents.xml' file maps images to their respective partitions in a format understood by Axiom, which is helpful to trigger automatic image flashing with Axiom. Signed-off-by: Viswanath Kraleti <[email protected]>
1 parent 141e44b commit 9485088

File tree

1 file changed

+105
-0
lines changed

1 file changed

+105
-0
lines changed
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<?xml version="1.0" ?>
2+
<!--
3+
========================================================================
4+
contents.xml.in
5+
6+
General Description
7+
Contains information about component builds for this target.
8+
It will clone as contents.xml during build compilation process.
9+
10+
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
11+
SPDX-License-Identifier: BSD-3-Clause
12+
13+
========================================================================
14+
-->
15+
16+
<contents>
17+
<product_flavors cmm_pf_var="PRODUCT_FLAVORS">
18+
<pf>
19+
<name>default</name>
20+
<component>
21+
<name>common</name>
22+
<flavor>default</flavor>
23+
</component>
24+
<component>
25+
<name>apps</name>
26+
<flavor>default</flavor>
27+
</component>
28+
</pf>
29+
<pf>
30+
<name>sail_nor</name>
31+
<component>
32+
<name>common</name>
33+
<flavor>sail_nor</flavor>
34+
</component>
35+
</pf>
36+
</product_flavors>
37+
<product_info>
38+
<product_name>QCS8300.LE.1.0</product_name>
39+
<chipid flavor="default" storage_type="ufs" flash_phase="1">QCS8300</chipid>
40+
<chipid flavor="sail_nor" storage_type="spinor" flash_phase="2">QCS8300</chipid>
41+
<additional_chipid>QCS8275</additional_chipid>
42+
<meta_type>SPF</meta_type>
43+
</product_info>
44+
<builds_flat>
45+
<build>
46+
<name>apps</name>
47+
<role>apps</role>
48+
<chipset>QCS8300</chipset>
49+
<windows_root_path>.\</windows_root_path>
50+
<linux_root_path>./</linux_root_path>
51+
<image_dir>apps_proc</image_dir>
52+
</build>
53+
<build>
54+
<name>common</name>
55+
<role>common</role>
56+
<chipset>QCS8300</chipset>
57+
<windows_root_path>.\</windows_root_path>
58+
<linux_root_path>./</linux_root_path>
59+
<image_dir>common</image_dir>
60+
<device_programmer>
61+
<file_name>prog_firehose_ddr.elf</file_name>
62+
<file_path>.</file_path>
63+
</device_programmer>
64+
<device_programmer firehose_type="lite">
65+
<file_name>prog_firehose_lite.elf</file_name>
66+
<file_path>.</file_path>
67+
</device_programmer>
68+
<download_file>
69+
<fastboot_complete>{partition_name}</fastboot_complete>
70+
<file_name>{image_name}</file_name>
71+
<file_path>.</file_path>
72+
</download_file>
73+
<partition_file>
74+
<storage_type>{storage_type}</storage_type>
75+
<file_name>{partition_file_name}</file_name>
76+
<file_path flavor="default">.</file_path>
77+
</partition_file>
78+
<partition_patch_file>
79+
<storage_type>{storage_type}</storage_type>
80+
<file_name>{partition_patch_file_name}</file_name>
81+
<file_path flavor="default">.</file_path>
82+
</partition_patch_file>
83+
<download_file storage_type="spinor" fastboot_complete="SAIL_HYP">
84+
<file_name>sailfreertos.elf</file_name>
85+
<file_path flavor="sail_nor">./sail_nor</file_path>
86+
</download_file>
87+
<download_file storage_type="spinor" flavor="sail_nor">
88+
<file_name>gpt_main0.bin</file_name>
89+
<file_path flavor="sail_nor">./sail_nor</file_path>
90+
</download_file>
91+
<download_file storage_type="spinor" flavor="sail_nor">
92+
<file_name>gpt_backup0.bin</file_name>
93+
<file_path flavor="sail_nor">./sail_nor</file_path>
94+
</download_file>
95+
<partition_file storage_type="spinor" flavor="sail_nor">
96+
<file_name>rawprogram0.xml</file_name>
97+
<file_path flavor="sail_nor">./sail_nor</file_path>
98+
</partition_file>
99+
<partition_patch_file storage_type="spinor" flavor="sail_nor">
100+
<file_name>patch0.xml</file_name>
101+
<file_path flavor="sail_nor">./sail_nor</file_path>
102+
</partition_patch_file>
103+
</build>
104+
</builds_flat>
105+
</contents>

0 commit comments

Comments
 (0)