Skip to content

Instantly share code, notes, and snippets.

@mouseos
Created August 3, 2024 03:36
Show Gist options
  • Save mouseos/1aa4308f4dece8ddbcabb0f8076cd41e to your computer and use it in GitHub Desktop.
Save mouseos/1aa4308f4dece8ddbcabb0f8076cd41e to your computer and use it in GitHub Desktop.
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.4.2-00242-MANNARLAZ-1
S - IMAGE_VARIANT_STRING=MannarPkgLAA
S - OEM_IMAGE_VERSION_STRING=m1-xm-ota-bd280.bj.idc.xiaomi.com
S - Boot Interface: UFS
S - Secure Boot: On
S - Boot Config @ 0x01b46070 = 0x00000041
S - JTAG ID @ 0x01b46130 = 0x1016f0e1
S - OEM ID @ 0x01b46138 = 0x00720000
S - Serial Number @ 0x01b46134 = 0xae7a0623
S - Feature Config Row 0 @ 0x01b441d0 = 0x062dbb09c0800000
S - Feature Config Row 1 @ 0x01b441d8 = 0x0402a8d00140d004
S - Core 0 Frequency, 1478 MHz
S - PBL Patch Ver: 0
S - PBL freq: 0 MHZ
D - 10907 - pbl_apps_init_timestamp
D - 31763 - bootable_media_detect_timestamp
D - 1010 - bl_elf_metadata_loading_timestamp
D - 8476 - bl_hash_seg_auth_timestamp
D - 7737 - bl_elf_loadable_segment_loading_timestamp
D - 4587 - bl_elf_segs_hash_verify_timestamp
D - 17389 - bl_sec_hash_seg_auth_timestamp
D - 868 - bl_sec_segs_hash_verify_timestamp
D - 32 - pbl_populate_shared_data_and_exit_timestamp
S - 82769 - PBL, End
B - 94224 - SBL1, Start (MPM timestamp = 96471)
B - 199256 - SBL1 BUILD @ 21:56:09 on May 30 2022
B - 207660 - usb: hs_phy_nondrive_start
B - 208876 - usb: hs_phy_nondrive_finish
D - 8527 - sbl1_hw_init
D - 12 - boot_flash_init
B - 267872 - UFS INQUIRY ID: SAMSUNG KM5P8001DM-B424 0101
B - 269457 - UFS Boot LUN: 2
D - 5352 - Auth Metadata
D - 70492 - sbl1_xblconfig_init
D - 3 - boot_config_data_table_default_init
D - 19 - sbl1_ddr_set_default_params
B - 299428 - Using default CDT
D - 3917 - boot_config_data_table_init
B - 306338 - CDT Version:3,Platform ID:11,Major ID:1,Minor ID:0,Subtype:0
D - 9480 - sbl1_hw_platform_pre_ddr
D - 1502 - devcfg init
B - 325533 - PM: WR Count: 0
B - 327210 - PM: PM 0=0x8000028000000081:0x0
B - 328500 - PM: PM 2=0x8000018000000040:0x0
B - 332857 - PM: PM 4=0x8000018000000020:0x0
B - 337210 - PM: PM 6=0x0:0x4000
B - 341556 - PM: HARD RESET by PS_HOLD
B - 512085 - PM: SET_VAL:Skip
B - 512628 - PM: PSI: b0x00_v0x0e
B - 519094 - PM: Device Init # SPMI Transn: 11024
B - 528560 - PM: Driver Init # SPMI Transn: 587
B - 528635 - PM: APSD re-run
B - 537579 - PM: battery Id: 68410
B - 537906 - PM: Vbatt: 4021; Ibatt: -2
B - 541116 - PM: CHG Init # SPMI Transn: 40
D - 224145 - pmic XBL init
D - 54369 - vsense_railway_cpr init
D - 286437 - sbl1_hw_pre_ddr_init
D - 4 - boot_dload_handle_forced_dload_timeout
D - 313 - sbl1_load_ddr_training_data
D - 4982 - sbl1_ddr_set_params
B - 624371 - DSF version = 21.0, DSF RPM version = 18.0
B - 624403 - Manufacturer ID = 1, Device Type = 7
B - 629623 - Rank 0 size = 2048 MB, Rank 1 size = 2048 MB
B - 634324 - Max Frequency = 2092 MHz
B - 639719 - Row Hammer Check : DRAM supports unlimited MAC Value : MR24[OP2: 0 = 0] & MR24[OP3 = 1] for CH0 & CS0
B - 648948 - Row Hammer Check : DRAM supports unlimited MAC Value : MR24[OP2: 0 = 0] & MR24[OP3 = 1] for CH0 & CS1
B - 659216 - Row Hammer Check : DRAM supports unlimited MAC Value : MR24[OP2: 0 = 0] & MR24[OP3 = 1] for CH1 & CS0
B - 669484 - Row Hammer Check : DRAM supports unlimited MAC Value : MR24[OP2: 0 = 0] & MR24[OP3 = 1] for CH1 & CS1
D - 60747 - sbl1_ddr_init
B - 684438 - do_ddr_training, Start
B - 687728 -
B - 694379 - Bootup frequency set to 1555200
D - 7341 - do_ddr_training, Delta
D - 14234 - sbl1_do_ddr_training
B - 702159 -
B - 705631 - magic str match
B - 707039 - gsort_version:offset:8.val:0x1
B - 709920 - trigger bit map is null
D - 11943 - sbl1_do_ddr_gsort
D - 3 - sbl1_hand_control_to_devprog_ddr_or_ddi
B - 720726 - Pimem init cmd, entry
D - 10640 - Pimem init cmd, exit
D - 16458 - sbl1_post_ddr_init
D - 10 - sbl1_hw_init_secondary
B - 743008 - APDP Image Loaded, Start
D - 3274 - APDP Image Loaded, Delta - (0 Bytes)
D - 4 - boot_dload_dump_security_regions
D - 19 - boot_dload_check
D - 3 - boot_cache_set_memory_barrier
D - 3 - boot_smem_debug_init
D - 400 - boot_smem_init
D - 5 - boot_smem_alloc_for_minidump
B - 772223 - PM: SMEM Chgr Info Write Success
D - 4006 - boot_smem_store_pon_status
D - 16 - sbl1_hw_platform_smem
D - 153 - boot_clock_init_rpm
D - 3 - boot_vsense_copy_to_smem
D - 2 - boot_share_flash_data
D - 13 - boot_populate_ram_partition_table
D - 10 - boot_populate_ddr_details_shared_table
D - 4 - sbl1_tlmm_init
D - 3 - sbl1_efs_handle_cookies
D - 2 - boot_apt_test
B - 813879 - OEM_MISC Image Loaded, Start
D - 2510 - OEM_MISC Image Loaded, Delta - (0 Bytes)
B - 820400 - QTI_MISC Image Loaded, Start
D - 5040 - QTI_MISC Image Loaded, Delta - (0 Bytes)
B - 834737 - PM: PM Total Mem Allocated: 2569
D - 5319 - sbl1_pm_aop_pre_init_wrapper
B - 839208 - RPM Image Loaded, Start
D - 5110 - Auth Metadata
D - 1506 - Segments hash check
D - 16914 - RPM Image Loaded, Delta - (245236 Bytes)
B - 859355 - QSEE Dev Config Image Loaded, Start
D - 5162 - Auth Metadata
D - 483 - Segments hash check
D - 13684 - QSEE Dev Config Image Loaded, Delta - (37844 Bytes)
B - 881821 - QSEE Image Loaded, Start
D - 22127 - Auth Metadata
D - 21025 - Segments hash check
D - 89410 - QSEE Image Loaded, Delta - (3317812 Bytes)
B - 974601 - SEC Image Loaded, Start
D - 5138 - Auth Metadata
D - 250 - Segments hash check
D - 13604 - SEC Image Loaded, Delta - (7500 Bytes)
B - 991433 - QHEE Image Loaded, Start
D - 5171 - Auth Metadata
D - 2849 - Segments hash check
D - 16891 - QHEE Image Loaded, Delta - (390456 Bytes)
B - 1011759 - STI Image Loaded, Start
D - 4924 - STI Image Loaded, Delta - (0 Bytes)
B - 1021159 - APPSBL Image Loaded, Start
D - 5238 - Auth Metadata
D - 12493 - Segments hash check
D - 34166 - APPSBL Image Loaded, Delta - (3145728 Bytes)
D - 5 - sbl1_appsbl_arch_determination
B - 1063945 - sbl1_store_pcba_config_to_smem
B - 1068137 - sbl1_get_pcba_modem_id id0 is 0 id1 is 0
B - 1073796 - sbl1 pcba board voltage id1 466 id 283
B - 1077351 - PCBA config FOUND: 112 0x70
B - 1082308 - store_hq_pcba_config_to_smem, Success
D - 18107 - sbl1_store_pcba_config_to_smem, Delta
D - 27073 - sbl1_pcba_config_smem
B - 1097135 - SBL1, End
D - 1004966 - SBL1, Delta
S - Flash Throughput, 169000 KB/s (7225030 Bytes, 42649 us)
S - DDR Frequency, 1555 MHz
UEFI Start [ 1426]
- 0x09FC01000 [ 1430] Sec.efi
ASLR : ON
DEP : ON (RTB)
Timer Delta : +3 mS
RAM Entry 0 : Base 0x0000000080000000 Size 0x000000003DD00000
RAM Entry 1 : Base 0x0000000100000000 Size 0x0000000080000000
RAM Entry 2 : Base 0x00000000C0000000 Size 0x0000000040000000
UEFI Ver : 5.0.220530.BOOT.XF.4.2-00242-MANNARLAZ-1
Build Info : 64b May 30 2022 21:56:40
Boot Device : UFS
PROD Mode : TRUE
Retail : TRUE
Module cannot re-initialize DAL module environment
UFS INQUIRY ID: SAMSUNG KM5P8001DM-B424 0101
UFS Boot LUN: 2
Embedded Images Supported and Commonlibs loaded
Read: NumHalfSectors 0x1, ReliableWriteCount 0x0
Read: NumHalfSectors 0x1, ReliableWriteCount 0x0
Read: NumHalfSectors 0x8, ReliableWriteCount 0x0
Read: NumHalfSectors 0x4, ReliableWriteCount 0x0
HW Wdog Setting from PCD : Disabled
PM0: 54, PM2: 46, PM4: 31, PM6: 47,
UsbConfigPortsQueryConnectionChange: UFP and Type-C
UsbConfigPortsQueryConnectionChange: usbport->connectstate: ATT
readback = 0x36, 0x72, 0xD, 0x0, 0x0, 0x0, 0xFF, 0x0 readSize
readback = 0x36, 0x72, 0xD, 0x0, 0x0, 0x0, 0xFF, 0x0 readSize
readback = 0x36, 0x72, 0xD, 0x0, 0x0, 0x0, 0xFF, 0x0 readSize
pPanelOtp->buffer: 0x46, 0x36, 0x32, 0x01, 0x4B, 0x19, 0x32, 0x00, 0x7F, 0x7B, 0 x64
DisplayDxe: Resolution 1080x2400 (1 intf)
smem_get_addr: SMEM get addr failed! smem_type=628MinidumpTADxe: Minidump TA loa ding not enabled.
Disp init wait [ 2327]
-----------------------------
Platform Init [ 2559] BDS
TZApp Log Buffer: (Size = 4096)
-- START --
VERSION:0x00010004
DATE:Sep 1 2021
TIME:19:55:35
le:786: ERR:0x8000000e
165:InternalCheckPolicyInTable:786: ERR:0x8000000e
166:FindVariable:731: ERR:0x80000005
167:FindVariable:713: ERR:0x80000005
168:FindVariable:762: ERR:0x8000000e
169:InternalCheckPolicyInTable:786: ERR:0x8000000e
170:InternalCheckPolicyInTable:786: ERR:0x8000000e
171:InternalCheckPolicyInTable:786: ERR:0x8000000e
172:FindVariable:762: ERR:0x8000000e
InternalCheckPolicyInTable:786: ERR:0x8000000e
88:InternalCheckPolicyInTable:786: ERR:0x8000000e
89:InternalCheckPolicyInTable:786: ERR:0x8000000e
90:FindVariable:762: ERR:0x8000000e
91:InternalCheckPolicyInTable:786: ERR:0x8000000e
92:InternalCheckPolicyInTable:786: ERR:0x8000000e
93:InternalCheckPolicyInTable:786: ERR:0x8000000e
94:FindVariable:762: ERR:0x8000000e
95:FindVariable:762: ERR:0x8000000e
96:FindVariable:762: ERR:0x8000000e
97:FindVariable:762: ERR:0x8000000e
98:InternalCheckPolicyInTable:786: ERR:0x8000000e
99:InternalCheckPolicyInTable:786: ERR:0x8000000e
100:InternalCheckPolicyInTable:786: ERR:0x8000000e
101:FindVariable:762: ERR:0x8000000e
102:FindVariable:762: ERR:0x8000000e
103:InternalCheckPolicyInTable:786: ERR:0x8000000e
104:InternalCheckPolicyInTable:786: ERR:0x8000000e
105:InternalCheckPolicyInTable:786: ERR:0x8000000e
106:FindVariable:762: ERR:0x8000000e
107:FindVariable:762: ERR:0x8000000e
108:InternalCheckPolicyInTable:786: ERR:0x8000000e
109:InternalCheckPolicyInTable:786: ERR:0x8000000e
110:InternalCheckPolicyInTable:786: ERR:0x8000000e
111:FindVariable:762: ERR:0x8000000e
112:FindVariable:713: ERR:0x80000005
113:InternalCheckPolicyInTable:786: ERR:0x8000000e
114:InternalCheckPolicyInTable:786: ERR:0x8000000e
115:InternalCheckPolicyInTable:786: ERR:0x8000000e
116:FindVariable:713: ERR:0x80000005
117:FindVariable:762: ERR:0x8000000e
118:InternalCheckPolicyInTable:786: ERR:0x8000000e
119:InternalCheckPolicyInTable:786: ERR:0x8000000e
120:InternalCheckPolicyInTable:786: ERR:0x8000000e
121:FindVariable:762: ERR:0x8000000e
122:FindVariable:762: ERR:0x8000000e
123:InternalCheckPolicyInTable:786: ERR:0x8000000e
124:InternalCheckPolicyInTable:786: ERR:0x8000000e
125:InternalCheckPolicyInTable:786: ERR:0x8000000e
126:FindVariable:762: ERR:0x8000000e
127:FindVariable:713: ERR:0x80000005
128:InternalCheckPolicyInTable:786: ERR:0x8000000e
129:InternalCheckPolicyInTable:786: ERR:0x8000000e
130:InternalCheckPolicyInTable:786: ERR:0x8000000e
131:FindVariable:713: ERR:0x80000005
132:FindVariable:713: ERR:0x80000005
133:InternalCheckPolicyInTable:786: ERR:0x8000000e
134:InternalCheckPolicyInTable:786: ERR:0x8000000e
135:InternalCheckPolicyInTable:786: ERR:0x8000000e
136:FindVariable:713: ERR:0x80000005
137:FindVariable:713: ERR:0x80000005
138:FindVariable:713: ERR:0x80000005
139:FindVariable:762: ERR:0x8000000e
140:InternalCheckPolicyInTable:786: ERR:0x8000000e
141:InternalCheckPolicyInTable:786: ERR:0x8000000e
142:InternalCheckPolicyInTable:786: ERR:0x8000000e
143:FindVariable:762: ERR:0x8000000e
144:FindVariable:713: ERR:0x80000005
145:FindVariable:713: ERR:0x80000005
146:FindVariable:731: ERR:0x80000005
147:InternalCheckPolicyInTable:786: ERR:0x8000000e
148:InternalCheckPolicyInTable:786: ERR:0x8000000e
149:InternalCheckPolicyInTable:786: ERR:0x8000000e
150:FindVariable:731: ERR:0x80000005
151:FindVariable:731: ERR:0x80000005
152:InternalCheckPolicyInTable:786: ERR:0x8000000e
153:InternalCheckPolicyInTable:786: ERR:0x8000000e
154:InternalCheckPolicyInTable:786: ERR:0x8000000e
155:FindVariable:731: ERR:0x80000005
156:FindVariable:713: ERR:0x80000005
157:FindVariable:713: ERR:0x80000005
158:FindVariable:731: ERR:0x80000005
159:FindVariable:731: ERR:0x80000005
160:FindVariable:713: ERR:0x80000005
161:FindVariable:713: ERR:0x80000005
162:FindVariable:731: ERR:0x80000005
163:InternalCheckPolicyInTable:786: ERR:0x8000000e
164:InternalCheckPolicyInTab
-- DONE --
INFO: UEFI NV tables are enabled as VOLATILE!
UEFI Ver : 5.0.220530.BOOT.XF.4.2-00242-MANNARLAZ-1
Platform : QRD
Chip Name : SM_MANNAR
Chip Ver : 1.1
Chip Serial Number : 0xAE7A0623
-----------------------------
UEFI Total : 1161 ms
POST Time [ 2587] OS Loader
Loader Build Info: Jun 15 2022 19:36:39
Read: NumHalfSectors 0x10, ReliableWriteCount 0x0
VB: RWDeviceState: Succeed using rpmb!
Read: NumHalfSectors 0x10, ReliableWriteCount 0x0
Write: NumHalfSectors 0x10, ReliableWriteCount 0x10
VB: RWDeviceState: Succeed using rpmb!
begin to update fsg partiton !
----------------------------
fsgall_header_f magic is 0x6E5A76B4
fsgall_header_f version is 0x1
fsgall_header_f flag is 0x1
fsgall_header_f fsg_count is 0x3
fsgall_header_f fsg_right_st is k19
----------------------------
fsgall alreadly update or no matched board id, return!!
update fsg Done!
GetKeyPress KeyPress:0 0x0
GetRebootReason BootReason:32 0x20
PON Reason is 129 0x81 cold_boot:1
Total DDR Size: 0x00000000FDD00000
KeyPress:0, BootReason:32
Fastboot=0, Recovery:0
GetVmData: No Vm data present! Status = (0x3)
VM Hyp calls not present
Booting from slot (_b)
Booting Into Mission Mode
Loading Image Start : 2646 ms
Loading Image Done : 2647 ms
Total Image Read size : 4096 Bytes
Load Image vbmeta_b total time: 1 ms
Load Image vbmeta_system_b total time: 0 ms
Load Image boot_b total time: 121 ms
Load Image dtbo_b total time: 4 ms
Load Image vendor_boot_b total time: 3 ms
VB2: Authenticate complete! boot state is: green
VB2: boot state: green(0)
Boot State is green!
[Loren]DISPLAY_LOCK!
Display_Utils_RenderLogo_Abl:Start
LocateProtocol:gEfiPilProtocolGuid Success!
PILProtocol->ProcessPilImage: Success!
DecompressAndDrawBmpFile: Success!
fatal error is not set
Memory Base Address: 0x80000000
Apply Overlay total time: 193 ms
GetBoarIdBySmem pcba_config = 112 0x70
PON Reason is 0x81 cold_boot:1 charger path: 1
ChargerExProtocol:: TargetPauseForBatteryCharge HARD_RESET = 1 .KPDPWR = 1 PON1 = 0 USB_CHG = 0 CBLPWR = 0
BatteryStatus = 0 IsChargingScreenEnable =1 Recovery =0
VB: RWDeviceState: read_req err ! status: 0 read status: -15
VBRwDevice failed with: 00000050
Unable to read display cmdline: 00000050
VB: readDebugPolicy: ScmSipSysCall Status: (0x7)
Error Get DebugPolicy: Device Error
DebugPolicyFlag: 0x0
CMDLINE: AsciiStrLen AsciiStrLen (DebugPolicyFlag);
Cmdline: console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x04C8C000 androidboo t.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep _disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 servic e_locator.enabl
RAM Partitions
Add Base: 0x0000000080000000 Available Length: 0x000000003DD00000
Add Base: 0x0000000100000000 Available Length: 0x0000000080000000
Add Base: 0x00000000C0000000 Available Length: 0x0000000040000000
pureason = 40081
Update Device Tree total time: 70 ms
Shutting Down UEFI Boot Services: 3502 ms
Start EBS [ 3502]
BDS: LogFs sync skipped, Unsupported
App Log Flush : 211 ms
Exit EBS [ 3729] UEFI End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment