Skip to content

Commit 47bb32b

Browse files
lumagndechesne
authored andcommitted
platforms/sdm845-db845c: add config file for RB3 platform
Add config file for the RB3 board, based on the existing QCM6490 config. Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 546e43f commit 47bb32b

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# Copyright (c) 2025 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 provide
7+
8+
--disk --type=ufs --size=68719476736 --write-protect-boundary=0 --sector-size-in-bytes=4096 --grow-last-partition
9+
10+
# per partition entry
11+
# mandatory options:
12+
# --lun (mandatory for UFS, emmc no need this)
13+
# --name
14+
# --size in bytes
15+
# --type-guid
16+
# optional options: (defaults used if not provided)
17+
# --attributes 1000000000000004
18+
# --filename ""
19+
# --readonly true
20+
# --sparse false
21+
22+
#This is LUN 0 - HLOS LUN
23+
--partition --lun=0 --name=rootfs --size=3582912KB --type-guid=1B81E7E6-F50D-419B-A739-2AEEF8DA3335 --filename=rootfs.img
24+
25+
#This is LUN 1 - Boot LUN A
26+
--partition --lun=1 --name=xbl_a --size=3584KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
27+
--partition --lun=1 --name=xbl_config_a --size=128KB --type-guid=5A325AE4-4276-B66D-0ADD-3494DF27706A --filename=xbl_config.elf
28+
29+
#This is LUN 2 - Boot LUN B
30+
--partition --lun=2 --name=xbl_b --size=3584KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
31+
--partition --lun=2 --name=xbl_config_b --size=128KB --type-guid=5A325AE4-4276-B66D-0ADD-3494DF27706A --filename=xbl_config.elf
32+
33+
#This is LUN 3 - OTP LUN
34+
#QCOM development requirement: Ensure all partitions in LUN3 is a multiple of 128k
35+
#Linux Android customers can ignore this requirement
36+
--partition --lun=3 --name=ALIGN_TO_128K_1 --size=104KB --type-guid=FDE1604B-D68B-4BD4-973D-962AE7A1ED88
37+
--partition --lun=3 --name=cdt --size=128KB --type-guid=A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1
38+
--partition --lun=3 --name=ddr --size=1024KB --type-guid=20A0C19C-286A-42FA-9CE7-F64C3226A794
39+
40+
#This is LUN 4 - Protected Read-only LUN
41+
# Partition's that are expected to be OTA upgradable require a A and B version.
42+
# If the partition you are adding is not expected to be OTA upgradable please add it after the 'B' partition list.
43+
# These are the 'A' partition's needed for the A/B boot/ota update feature.
44+
# If you add something to this section remember to add it to B as well
45+
--partition --lun=4 --name=aop_a --size=512KB --type-guid=D69E90A5-4CAB-0071-F6DF-AB977F141A7F --filename=aop.mbn
46+
--partition --lun=4 --name=tz_a --size=2048KB --type-guid=A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 --filename=tz.mbn
47+
--partition --lun=4 --name=hyp_a --size=512KB --type-guid=E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A --filename=hyp.mbn
48+
--partition --lun=4 --name=modem_a --size=122880KB --type-guid=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
49+
--partition --lun=4 --name=bluetooth_a --size=1024KB --type-guid=6cb747f1-c2ef-4092-add0-ca39f79c7af4
50+
--partition --lun=4 --name=mdtpsecapp_a --size=4096KB --type-guid=EA02D680-8712-4552-A3BE-E6087829C1E6
51+
--partition --lun=4 --name=mdtp_a --size=32768KB --type-guid=3878408A-E263-4B67-B878-6340B35B11E3
52+
--partition --lun=4 --name=abl_a --size=1024KB --type-guid=BD6928A1-4CE0-A038-4F3A-1495E3EDDFFB --filename=abl.elf
53+
--partition --lun=4 --name=dsp_a --size=32768KB --type-guid=7EFE5010-2A1A-4A1A-B8BC-990257813512
54+
--partition --lun=4 --name=keymaster_a --size=512KB --type-guid=A11D2A7C-D82A-4C2F-8A01-1805240E6626 --filename=keymaster64.mbn
55+
--partition --lun=4 --name=boot_a --size=65536KB --type-guid=20117F86-E985-4357-B9EE-374BC1D8487D --filename=boot.img
56+
--partition --lun=4 --name=cmnlib_a --size=512KB --type-guid=73471795-AB54-43F9-A847-4F72EA5CBEF5 --filename=cmnlib.mbn
57+
--partition --lun=4 --name=cmnlib64_a --size=512KB --type-guid=8EA64893-1267-4A1B-947C-7C362ACAAD2C --filename=cmnlib64.mbn
58+
--partition --lun=4 --name=devcfg_a --size=128KB --type-guid=F65D4B16-343D-4E25-AAFC-BE99B6556A6D --filename=devcfg.mbn
59+
--partition --lun=4 --name=qupfw_a --size=64KB --type-guid=21d1219f-2ed1-4ab4-930a-41a16ae75f7f --filename=qupv3fw.elf
60+
--partition --lun=4 --name=storsec_a --size=128KB --type-guid=02DB45FE-AD1B-4CB6-AECC-0042C637DEFA --filename=storsec.mbn
61+
--partition --lun=4 --name=ImageFv_a --size=1024KB --type-guid=17911177-C9E6-4372-933C-804B678E666F --filename=imagefv.elf
62+
63+
#These are the 'B' partition's needed for the A/B boot/ota update feature. A and B partitions must have differrent GUID's.
64+
#For convinience sake we keep all the B partitions with the same GUID
65+
--partition --lun=4 --name=aop_b --size=512KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=aop.mbn
66+
--partition --lun=4 --name=tz_b --size=2048KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=tz.mbn
67+
--partition --lun=4 --name=hyp_b --size=512KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=hyp.mbn
68+
--partition --lun=4 --name=modem_b --size=122880KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34
69+
--partition --lun=4 --name=bluetooth_b --size=1024KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34
70+
--partition --lun=4 --name=mdtpsecapp_b --size=4096KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34
71+
--partition --lun=4 --name=mdtp_b --size=32768KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34
72+
--partition --lun=4 --name=abl_b --size=1024KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=abl.elf
73+
--partition --lun=4 --name=dsp_b --size=32768KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34
74+
--partition --lun=4 --name=keymaster_b --size=512KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=keymaster64.mbn
75+
--partition --lun=4 --name=boot_b --size=65536KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=boot.img
76+
--partition --lun=4 --name=cmnlib_b --size=512KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=cmnlib.mbn
77+
--partition --lun=4 --name=cmnlib64_b --size=512KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=cmnlib64.mbn
78+
--partition --lun=4 --name=devcfg_b --size=128KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=devcfg.mbn
79+
--partition --lun=4 --name=qupfw_b --size=64KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=qupv3fw.elf
80+
--partition --lun=4 --name=storsec_b --size=128KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=storsec.mbn
81+
--partition --lun=4 --name=ImageFv_b --size=1024KB --type-guid=77036CD4-03D5-42BB-8ED1-37E5A88BAA34 --filename=imagefv.elf
82+
83+
#These are non A/B partitions. In a A/B build these would not be updated via a OTA update
84+
--partition --lun=4 --name=sec --size=16KB --type-guid=303E6AC3-AF15-4C54-9E9B-D9A8FBECF401 --filename=sec.dat
85+
--partition --lun=4 --name=devinfo --size=1KB --type-guid=65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03
86+
--partition --lun=4 --name=dip --size=1024KB --type-guid=4114B077-005D-4E12-AC8C-B493BDA684FB
87+
--partition --lun=4 --name=fdemeta --size=512KB --type-guid=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
88+
--partition --lun=4 --name=apdp --size=256KB --type-guid=E6E98DA2-E22A-4D12-AB33-169E7DEAA507
89+
--partition --lun=4 --name=msadp --size=256KB --type-guid=ED9E8101-05FA-46B7-82AA-8D58770D200B
90+
--partition --lun=4 --name=spunvm --size=8192KB --type-guid=e42e2b4c-33b0-429b-b1ef-d341c547022c
91+
--partition --lun=4 --name=splash --size=33424KB --type-guid=AD99F201-DC71-4E30-9630-E19EEF553D1B
92+
--partition --lun=4 --name=limits --size=4KB --type-guid=10A0C19C-516A-5444-5CE3-664C3226A794
93+
--partition --lun=4 --name=toolsfv --size=1024KB --type-guid=97745ABA-135A-44C3-9ADC-05616173C24C
94+
--partition --lun=4 --name=logfs --size=8192KB --type-guid=BC0330EB-3410-4951-A617-03898DBE3372
95+
--partition --lun=4 --name=sti --size=2048KB --type-guid=AA9A5C4C-4F1F-7D3A-014A-22BD33BF7191
96+
--partition --lun=4 --name=rawdump --size=131072KB --type-guid=66C9B323-F7FC-48B6-BF96-6F32E335A428
97+
--partition --lun=4 --name=logdump --size=65536KB --type-guid=5AF80809-AABB-4943-9168-CDFC38742598
98+
99+
#This is LUN 5 - Protected Read-write LUN
100+
#QCOM development requirement: Ensure all partitions in LUN5 is a multiple of 128k.
101+
#Linux Android customers can ignore this requirement
102+
--partition --lun=5 --name=ALIGN_TO_128K_2 --size=104KB --type-guid=6891a3b7-0ccc-4705-bb53-2673cac193bd
103+
--partition --lun=5 --name=modemst1 --size=2048KB --type-guid=EBBEADAF-22C9-E33B-8F5D-0E81686A68CB
104+
--partition --lun=5 --name=modemst2 --size=2048KB --type-guid=0A288B1F-22C9-E33B-8F5D-0E81686A68CB
105+
--partition --lun=5 --name=fsg --size=2048KB --type-guid=638FF8E2-22C9-E33B-8F5D-0E81686A68CB
106+
--partition --lun=5 --name=fsc --size=128KB --type-guid=57B90A16-22C9-E33B-8F5D-0E81686A68CB
107+
--partition --lun=5 --name=ssd --size=8KB --type-guid=2C86E742-745E-4FDD-BFD8-B6A7AC638772
108+
--partition --lun=5 --name=misc --size=1024KB --type-guid=82ACC91F-357C-4A68-9C8F-689E1B1A23A1
109+
--partition --lun=5 --name=keystore --size=512KB --type-guid=DE7D4029-0F5B-41C8-AE7E-F6C023A02B33
110+
--partition --lun=5 --name=frp --size=512KB --type-guid=91B72D4D-71E0-4CBF-9B8E-236381CFF17A

0 commit comments

Comments
 (0)