Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions platforms/qcs6490-thundercomm-rubikpi3/ufs/contents.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" ?>
<!--
========================================================================
contents.in

General Description
Contains information about component builds for this target.
It will clone as contents.xml during build compilation process.

Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause

========================================================================
-->

<contents>
<product_flavors cmm_pf_var="PRODUCT_FLAVORS">
<pf>
<name>default</name>
<component>
<name>common</name>
<flavor>default</flavor>
</component>
<component>
<name>apps</name>
<flavor>default</flavor>
</component>
</pf>
</product_flavors>
<product_info>
<product_name>QCM6490.LE.0.0</product_name>
<chipid flavor="default" storage_type="ufs" flash_phase="1">QCM6490</chipid>
<additional_chipid>SM7325,QCS6490</additional_chipid>
<meta_type>FULL_STACK</meta_type>
<build_type>K2L</build_type>
</product_info>
<builds_flat>
<build>
<name>apps</name>
<role>apps</role>
<chipset>QCM6490</chipset>
<windows_root_path>.\</windows_root_path>
<linux_root_path>./</linux_root_path>
<image_dir>apps_proc</image_dir>
</build>
<build>
<name>common</name>
<role>common</role>
<chipset>QCM6490</chipset>
<windows_root_path>.\</windows_root_path>
<linux_root_path>./</linux_root_path>
<image_dir>common</image_dir>
<device_programmer>
<file_name>prog_firehose_ddr.elf</file_name>
<file_path>.</file_path>
</device_programmer>
<device_programmer firehose_type="lite">
<file_name>prog_firehose_lite.elf</file_name>
<file_path>.</file_path>
</device_programmer>
<download_file>
<fastboot_complete>{partition_name}</fastboot_complete>
<file_name>{image_name}</file_name>
<file_path>.</file_path>
</download_file>
<partition_file>
<storage_type>{storage_type}</storage_type>
<file_name>{partition_file_name}</file_name>
<file_path flavor="default">.</file_path>
</partition_file>
<partition_patch_file>
<storage_type>{storage_type}</storage_type>
<file_name>{partition_patch_file_name}</file_name>
<file_path flavor="default">.</file_path>
</partition_patch_file>
</build>
</builds_flat>
</contents>
122 changes: 122 additions & 0 deletions platforms/qcs6490-thundercomm-rubikpi3/ufs/partitions.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# select disk type emmc | nand | ufs Mandatory
# disk size in bytes Mandatory
# options if not explicitly provid
--disk --type=ufs --size=137438953472 --write-protect-boundary=0 --sector-size-in-bytes=4096 --grow-last-partition

# per partition entry
# mandatory options:
# --lun (mandatory for UFS, emmc no need this)
# --name
# --size in bytes
# --type-guid
# optional options: (defaults used if not provided)
# --attributes 1000000000000004
# --filename ""
# --readonly true
# --sparse false

#This is LUN 0 - HLOS LUN
--partition --lun=0 --name=efi --size=524288KB --type-guid=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --filename=efi.bin
--partition --lun=0 --name=rootfs --size=23099392KB --type-guid=B921B045-1DF0-41C3-AF44-4C6F280D3FAE --filename=rootfs.img

#This is LUN 1 - Boot LUN A
--partition --lun=1 --name=xbl_a --size=3604KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
--partition --lun=1 --name=xbl_config_a --size=512KB --type-guid=5A325AE4-4276-B66D-0ADD-3494DF27706A --filename=xbl_config.elf
--partition --lun=1 --name=xbl_b --size=3604KB --type-guid=7A3DF1A3-A31A-454D-BD78-DF259ED486BE --filename=xbl.elf
--partition --lun=1 --name=xbl_config_b --size=512KB --type-guid=F462E0EA-A20E-4B10-867A-2D4455366548 --filename=xbl_config.elf
--partition --lun=1 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000

#This is LUN 2 - Boot LUN B
--partition --lun=2 --name=xbl_a --size=3604KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
--partition --lun=2 --name=xbl_config_a --size=512KB --type-guid=5A325AE4-4276-B66D-0ADD-3494DF27706A --filename=xbl_config.elf
--partition --lun=2 --name=xbl_b --size=3604KB --type-guid=7A3DF1A3-A31A-454D-BD78-DF259ED486BE --filename=xbl.elf
--partition --lun=2 --name=xbl_config_b --size=512KB --type-guid=F462E0EA-A20E-4B10-867A-2D4455366548 --filename=xbl_config.elf
--partition --lun=2 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000

#This is LUN 3 - OTP LUN
#QCOM development requirement: Ensure all partitions in LUN3 is a multiple of 128k
#Linux Android customers can ignore this requirement
--partition --lun=3 --name=ALIGN_TO_128K_1 --size=104KB --type-guid=FDE1604B-D68B-4BD4-973D-962AE7A1ED88
--partition --lun=3 --name=cdt --size=128KB --type-guid=A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1 --filename=cdt.bin
--partition --lun=3 --name=ddr_a --size=1024KB --type-guid=20A0C19C-286A-42FA-9CE7-F64C3226A794
--partition --lun=3 --name=ddr_b --size=1024KB --type-guid=325DEF02-1305-44A3-AA8D-AC82FEBE220E
--partition --lun=3 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000

#This is LUN 4 - Protected Read-only LUN
# Partition's that are expected to be OTA upgradable require a A and B version.
# If the partition you are adding is not expected to be OTA upgradable please add it after the 'B' partition list.
# These are the 'A' partition's needed for the A/B boot/ota update feature.
# If you add something to this section remember to add it to B as well
--partition --lun=4 --name=aop_a --size=512KB --type-guid=D69E90A5-4CAB-0071-F6DF-AB977F141A7F --filename=aop.mbn
--partition --lun=4 --name=apdp_a --size=256KB --type-guid=E6E98DA2-E22A-4D12-AB33-169E7DEAA507 --filename=zeros_33sectors.bin
--partition --lun=4 --name=dtb_a --size=65536KB --type-guid=2A1A52FC-AA0B-401C-A808-5EA0F91068F8 --filename=dtb.bin
--partition --lun=4 --name=xbl_ramdump_a --size=2048KB --type-guid=0382F197-E41F-4E84-B18B-0B564AEAD875 --filename=XblRamdump.elf
--partition --lun=4 --name=uefi_a --size=5120KB --type-guid=400FFDCD-22E0-47E7-9A23-F16ED9382388 --filename=uefi.elf
--partition --lun=4 --name=tz_a --size=4096KB --type-guid=A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 --filename=tz.mbn
--partition --lun=4 --name=hyp_a --size=8192KB --type-guid=E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A --filename=hypvm.mbn
--partition --lun=4 --name=devcfg_a --size=128KB --type-guid=F65D4B16-343D-4E25-AAFC-BE99B6556A6D --filename=devcfg.mbn
--partition --lun=4 --name=qupfw_a --size=80KB --type-guid=21D1219F-2ED1-4AB4-930A-41A16AE75F7F --filename=qupv3fw.elf
--partition --lun=4 --name=uefisecapp_a --size=2048KB --type-guid=BE8A7E08-1B7A-4CAE-993A-D5B7FB55B3C2 --filename=uefi_sec.mbn
--partition --lun=4 --name=imagefv_a --size=2048KB --type-guid=17911177-C9E6-4372-933C-804B678E666F --filename=imagefv.elf
--partition --lun=4 --name=shrm_a --size=128KB --type-guid=CB74CA22-2F0D-4B82-A1D6-C4213F348D73 --filename=shrm.elf
--partition --lun=4 --name=multiimgoem_a --size=32KB --type-guid=E126A436-757E-42D0-8D19-0F362F7A62B8 --filename=multi_image.mbn
--partition --lun=4 --name=cpucp_a --size=1024KB --type-guid=1E8615BD-6D8C-41AD-B3EA-50E8BF40E43F --filename=cpucp.elf
--partition --lun=4 --name=qweslicstore_a --size=256KB --type-guid=7BAB3C93-5F73-4D02-B8CB-5B9F899D29A8

#These are the 'B' partition's needed for the A/B boot/ota update feature. A and B partitions must have differrent GUID's.
#For convinience sake we keep all the B partitions with the same GUID
--partition --lun=4 --name=aop_b --size=512KB --type-guid=B8B27C4C-4B5B-8AB2-502F-A792B590A896 --filename=aop.mbn
--partition --lun=4 --name=apdp_b --size=256KB --type-guid=110F198D-8174-4193-9AF1-5DA94CDC59C9 --filename=zeros_33sectors.bin
--partition --lun=4 --name=dtb_b --size=65536KB --type-guid=A166F11A-2B39-4FAA-B7E7-F8AA080D0587 --filename=dtb.bin
--partition --lun=4 --name=xbl_ramdump_b --size=2048KB --type-guid=FF608BF6-AEDF-4084-BEC5-C92AB4E4534D --filename=XblRamdump.elf
--partition --lun=4 --name=uefi_b --size=5120KB --type-guid=9F234B5B-0EFB-4313-8E4C-0AF1F605536B --filename=uefi.elf
--partition --lun=4 --name=tz_b --size=4096KB --type-guid=C832EA16-8B0D-4398-A67B-EBB30EF98E7E --filename=tz.mbn
--partition --lun=4 --name=hyp_b --size=8192KB --type-guid=CB45ECA0-504E-42BB-91BA-C9B3236F6A6E --filename=hypvm.mbn
--partition --lun=4 --name=devcfg_b --size=128KB --type-guid=169534E7-7809-4240-9763-0BA5DC37B5FF --filename=devcfg.mbn
--partition --lun=4 --name=qupfw_b --size=80KB --type-guid=F0BDD669-EE04-4F41-84BD-8F3B7B799B6C --filename=qupv3fw.elf
--partition --lun=4 --name=uefisecapp_b --size=2048KB --type-guid=538CBDBA-D4A4-4438-A466-D7B356FAC165 --filename=uefi_sec.mbn
--partition --lun=4 --name=imagefv_b --size=2048KB --type-guid=920CFC3D-7285-4A47-9C1C-4A87590E0687 --filename=imagefv.elf
--partition --lun=4 --name=shrm_b --size=128KB --type-guid=39FD6C00-49EB-6BD1-6899-2FB849DD4F75 --filename=shrm.elf
--partition --lun=4 --name=multiimgoem_b --size=32KB --type-guid=3E3E3ECD-C512-4F95-9144-6063826A8970 --filename=multi_image.mbn
--partition --lun=4 --name=cpucp_b --size=1024KB --type-guid=6C1111FB-5354-41DE-AC17-5B6E542BE836 --filename=cpucp.elf
--partition --lun=4 --name=qweslicstore_b --size=256KB --type-guid=225AF6E5-C009-4B6F-A240-625D1510D1FF

#These are non A/B partitions. In a A/B build these would not be updated via a OTA update
--partition --lun=4 --name=SYSFW_VERSION --size=4KB --type-guid=3C44F88B-1878-4C29-B122-EE78766442A7
--partition --lun=4 --name=recoveryinfo --size=4KB --type-guid=7374B391-291C-49FA-ABC2-0463AB5F713F
--partition --lun=4 --name=devinfo --size=4KB --type-guid=65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03
--partition --lun=4 --name=questdatafv --size=16384KB --type-guid=7F86D79A-7C83-4FC8-BEF2-7D0A7A97AF23
--partition --lun=4 --name=qmcs --size=30720KB --type-guid=358740B1-34BD-4E4C-9656-3454F0A8FDD9
--partition --lun=4 --name=dip --size=1024KB --type-guid=4114B077-005D-4E12-AC8C-B493BDA684FB
--partition --lun=4 --name=splash --size=33424KB --type-guid=AD99F201-DC71-4E30-9630-E19EEF553D1B
--partition --lun=4 --name=limits --size=4KB --type-guid=10A0C19C-516A-5444-5CE3-664C3226A794
--partition --lun=4 --name=limits-cdsp --size=4KB --type-guid=545D3707-8329-40E8-8B5E-3E554CBDC786
--partition --lun=4 --name=toolsfv --size=1024KB --type-guid=97745ABA-135A-44C3-9ADC-05616173C24C --filename=tools.fv
--partition --lun=4 --name=logfs --size=8192KB --type-guid=BC0330EB-3410-4951-A617-03898DBE3372
--partition --lun=4 --name=quantumsdk --size=40960KB --type-guid=AA9A5C4C-4F1F-7D3A-014A-22BD33BF7191
--partition --lun=4 --name=logdump --size=524288KB --type-guid=5AF80809-AABB-4943-9168-CDFC38742598
--partition --lun=4 --name=secdata --size=25KB --type-guid=76CFC7EF-039D-4E2C-B81E-4DD8C2CB2A93
--partition --lun=4 --name=quantumfv --size=512KB --type-guid=80C23C26-C3F9-4A19-BB38-1E457DACEB09
--partition --lun=4 --name=catecontentfv --size=1024KB --type-guid=E12D830B-7F62-4F0B-B48A-8178C5BF3AC1
--partition --lun=4 --name=vm-data --size=33424KB --type-guid=21ADB864-C9E7-4C76-BE68-568E20C58439
--partition --lun=4 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000

#This is LUN 5 - Protected Read-write LUN
#QCOM development requirement: Ensure all partitions in LUN5 is a multiple of 128k.
--partition --lun=5 --name=modemst1 --size=3072KB --type-guid=EBBEADAF-22C9-E33B-8F5D-0E81686A68CB
--partition --lun=5 --name=modemst2 --size=3072KB --type-guid=0A288B1F-22C9-E33B-8F5D-0E81686A68CB
--partition --lun=5 --name=fsg --size=3072KB --type-guid=638FF8E2-22C9-E33B-8F5D-0E81686A68CB
--partition --lun=5 --name=fsc --size=128KB --type-guid=57B90A16-22C9-E33B-8F5D-0E81686A68CB
--partition --lun=5 --name=persist --size=30720KB --type-guid=6C95E238-E343-4BA8-B489-8681ED22AD0B
--partition --lun=5 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000

#This is LUN 6 - Thundercomm RUBIK Pi 3-specific partitions
#The board's UEFI reads rubikpi_config, devcfg_full and rubikpi_dtso
#early during boot; without these the platform fails to come up.
--partition --lun=6 --name=rubikpi_con --size=8192KB --type-guid=BC5955E1-B79F-426A-B20F-6F735CF43411 --filename=rubikpi_config.img
--partition --lun=6 --name=devcfg_full --size=204800KB --type-guid=29EF4121-8B11-4B2C-ABE5-0557F11B9D57 --filename=devcfg_full.img
--partition --lun=6 --name=dtb_con --size=69632KB --type-guid=2E59C2B6-288C-4C4C-9491-9265FD929D94 --filename=rubikpi_dtso.img
--partition --lun=6 --name=last_parti --size=0KB --type-guid=00000000-0000-0000-0000-000000000000
3 changes: 3 additions & 0 deletions tests/integration/check-missing-files
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ for xml in "$@"; do
cpucp_dtbs.elf) ;;
dcd.mbn) ;;
devcfg.mbn) ;;
devcfg_full.img) ;;
devcfg_iot.mbn) ;;
devcfg_rfcomm.mbn) ;;
devcfg_windows_hyp.mbn) ;;
Expand Down Expand Up @@ -76,6 +77,8 @@ for xml in "$@"; do
qupv3fw.elf) ;;
rootfs.img) ;;
rpm.mbn) ;;
rubikpi_config.img) ;;
rubikpi_dtso.img) ;;
sailhyp.elf) ;;
sailsw1.elf) ;;
sbc_1.0_8016.bin) ;;
Expand Down
Loading
Loading