Skip to content

Commit 6c9922f

Browse files
authored
Merge pull request #95 from vivpuar/idp_emmc
platforms: add emmc version of qcm6490-idp
2 parents ced6707 + ef90422 commit 6c9922f

2 files changed

Lines changed: 171 additions & 0 deletions

File tree

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" ?>
2+
<!--
3+
========================================================================
4+
contents.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+
</product_flavors>
30+
<product_info>
31+
<product_name>QCM6490.LE.0.0</product_name>
32+
<chipid flavor="default" storage_type="emmc" flash_phase="1">QCM6490</chipid>
33+
<additional_chipid>SM7325,QCS6490</additional_chipid>
34+
<meta_type>FULL_STACK</meta_type>
35+
<build_type>K2L</build_type>
36+
</product_info>
37+
<builds_flat>
38+
<build>
39+
<name>apps</name>
40+
<role>apps</role>
41+
<chipset>QCM6490</chipset>
42+
<windows_root_path>.\</windows_root_path>
43+
<linux_root_path>./</linux_root_path>
44+
<image_dir>apps_proc</image_dir>
45+
</build>
46+
<build>
47+
<name>common</name>
48+
<role>common</role>
49+
<chipset>QCM6490</chipset>
50+
<windows_root_path>.\</windows_root_path>
51+
<linux_root_path>./</linux_root_path>
52+
<image_dir>common</image_dir>
53+
<device_programmer>
54+
<file_name>prog_firehose_ddr.elf</file_name>
55+
<file_path>.</file_path>
56+
</device_programmer>
57+
<device_programmer firehose_type="lite">
58+
<file_name>prog_firehose_lite.elf</file_name>
59+
<file_path>.</file_path>
60+
</device_programmer>
61+
<download_file>
62+
<fastboot_complete>{partition_name}</fastboot_complete>
63+
<file_name>{image_name}</file_name>
64+
<file_path>.</file_path>
65+
</download_file>
66+
<partition_file>
67+
<storage_type>{storage_type}</storage_type>
68+
<file_name>{partition_file_name}</file_name>
69+
<file_path flavor="default">.</file_path>
70+
</partition_file>
71+
<partition_patch_file>
72+
<storage_type>{storage_type}</storage_type>
73+
<file_name>{partition_patch_file_name}</file_name>
74+
<file_path flavor="default">.</file_path>
75+
</partition_patch_file>
76+
</build>
77+
</builds_flat>
78+
</contents>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Copyright (c) 2026 Qualcomm Innovation Center, Inc. All rights reserved.
2+
# SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+
# select disk type emmc | nand | ufs Mandatory
5+
# disk size in bytes Mandatory
6+
# options if not explicitly provid
7+
--disk --type=ufs --size=137438953472 --write-protect-boundary=0 --sector-size-in-bytes=4096 --grow-last-partition
8+
9+
# per partition entry
10+
# mandatory options:
11+
# --lun (mandatory for UFS, emmc no need this)
12+
# --name
13+
# --size in bytes
14+
# --type-guid
15+
# optional options: (defaults used if not provided)
16+
# --attributes 1000000000000004
17+
# --filename ""
18+
# --readonly true
19+
# --sparse false
20+
21+
# Physical Partition 0 (--phys-part=0) - Main storage partition (JEDEC "User Data Area")
22+
# Boot partitions
23+
--partition --name=xbl_a --size=3604KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
24+
--partition --name=xbl_b --size=3604KB --type-guid=7A3DF1A3-A31A-454D-BD78-DF259ED486BE --filename=xbl.elf
25+
--partition --name=xbl_config_a --size=512KB --type-guid=5A325AE4-4276-B66D-0ADD-3494DF27706A --filename=xbl_config.elf
26+
--partition --name=xbl_config_b --size=512KB --type-guid=F462E0EA-A20E-4B10-867A-2D4455366548 --filename=xbl_config.elf
27+
--partition --name=shrm_a --size=128KB --type-guid=CB74CA22-2F0D-4B82-A1D6-C4213F348D73 --filename=shrm.elf
28+
--partition --name=shrm_b --size=128KB --type-guid=39FD6C00-49EB-6BD1-6899-2FB849DD4F75 --filename=shrm.elf
29+
30+
# OTP / Misc partitions (on PHY 0)
31+
--partition --name=ddr_a --size=1024KB --type-guid=20A0C19C-286A-42FA-9CE7-F64C3226A794
32+
--partition --name=ddr_b --size=1024KB --type-guid=325DEF02-1305-44A3-AA8D-AC82FEBE220E
33+
34+
# Firmware partitions
35+
# A/B partitions
36+
--partition --name=aop_a --size=512KB --type-guid=D69E90A5-4CAB-0071-F6DF-AB977F141A7F --filename=aop.mbn
37+
--partition --name=apdp_a --size=256KB --type-guid=E6E98DA2-E22A-4D12-AB33-169E7DEAA507 --filename=zeros_33sectors.bin
38+
--partition --name=dtb_a --size=65536KB --type-guid=2A1A52FC-AA0B-401C-A808-5EA0F91068F8 --filename=dtb.bin
39+
--partition --name=xbl_ramdump_a --size=2048KB --type-guid=0382F197-E41F-4E84-B18B-0B564AEAD875 --filename=XblRamdump.elf
40+
--partition --name=uefi_a --size=5120KB --type-guid=400FFDCD-22E0-47E7-9A23-F16ED9382388 --filename=uefi.elf
41+
--partition --name=tz_a --size=4096KB --type-guid=A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 --filename=tz.mbn
42+
--partition --name=hyp_a --size=8192KB --type-guid=E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A --filename=hypvm.mbn
43+
--partition --name=devcfg_a --size=128KB --type-guid=F65D4B16-343D-4E25-AAFC-BE99B6556A6D --filename=devcfg.mbn
44+
--partition --name=qupfw_a --size=80KB --type-guid=21D1219F-2ED1-4AB4-930A-41A16AE75F7F --filename=qupv3fw.elf
45+
--partition --name=uefisecapp_a --size=2048KB --type-guid=BE8A7E08-1B7A-4CAE-993A-D5B7FB55B3C2 --filename=uefi_sec.mbn
46+
--partition --name=imagefv_a --size=2048KB --type-guid=17911177-C9E6-4372-933C-804B678E666F --filename=imagefv.elf
47+
--partition --name=multiimgoem_a --size=32KB --type-guid=E126A436-757E-42D0-8D19-0F362F7A62B8 --filename=multi_image.mbn
48+
--partition --name=cpucp_a --size=1024KB --type-guid=1E8615BD-6D8C-41AD-B3EA-50E8BF40E43F --filename=cpucp.elf
49+
--partition --name=qweslicstore_a --size=256KB --type-guid=7BAB3C93-5F73-4D02-B8CB-5B9F899D29A8
50+
--partition --name=aop_b --size=512KB --type-guid=B8B27C4C-4B5B-8AB2-502F-A792B590A896 --filename=aop.mbn
51+
--partition --name=apdp_b --size=256KB --type-guid=110F198D-8174-4193-9AF1-5DA94CDC59C9 --filename=zeros_33sectors.bin
52+
--partition --name=dtb_b --size=65536KB --type-guid=A166F11A-2B39-4FAA-B7E7-F8AA080D0587 --filename=dtb.bin
53+
--partition --name=xbl_ramdump_b --size=2048KB --type-guid=FF608BF6-AEDF-4084-BEC5-C92AB4E4534D --filename=XblRamdump.elf
54+
--partition --name=uefi_b --size=5120KB --type-guid=9F234B5B-0EFB-4313-8E4C-0AF1F605536B --filename=uefi.elf
55+
--partition --name=tz_b --size=4096KB --type-guid=C832EA16-8B0D-4398-A67B-EBB30EF98E7E --filename=tz.mbn
56+
--partition --name=hyp_b --size=8192KB --type-guid=CB45ECA0-504E-42BB-91BA-C9B3236F6A6E --filename=hypvm.mbn
57+
--partition --name=devcfg_b --size=128KB --type-guid=169534E7-7809-4240-9763-0BA5DC37B5FF --filename=devcfg.mbn
58+
--partition --name=qupfw_b --size=80KB --type-guid=F0BDD669-EE04-4F41-84BD-8F3B7B799B6C --filename=qupv3fw.elf
59+
--partition --name=uefisecapp_b --size=2048KB --type-guid=538CBDBA-D4A4-4438-A466-D7B356FAC165 --filename=uefi_sec.mbn
60+
--partition --name=imagefv_b --size=2048KB --type-guid=920CFC3D-7285-4A47-9C1C-4A87590E0687 --filename=imagefv.elf
61+
--partition --name=multiimgoem_b --size=32KB --type-guid=3E3E3ECD-C512-4F95-9144-6063826A8970 --filename=multi_image.mbn
62+
--partition --name=cpucp_b --size=1024KB --type-guid=6C1111FB-5354-41DE-AC17-5B6E542BE836 --filename=cpucp.elf
63+
--partition --name=qweslicstore_b --size=256KB --type-guid=225AF6E5-C009-4B6F-A240-625D1510D1FF
64+
--partition --name=SYSFW_VERSION --size=4KB --type-guid=3C44F88B-1878-4C29-B122-EE78766442A7
65+
--partition --name=recoveryinfo --size=4KB --type-guid=7374B391-291C-49FA-ABC2-0463AB5F713F
66+
--partition --name=devinfo --size=4KB --type-guid=65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03
67+
--partition --name=questdatafv --size=16384KB --type-guid=7F86D79A-7C83-4FC8-BEF2-7D0A7A97AF23
68+
--partition --name=qmcs --size=30720KB --type-guid=358740B1-34BD-4E4C-9656-3454F0A8FDD9
69+
--partition --name=dip --size=1024KB --type-guid=4114B077-005D-4E12-AC8C-B493BDA684FB
70+
--partition --name=splash --size=33424KB --type-guid=AD99F201-DC71-4E30-9630-E19EEF553D1B
71+
--partition --name=limits --size=4KB --type-guid=10A0C19C-516A-5444-5CE3-664C3226A794
72+
--partition --name=limits-cdsp --size=4KB --type-guid=545D3707-8329-40E8-8B5E-3E554CBDC786
73+
--partition --name=toolsfv --size=1024KB --type-guid=97745ABA-135A-44C3-9ADC-05616173C24C --filename=tools.fv
74+
--partition --name=logfs --size=8192KB --type-guid=BC0330EB-3410-4951-A617-03898DBE3372
75+
--partition --name=quantumsdk --size=40960KB --type-guid=AA9A5C4C-4F1F-7D3A-014A-22BD33BF7191
76+
--partition --name=logdump --size=524288KB --type-guid=5AF80809-AABB-4943-9168-CDFC38742598
77+
--partition --name=secdata --size=25KB --type-guid=76CFC7EF-039D-4E2C-B81E-4DD8C2CB2A93
78+
--partition --name=quantumfv --size=512KB --type-guid=80C23C26-C3F9-4A19-BB38-1E457DACEB09
79+
--partition --name=catecontentfv --size=1024KB --type-guid=E12D830B-7F62-4F0B-B48A-8178C5BF3AC1
80+
--partition --name=vm-data --size=33424KB --type-guid=21ADB864-C9E7-4C76-BE68-568E20C58439
81+
--partition --name=modemst1 --size=3072KB --type-guid=EBBEADAF-22C9-E33B-8F5D-0E81686A68CB
82+
--partition --name=modemst2 --size=3072KB --type-guid=0A288B1F-22C9-E33B-8F5D-0E81686A68CB
83+
--partition --name=fsg --size=3072KB --type-guid=638FF8E2-22C9-E33B-8F5D-0E81686A68CB
84+
--partition --name=fsc --size=128KB --type-guid=57B90A16-22C9-E33B-8F5D-0E81686A68CB
85+
86+
# HLOS partitions
87+
--partition --name=persist --size=30720KB --type-guid=6C95E238-E343-4BA8-B489-8681ED22AD0B
88+
--partition --name=efi --size=524288KB --type-guid=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --filename=efi.bin
89+
--partition --name=rootfs --size=10485760KB --type-guid=B921B045-1DF0-41C3-AF44-4C6F280D3FAE --filename=rootfs.img
90+
91+
# Physical Partition 1 (--phys-part=1) - OTP storage partition (JEDEC "Boot Area Partition 1")
92+
--partition --phys-part=1 --name=cdt --size=4KB --type-guid=A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1 --filename=cdt.bin
93+
--partition --phys-part=1 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000

0 commit comments

Comments
 (0)