UART logs - jvandewiel/no-alexa GitHub Wiki
The dot has a UART (see test pads MLB) that dumps information during the boot process. There is a normal boot mode and a fastboot mode, in an older software version the normal uart log was also different and contained more information (such as GPT parsing).
Baudrate @115200
F0: 102B 0000
F3: 4000 0036
F1: 5000 1006
F2: 0000 0000
V0: 0000 0000 [0001]
00: 0007 8000
01: 0000 0000
BP: 0000 0001 [0000]
G0: 0090 0000
EC: 0000 1000 [0001]
T0: 0000 030D [000F]
Jump to BL
Baudrate @921600
before CLK_GATEING_CTRL2: 0xFFFFFF00
after CLK_GATEING_CTRL2: 0xBFFFFF00
Long Pressed setting
[PLFM] Init I2C: OK(0)
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
Device APC domain init setup:
Domain Setup (0x0)
Domain Setup (0x0)
Device APC domain after setup:
Domain Setup (0x100000)
Domain Setup (0x0)
[PLFM] chip_ver[1]
[BLDR] Build Time: 20210326_040236
==== Dump RGU Reg ========
RGU MODE: 4D
RGU LENGTH: FFE0
RGU STA: 0
RGU INTERVAL: FFF
RGU SWSYSRST: 8000
==== Dump RGU Reg End ====
RGU: g_rgu_satus:0
mtk_wdt_mode_config mode value=10, tmp:22000010
PL P ON
WDT does not trigger reboot
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
Enter mtk_kpd_gpio_set!
after set KP enable: KP_SEL = 0x1C70 !
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
power key is pressed
No Battery
[PLFM] Power key boot!
!!wait bsi read done!!
BSI Read Done: value = 0x1247
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] default cap_code: 0x22
[xo] get xo efuse: A2000000
!!wait bsi read done!!
BSI Read Done: value = 0x2224
BSI_write: wrdat = 0x902224
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2224
BSI_write: wrdat = 0x902224
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100C00
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100400
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2C00
BSI_write: wrdat = 0x1E02C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2C00
BSI_write: wrdat = 0x4A02C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1247
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] current cap_code: 0x22
[xo] disable XO to PMIC 26M
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
[xo] Without 32K. Reg[0x402]=0x3634
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
BSI_write: wrdat = 0x2506AAB
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
[Preloader] BSI read: [0x25] = 0x6AAB
!!wait bsi read done!!
BSI Read Done: value = 0x0
BSI_write: wrdat = 0x2900001
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1
[Preloader] BSI read: [0x29] = 0x1
!!wait bsi read done!!
BSI Read Done: value = 0x1
BSI_write: wrdat = 0x2900000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x0
[Preloader] BSI read: [0x29] = 0x0
!!wait bsi read done!!
BSI Read Done: value = 0xF0
[xo] status: 0xF
Preloader detects Board ID 0x0 and 16 bits DRAM type
[EMI] MDL number = 1
[EMI] PCDDR3
get dram size from AUXADC1 522 1
[EMI] Use Common DDR3 x16 emi settings
[EMI] Config emi settings:
EMI_CONA=0x1010, EMI_CONH=0x3
EMI_RAMK0=0x10000000, EMI_RAMK1=0x0
EMI_CONA=0x1010
EMI_CONF=0x4210000
EMI_CONH=0x3
DQ DRVP=7 ,DRVN=6
DQS DRVP=7 ,DRVN=6
CMD DRVP=7 ,DRVN=6
CLK DRVP=7 ,DRVN=6
[DramcSwImpedanceCal] FINAL: DRVP=7, DRVN=6
PCDDR3 Pinmux 0
SSC OFF
DRAM Clock: 1560MHz
change tRCD for DDR3
multi sample wl support
[Write Leveling]
WriteLevelingMoveDQSInsteadOfCLK
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
WL Clk delay = 0, CA CLK delay = 0
No need to update CA/CS delay because the CLK delay is small than CA training.
Final Clk output delay = 0
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS0 delay = 35
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS1 delay = 33
[DramcWriteLeveling] ====Done====
[Gating]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
[Byte 0]First pass (1, 3, 4)
[Byte 1]First pass (1, 3, 4)
[Byte 0]Bigger pass win(1, 4, 29) Pass tap=57
[Byte 1]Bigger pass win(1, 4, 30) Pass tap=58
===============================================================================
dqs input gating widnow, final delay value
Frequency=1560 rank=0
===============================================================================
R0 FINAL: GW best DQS0 P0 delay(2T, 0.5T, PI) = (1, 4, 0) [tap = 57]
R0 FINAL: GW best DQS1 P0 delay(2T, 0.5T, PI) = (1, 4, 1) [tap = 58]
R0 FINAL: GW best DQS0 P1 delay(2T, 0.5T, PI) = (1, 6, 0)
R0 FINAL: GW best DQS1 P1 delay(2T, 0.5T, PI) = (1, 6, 1)
[DramcRxdqsGatingCal] ====Done====
[DATLAT]
DATLAT Default value = 0xF
5, 0x0000FFFF, sum=0
6, 0x0000FFFF, sum=0
7, 0x0000FFFF, sum=0
8, 0x0000FFFF, sum=0
9, 0x0000FFFF, sum=0
10, 0x0000FFFF, sum=0
11, 0x0000FFFF, sum=0
12, 0x0000FFFF, sum=0
13, 0x00000000, sum=1
14, 0x00000000, sum=2
15, 0x00000000, sum=3
16, 0x00000000, sum=4
17, 0x00000000, sum=5
pattern=5 first_step=13 total pass=6 best_step=15
R0 FINAL: DATLAT = 15 [13 ~ 18]
[DramcRxdatlatCal] ====Done====
multi pattern K for rx
[RX]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
RX Window Sum 551
R0 FINAL: RX Bit 0, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 1, 14 (-3 ~ 31) 35
R0 FINAL: RX Bit 2, 15 (-2 ~ 32) 35
R0 FINAL: RX Bit 3, 15 (-1 ~ 32) 34
R0 FINAL: RX Bit 4, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 5, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 6, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 7, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 8, 16 (-1 ~ 34) 36
R0 FINAL: RX Bit 9, 16 (-1 ~ 34) 36
R0 FINAL: RX Bit 10, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 11, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 12, 16 (-1 ~ 33) 35
R0 FINAL:
[TOOL] Enumeration(End): TMO 501ms : 8000ms
[TOOL] USB enum timeout!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
(B)tz_dapc_sec_init is 0x0
(E)tz_dapc_sec_init is 0x1
NAND INFO:nand_bread 245: blknr:0xA00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xA40, blks:0x1
NAND INFO:nand_bread 245: blknr:0xA80, blks:0x1
[BCB] magic number matched at 0x80000
read misc: 6x 8x 8x
============================================================
Boot Ctrl - Magic : 0x42424100
Boot Ctrl - Version : 1
Boot Ctrl - Recovery Tries Remaining : 0
Boot Ctrl - Slot 0 Priority : 14
Boot Ctrl - Slot 0 Tries Remaining : 0
Boot Ctrl - Slot 0 Successful Boot : 1
Boot Ctrl - Slot 1 Priority : 15
Boot Ctrl - Slot 1 Tries Remaining : 0
Boot Ctrl - Slot 1 Successful Boot : 1
============================================================
active_slot is 1
NAND INFO:nand_bread 245: blknr:0x280, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh mode : -1
[PART] size : 232680
[PART] magic: 58881688h
0:dram_rank_size:10000000
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0x280, blks:0x1
NAND INFO:nand_bread 245: blknr:0x281, blks:0x37
NAND INFO:nand_bread 245: blknr:0x2B8, blks:0x1
[PART] load "lk_b" from 0x0000000000280200 (dev) to 0x41E00000 (mem) [SUCCESS]
[PART] load speed: 15148KB/s, 232680 bytes, 15ms
[PART] Verifying LK, total size (including signature) = 232680
[VERIFY_LK] Succeed to pass the LK verification, version of LK is 0x1.
[PART] LK authenticated with prod key
[BLDR] check active part. of tee1 and tee2
[BLDR] tee1 active = 0, tee2 active = 0
[BLDR] Loading tee1 Partition...
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : atf
[PART] addr : FFFFFFFFh mode : 0
[PART] size : 58880
[PART] magic: 58881688h
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE01, blks:0xD
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] load "tee1" from 0x0000000000E00200 (dev) to 0x43001000 (mem) [SUCCESS]
[PART] load speed: 9583KB/s, 58880 bytes, 6ms
[BLDR_MTEE] sha256 takes 0 (ms) for 58304 bytes
[BLDR_MTEE] rsa2048 takes 87 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 1 (ms)
[BLDR_MTEE] aes128cbc takes 1 (ms) for 58304
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : tee
[PART] addr : 600000h mode : 0
[PART] size : 2305536
[PART] magic: 58881688h
warning: size is not 2MB aligned
mblock[0].start: 0x0000000040000000, sz: 0x0000000010000000, limit: 0x0000000100000000, max_addr: 0x0000000000000000, max_rank: 0, target: -1, mblock[].rank: 0
mblock_reserve dbg[0]: 1, 1, 1, 1
mblock_reserve: 000000004F9C0000 - 0000000050000000 from mblock 0
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE0F, blks:0x232
NAND INFO:nand_bread 245: blknr:0x1041, blks:0x1
[PART] load "tee1" from 0x0000000000E0EA00 (dev) to 0x4FA00000 (mem) [SUCCESS]
[PART] load speed: 18454KB/s, 2305536 bytes, 122ms
[BLDR_MTEE] sha256 takes 27 (ms) for 2304960 bytes
[BLDR_MTEE] rsa2048 takes 88 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 1 (ms)
[BLDR_MTEE] aes128cbc takes 37 (ms) for 2304960
[TZ_INIT] TEE start entry : 0x4FA00000
[TZ_INIT] MEID : 0x6, 0xC6, 0x74, 0xD3
[TZ_INIT] MEID : 0x4C, 0xE9, 0x55, 0xA4
[TZ_INIT] MEID : 0x68, 0x73, 0x5, 0x82
[TZ_INIT] MEID : 0x21, 0x6D, 0x6, 0xEF
[BLDR] bldr load tee part ret=0x0, addr=0x43001000
NAND INFO:nand_bread 245: blknr:0x2740, blks:0x1
[BLDR] part_load_raw_part ret=0x0
[BLDR] part_load_images ret=0x0
Detect production device
[ANTI-ROLLBACK] Processing anti-rollback data
[ANTI-ROLLBACK] PL, TEE and LK fuse version: 1
Checking for matching binaries' version ...
[ANTI-ROLLBACK] PL, TEE and LK sw version: 1
[ANTI-ROLLBACK] All checks passed
[PLFM],64S3,boot_opt=0x0
[PLFM],32N2,boot_opt=0x6
[PLFM],32N2,boot_opt=0x6
smc_boot_opt: 0x0
lk_boot_opt: 0x6
kernel_boot_opt: 0x6
lastpc[0][0] = 57450596
lastpc[0][1] = 2B4CCD74
lastpc[0][2] = 576D7A84
lastpc[0][3] = 3FCE41D6
lastpc[0][4] = 83E4D161
lastpc[0][5] = 9DF6EFB8
lastpc[0][6] = 3B65F5DD
lastpc[0][7] = 7D1EB30
lastpc[1][0] = 0
lastpc[1][1] = 0
lastpc[1][2] = 0
lastpc[1][3] = 0
lastpc[1][4] = 0
lastpc[1][5] = 0
lastpc[1][6] = 0
lastpc[1][7] = 0
lastpc[2][0] = 0
lastpc[2][1] = 0
lastpc[2][2] = 0
lastpc[2][3] = 0
lastpc[2][4] = 0
lastpc[2][5] = 0
lastpc[2][6] = 0
lastpc[2][7] = 0
lastpc[3][0] = 0
lastpc[3][1] = 0
lastpc[3][2] = 0
lastpc[3][3] = 0
lastpc[3][4] = 0
lastpc[3][5] = 0
lastpc[3][6] = 0
lastpc[3][7] = 0
[PLFM] boot to LK by ATAG.
PL_VERSION = 0.1.00
BOOT_REASON: 0
BOOT_MODE: 0
META_COM TYPE: 0
META_COM ID: 0
META_COM PORT: 285237248
LOG_COM PORT: 285233152
LOG_COM BAUD: 921600
LOG_COM EN: 1
MEM_NUM: 1
MEM_SIZE: 0xF9C0000
mblock num: 0x1
mblock start: 0x0000000040000000
mblock size: 0x000000000F9C0000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
orig_dram num: 0x1
orig_dram start: 0x0000000040000000
orig_dram size: 0x0000000010000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
lca start: 0x0000000000000000
lca size: 0x0000000000000000
tee start: 0x000000004F9C0000
tee size: 0x0000000000040000
MD_INFO: 0x0
MD_INFO: 0x0
MD_INFO: 0x0
MD_INFO: 0x0
BOOT_TIME: 1343
DA_INFO: 0x0
DA_INFO: 0x0
DA_INFO: 0x0
DA_INFO: 0x0
DA_INFO: 0x0
SEC_INFO: 0x0
SEC_INFO: 0x0
PART_NUM: 3
PART_INFO: 0x42066A44
EFLAG: 0
DDR_RESERVE: 0
DDR_RESERVE: 0
DDR_RESERVE: -2094263942
DRAM_BUF: 1611712
SMC: 0x0
SMC: 0x6
SMC: 0x6
SRAM satrt: 0x12C000
SRAM size: 0x4000
sec params sbc_enabled = 1
sec params prod_dev = 1
[TZ_INIT] hwuid[0] : 0xD374C606
[TZ_INIT] hwuid[1] : 0xA455E94C
[TZ_INIT] hwuid[2] : 0x82057368
[TZ_INIT] hwuid[3] : 0xEF066D21
[TZ_INIT] HRID[0] : 0x6020178C
[TZ_INIT] HRID[1] : 0xD58685AA
[TZ_INIT] atf_log_port : 0x11005000
[TZ_INIT] atf_log_baudrate : 0xE1000
[TZ_INIT] atf_irq_num : 281
[TZ_INIT] ATF log buffer start : 0x4F9C0000
[TZ_INIT] ATF log buffer size : 0x40000
[TZ_INIT] ATF aee buffer start : 0x4F9FC000
[TZ_INIT] ATF aee buffer size : 0x4000
[BLDR] Others, jump to ATF
[BLDR] jump to 0x41E00000
[BLDR] <0x41E00000>=0xEA000007
[BLDR] <0x41E00004>=0xEA006953
[TZ_SEC_CFG] SRAMROM Secure Addr 0x2C000
[TZ_SEC_CFG] SRAMROM Secure Control 0x0
[TZ_SEC_CFG] SRAMROM Secure Control 0xB69
[TZ_SEC_CFG] SRAMROM Secure Control 0x1B680B69
MPU [LOCK
[TZ_EMI_MPU] MPU [0x4FA00000-0x4FFFFFFF]
[TZ_INIT] set secure memory protection : 0x4FA00000, 0x4FFFFFFF (OPT)
MPU [LOCK
[TZ_EMI_MPU] MPU [0x43000000-0x4302FFFF]
[TZ_INIT] set secure memory protection : 0x43000000, 0x4302FFFF
[TZ_INIT] Jump to ATF, then 0x4FA00000 and 0x41E00000
[ATF](0)[2.189183]NOTICE: Boot reason 0
[ATF](0)[2.189625]INFO: LK is AArch32
[ATF](0)[2.190080]INFO: mmap atf buffer : 0x4f9c0000, 0x40000
[ATF](0)[2.190891]INFO: mmap atf buffer (force 2MB aligned): 0x4f800000, 0x200000
[ATF](0)[2.192970]INFO: abnormal_boot: 0x0, cflag: 0x41444040
[ATF](0)[2.196419]INFO: mt_log_setup
[ATF](0)[2.196842]INFO: -mt_log_buf_start: 0x4f9c0000
[ATF](0)[2.197477]INFO: -mt_log_buf_size: 0x40000
[ATF](0)[2.198070]INFO: -buf_addr: 0x4f9c0100
[ATF](0)[2.198619]INFO: -buf_size: 0x17f00
[ATF](0)[2.199136]INFO: -write_pos: 0x4f9c0100
[ATF](0)[2.199696]INFO: -read_pos: 0x4f9c0100
[ATF](0)[2.200245]INFO: -atf_buf_lock: 0x0
[ATF](0)[2.200762]INFO: -log_buf_end : 0x4f9d7fff
[ATF](0)[2.201354]INFO: -ATF_EXCEPT_BUF_SIZE_PER_CPU : 0x1000
[ATF](0)[2.202076]INFO: -ATF_EXCEPT_BUF_SIZE : 0x4000
[ATF](0)[2.202711]INFO: -PLATFORM_CORE_COUNT : 0x4
[ATF](0)[2.203314]INFO: -atf_except_write_pos_per_cpu[0]: 0x4f9f8000
[ATF](0)[2.204111]INFO: -atf_except_write_pos_per_cpu[1]: 0x4f9f9000
[ATF](0)[2.204908]INFO: -atf_except_write_pos_per_cpu[2]: 0x4f9fa000
[ATF](0)[2.205705]INFO: -atf_except_write_pos_per_cpu[3]: 0x4f9fb000
[ATF](0)[2.206502]INFO: -crash_flag : 0x41544641
[ATF](0)[2.207084]INFO: -crash_log_addr : 0x4f9d8000
[ATF](0)[2.207708]INFO: -crash_log_size : 0x20000
[ATF](0)[2.208323]INFO: ATF log service is registered (0x4f9c0000, aee:0x4f9fc000)
[ATF](0)[2.209244]NOTICE: BL3-1: v1.2(debug):fd1910b
[ATF](0)[2.209836]NOTICE: BL3-1: Built : 04:02:38, Mar 26 2021
[ATF](0)[2.210536]NOTICE: BL31: v1.2(debug):fd1910b
[ATF](0)[2.211118]NOTICE: BL31: Built : 04:02:38, Mar 26 2021
[ATF](0)[2.211810]INFO: [spmc_init]change to SPMC mode !!!
[ATF](0)[2.212491]INFO: ARM GICv2 driver initialized
[ATF](0)[2.213105]INFO: BL31: Initializing runtime services
[ATF](0)[2.213804]INFO: BL31: Initializing BL32
lowmem_mapped_end is 0x10c00000
[MTEE] chunk mem use low mapping,VA=0x0,size=0x0
[ATF](0)[2.216100]INFO: BL31: Preparing for EL3 exit to normal world
[ATF](0)[2.216872]INFO: Entry point address = 0x41e00000
[ATF](0)[2.217528]INFO: SPSR = 0x1d3
[3] kernel_boot_opt=6
[3] 32Bit Kernel
[3] SKIP sw sram repair
[13] ==dump boot argument==
[14] BOOT_REASON: 0
[14] BOOT_MODE: 0
[14] META_COM TYPE: 0
[14] META_COM ID: 0
[15] META_COM PORT: 285237248
[15] LOG_COM PORT: 285233152
[15] LOG_COM BAUD: 921600
[16] LOG_COM EN: 1
[16] MEM_NUM: 1
[16] MEM_SIZE: 0xf9c0000
[16] mblock num: 0x1
[16] mblock start: 0x40000000
[17] mblock size: 0xf9c0000
[17] mblock rank: 0x0
[17] mblock start: 0x0
[18] mblock size: 0x0
[18] mblock rank: 0x0
[18] mblock start: 0x0
[18] mblock size: 0x0
[19] mblock rank: 0x
ISSI_ESOL: end anim: 1780
[1790] Key Uber: Released
[1790] [partition_get_index]find misc misc start 2560
[1790] erase_size: 0x40000 erase_blocks: 0x8 part_size 0x200000
[1792] bcb: magic number matched at 0x80000
[1792] part page addr is 0x2740000
[1793] [partition_get_index]find boot_b boot_b start 10048
[1793] ============================================================
[1794] [LK_BOOT] Android Partition Name : boot_b
[1795] [LK_BOOT] Android Boot IMG Hdr - Magic : ANDROID
[1796] [LK_BOOT] Android Boot IMG Hdr - Kernel Size : 0x0064D827
[1796] [LK_BOOT] Android Boot IMG Hdr - Kernel Address : 0x40008000
[1797] [LK_BOOT] Android Boot IMG Hdr - Rootfs Size : 0x003901F2
[1798] [LK_BOOT] Android Boot IMG Hdr - Rootfs Address : 0x44000000
[1799] [LK_BOOT] Android Boot IMG Hdr - Tags Address : 0x4E000000
[1799] [LK_BOOT] Android Boot IMG Hdr - Page Size : 0x00000800
[1800] [LK_BOOT] Android Boot IMG Hdr - Command Line : bootopt=64S3,32N2,32N2 lowmemorykiller.minfree=1536,2048,4096,8192,16384,16384 lowmemorykiller.adj=0,100,200,300,900,906 buildvariant=user veritykeyid=id:f3530e18f64d11fc25eb2dd762979f078de990bf
[1803] ============================================================
[1804] > page count of kernel image = 3228
[1804] > kernel mem offset = 0x45000000
[1805] > rootfs mem offset = 0x4564e000
[1805] > boot image size = 0x9df000
[1805] boot state: green
[1806] check mkimg header
[1806] [partition_get_index]find boot_b boot_b start 10048
[1807] =========================================
[1807] [LK_BOOT] KERNEL magic number : 0x58881688
[1808] [LK_BOOT] KERNEL size : 0x64d627
[1809] =========================================
[1809] mkimg header exist in kernel image
[1810]
read the data of boot_b (size = 0x9df000)
[1810] > from - 0x0000000002740800 (skip boot img hdr)
[1811] > to - 0x44fffe00 (starts with kernel img hdr)
[1811] Header hash verification
[1812] [partition_get_index]find boot_b boot_b start 10048
[2236] [LK_BOOT] ROOTFS partition magic not match
[2236] no mkimg header in ramdisk image
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
Certificate authenticated
==============
Image Metadata
==============
product:crumpet
signer:CodeSigner
Image AUTHENTICATED with PRODUCTION certificate
[3040] boot state: green
[3040] [PROFILE] ------- load boot.img takes 1250 ms --------
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[3054] selinux mode = enforce
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[3063] [DM-VERITY] enabled with enforcing mode
[3077] Found exact match compatible=amzn,crumpet-pvt (primary=amzn,crumpet-pvt) at 0x4e000000 offset=0
[3084] dtb_addr = 0x4E000000, dtb_size = 0x00080000
[3085] model=MT8167B
[3085] efuse set max_clk_freq=1300000000
[3086] cluster-0: 4 core
[3086] device name doesn't end with : in device tree prop
[3087] insert_dt_prop: Invalid devicetree prop format()
[3087] device name doesn't end with : in device tree prop
[3088] insert_dt_prop: Invalid devicetree prop format()
[3089] [ccci] modem standalone not support
[3089] mblock[0].start: 0x40000000, size: 0xf9c0000
[3137] LASTPC[0][0] = 57450596
[3138] LASTPC[0][1] = 2b4ccd74
[3138] LASTPC[0][2] = 576d7a84
[3139] LASTPC[0][3] = 3fce41d6
[3139] LASTPC[0][4] = 83e4d161
[3139] LASTPC[0][5] = 9df6efb8
[3140] LASTPC[0][6] = 3b65f5dd
[3140] LASTPC[0][7] = 7d1eb30
[3140] LASTPC[1][0] = 0
[3141] LASTPC[1][1] = 0
[3141] LASTPC[1][2] = 0
[3141] LASTPC[1][3] = 0
[3141] LASTPC[1][4] = 0
[3142] LASTPC[1][5] = 0
[3142] LASTPC[1][6] = 0
[3142] LASTPC[1][7] = 0
[3143] LASTPC[2][0] = 0
[3143] LASTPC[2][1] = 0
[3143] LASTPC[2][2] = 0
[3143] LASTPC[2][3] = 0
[3144] LASTPC[2][4] = 0
[3144] LASTPC[2][5] = 0
[3144] LASTPC[2][6] = 0
[3144] LASTPC[2][7] = 0
[3145] LASTPC[3][0] = 0
[3145] LASTPC[3][1] = 0
[3145] LASTPC[3][2] = 0
[3146] LASTPC[3][3] = 0
[3146] LASTPC[3][4] = 0
[3146] LASTPC[3][5] = 0
[3146] LASTPC[3][6] = 0
[3147] LASTPC[3][7] = 0
[3147] fg_swocv_v buf [0], [0x41e64690:0x41e64691:1]
[3148] fg_swocv_i buf [0], [0x41e64690:0x41e64691:1]
[3149] shutdown_time buf [0], [0x41e64690:0x41e64691:1]
[3149] boot_voltage buf [0], [0x41e64690:0x41e64691:1]
[3150] Not Support VCORE DVFS
[3151] [ccci] modem mem info not support
[3151] [ccci] modem mem arguments info using v1
[3152] PTP_INFO Only support in MT6795
[3152] masp atag not support in this platform
[3153] tee_reserved_mem not supported
[3153] [LK] non_secure_sram (0x12c000, 0x4000)
[3154] [PROFILE] ------- boot_time takes 3154 ms --------
[3155] booting linux @ 0x40008000, ramdisk @ 0x44000000 (3736050)
[3156] DRAM Rank :1
[3156] DRAM Rank[0] Start = 0x40000000, Size = 0xf9c0000
[3157] cmdline: console=tty0 console=ttyMT0,921600n1 earlycon=uart8250,mmio32,0x11005000 vmalloc=496M androidboot.hardware=mt8167 androidboot.secure_cpu=1 androidboot.unlocked_kernel=false androidboot.pl_version=0x0001 androidboot.tee_version=0x0001 androidboot.lk_version=0x0001 androidboot.prod=1 androidboot.pl_build_desc=eb725ec-20210326_040236 androidboot.lk_build_desc=8f885ae-20210414_064357 androidboot.verifiedbootstate=green androidboot.prod=1 bootopt=64S3,32N2,32N2 lowmemorykiller.minfree=1536,2048,4096,8192,16384,16384 lowmemorykiller.adj=0,100,200,300,900,906 buildvariant=user veritykeyid=id:f3530e18f64d11fc25eb2dd762979f078de990bf androidboot.selinux=enforce androidboot.veritymode=enforcing androidboot.slot_suffix=_b rootwait ro init=/init ubi.mtd=persist,4096,4,0 ubi.mtd=userdata,4096,20,1 skip_initramfs ubi.block=1,1 root=/dev/dm-0 dm="system none ro,0 1 android-verity /dev/ubiblock1_1" printk.disable_uart=1 leds-is31fl3236.ledcalibparams=1,0X00549480,0X0080FFD7 bootprof.pl_t=1343 bootprof.lk_t=3154 boo[3168] lk boot time = 3154 ms
[3169] lk boot mode = 0
[3169] lk boot reason = power_key
[3170] lk finished --> jump to linux kernel 32Bit
[ 0.000000] <0>-(0)[0:swapper]Booting Linux on physical CPU 0x0
[ 0.000000] <0>-(0)[0:swapper]Initializing cgroup subsys cpuset
[ 0.000000] <0>-(0)[0:swapper]Initializing cgroup subsys cpu
[ 0.000000] <0>-(0)[0:swapper]Initializing cgroup subsys cpuacct
[ 0.000000] <0>-(0)[0:swapper]Linux version 4.4.22+ (build@i3-ri-14-use1a-b-123) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Mon Jun 14 01:10:47 UTC 2021
[ 0.000000] <0>-(0)[0:swapper]CPU: ARMv7 Processor [410fd041] revision 1 (ARMv7), cr=10c0383d
[ 0.000000] <0>-(0)[0:swapper]CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] <0>-(0)[0:swapper]Machine model: MT8167B
[ 0.000000] <0>-(0)[0:swapper]earlycon: Early serial console at MMIO32 0x11005000 (options '')
[ 0.000000] <0>-(0)[0:swapper]bootconsole [uart0] enabled
[ 0.000000] <0>-(0)[0:swapper][PHY layout]atf-reserved-memory@43000000 : 0x43000000 - 0x4302ffff (0x30000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]consys-reserve-memory : 0x4f600000 - 0x4f7fffff (0x200000)
[ 0.000000] <0>-(0)[0:swapper][memblock]ram_console-reserve-memory: 0x44400000 - 0x44410000 (0x10000)
[ 0.000000] <0>-(0)[0:swapper]Reserved memory: initialized node ram_console-reserved-memory@44400000, compatible id mediatek,ram_console
[ 0.000000] <0>-(0)[0:swapper]Memory policy: Data cache writealloc
[ 0.000000] <0>-(0)[0:swapper][PHY layout]kernel : 0x40000000 - 0x42ffffff (0x03000000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]kernel : 0x43030000 - 0x4f5fffff (0x0c5d0000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]kernel : 0x4f800000 - 0x4f9bffff (0x001c0000)
[ 0.000000] <0>-(0)[0:swapper]psci: probing for conduit method from DT.
[ 0.000000] <0>-(0)[0:swapper]psci: PSCIv1.0 detected in firmware.
[ 0.000000] <0>-(0)[0:swapper]psci: Using standard PSCI v0.2 function IDs
[ 0.000000] <0>-(0)[0:swapper]psci: Trusted OS migration not required
[ 0.000000] <0>-(0)[0:swapper]PERCPU: Embedded 14 pages/cpu @cf956000 s25728 r8192 d23424 u57344
[ 0.000000] <0>-(0)[0:swapper]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62814
[ 0.000000] <0>-(0)[0:swapper][cpu_ntf] <00>c00faa68 (page_alloc_cpu_notify)
[ 0.000000] <0>Kernel command line: console=tty0 console=ttyMT0,921600n1 earlycon=uart8250,mmio32,0x11005000 vmalloc=496M androidboot.hardware=mt8167 androidboot.secure_cpu=1 androidboot.unlocked_kernel=false androidboot.pl_version=0x0001 androidboot.tee_version=0x0001 androidboot.lk_version=0x0001 androidboot.prod=1 androidboot.pl_build_desc=eb725ec-20210326_040236 androidboot.lk_build_desc=8f885ae-20210414_064357 androidboot.verifiedbootstate=green androidboot.prod=1 bootopt=64S3,32N2,32N2 lowmemorykiller.minfree=1536,2048,4096,8192,16384,16384 lowmemorykiller.adj=0,100,200,300,900,906 buildvariant=user veritykeyid=id:f3530e18f64d11fc25eb2dd762979f078de990bf androidboot.selinux=enforce androidboot.veritymode=enforcing androidboot.slot_suffix=_b rootwait ro init=/init ubi.mtd=persist,4096,4,0 ubi.mtd=userdata,4096,20,1 skip_initramfs ubi.block=1,1 root=/dev/dm-0 dm="system none ro,0 1 android-verity /dev/ubiblock1_1" printk.disable_uart=1 leds-is31fl3236.ledcalibparams=1,0X00549480,0X0080[ 0.000000] <0>-(0)[0:swapper]dm: will configure 'system' on dm-0
[ 0.000000] -(0)[0:swapper]PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] -(0)[0:swapper]Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] -(0)[0:swapper]Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] -(0)[0:swapper]Memory: 236708K/253504K available (8447K kernel code, 573K rwdata, 2808K rodata, 504K init, 460K bss, 16796K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] -(0)[0:swapper]Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0000000 - 0xff800000 ( 760 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcf9c0000 ( 249 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0b06000 (11256 kB)
[ 0.000000] .init : 0xc0b06000 - 0xc0b84000 ( 504 kB)
[ 0.000000] .data : 0xc0b84000 - 0xc0c13450 ( 574 kB)
[ 0.000000] .bss : 0xc0c15000 - 0xc0c88198 ( 461 kB)
[ 0.000000] -(0)[0:swapper][cpu_ntf] <00>c01366cc (slab_cpuup_callback)
[ 0.000000] -(0)[0:swapper]SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c005c2d8 (sched_ilb_notifier)
[ 0.000000] -(0)[0:swapper/0]Preemptible hierarchical RCU implementation.
[ 0.000000] -(0)[0:swapper/0] Build-time adjustment of leaf fanout to 32.
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c008a714 (rcu_cpu_notify)
[ 0.000000] -(0)[0:swapper/0]
[ 0.000000] -(0)[0:swapper/0]**********************************************************
[ 0.000000] -(0)[0:swapper/0]** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** trace_printk() being used. Allocating extra memory. **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** This means that this is a DEBUG kernel and it is **
[ 0.000000] -(0)[0:swapper/0]** unsafe for production use. **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** If you see this message and you are not debugging **
[ 0.000000] -(0)[0:swapper/0]** the kernel, report this immediately to your vendor! **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.000000] -(0)[0:swapper/0]**********************************************************
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c02eabd0 (radix_tree_callback)
[ 0.000000] -(0)[0:swapper/0]NR_IRQS:16 nr_irqs:16 16
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c0315aac (gic_secondary_init)
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c0092cec (timer_cpu_notify)
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c00947e8 (hrtimer_cpu_notify)
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c05a7ae8 (arch_timer_cpu_notify)
[ 0.000000] -(0)[0:swapper/0]Architected cp15 timer(s) running at 13.00MHz (virt).
[ 0.000000] -(0)[0:swapper/0]clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000007] -(0)[0:swapper/0]sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.001254] -(0)[0:swapper/0]Switching to timer-based delay loop, resolution 76ns
[ 0.002356] -(0)[0:swapper/0]clocksource: timer: mask: 0xffffffff m
Fastboot mode can be activated by pressing the "uber" button (S4). LED sequence is different when USB is connected (boots to green colored ring) or disconnnected (boots to blue-ish colored ring)
before CLK_GATEING_CTRL2: 0xFFFFFF00
after CLK_GATEING_CTRL2: 0xBFFFFF00
Long Pressed setting
[PLFM] Init I2C: OK(0)
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
Device APC domain init setup:
Domain Setup (0x0)
Domain Setup (0x0)
Device APC domain after setup:
Domain Setup (0x100000)
Domain Setup (0x0)
[PLFM] chip_ver[1]
[BLDR] Build Time: 20210326_040236
==== Dump RGU Reg ========
RGU MODE: 4D
RGU LENGTH: FFE0
RGU STA: 0
RGU INTERVAL: FFF
RGU SWSYSRST: 8000
==== Dump RGU Reg End ====
RGU: g_rgu_satus:0
mtk_wdt_mode_config mode value=10, tmp:22000010
PL P ON
WDT does not trigger reboot
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
Enter mtk_kpd_gpio_set!
after set KP enable: KP_SEL = 0x1C70 !
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
power key is pressed
No Battery
[PLFM] Power key boot!
!!wait bsi read done!!
BSI Read Done: value = 0x1247
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] default cap_code: 0x22
[xo] get xo efuse: A2000000
!!wait bsi read done!!
BSI Read Done: value = 0x2224
BSI_write: wrdat = 0x902224
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2224
BSI_write: wrdat = 0x902224
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100C00
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100400
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2C00
BSI_write: wrdat = 0x1E02C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2C00
BSI_write: wrdat = 0x4A02C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1247
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] current cap_code: 0x22
[xo] disable XO to PMIC 26M
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
[xo] Without 32K. Reg[0x402]=0x3634
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
BSI_write: wrdat = 0x2506AAB
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
[Preloader] BSI read: [0x25] = 0x6AAB
!!wait bsi read done!!
BSI Read Done: value = 0x0
BSI_write: wrdat = 0x2900001
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1
[Preloader] BSI read: [0x29] = 0x1
!!wait bsi read done!!
BSI Read Done: value = 0x1
BSI_write: wrdat = 0x2900000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x0
[Preloader] BSI read: [0x29] = 0x0
!!wait bsi read done!!
BSI Read Done: value = 0xF0
[xo] status: 0xF
Preloader detects Board ID 0x0 and 16 bits DRAM type
[EMI] MDL number = 1
[EMI] PCDDR3
get dram size from AUXADC1 522 1
[EMI] Use Common DDR3 x16 emi settings
[EMI] Config emi settings:
EMI_CONA=0x1010, EMI_CONH=0x3
EMI_RAMK0=0x10000000, EMI_RAMK1=0x0
EMI_CONA=0x1010
EMI_CONF=0x4210000
EMI_CONH=0x3
DQ DRVP=7 ,DRVN=6
DQS DRVP=7 ,DRVN=6
CMD DRVP=7 ,DRVN=6
CLK DRVP=7 ,DRVN=6
[DramcSwImpedanceCal] FINAL: DRVP=7, DRVN=6
PCDDR3 Pinmux 0
SSC OFF
DRAM Clock: 1560MHz
change tRCD for DDR3
multi sample wl support
[Write Leveling]
WriteLevelingMoveDQSInsteadOfCLK
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
WL Clk delay = 0, CA CLK delay = 0
No need to update CA/CS delay because the CLK delay is small than CA training.
Final Clk output delay = 0
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS0 delay = 35
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS1 delay = 33
[DramcWriteLeveling] ====Done====
[Gating]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
[Byte 0]First pass (1, 3, 4)
[Byte 1]First pass (1, 3, 4)
[Byte 0]Bigger pass win(1, 4, 28) Pass tap=56
[Byte 1]Bigger pass win(1, 4, 30) Pass tap=58
===============================================================================
dqs input gating widnow, final delay value
Frequency=1560 rank=0
===============================================================================
R0 FINAL: GW best DQS0 P0 delay(2T, 0.5T, PI) = (1, 4, 0) [tap = 56]
R0 FINAL: GW best DQS1 P0 delay(2T, 0.5T, PI) = (1, 4, 1) [tap = 58]
R0 FINAL: GW best DQS0 P1 delay(2T, 0.5T, PI) = (1, 6, 0)
R0 FINAL: GW best DQS1 P1 delay(2T, 0.5T, PI) = (1, 6, 1)
[DramcRxdqsGatingCal] ====Done====
[DATLAT]
DATLAT Default value = 0xF
5, 0x0000FFFF, sum=0
6, 0x0000FFFF, sum=0
7, 0x0000FFFF, sum=0
8, 0x0000FFFF, sum=0
9, 0x0000FFFF, sum=0
10, 0x0000FFFF, sum=0
11, 0x0000FFFF, sum=0
12, 0x0000FFFF, sum=0
13, 0x00000000, sum=1
14, 0x00000000, sum=2
15, 0x00000000, sum=3
16, 0x00000000, sum=4
17, 0x00000000, sum=5
pattern=5 first_step=13 total pass=6 best_step=15
R0 FINAL: DATLAT = 15 [13 ~ 18]
[DramcRxdatlatCal] ====Done====
multi pattern K for rx
[RX]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
RX Window Sum 557
R0 FINAL: RX Bit 0, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 1, 14 (-3 ~ 31) 35
R0 FINAL: RX Bit 2, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 3, 15 (-2 ~ 32) 35
R0 FINAL: RX Bit 4, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 5, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 6, 15 (-3 ~ 33) 37
R0 FINAL: RX Bit 7, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 8, 16 (-1 ~ 34) 36
R0 FINAL: RX Bit 9, 16 (-1 ~ 34) 36
R0 FINAL: RX Bit 10, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 11, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 12, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 13, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 14, 16 (-2 ~ 34) 37
R0 FINAL: RX Bit 15, 16 (-1 ~ 33) 35
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===
[TOOL] Enumeration(End): TMO 501ms : 8000ms
[TOOL] USB enum timeout!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
(B)tz_dapc_sec_init is 0x0
(E)tz_dapc_sec_init is 0x1
NAND INFO:nand_bread 245: blknr:0xA00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xA40, blks:0x1
NAND INFO:nand_bread 245: blknr:0xA80, blks:0x1
[BCB] magic number matched at 0x80000
read misc: 6x 8x 8x
============================================================
Boot Ctrl - Magic : 0x42424100
Boot Ctrl - Version : 1
Boot Ctrl - Recovery Tries Remaining : 0
Boot Ctrl - Slot 0 Priority : 14
Boot Ctrl - Slot 0 Tries Remaining : 0
Boot Ctrl - Slot 0 Successful Boot : 1
Boot Ctrl - Slot 1 Priority : 15
Boot Ctrl - Slot 1 Tries Remaining : 0
Boot Ctrl - Slot 1 Successful Boot : 1
============================================================
active_slot is 1
NAND INFO:nand_bread 245: blknr:0x280, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh mode : -1
[PART] size : 232680
[PART] magic: 58881688h
0:dram_rank_size:10000000
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0x280, blks:0x1
NAND INFO:nand_bread 245: blknr:0x281, blks:0x37
NAND INFO:nand_bread 245: blknr:0x2B8, blks:0x1
[PART] load "lk_b" from 0x0000000000280200 (dev) to 0x41E00000 (mem) [SUCCESS]
[PART] load speed: 15148KB/s, 232680 bytes, 15ms
[PART] Verifying LK, total size (including signature) = 232680
[VERIFY_LK] Succeed to pass the LK verification, version of LK is 0x1.
[PART] LK authenticated with prod key
[BLDR] check active part. of tee1 and tee2
[BLDR] tee1 active = 0, tee2 active = 0
[BLDR] Loading tee1 Partition...
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : atf
[PART] addr : FFFFFFFFh mode : 0
[PART] size : 58880
[PART] magic: 58881688h
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE01, blks:0xD
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] load "tee1" from 0x0000000000E00200 (dev) to 0x43001000 (mem) [SUCCESS]
[PART] load speed: 9583KB/s, 58880 bytes, 6ms
[BLDR_MTEE] sha256 takes 0 (ms) for 58304 bytes
[BLDR_MTEE] rsa2048 takes 87 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 1 (ms)
[BLDR_MTEE] aes128cbc takes 1 (ms) for 58304
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : tee
[PART] addr : 600000h mode : 0
[PART] size : 2305536
[PART] magic: 58881688h
warning: size is not 2MB aligned
mblock[0].start: 0x0000000040000000, sz: 0x0000000010000000, limit: 0x0000000100000000, max_addr: 0x0000000000000000, max_rank: 0, target: -1, mblock[].rank: 0
mblock_reserve dbg[0]: 1, 1, 1, 1
mblock_reserve: 000000004F9C0000 - 0000000050000000 from mblock 0
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE0F, blks:0x232
NAND INFO:nand_bread 245: blknr:0x1041, blks:0x1
[PART] load "tee1" from 0x0000000000E0EA00 (dev) to 0x4FA00000 (mem) [SUCCESS]
[PART] load speed: 18454KB/s, 2305536 bytes, 122ms
[BLDR_MTEE] sha256 takes 28 (ms) for 2304960 bytes
[BLDR_MTEE] rsa2048 takes 88 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 2 (ms)
[BLDR_MTEE] aes128cbc takes 37 (ms) for 2304960
[TZ_INIT] TEE start entry : 0x4FA00000
[TZ_INIT] MEID : 0x6, 0xC6, 0x74, 0xD3
[TZ_INIT] MEID : 0x4C, 0xE9, 0x55, 0xA4
[TZ_INIT] MEID : 0x68, 0x73, 0x5, 0x82
[TZ_INIT] MEID : 0x21, 0x6D, 0x6, 0xEF
[BLDR] bldr load tee part ret=0x0, addr=0x43001000
NAND INFO:nand_bread 245: blknr:0x2740, blks:0x1
[BLDR] part_load_raw_part ret=0x0
[BLDR] part_load_images ret=0x0
Detect production device
[ANTI-ROLLBACK] Processing anti-rollback data
[ANTI-ROLLBACK] PL, TEE and LK fuse version: 1
Checking for matching binaries' version ...
[ANTI-ROLLBACK] PL, TEE and LK sw version: 1
[ANTI-ROLLBACK] All checks passed
[PLFM],64S3,boot_opt=0x0
[PLFM],32N2,boot_opt=0x6
[PLFM],32N2,boot_opt=0x6
smc_boot_opt: 0x0
lk_boot_opt: 0x6
kernel_boot_opt: 0x6
lastpc[0][0] = D576455E
lastpc[0][1] = ABCEC167
lastpc[0][2] = 577D6A9C
lastpc[0][3] = 374373F3
lastpc[0][4] = D5A4D169
lastpc[0][5] = 9D76EFB9
lastpc[0][6] = 379FF5D5
lastpc[0][7] = A3C2EB30
lastpc[1][0] = 0
lastpc[1][1] = 0
lastpc[1][2] = 0
lastpc[1][3] = 0
lastpc[1][4] = 0
lastpc[1][5] = 0
lastpc[1][6] = 0
lastpc[1][7] = 0
lastpc[2][0] = 0
lastpc[2][1] = 0
lastpc[2][2] = 0
lastpc[2][3] = 0
lastpc[2][4] = 0
lastpc[2][5] = 0
lastpc[2][6] = 0
lastpc[2][7] = 0
lastpc[3][0] = 0
lastpc[3][1] = 0
lastpc[3][2] = 0
lastpc[3][3] = 0
lastpc[3][4] = 0
lastpc[3][5] = 0
lastpc[3][6] = 0
lastpc[3][7] = 0
[PLFM] boot to LK by ATAG.
PL_VERSION = 0.1.00
BOOT_REASON: 0
BOOT_MODE: 0
META_COM TYPE: 0
META_COM ID: 0
META_COM PORT: 285237248
LOG_COM PORT: 285233152
LOG_COM BAUD: 921600
LOG_COM EN: 1
MEM_NUM: 1
MEM_SIZE: 0xF9C0000
mblock num: 0x1
mblock start: 0x0000000040000000
mblock size: 0x000000000F9C0000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
orig_dram num: 0x1
orig_dram start: 0x0000000040000000
orig_dram size: 0x0000000010000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
lca start: 0x0000000000000000
lca size: 0x0000000000000000
tee start: 0x000000004F9C0000
tee size: 0x0000000000040000
MD_INFO: 0x0
MD_INFO: 0x0
MD_INFO: 0x0
MD_INFO: 0x0
BOOT_TIME: 1343
DA_INFO: 0x0
DA_INFO: 0x0
DA_INFO: 0x0
DA_INFO: 0x40000
DA_INFO: 0x0
SEC_INFO: 0x0
SEC_INFO: 0x0
PART_NUM: 3
PART_INFO: 0x42066A44
EFLAG: 0
DDR_RESERVE: 0
DDR_RESERVE: 0
DDR_RESERVE: 0
DRAM_BUF: 1611712
SMC: 0x0
SMC: 0x6
SMC: 0x6
SRAM satrt: 0x12C000
SRAM size: 0x4000
sec params sbc_enabled = 1
sec params prod_dev = 1
[TZ_INIT] hwuid[0] : 0xD374C606
[TZ_INIT] hwuid[1] : 0xA455E94C
[TZ_INIT] hwuid[2] : 0x82057368
[TZ_INIT] hwuid[3] : 0xEF066D21
[TZ_INIT] HRID[0] : 0x6020178C
[TZ_INIT] HRID[1] : 0xD58685AA
[TZ_INIT] atf_log_port : 0x11005000
[TZ_INIT] atf_log_baudrate : 0xE1000
[TZ_INIT] atf_irq_num : 281
[TZ_INIT] ATF log buffer start : 0x4F9C0000
[TZ_INIT] ATF log buffer size : 0x40000
[TZ_INIT] ATF aee buffer start : 0x4F9FC000
[TZ_INIT] ATF aee buffer size : 0x4000
[BLDR] Others, jump to ATF
[BLDR] jump to 0x41E00000
[BLDR] <0x41E00000>=0xEA000007
[BLDR] <0x41E00004>=0xEA006953
[TZ_SEC_CFG] SRAMROM Secure Addr 0x2C000
[TZ_SEC_CFG] SRAMROM Secure Control 0x0
[TZ_SEC_CFG] SRAMROM Secure Control 0xB69
[TZ_SEC_CFG] SRAMROM Secure Control 0x1B680B69
MPU [LOCK
[TZ_EMI_MPU] MPU [0x4FA00000-0x4FFFFFFF]
[TZ_INIT] set secure memory protection : 0x4FA00000, 0x4FFFFFFF (OPT)
MPU [LOCK
[TZ_EMI_MPU] MPU [0x43000000-0x4302FFFF]
[TZ_INIT] set secure memory protection : 0x43000000, 0x4302FFFF
[TZ_INIT] Jump to ATF, then 0x4FA00000 and 0x41E00000
[ATF](0)[2.189210]NOTICE: Boot reason 0
[ATF](0)[2.189652]INFO: LK is AArch32
[ATF](0)[2.190107]INFO: mmap atf buffer : 0x4f9c0000, 0x40000
[ATF](0)[2.190918]INFO: mmap atf buffer (force 2MB aligned): 0x4f800000, 0x200000
[ATF](0)[2.192997]INFO: abnormal_boot: 0x0, cflag: 0x0
[ATF](0)[2.196371]INFO: mt_log_setup
[ATF](0)[2.196794]INFO: -mt_log_buf_start: 0x4f9c0000
[ATF](0)[2.197429]INFO: -mt_log_buf_size: 0x40000
[ATF](0)[2.198022]INFO: -buf_addr: 0x4f9c0100
[ATF](0)[2.198571]INFO: -buf_size: 0x17f00
[ATF](0)[2.199088]INFO: -write_pos: 0x4f9c0100
[ATF](0)[2.199648]INFO: -read_pos: 0x4f9c0100
[ATF](0)[2.200197]INFO: -atf_buf_lock: 0x0
[ATF](0)[2.200714]INFO: -log_buf_end : 0x4f9d7fff
[ATF](0)[2.201306]INFO: -ATF_EXCEPT_BUF_SIZE_PER_CPU : 0x1000
[ATF](0)[2.202028]INFO: -ATF_EXCEPT_BUF_SIZE : 0x4000
[ATF](0)[2.202663]INFO: -PLATFORM_CORE_COUNT : 0x4
[ATF](0)[2.203266]INFO: -atf_except_write_pos_per_cpu[0]: 0x4f9f8000
[ATF](0)[2.204063]INFO: -atf_except_write_pos_per_cpu[1]: 0x4f9f9000
[ATF](0)[2.204860]INFO: -atf_except_write_pos_per_cpu[2]: 0x4f9fa000
[ATF](0)[2.205657]INFO: -atf_except_write_pos_per_cpu[3]: 0x4f9fb000
[ATF](0)[2.206454]INFO: -crash_flag : 0x41544641
[ATF](0)[2.207035]INFO: -crash_log_addr : 0x4f9d8000
[ATF](0)[2.207660]INFO: -crash_log_size : 0x20000
[ATF](0)[2.208275]INFO: ATF log service is registered (0x4f9c0000, aee:0x4f9fc000)
[ATF](0)[2.209196]NOTICE: BL3-1: v1.2(debug):fd1910b
[ATF](0)[2.209788]NOTICE: BL3-1: Built : 04:02:38, Mar 26 2021
[ATF](0)[2.210488]NOTICE: BL31: v1.2(debug):fd1910b
[ATF](0)[2.211069]NOTICE: BL31: Built : 04:02:38, Mar 26 2021
[ATF](0)[2.211762]INFO: [spmc_init]change to SPMC mode !!!
[ATF](0)[2.212443]INFO: ARM GICv2 driver initialized
[ATF](0)[2.213057]INFO: BL31: Initializing runtime services
[ATF](0)[2.213755]INFO: BL31: Initializing BL32
lowmem_mapped_end is 0x10c00000
[MTEE] chunk mem use low mapping,VA=0x0,size=0x0
[ATF](0)[2.216053]INFO: BL31: Preparing for EL3 exit to normal world
[ATF](0)[2.216824]INFO: Entry point address = 0x41e00000
[ATF](0)[2.217481]INFO: SPSR = 0x1d3
[2] kernel_boot_opt=6
[3] 32Bit Kernel
[3] SKIP sw sram repair
[13] ==dump boot argument==
[14] BOOT_REASON: 0
[14] BOOT_MODE: 0
[14] META_COM TYPE: 0
[14] META_COM ID: 0
[14] META_COM PORT: 285237248
[15] LOG_COM PORT: 285233152
[15] LOG_COM BAUD: 921600
[15] LOG_COM EN: 1
[16] MEM_NUM: 1
[16] MEM_SIZE: 0xf9c0000
[16] mblock num: 0x1
[16] mblock start: 0x40000000
[17] mblock size: 0xf9c0000
[17] mblock rank: 0x0
[17] mblock start: 0x0
[18] mblock size: 0x0
[18] mblock rank: 0x0
[18] mblock start: 0x0
[18] mblock size: 0x0
[19] mblock rank: 0x
ISSI_ESOL: end anim: 1780
[1789] Key Uber: Pressed
[1790] fastboot keys triggered, enter fastboot
[1824] fastboot_init()
[1824] part name:brhgptpl_0, part type:raw_data, size:0x40000
[1825] part name:reserve0, part type:raw_data, size:0xc0000
[1826] part name:lk_a, part type:raw_data, size:0x180000
[1826] part name:lk_b, part type:raw_data, size:0x180000
[1827] part name:brhgptpl_1, part type:raw_data, size:0x40000
[1828] part name:reserve1, part type:raw_data, size:0x1c0000
[1828] part name:idme_nand, part type:raw_data, size:0x200000
[1829] part name:brhgptpl_2, part type:raw_data, size:0x40000
[1830] part name:reserve2, part type:raw_data, size:0x1c0000
[1830] part name:misc, part type:raw_data, size:0x200000
[1831] part name:brhgptpl_3, part type:raw_data, size:0x40000
[1832] part name:reserve3, part type:raw_data, size:0x1c0000
[1832] part name:tee1, part type:raw_data, size:0x500000
[1833] part name:boot_a, part type:raw_data, size:0xf40000
[1834] part name:tee2, part type:raw_data, size:0x500000
[1834] part name:boot_b, part type:raw_data, size:0xf40000
[1835] part name:persist, part type:raw_data, size:0x800000
[1836] part name:userdata, part type:raw_data, size:0x1bf80000
[1842] [USB] udc_start_cond
Fastboot wwith USB connected gives in dmesg -w
[ 3983.032110] usb 1-4: Product: MT65xx Preloader
[ 3983.032112] usb 1-4: Manufacturer: MediaTek
[ 3983.172485] cdc_acm 1-4:1.0: Zero length descriptor references
[ 3983.172493] cdc_acm: probe of 1-4:1.0 failed with error -22
[ 3983.172578] cdc_acm 1-4:1.1: ttyACM0: USB ACM device
[ 3983.198335] usbcore: registered new interface driver cdc_acm
[ 3983.198337] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 3985.746332] usb 1-4: USB disconnect, device number 15
[ 3988.589750] usb 1-4: new high-speed USB device number 16 using xhci_hcd
[ 3988.826172] usb 1-4: New USB device found, idVendor=0bb4, idProduct=0c01, bcdDevice= 1.00
[ 3988.826176] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3988.826179] usb 1-4: Product: Android
[ 3988.826181] usb 1-4: Manufacturer: MediaTek
[ 3988.826182] usb 1-4: SerialNumber: G091B00503130KCE
and the following UART boot log (note that this was a ./fastboot reboot
triggered one, so BOOT_REASON is different)
before CLK_GATEING_CTRL2: 0xFFFFFF00
after CLK_GATEING_CTRL2: 0xBFFFFF00
Long Pressed setting
[PLFM] Init I2C: OK(0)
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
Device APC domain init setup:
Domain Setup (0x0)
Domain Setup (0x0)
Device APC domain after setup:
Domain Setup (0x100000)
Domain Setup (0x0)
[PLFM] chip_ver[1]
[BLDR] Build Time: 20210326_040236
==== Dump RGU Reg ========
RGU MODE: 14
RGU LENGTH: FFE0
RGU STA: 40000000
RGU INTERVAL: FFF
RGU SWSYSRST: 8000
==== Dump RGU Reg End ====
RGU: g_rgu_satus:2
mtk_wdt_mode_config mode value=10, tmp:22000010
PL RGU RST: ??
SW reset with bypass power key flag
Find bypass powerkey flag
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
Enter mtk_kpd_gpio_set!
after set KP enable: KP_SEL = 0x1C70 !
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
SW reset with bypass power key flag
SW reset with bypass power key flag
[PLFM] WDT reboot bypass power key!
!!wait bsi read done!!
BSI Read Done: value = 0x1247
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] default cap_code: 0x22
[xo] get xo efuse: A2000000
!!wait bsi read done!!
BSI Read Done: value = 0x2224
BSI_write: wrdat = 0x902224
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2224
BSI_write: wrdat = 0x902224
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100C00
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100400
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2C00
BSI_write: wrdat = 0x1E02C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA892
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2C00
BSI_write: wrdat = 0x4A02C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1247
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] current cap_code: 0x22
[xo] disable XO to PMIC 26M
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
[xo] Without 32K. Reg[0x402]=0x3634
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
BSI_write: wrdat = 0x2506AAB
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
[Preloader] BSI read: [0x25] = 0x6AAB
!!wait bsi read done!!
BSI Read Done: value = 0x0
BSI_write: wrdat = 0x2900001
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1
[Preloader] BSI read: [0x29] = 0x1
!!wait bsi read done!!
BSI Read Done: value = 0x1
BSI_write: wrdat = 0x2900000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x0
[Preloader] BSI read: [0x29] = 0x0
!!wait bsi read done!!
BSI Read Done: value = 0xF0
[xo] status: 0xF
Preloader detects Board ID 0x0 and 16 bits DRAM type
[EMI] MDL number = 1
[EMI] PCDDR3
get dram size from AUXADC1 522 1
[EMI] Use Common DDR3 x16 emi settings
[EMI] Config emi settings:
EMI_CONA=0x1010, EMI_CONH=0x3
EMI_RAMK0=0x10000000, EMI_RAMK1=0x0
EMI_CONA=0x1010
EMI_CONF=0x4210000
EMI_CONH=0x3
DQ DRVP=7 ,DRVN=6
DQS DRVP=7 ,DRVN=6
CMD DRVP=7 ,DRVN=6
CLK DRVP=7 ,DRVN=6
[DramcSwImpedanceCal] FINAL: DRVP=7, DRVN=6
PCDDR3 Pinmux 0
SSC OFF
DRAM Clock: 1560MHz
change tRCD for DDR3
multi sample wl support
[Write Leveling]
WriteLevelingMoveDQSInsteadOfCLK
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
WL Clk delay = 0, CA CLK delay = 0
No need to update CA/CS delay because the CLK delay is small than CA training.
Final Clk output delay = 0
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS0 delay = 34
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS1 delay = 33
[DramcWriteLeveling] ====Done====
[Gating]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
[Byte 0]First pass (1, 3, 4)
[Byte 1]First pass (1, 3, 4)
[Byte 0]Bigger pass win(1, 4, 29) Pass tap=57
[Byte 1]Bigger pass win(1, 4, 30) Pass tap=58
===============================================================================
dqs input gating widnow, final delay value
Frequency=1560 rank=0
===============================================================================
R0 FINAL: GW best DQS0 P0 delay(2T, 0.5T, PI) = (1, 4, 0) [tap = 57]
R0 FINAL: GW best DQS1 P0 delay(2T, 0.5T, PI) = (1, 4, 1) [tap = 58]
R0 FINAL: GW best DQS0 P1 delay(2T, 0.5T, PI) = (1, 6, 0)
R0 FINAL: GW best DQS1 P1 delay(2T, 0.5T, PI) = (1, 6, 1)
[DramcRxdqsGatingCal] ====Done====
[DATLAT]
DATLAT Default value = 0xF
5, 0x0000FFFF, sum=0
6, 0x0000FFFF, sum=0
7, 0x0000FFFF, sum=0
8, 0x0000FFFF, sum=0
9, 0x0000FFFF, sum=0
10, 0x0000FFFF, sum=0
11, 0x0000FFFF, sum=0
12, 0x0000FFFF, sum=0
13, 0x00000000, sum=1
14, 0x00000000, sum=2
15, 0x00000000, sum=3
16, 0x00000000, sum=4
17, 0x00000000, sum=5
pattern=5 first_step=13 total pass=6 best_step=15
R0 FINAL: DATLAT = 15 [13 ~ 18]
[DramcRxdatlatCal] ====Done====
multi pattern K for rx
[RX]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
RX Window Sum 557
R0 FINAL: RX Bit 0, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 1, 14 (-3 ~ 31) 35
R0 FINAL: RX Bit 2, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 3, 15 (-2 ~ 32) 35
R0 FINAL: RX Bit 4, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 5, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 6, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 7, 14 (-3 ~ 32) 36
R0 FINAL: RX Bit 8, 16 (-1 ~ 34) 36
R0 FINAL: RX Bit 9, 16 (-1 ~ 34) 36
R0 FINAL: RX Bit 10, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 11, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 12, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 13, 15 (-2 ~ 33) 36
R0 FINAL: RX Bit 14, 16 (-2 ~ 34) 37
R0 FINAL: RX Bit 15, 15 (-2 ~ 33) 36
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
DQS Delay :
DQS0 = 0, DQS1 = 0, DQS2 = 0, DQS3 = 0
DQM Delay :
DQM0 = 14, DQM1 = 15, DQM2 = 0, DQM3 = 0
DQ Delay :
DQ0 =14, DQ1 =14, DQ2 =14, DQ3 =15
DQ4 =15, DQ5 =15, DQ6 =15, DQ7 =14
DQ8 =16, DQ9 =16, DQ10 =16, DQ11 =15
DQ12 =16, DQ13 =15, DQ14 =16, DQ15 =15
________________________________________________________________________
[DramcRxWindowPerbitCal] ====Done====
multi pattern K
[USBD] USB High Speed
g_usbphy_ok=1 201ms
[USBD] USB High Speed
[TOOL] Enumeration(End): OK 653ms : 8000ms
usbdl_flush timeout
usbdl_flush timeout
usbdl_flush timeout
usbdl_flush timeout
usbdl_flush timeout
usbdl_flush timeout
usbdl_flush timeout
usbdl_flush timeout
[TOOL] : usb listen timeout
[TOOL] <USB> cannot detect tools!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
(B)tz_dapc_sec_init is 0x0
(E)tz_dapc_sec_init is 0x1
NAND INFO:nand_bread 245: blknr:0xA00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xA40, blks:0x1
NAND INFO:nand_bread 245: blknr:0xA80, blks:0x1
[BCB] magic number matched at 0x80000
read misc: 6x 8x 8x
============================================================
Boot Ctrl - Magic : 0x42424100
Boot Ctrl - Version : 1
Boot Ctrl - Recovery Tries Remaining : 0
Boot Ctrl - Slot 0 Priority : 14
Boot Ctrl - Slot 0 Tries Remaining : 0
Boot Ctrl - Slot 0 Successful Boot : 1
Boot Ctrl - Slot 1 Priority : 15
Boot Ctrl - Slot 1 Tries Remaining : 0
Boot Ctrl - Slot 1 Successful Boot : 1
============================================================
active_slot is 1
NAND INFO:nand_bread 245: blknr:0x280, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh mode : -1
[PART] size : 232680
[PART] magic: 58881688h
0:dram_rank_size:10000000
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0x280, blks:0x1
NAND INFO:nand_bread 245: blknr:0x281, blks:0x37
NAND INFO:nand_bread 245: blknr:0x2B8, blks:0x1
[PART] load "lk_b" from 0x0000000000280200 (dev) to 0x41E00000 (mem) [SUCCESS]
[PART] load speed: 15148KB/s, 232680 bytes, 15ms
[PART] Verifying LK, total size (including signature) = 232680
[VERIFY_LK] Succeed to pass the LK verification, version of LK is 0x1.
[PART] LK authenticated with prod key
[BLDR] check active part. of tee1 and tee2
[BLDR] tee1 active = 0, tee2 active = 0
[BLDR] Loading tee1 Partition...
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : atf
[PART] addr : FFFFFFFFh mode : 0
[PART] size : 58880
[PART] magic: 58881688h
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE01, blks:0xD
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] load "tee1" from 0x0000000000E00200 (dev) to 0x43001000 (mem) [SUCCESS]
[PART] load speed: 9583KB/s, 58880 bytes, 6ms
[BLDR_MTEE] sha256 takes 0 (ms) for 58304 bytes
[BLDR_MTEE] rsa2048 takes 87 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 1 (ms)
[BLDR_MTEE] aes128cbc takes 1 (ms) for 58304
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : tee
[PART] addr : 600000h mode : 0
[PART] size : 2305536
[PART] magic: 58881688h
warning: size is not 2MB aligned
mblock[0].start: 0x0000000040000000, sz: 0x0000000010000000, limit: 0x0000000100000000, max_addr: 0x0000000000000000, max_rank: 0, target: -1, mblock[].rank: 0
mblock_reserve dbg[0]: 1, 1, 1, 1
mblock_reserve: 000000004F9C0000 - 0000000050000000 from mblock 0
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE0F, blks:0x232
NAND INFO:nand_bread 245: blknr:0x1041, blks:0x1
[PART] load "tee1" from 0x0000000000E0EA00 (dev) to 0x4FA00000 (mem) [SUCCESS]
[PART] load speed: 18454KB/s, 2305536 bytes, 122ms
[BLDR_MTEE] sha256 takes 27 (ms) for 2304960 bytes
[BLDR_MTEE] rsa2048 takes 88 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 1 (ms)
[BLDR_MTEE] aes128cbc takes 37 (ms) for 2304960
[TZ_INIT] TEE start entry : 0x4FA00000
[TZ_INIT] MEID : 0x6, 0xC6, 0x74, 0xD3
[TZ_INIT] MEID : 0x4C, 0xE9, 0x55, 0xA4
[TZ_INIT] MEID : 0x68, 0x73, 0x5, 0x82
[TZ_INIT] MEID : 0x21, 0x6D, 0x6, 0xEF
[BLDR] bldr load tee part ret=0x0, addr=0x43001000
NAND INFO:nand_bread 245: blknr:0x2740, blks:0x1
[BLDR] part_load_raw_part ret=0x0
[BLDR] part_load_images ret=0x0
Detect production device
[ANTI-ROLLBACK] Processing anti-rollback data
[ANTI-ROLLBACK] PL, TEE and LK fuse version: 1
Checking for matching binaries' version ...
[ANTI-ROLLBACK] PL, TEE and LK sw version: 1
[ANTI-ROLLBACK] All checks passed
[PLFM],64S3,boot_opt=0x0
[PLFM],32N2,boot_opt=0x6
[PLFM],32N2,boot_opt=0x6
smc_boot_opt: 0x0
lk_boot_opt: 0x6
kernel_boot_opt: 0x6
lastpc[0][0] = 41E12DB2
lastpc[0][1] = 0
lastpc[0][2] = 41E34770
lastpc[0][3] = 41E7CDB0
lastpc[0][4] = 41E39400
lastpc[0][5] = 0
lastpc[0][6] = 0
lastpc[0][7] = 0
lastpc[1][0] = 0
lastpc[1][1] = 0
lastpc[1][2] = 0
lastpc[1][3] = 0
lastpc[1][4] = 0
lastpc[1][5] = 0
lastpc[1][6] = 0
lastpc[1][7] = 0
lastpc[2][0] = 0
lastpc[2][1] = 0
lastpc[2][2] = 0
lastpc[2][3] = 0
lastpc[2][4] = 0
lastpc[2][5] = 0
lastpc[2][6] = 0
lastpc[2][7] = 0
lastpc[3][0] = 0
lastpc[3][1] = 0
lastpc[3][2] = 0
lastpc[3][3] = 0
lastpc[3][4] = 0
lastpc[3][5] = 0
lastpc[3][6] = 0
lastpc[3][7] = 0
[PLFM] boot to LK by ATAG.
PL_VERSION = 0.1.00
BOOT_REASON: 4
BOOT_MODE: 0
META_COM TYPE: 0
META_COM ID: 0
META_COM PORT: 285237248
LOG_COM PORT: 285233152
LOG_COM BAUD: 921600
LOG_COM EN: 1
MEM_NUM: 1
MEM_SIZE: 0xF9C0000
mblock num: 0x1
mblock start: 0x0000000040000000
mblock size: 0x000000000F9C0000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
orig_dram num: 0x1
orig_dram start: 0x0000000040000000
orig_dram size: 0x0000000010000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
lca start: 0x0000000000000000
lca size: 0x0000000000000000
tee start: 0x000000004F9C0000
tee size: 0x0000000000040000
MD_INFO: 0xFF
MD_INFO: 0xFF
MD_INFO: 0xFF
MD_INFO: 0xFF
BOOT_TIME: 4166
DA_INFO: 0xFFFFFFFF
DA_INFO: 0xFFFFFFFF
DA_INFO: 0xFFFFFFFF
DA_INFO: 0xFFFFFFFF
DA_INFO: 0xFFFFFFFF
SEC_INFO: 0xFFFFFFFF
SEC_INFO: 0xFFFFFFFF
PART_NUM: 3
PART_INFO: 0x42066A44
EFLAG: 0
DDR_RESERVE: 0
DDR_RESERVE: 0
DDR_RESERVE: -1
DRAM_BUF: 1611712
SMC: 0x0
SMC: 0x6
SMC: 0x6
SRAM satrt: 0x12C000
SRAM size: 0x4000
sec params sbc_enabled = 1
sec params prod_dev = 1
[TZ_INIT] hwuid[0] : 0xD374C606
[TZ_INIT] hwuid[1] : 0xA455E94C
[TZ_INIT] hwuid[2] : 0x82057368
[TZ_INIT] hwuid[3] : 0xEF066D21
[TZ_INIT] HRID[0] : 0x6020178C
[TZ_INIT] HRID[1] : 0xD58685AA
[TZ_INIT] atf_log_port : 0x11005000
[TZ_INIT] atf_log_baudrate : 0xE1000
[TZ_INIT] atf_irq_num : 281
[TZ_INIT] ATF log buffer start : 0x4F9C0000
[TZ_INIT] ATF log buffer size : 0x40000
[TZ_INIT] ATF aee buffer start : 0x4F9FC000
[TZ_INIT] ATF aee buffer size : 0x4000
[BLDR] Others, jump to ATF
[BLDR] jump to 0x41E00000
[BLDR] <0x41E00000>=0xEA000007
[BLDR] <0x41E00004>=0xEA006953
[TZ_SEC_CFG] SRAMROM Secure Addr 0x2C000
[TZ_SEC_CFG] SRAMROM Secure Control 0x0
[TZ_SEC_CFG] SRAMROM Secure Control 0xB69
[TZ_SEC_CFG] SRAMROM Secure Control 0x1B680B69
MPU [LOCK
[TZ_EMI_MPU] MPU [0x4FA00000-0x4FFFFFFF]
[TZ_INIT] set secure memory protection : 0x4FA00000, 0x4FFFFFFF (OPT)
MPU [LOCK
[TZ_EMI_MPU] MPU [0x43000000-0x4302FFFF]
[TZ_INIT] set secure memory protection : 0x43000000, 0x4302FFFF
[TZ_INIT] Jump to ATF, then 0x4FA00000 and 0x41E00000
[ATF](0)[5.012323]NOTICE: Boot reason 4
[ATF](0)[5.012764]INFO: LK is AArch32
[ATF](0)[5.013219]INFO: mmap atf buffer : 0x4f9c0000, 0x40000
[ATF](0)[5.014030]INFO: mmap atf buffer (force 2MB aligned): 0x4f800000, 0x200000
[ATF](0)[5.016109]INFO: abnormal_boot: 0x0, cflag: 0x41544641
[ATF](0)[5.019558]INFO: mt_log_setup
[ATF](0)[5.019980]INFO: -mt_log_buf_start: 0x4f9c0000
[ATF](0)[5.020616]INFO: -mt_log_buf_size: 0x40000
[ATF](0)[5.021208]INFO: -buf_addr: 0x4f9c0100
[ATF](0)[5.021758]INFO: -buf_size: 0x17f00
[ATF](0)[5.022274]INFO: -write_pos: 0x4f9c0100
[ATF](0)[5.022834]INFO: -read_pos: 0x4f9c0100
[ATF](0)[5.023384]INFO: -atf_buf_lock: 0x0
[ATF](0)[5.023900]INFO: -log_buf_end : 0x4f9d7fff
[ATF](0)[5.024493]INFO: -ATF_EXCEPT_BUF_SIZE_PER_CPU : 0x1000
[ATF](0)[5.025214]INFO: -ATF_EXCEPT_BUF_SIZE : 0x4000
[ATF](0)[5.025850]INFO: -PLATFORM_CORE_COUNT : 0x4
[ATF](0)[5.026453]INFO: -atf_except_write_pos_per_cpu[0]: 0x4f9f8000
[ATF](0)[5.027250]INFO: -atf_except_write_pos_per_cpu[1]: 0x4f9f9000
[ATF](0)[5.028047]INFO: -atf_except_write_pos_per_cpu[2]: 0x4f9fa000
[ATF](0)[5.028843]INFO: -atf_except_write_pos_per_cpu[3]: 0x4f9fb000
[ATF](0)[5.029641]INFO: -crash_flag : 0x41544641
[ATF](0)[5.030222]INFO: -crash_log_addr : 0x4f9d8000
[ATF](0)[5.030847]INFO: -crash_log_size : 0x20000
[ATF](0)[5.031462]INFO: ATF log service is registered (0x4f9c0000, aee:0x4f9fc000)
[ATF](0)[5.032383]NOTICE: BL3-1: v1.2(debug):fd1910b
[ATF](0)[5.032975]NOTICE: BL3-1: Built : 04:02:38, Mar 26 2021
[ATF](0)[5.033675]NOTICE: BL31: v1.2(debug):fd1910b
[ATF](0)[5.034257]NOTICE: BL31: Built : 04:02:38, Mar 26 2021
[ATF](0)[5.034949]INFO: [spmc_init]change to SPMC mode !!!
[ATF](0)[5.035630]INFO: ARM GICv2 driver initialized
[ATF](0)[5.036244]INFO: BL31: Initializing runtime services
[ATF](0)[5.036943]INFO: BL31: Initializing BL32
lowmem_mapped_end is 0x10c00000
[MTEE] chunk mem use low mapping,VA=0x0,size=0x0
[ATF](0)[5.039239]INFO: BL31: Preparing for EL3 exit to normal world
[ATF](0)[5.040010]INFO: Entry point address = 0x41e00000
[ATF](0)[5.040667]INFO: SPSR = 0x1d3
[3] kernel_boot_opt=6
[3] 32Bit Kernel
[3] SKIP sw sram repair
[13] ==dump boot argument==
[14] BOOT_REASON: 4
[14] BOOT_MODE: 0
[14] META_COM TYPE: 0
[14] META_COM ID: 0
[15] META_COM PORT: 285237248
[15] LOG_COM PORT: 285233152
[15] LOG_COM BAUD: 921600
[16] LOG_COM EN: 1
[16] MEM_NUM: 1
[16] MEM_SIZE: 0xf9c0000
[16] mblock num: 0x1
[17] mblock start: 0x40000000
[17] mblock size: 0xf9c0000
[17] mblock rank: 0x0
[18] mblock start: 0x0
[18] mblock size: 0x0
[18] mblock rank: 0x0
[18] mblock start: 0x0
[19] mblock size: 0x0
[19] mblock rank: 0x
ISSI_ESOL: end anim: 1780
[1790] Key Uber: Pressed
[1790] fastboot keys triggered, enter fastboot
[1824] fastboot_init()
[1824] part name:brhgptpl_0, part type:raw_data, size:0x40000
[1825] part name:reserve0, part type:raw_data, size:0xc0000
[1826] part name:lk_a, part type:raw_data, size:0x180000
[1826] part name:lk_b, part type:raw_data, size:0x180000
[1827] part name:brhgptpl_1, part type:raw_data, size:0x40000
[1828] part name:reserve1, part type:raw_data, size:0x1c0000
[1828] part name:idme_nand, part type:raw_data, size:0x200000
[1829] part name:brhgptpl_2, part type:raw_data, size:0x40000
[1830] part name:reserve2, part type:raw_data, size:0x1c0000
[1831] part name:misc, part type:raw_data, size:0x200000
[1831] part name:brhgptpl_3, part type:raw_data, size:0x40000
[1832] part name:reserve3, part type:raw_data, size:0x1c0000
[1833] part name:tee1, part type:raw_data, size:0x500000
[1833] part name:boot_a, part type:raw_data, size:0xf40000
[1834] part name:tee2, part type:raw_data, size:0x500000
[1834] part name:boot_b, part type:raw_data, size:0xf40000
[1835] part name:persist, part type:raw_data, size:0x800000
[1836] part name:userdata, part type:raw_data, size:0x1bf80000
[1842] [USB] udc_start_cond
[2485] fastboot: processing commands: fastboot_mode=2
[2530] [fastboot: command buf]-[getvar:product]-[len=14]
[2531] [fastboot]-[download_base:0x45000000]-[download_size:0x0]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2541] [Cmd process]-[buf:getvar:product]-[lenBuf:product]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2551] [fastboot: command buf]-[getvar:version]-[len=14]
[2551] [fastboot]-[download_base:0x45000000]-[download_size:0x0]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2561] [Cmd process]-[buf:getvar:version]-[lenBuf:version]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2571] [fastboot: command buf]-[getvar:version-bootloader]-[len=25]
[2572] [fastboot]-[download_base:0x45000000]-[download_size:0x0]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2582] [Cmd process]-[buf:getvar:version-bootloader]-[lenBuf:version-bootloader]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2592] [fastboot: command buf]-[getvar:serialno]-[len=15]
[2593] [fastboot]-[download_base:0x45000000]-[download_size:0x0]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2603] [Cmd process]-[buf:getvar:serialno]-[lenBuf:serialno]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2613] [fastboot: command buf]-[getvar:secure]-[len=13]
[2614] [fastboot]-[download_base:0x45000000]-[download_size:0x0]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2624] [Cmd process]-[buf:getvar:secure]-[lenBuf:secure]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
From another dot with an older sw version, the log contains additional information, such as the partition table.
before CLK_GATEING_CTRL2: 0xFFFFFF00
after CLK_GATEING_CTRL2: 0xBFFFFF00
Long Pressed setting
[PLFM] Init I2C: OK(0)
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
Device APC domain init setup:
Domain Setup (0x0)
Domain Setup (0x0)
Device APC domain after setup:
Domain Setup (0x100000)
Domain Setup (0x0)
[PLFM] chip_ver[1]
[BLDR] Build Time: 20190926_190455
==== Dump RGU Reg ========
RGU MODE: 4D
RGU LENGTH: FFE0
RGU STA: 0
RGU INTERVAL: FFF
RGU SWSYSRST: 8000
==== Dump RGU Reg End ====
RGU: g_rgu_satus:0
mtk_wdt_mode_config mode value=10, tmp:22000010
PL P ON
WDT does not trigger reboot
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
Enter mtk_kpd_gpio_set!
after set KP enable: KP_SEL = 0x1C70 !
!!wait bsi read done!!
BSI Read Done: value = 0x0
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x4
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x0
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
power key is pressed
No Battery
[PLFM] Power key boot!
!!wait bsi read done!!
BSI Read Done: value = 0x8347
!!wait bsi read done!!
BSI Read Done: value = 0x301
[xo] default cap_code: 0x30
[xo] get xo efuse: A5000000
!!wait bsi read done!!
BSI Read Done: value = 0x3304
BSI_write: wrdat = 0x902304
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2304
BSI_write: wrdat = 0x902254
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100C00
!!wait bsi write done!!
BSI Write Done
BSI_write: wrdat = 0x100400
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA89B
BSI_write: wrdat = 0x1F0A893
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA893
BSI_write: wrdat = 0x1F0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xC00
BSI_write: wrdat = 0x1E05C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA89B
BSI_write: wrdat = 0x4B0A893
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xA893
BSI_write: wrdat = 0x4B0A892
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0xC00
BSI_write: wrdat = 0x4A05C00
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x2A47
!!wait bsi read done!!
BSI Read Done: value = 0x701
[xo] current cap_code: 0x25
[xo] disable XO to PMIC 26M
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400006
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6
BSI_write: wrdat = 0x400004
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x703000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x3000
BSI_write: wrdat = 0x702000
!!wait bsi write done!!
BSI Write Done
[xo] Without 32K. Reg[0x402]=0x3634
!!wait bsi read done!!
BSI Read Done: value = 0x7AAB
BSI_write: wrdat = 0x2506AAB
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x6AAB
[Preloader] BSI read: [0x25] = 0x6AAB
!!wait bsi read done!!
BSI Read Done: value = 0x0
BSI_write: wrdat = 0x2900001
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x1
[Preloader] BSI read: [0x29] = 0x1
!!wait bsi read done!!
BSI Read Done: value = 0x1
BSI_write: wrdat = 0x2900000
!!wait bsi write done!!
BSI Write Done
!!wait bsi read done!!
BSI Read Done: value = 0x0
[Preloader] BSI read: [0x29] = 0x0
!!wait bsi read done!!
BSI Read Done: value = 0xF0
[xo] status: 0xF
Preloader detects Board ID 0x0 and 16 bits DRAM type
[EMI] MDL number = 1
[EMI] PCDDR3
get dram size from AUXADC1 519 1
[EMI] Use Common DDR3 x16 emi settings
[EMI] Config emi settings:
EMI_CONA=0x1010, EMI_CONH=0x3
EMI_RAMK0=0x10000000, EMI_RAMK1=0x0
EMI_CONA=0x1010
EMI_CONF=0x4210000
EMI_CONH=0x3
DQ DRVP=7 ,DRVN=6
DQS DRVP=7 ,DRVN=6
CMD DRVP=7 ,DRVN=6
CLK DRVP=7 ,DRVN=6
[DramcSwImpedanceCal] FINAL: DRVP=7, DRVN=6
PCDDR3 Pinmux 0
SSC OFF
DRAM Clock: 1560MHz
change tRCD for DDR3
multi sample wl support
[Write Leveling]
WriteLevelingMoveDQSInsteadOfCLK
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
WL Clk delay = 0, CA CLK delay = 0
No need to update CA/CS delay because the CLK delay is small than CA training.
Final Clk output delay = 0
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS0 delay = 35
R0 FINAL: WriteLeveling DQS:(2, 0) OEN:(1, 2) DQS1 delay = 32
[DramcWriteLeveling] ====Done====
[Gating]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
[Byte 0]First pass (1, 3, 4)
[Byte 1]First pass (1, 3, 6)
[Byte 0]Bigger pass win(1, 4, 29) Pass tap=57
[Byte 1]Bigger pass win(1, 4, 31) Pass tap=57
===============================================================================
dqs input gating widnow, final delay value
Frequency=1560 rank=0
===============================================================================
R0 FINAL: GW best DQS0 P0 delay(2T, 0.5T, PI) = (1, 4, 0) [tap = 57]
R0 FINAL: GW best DQS1 P0 delay(2T, 0.5T, PI) = (1, 4, 2) [tap = 57]
R0 FINAL: GW best DQS0 P1 delay(2T, 0.5T, PI) = (1, 6, 0)
R0 FINAL: GW best DQS1 P1 delay(2T, 0.5T, PI) = (1, 6, 2)
[DramcRxdqsGatingCal] ====Done====
[DATLAT]
DATLAT Default value = 0xF
5, 0x0000FFFF, sum=0
6, 0x0000FFFF, sum=0
7, 0x0000FFFF, sum=0
8, 0x0000FFFF, sum=0
9, 0x0000FFFF, sum=0
10, 0x0000FFFF, sum=0
11, 0x0000FFFF, sum=0
12, 0x0000FFFF, sum=0
13, 0x00000000, sum=1
14, 0x00000000, sum=2
15, 0x00000000, sum=3
16, 0x00000000, sum=4
17, 0x00000000, sum=5
pattern=5 first_step=13 total pass=6 best_step=15
R0 FINAL: DATLAT = 15 [13 ~ 18]
[DramcRxdatlatCal] ====Done====
multi pattern K for rx
[RX]
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
RX Window Sum 519
R0 FINAL: RX Bit 0, 13 (-3 ~ 30) 34
R0 FINAL: RX Bit 1, 13 (-2 ~ 29) 32
R0 FINAL: RX Bit 2, 14 (-2 ~ 31) 34
R0 FINAL: RX Bit 3, 15 (-1 ~ 31) 33
R0 FINAL: RX Bit 4, 14 (-1 ~ 29) 31
R0 FINAL: RX Bit 5, 14 (-1 ~ 30) 32
R0 FINAL: RX Bit 6, 14 (-2 ~ 31) 34
R0 FINAL: RX Bit 7, 13 (-3 ~ 30) 34
R0 FINAL: RX Bit 8, 15 (-1 ~ 31) 33
R0 FINAL: RX Bit 9, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 10, 16 (-1 ~ 33) 35
R0 FINAL: RX Bit 11, 14 (-2 ~ 31) 34
R0 FINAL: RX Bit 12, 14 (-2 ~ 30) 33
R0 FINAL: RX Bit 13, 15 (-1 ~ 32) 34
R0 FINAL: RX Bit 14, 15 (-1 ~ 31) 33
R0 FINAL: RX Bit 15, 14 (-2 ~ 31) 34
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
DQS Delay :
DQS0 = 0, DQS1 = 0, DQS2 = 0, DQS3 = 0
DQM Delay :
DQM0 = 13, DQM1 = 14, DQM2 = 0, DQM3 = 0
DQ Delay :
DQ0 =13, DQ1 =13, DQ2 =14, DQ3 =15
DQ4 =14, DQ5 =14, DQ6 =14, DQ7 =13
DQ8 =15, DQ9 =16, DQ10 =16, DQ11 =14
DQ12 =14, DQ13 =15, DQ14 =15, DQ15 =14
________________________________________________________________________
[DramcRxWindowPerbitCal] ====Done====
multi pattern K for tx
[TX]
[DramcTxWindowPerbitCal] Frequency=1560, Rank=0, calType=2
[DramcTxWindowPerbitCal] Begin, TX DQ(2, 0), DQ OEN(1, 2)
TX Window Sum 437
===============================================================================
Dram Type= 4, Freqency= 1560, rank 0
odt_onoff= 0, Byte mode= 0, Read_DBI= 0, Write DBI= 0
===============================================================================
R0 FINAL: TX Bit0 (37~63) 27 50, Bit8 (37~64) 28 50,
R0 FINAL: TX Bit1 (36~63) 28 49, Bit9 (37~64) 28 50,
R0 FINAL: TX Bit2 (37~63) 27 50, Bit10 (36~64) 29 50,
R0 FINAL: TX Bit3 (37~63) 27 50, Bit11 (37~64) 28 50,
R0 FINAL: TX Bit4 (37~63) 27 50, Bit12 (37~63) 27 50,
R0 FINAL: TX Bit5 (38~63) 26 50, Bit13 (37~64) 28 50,
R0 FINAL: TX Bit6 (37~63) 27 50, Bit14 (37~63) 27 50,
R0 FINAL: TX Bit7 (37~63) 27 50, Bit15 (38~63) 26 50,
==================================================================
Byte0, PI DQ Delay 49 Delay2 50
Final DQ PI Delay(LargeUI, SmallUI, PI) =(2 ,0, 50)
OEN DQ PI Delay(LargeUI, SmallUI, PI) =(1 ,2, 50)
Byte1, PI DQ Delay 50 Delay2 50
Final DQ PI Delay(LargeUI, SmallUI, PI) =(2 ,0, 50)
OEN DQ PI Delay(LargeUI, SmallUI, PI) =(1 ,2, 50)
[DramcTxWindowPerbitCal] ====Done====
[DramcRxdqsGatingPostProcess] p->frequency 1560
[DramcRxdqsGatingPostProcess] s1ChangeDQSINCTL 0, reg_TX_dly_DQSgated_min 3, u1TXDLY_Cal_min 3
[MEM_TEST] 01: Before run time config
0:dram_rank_size:10000000
[MEM_TEST] Rank 0 OK. (uiFixedAddr 0x40000000, Pass count =16384, Fail count =0)
Settings after calibration ...
=== [DramcRunTimeConfig] ===
ZQCS_ENABLE_LP3: ON
LOWPOWER_GOLDEN_SETTINGS(DCM): ON
SPM_CONTROL_AFTERK: ON
TEMP_SENSOR_ENABLE: OFF
ENABLE_PER_BANK_REFRESH: OFF
HW_SAVE_FOR_SR: OFF
=========================
[MEM_TEST] 01: After run time config
0:dram_rank_size:10000000
[MEM_TEST] Rank 0 OK. (uiFixedAddr 0x40000000, Pass count =16384, Fail count =0)
memory test start address = 0x40000000, test length = 0x2000
[MEM] complex R/W mem test pass
0:dram_rank_size:10000000
[Dram_Buffer] dram size: 0x10000000
[Dram_Buffer] dram_buf_t size: 0x1897C0
[Dram_Buffer] part_hdr_t size: 0x200
[Dram_Buffer] g_dram_buf start addr: 0x42000000
RAM_CONSOLE using default
RAM_CONSOLE start: 0x44400000, size: 0x10000, sig: 0xD3D7EAF7
RAM_CONSOLE wdt status (0x0)=0x0
NAND INFO:mtk_nand_flash_get 429: nand id: C2 DC 90 A2 57 3
NAND INFO:mtk_nand_flash_get 434: nand found [MX30LF4G28AD]
NAND INFO:mtk_nfc_nand_chip_init 1746: nand chip init done
NAND INFO:mtk_search_bbt 209: Bad block table found at page 131008, version 1, i 1
NAND INFO:mtk_search_bbt 209: Bad block table found at page 130944, version 1, i 2
NAND INFO:mtk_read_bbt 156: page:131008
NAND INFO:mtk_read_bbt 156: page:130944
NAND INFO:mtk_nand_default_bbt 396: BBT check total block:2048
[PLFM] Init Boot Device: OK(0)
0:dram_rank_size:10000000
0:dram_rank_size:10000000
orig_dram_info[0] start: 0x0000000040000000, size: 0x0000000010000000
total_dram_size: 0x0000000010000000, max_dram_size: 0xFFFFFFFFFFFFFFFF
last_lba:131071
NAND INFO:nand_bread 245: blknr:0x1FFFE, blks:0x1
NAND INFO:nand_bread 280: Detect bad block at block:0x7FF
[GPT_PL]check header, err(signature 0xB23EFB3FF1BA7BF3!=0x5452415020494645)
[GPT_PL]Parsing GPT at index 0 now...
NAND INFO:nand_bread 245: blknr:0x3, blks:0x1
NAND INFO:nand_bread 245: blknr:0x4, blks:0x1
[GPT_PL][0]name=brhgptpl_0, part_id=0, start_sect=0x0, nr_sects=0x40
[GPT_PL][1]name=reserve0, part_id=1, start_sect=0x40, nr_sects=0xC0
[GPT_PL][2]name=lk_a, part_id=2, start_sect=0x100, nr_sects=0x180
[GPT_PL][3]name=lk_b, part_id=3, start_sect=0x280, nr_sects=0x180
[GPT_PL][4]name=brhgptpl_1, part_id=4, start_sect=0x400, nr_sects=0x40
[GPT_PL][5]name=reserve1, part_id=5, start_sect=0x440, nr_sects=0x1C0
[GPT_PL][6]name=idme_nand, part_id=6, start_sect=0x600, nr_sects=0x200
[GPT_PL][7]name=brhgptpl_2, part_id=7, start_sect=0x800, nr_sects=0x40
[GPT_PL][8]name=reserve2, part_id=8, start_sect=0x840, nr_sects=0x1C0
[GPT_PL][9]name=misc, part_id=9, start_sect=0xA00, nr_sects=0x200
[GPT_PL][10]name=brhgptpl_3, part_id=10, start_sect=0xC00, nr_sects=0x40
[GPT_PL][11]name=reserve3, part_id=11, start_sect=0xC40, nr_sects=0x1C0
[GPT_PL][12]name=tee1, part_id=12, start_sect=0xE00, nr_sects=0x500
[GPT_PL][13]name=boot_a, part_id=13, start_sect=0x1300, nr_sects=0xF40
[GPT_PL][14]name=tee2, part_id=14, start_sect=0x2240, nr_sects=0x500
[GPT_PL][15]name=boot_b, part_id=15, start_sect=0x2740, nr_sects=0xF40
[GPT_PL][16]name=persist, part_id=16, start_sect=0x3680, nr_sects=0x800
[GPT_PL][17]name=userdata, part_id=17, start_sect=0x3E80, nr_sects=0x1BF80
[GPT_PL]Success to find valid GPT at 0.
[PART] blksz: 4096B
[ROM_INFO] 'v2','0x0','0x0','0x0','0x2C00'
[SEC] AES Legacy : 0
[SEC] SECCFG AC : 1
[LIB] Loading SEC config
[LIB] Name =
[LIB] Config = 0x22, 0x22
[LIB] SECRO (ac, ac_offset, ac_length) = (0x1, 0x40, 0x40)
0x31,0x41,0x35,0x35
[SEC] DBGPORT 00110051 0020FFFF 00000101 00000101 0021AF1F
[SEC] DBGPORT (0 1)
[SEC] DBGPORT 00110051 0020FFFF 00000101 00000101 0021AF1F
[SEC] seccfg part not found
[BLDR] Tool connection is unlocked
[platform_vusb_on] VUSB33 is on
[PLFM] USB cable in
[TOOL] USB enum timeout (Yes : 8000ms), handshake timeout(Yes : 2500ms)
[USBD] USB Full Speed
[TOOL] Enumeration(Start)
[TOOL] Enumeration(End): TMO 501ms : 8000ms
[TOOL] USB enum timeout!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
(B)tz_dapc_sec_init is 0x0
(E)tz_dapc_sec_init is 0x1
NAND INFO:nand_bread 245: blknr:0xA00, blks:0x1
[BCB] magic number matched at 0x0
read misc: 6x 8x 8x
============================================================
Boot Ctrl - Magic : 0x42424100
Boot Ctrl - Version : 1
Boot Ctrl - Recovery Tries Remaining : 0
Boot Ctrl - Slot 0 Priority : 15
Boot Ctrl - Slot 0 Tries Remaining : 0
Boot Ctrl - Slot 0 Successful Boot : 1
Boot Ctrl - Slot 1 Priority : 14
Boot Ctrl - Slot 1 Tries Remaining : 3
Boot Ctrl - Slot 1 Successful Boot : 0
============================================================
active_slot is 0
NAND INFO:nand_bread 245: blknr:0x100, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh mode : -1
[PART] size : 233000
[PART] magic: 58881688h
0:dram_rank_size:10000000
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0x100, blks:0x1
NAND INFO:nand_bread 245: blknr:0x101, blks:0x38
NAND INFO:nand_bread 245: blknr:0x139, blks:0x1
[PART] load "lk_a" from 0x0000000000100200 (dev) to 0x41E00000 (mem) [SUCCESS]
[PART] load speed: 16251KB/s, 233000 bytes, 14ms
[PART] Verifying LK, total size (including signature) = 233000
[VERIFY_LK] Succeed to pass the LK verification, version of LK is 0x1.
[PART] LK authenticated with prod key
[BLDR] check active part. of tee1 and tee2
[BLDR] tee1 active = 0, tee2 active = 0
[BLDR] Loading tee1 Partition...
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : atf
[PART] addr : FFFFFFFFh mode : 0
[PART] size : 58880
[PART] magic: 58881688h
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE00, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE01, blks:0xD
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] load "tee1" from 0x0000000000E00200 (dev) to 0x43001000 (mem) [SUCCESS]
[PART] load speed: 9583KB/s, 58880 bytes, 6ms
[BLDR_MTEE] sha256 takes 1 (ms) for 58304 bytes
[BLDR_MTEE] rsa2048 takes 88 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 2 (ms)
[BLDR_MTEE] aes128cbc takes 1 (ms) for 58304
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : tee
[PART] addr : 600000h mode : 0
[PART] size : 2305536
[PART] magic: 58881688h
warning: size is not 2MB aligned
mblock[0].start: 0x0000000040000000, sz: 0x0000000010000000, limit: 0x0000000100000000, max_addr: 0x0000000000000000, max_rank: 0, target: -1, mblock[].rank: 0
mblock_reserve dbg[0]: 1, 1, 1, 1
mblock_reserve: 000000004F9C0000 - 0000000050000000 from mblock 0
[PART] check_part_overlapped done
NAND INFO:nand_bread 245: blknr:0xE0E, blks:0x1
NAND INFO:nand_bread 245: blknr:0xE0F, blks:0x232
NAND INFO:nand_bread 245: blknr:0x1041, blks:0x1
[PART] load "tee1" from 0x0000000000E0EA00 (dev) to 0x4FA00000 (mem) [SUCCESS]
[PART] load speed: 18157KB/s, 2305536 bytes, 124ms
[BLDR_MTEE] sha256 takes 28 (ms) for 2304960 bytes
[BLDR_MTEE] rsa2048 takes 88 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 2 (ms)
[BLDR_MTEE] aes128cbc takes 37 (ms) for 2304960
[TZ_INIT] TEE start entry : 0x4FA00000
[TZ_INIT] MEID : 0xD7, 0xAC, 0xB9, 0x5D
[TZ_INIT] MEID : 0xB4, 0x53, 0xB, 0x71
[TZ_INIT] MEID : 0x41, 0x11, 0x84, 0xF2
[TZ_INIT] MEID : 0x1A, 0x35, 0x50, 0x45
[BLDR] bldr load tee part ret=0x0, addr=0x43001000
NAND INFO:nand_bread 245: blknr:0x1300, blks:0x1
[BLDR] part_load_raw_part ret=0x0
[BLDR] part_load_images ret=0x0
Detect production device
[ANTI-ROLLBACK] Processing anti-rollback data
[ANTI-ROLLBACK] PL, TEE and LK fuse version: 1
Checking for matching binaries' version ...
[ANTI-ROLLBACK] PL, TEE and LK sw version: 1
[ANTI-ROLLBACK] All checks passed
[PLFM],64S3,boot_opt=0x0
[PLFM],32N2,boot_opt=0x6
[PLFM],32N2,boot_opt=0x6
smc_boot_opt: 0x0
lk_boot_opt: 0x6
kernel_boot_opt: 0x6
lastpc[0][0] = 266908C0
lastpc[0][1] = FFFF3C64
lastpc[0][2] = 2068A98A
lastpc[0][3] = E19949D1
lastpc[0][4] = 116CED31
lastpc[0][5] = 3314D1E9
lastpc[0][6] = 4D80642F
lastpc[0][7] = F4F7C1B1
lastpc[1][0] = 0
lastpc[1][1] = 0
lastpc[1][2] = 0
lastpc[1][3] = 0
lastpc[1][4] = 0
lastpc[1][5] = 0
lastpc[1][6] = 0
lastpc[1][7] = 0
lastpc[2][0] = 0
lastpc[2][1] = 0
lastpc[2][2] = 0
lastpc[2][3] = 0
lastpc[2][4] = 0
lastpc[2][5] = 0
lastpc[2][6] = 0
lastpc[2][7] = 0
lastpc[3][0] = 0
lastpc[3][1] = 0
lastpc[3][2] = 0
lastpc[3][3] = 0
lastpc[3][4] = 0
lastpc[3][5] = 0
lastpc[3][6] = 0
lastpc[3][7] = 0
[PLFM] boot to LK by ATAG.
PL_VERSION = 0.1.00
BOOT_REASON: 0
BOOT_MODE: 0
META_COM TYPE: 0
META_COM ID: 0
META_COM PORT: 285237248
LOG_COM PORT: 285233152
LOG_COM BAUD: 921600
LOG_COM EN: 1
MEM_NUM: 1
MEM_SIZE: 0xF9C0000
mblock num: 0x1
mblock start: 0x0000000040000000
mblock size: 0x000000000F9C0000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
mblock start: 0x0000000000000000
mblock size: 0x0000000000000000
mblock rank: 0x0
orig_dram num: 0x1
orig_dram start: 0x0000000040000000
orig_dram size: 0x0000000010000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
orig_dram start: 0x0000000000000000
orig_dram size: 0x0000000000000000
lca start: 0x0000000000000000
lca size: 0x0000000000000000
tee start: 0x000000004F9C0000
tee size: 0x0000000000040000
MD_INFO: 0xFF
MD_INFO: 0xBE
MD_INFO: 0xF7
MD_INFO: 0x5E
BOOT_TIME: 1341
DA_INFO: 0xBFBAD295
DA_INFO: 0x753D7E0C
DA_INFO: 0xEDE5BBB2
DA_INFO: 0xE6F777F7
DA_INFO: 0xFA8FFA7F
SEC_INFO: 0x5C7B7F9F
SEC_INFO: 0xFC3EAEF3
PART_NUM: 3
PART_INFO: 0x42066A44
EFLAG: 0
DDR_RESERVE: 0
DDR_RESERVE: 0
DDR_RESERVE: 2139060182
DRAM_BUF: 1611712
SMC: 0x0
SMC: 0x6
SMC: 0x6
SRAM satrt: 0x12C000
SRAM size: 0x4000
sec params sbc_enabled = 1
sec params prod_dev = 1
[TZ_INIT] hwuid[0] : 0x5DB9ACD7
[TZ_INIT] hwuid[1] : 0x710B53B4
[TZ_INIT] hwuid[2] : 0xF2841141
[TZ_INIT] hwuid[3] : 0x4550351A
[TZ_INIT] HRID[0] : 0xD1C7F58F
[TZ_INIT] HRID[1] : 0xAEC3B877
[TZ_INIT] atf_log_port : 0x11005000
[TZ_INIT] atf_log_baudrate : 0xE1000
[TZ_INIT] atf_irq_num : 281
[TZ_INIT] ATF log buffer start : 0x4F9C0000
[TZ_INIT] ATF log buffer size : 0x40000
[TZ_INIT] ATF aee buffer start : 0x4F9FC000
[TZ_INIT] ATF aee buffer size : 0x4000
[BLDR] Others, jump to ATF
[BLDR] jump to 0x41E00000
[BLDR] <0x41E00000>=0xEA000007
[BLDR] <0x41E00004>=0xEA0069CB
[TZ_SEC_CFG] SRAMROM Secure Addr 0x2C000
[TZ_SEC_CFG] SRAMROM Secure Control 0x0
[TZ_SEC_CFG] SRAMROM Secure Control 0xB69
[TZ_SEC_CFG] SRAMROM Secure Control 0x1B680B69
MPU [LOCK
[TZ_EMI_MPU] MPU [0x4FA00000-0x4FFFFFFF]
[TZ_INIT] set secure memory protection : 0x4FA00000, 0x4FFFFFFF (OPT)
MPU [LOCK
[TZ_EMI_MPU] MPU [0x43000000-0x4302FFFF]
[TZ_INIT] set secure memory protection : 0x43000000, 0x4302FFFF
[TZ_INIT] Jump to ATF, then 0x4FA00000 and 0x41E00000
[ATF](0)[2.336570]NOTICE: Boot reason 0
[ATF](0)[2.337012]INFO: LK is AArch32
[ATF](0)[2.337467]INFO: mmap atf buffer : 0x4f9c0000, 0x40000
[ATF](0)[2.338277]INFO: mmap atf buffer (force 2MB aligned): 0x4f800000, 0x200000
[ATF](0)[2.340356]INFO: abnormal_boot: 0x0, cflag: 0x62181204
[ATF](0)[2.343805]INFO: mt_log_setup
[ATF](0)[2.344228]INFO: -mt_log_buf_start: 0x4f9c0000
[ATF](0)[2.344863]INFO: -mt_log_buf_size: 0x40000
[ATF](0)[2.345456]INFO: -buf_addr: 0x4f9c0100
[ATF](0)[2.346005]INFO: -buf_size: 0x17f00
[ATF](0)[2.346522]INFO: -write_pos: 0x4f9c0100
[ATF](0)[2.347082]INFO: -read_pos: 0x4f9c0100
[ATF](0)[2.347631]INFO: -atf_buf_lock: 0x0
[ATF](0)[2.348148]INFO: -log_buf_end : 0x4f9d7fff
[ATF](0)[2.348740]INFO: -ATF_EXCEPT_BUF_SIZE_PER_CPU : 0x1000
[ATF](0)[2.349462]INFO: -ATF_EXCEPT_BUF_SIZE : 0x4000
[ATF](0)[2.350097]INFO: -PLATFORM_CORE_COUNT : 0x4
[ATF](0)[2.350700]INFO: -atf_except_write_pos_per_cpu[0]: 0x4f9f8000
[ATF](0)[2.351497]INFO: -atf_except_write_pos_per_cpu[1]: 0x4f9f9000
[ATF](0)[2.352294]INFO: -atf_except_write_pos_per_cpu[2]: 0x4f9fa000
[ATF](0)[2.353091]INFO: -atf_except_write_pos_per_cpu[3]: 0x4f9fb000
[ATF](0)[2.353888]INFO: -crash_flag : 0x41544641
[ATF](0)[2.354470]INFO: -crash_log_addr : 0x4f9d8000
[ATF](0)[2.355094]INFO: -crash_log_size : 0x20000
[ATF](0)[2.355709]INFO: ATF log service is registered (0x4f9c0000, aee:0x4f9fc000)
[ATF](0)[2.356630]NOTICE: BL3-1: v1.2(debug):fd1910b
[ATF](0)[2.357222]NOTICE: BL3-1: Built : 17:25:37, Apr 23 2019
[ATF](0)[2.357922]NOTICE: BL31: v1.2(debug):fd1910b
[ATF](0)[2.358503]NOTICE: BL31: Built : 17:25:37, Apr 23 2019
[ATF](0)[2.359196]INFO: [spmc_init]change to SPMC mode !!!
[ATF](0)[2.359877]INFO: ARM GICv2 driver initialized
[ATF](0)[2.360491]INFO: BL31: Initializing runtime services
[ATF](0)[2.361190]INFO: BL31: Initializing BL32
[ATF](0)[2.362599]INFO: BL31: Preparing for EL3 exit to normal world
[ATF](0)[2.363371]INFO: Entry point address = 0x41e00000
[ATF](0)[2.364027]INFO: SPSR = 0x1d3
[4] kernel_boot_opt=6
[4] 32Bit Kernel
[4] SKIP sw sram repair
[15] ==dump boot argument==
[15] BOOT_REASON: 0
[15] BOOT_MODE: 0
[15] META_COM TYPE: 0
[16] META_COM ID: 0
[16] META_COM PORT: 285237248
[16] LOG_COM PORT: 285233152
[17] LOG_COM BAUD: 921600
[17] LOG_COM EN: 1
[17] MEM_NUM: 1
[17] MEM_SIZE: 0xf9c0000
[18] mblock num: 0x1
[18] mblock start: 0x40000000
[18] mblock size: 0xf9c0000
[19] mblock rank: 0x0
[19] mblock start: 0x0
[19] mblock size: 0x0
[19] mblock rank: 0x0
[20] mblock start: 0x0
[20] mblock size: 0x0
[20] mblock rank: 0x0
[20] mblock start: 0x0
[21] mblock size: 0x0
[21] mblock rank: 0x0
[21] orig_dram num: 0x1
[21] orig_dram start: 0x40000000
[22] orig_dram size: 0x10000000
[22] orig_dram start: 0x0
[23] orig_dram size: 0x0
[23] orig_dram start: 0x0
[23] orig_dram size: 0x0
[23] orig_dram start: 0x0
[24] orig_dram size: 0x0
[24] lca start: 0x0
[24] lca size: 0x0
[24] tee start: 0x4f9c0000
[25] tee size: 0x40000
[25] MD_INFO: 0xff
[25] MD_INFO: 0xbe
[25] MD_INFO: 0xf7
[26] MD_INFO: 0x5e
[26] BOOT_TIME: 1341
[26] DA_INFO: 0xbfbad295
[26] DA_INFO: 0x753d7e0c
[27] DA_INFO: 0xede5bbb2
[27] DA_INFO: 0xe6f777f7
[27] DA_INFO: 0xfa8ffa7f
[28] SEC_INFO: 0x5c7b7f9f
[28] SEC_INFO: 0xfc3eaef3
[28] PART_NUM: 3
[28] PART_INFO: 0x42066a44
[29] EFLAG: 0
[29] DDR_RESERVE: 0
[29] DDR_RESERVE: 0
[29] DRAM_BUF: 1611712
[30] SMC: 0x0
[30] SMC: 0x6
[30] SMC: 0x6
[30] SRAM satrt: 0x12c000
[30] SRAM size: 0x4000
[31] ==dump boot argument==
[31] platform_init()
Start nand init in LK NAND_NFI_BASE:0x11001000
[32] NAND INFO:mtk_nand_flash_get 457: nand id: c2 dc 90 a2 57 3
[33] NAND INFO:mtk_nand_flash_get 462: nand found [MX30LF4G28AD]
[34] NAND INFO:mtk_nand_flash_get 539: pagesize:4096, oobsize:256, blocksize:0x40000 totalsize:0x20000000
[35] NAND INFO:mtk_search_bbt 209: Bad block table found at page 131008, version 1, i 1
[36] NAND INFO:mtk_search_bbt 209: Bad block table found at page 130944, version 1, i 2
[37] NAND INFO:mtk_read_bbt 156: page:131008
[38] NAND INFO:mtk_read_bbt 156: page:130944
[38] NAND INFO:mtk_nand_default_bbt 396: BBT check total block:2048
[39] [partition init]
[39] [GPT_LK]Parsing GPT now...
read data, 3 - 4096 - 4096
read data, 4 - 4096 - 4096
[41] [GPT_LK][0]name=brhgptpl_0, part_id=0, start_sect=0x0, nr_sects=0x40
[41] [GPT_LK][1]name=reserve0, part_id=1, start_sect=0x40, nr_sects=0xc0
[42] [GPT_LK][2]name=lk_a, part_id=2, start_sect=0x100, nr_sects=0x180
[43] [GPT_LK][3]name=lk_b, part_id=3, start_sect=0x280, nr_sects=0x180
[44] [GPT_LK][4]name=brhgptpl_1, part_id=4, start_sect=0x400, nr_sects=0x40
[45] [GPT_LK][5]name=reserve1, part_id=5, start_sect=0x440, nr_sects=0x1c0
[46] [GPT_LK][6]name=idme_nand, part_id=6, start_sect=0x600, nr_sects=0x200
[46] [GPT_LK][7]name=brhgptpl_2, part_id=7, start_sect=0x800, nr_sects=0x40
[47] [GPT_LK][8]name=reserve2, part_id=8, start_sect=0x840, nr_sects=0x1c0
[48] [GPT_LK][9]name=misc, part_id=9, start_sect=0xa00, nr_sects=0x200
[49] [GPT_LK][10]name=brhgptpl_3, part_id=10, start_sect=0xc00, nr_sects=0x40
[50] [GPT_LK][11]name=reserve3, part_id=11, start_sect=0xc40, nr_sects=0x1c0
[51] [GPT_LK][12]name=tee1, part_id=12, start_sect=0xe00, nr_sects=0x500
[51] [GPT_LK][13]name=boot_a, part_id=13, start_sect=0x1300, nr_sects=0xf40
[52] [GPT_LK][14]name=tee2, part_id=14, start_sect=0x2240, nr_sects=0x500
[53] [GPT_LK][15]name=boot_b, part_id=15, start_sect=0x2740, nr_sects=0xf40
[54] [GPT_LK][16]name=persist, part_id=16, start_sect=0x3680, nr_sects=0x800
[55] [GPT_LK][17]name=userdata, part_id=17, start_sect=0x3e80, nr_sects=0x1bf80
[56] [GPT_LK] NAND_PART_USER size = 0x20000
[56] [GPT_LK] last partition number is 0
[57] [GPT_LK]Success to find valid gpt at0
[57] idme_initialize
[57] [partition_get_index]find idme_nand idme_nand start 1536
[58] [partition_get_index]find idme_nand idme_nand start 1536
[59] idme: invalid magic at 0x0
[60] [partition_get_index]find idme_nand idme_nand start 1536
[61] idme: invalid magic at 0x40000
[62] [partition_get_index]find idme_nand idme_nand start 1536
[63] idme: invalid magic at 0x80000
[63] [partition_get_index]find idme_nand idme_nand start 1536
[65] idme: invalid magic at 0xc0000
[65] [partition_get_index]find idme_nand idme_nand start 1536
[67] idme: magic number matched at 0x100000
[LK_ENV]read_env_area fail, ret = fffffffe
[LK_ENV]no valid env
[68] mblock[0].start: 0x40000000, sz: 0xf9c0000, limit: 0x100000000, max_addr: 0x0, max_rank: 0, target: -1, mblock[].rank: 0
, reserved_addr: 0x4f9c0000,reserved_size: 0x0
[70] mblock_reserve dbg[0]: 1, 1, 1, 1, 1
[70] mblock_reserve: 4f9c0000 - 4f9c0000 from mblock 0
[71] FB base = 0x4f9c0000, FB size = 0
[71] detecting pmic just reset
[pmic_read_interface] No PMIC: RegNum = 0x4a
[72] [mboot_recovery_load_misc]: size is 1088
[73] [mboot_recovery_load_misc]: misc_addr is 0x41e72d90
[73] [partition_get_index]find misc misc start 2560
[74] erase_size: 0x40000 erase_blocks: 0x8 part_size 0x200000
[75] bcb: magic number matched at 0x0
[75] MT65XX_FACTORY_KEY 0x5
[75] MT65XX_BOOT_MENU_KEY 0x11
[125] [BATTERY] Skip mt65xx_bat_init !!
[125] [BATTERY] If you want to enable power off charging,
[126] [BATTERY] Please #define CFG_POWER_CHARGING!!
ISSI_ESOL: begin anim: 120 with 12 number of leds and 36 channels
ISSI_ESOL: New chip detected, setting pwm frequency
ISSI_ESOL: end anim: 1780
[1791] Key Uber: Released
[1791] [partition_get_index]find misc misc start 2560
[1792] erase_size: 0x40000 erase_blocks: 0x8 part_size 0x200000
[1793] bcb: magic number matched at 0x0
[1793] part page addr is 0x1300000
[1794] [partition_get_index]find boot_a boot_a start 4864
[1794] ============================================================
[1795] [LK_BOOT] Android Partition Name : boot_a
[1796] [LK_BOOT] Android Boot IMG Hdr - Magic : ANDROID
[1797] [LK_BOOT] Android Boot IMG Hdr - Kernel Size : 0x0063315D
[1797] [LK_BOOT] Android Boot IMG Hdr - Kernel Address : 0x40008000
[1798] [LK_BOOT] Android Boot IMG Hdr - Rootfs Size : 0x00350E50
[1799] [LK_BOOT] Android Boot IMG Hdr - Rootfs Address : 0x44000000
[1800] [LK_BOOT] Android Boot IMG Hdr - Tags Address : 0x4E000000
[1800] [LK_BOOT] Android Boot IMG Hdr - Page Size : 0x00000800
[1801] [LK_BOOT] Android Boot IMG Hdr - Command Line : bootopt=64S3,32N2,32N2 lowmemorykiller.minfree=1536,2048,4096,8192,16384,16384 lowmemorykiller.adj=0,100,200,300,900,906 buildvariant=user veritykeyid=id:f3530e18f64d11fc25eb2dd762979f078de990bf
[1804] ============================================================
[1805] > page count of kernel image = 3175
[1805] > kernel mem offset = 0x45000000
[1806] > rootfs mem offset = 0x45633800
[1806] > boot image size = 0x985000
[1806] boot state: green
[1807] check mkimg header
[1807] [partition_get_index]find boot_a boot_a start 4864
[1808] =========================================
[1808] [LK_BOOT] KERNEL magic number : 0x58881688
[1809] [LK_BOOT] KERNEL size : 0x632f5d
[1809] =========================================
[1810] mkimg header exist in kernel image
[1810]
read the data of boot_a (size = 0x985000)
[1811] > from - 0x0000000001300800 (skip boot img hdr)
[1812] > to - 0x44fffe00 (starts with kernel img hdr)
[1812] [partition_get_index]find boot_a boot_a start 4864
[2223] [LK_BOOT] ROOTFS partition magic not match
[2223] no mkimg header in ramdisk image
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
Certificate authenticated
==============
Image Metadata
==============
product:crumpet
signer:CodeSigner
Image AUTHENTICATED with PRODUCTION certificate
[2985] boot state: green
[2985] [PROFILE] ------- load boot.img takes 1194 ms --------
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[2998] selinux mode = enforce
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[3008] [DM-VERITY] enabled with enforcing mode
[3020] Found exact match compatible=amzn,crumpet-pvt (primary=amzn,crumpet-pvt) at 0x4e000000 offset=0
[3027] dtb_addr = 0x4E000000, dtb_size = 0x00080000
[3028] model=MT8167B
[3028] efuse set max_clk_freq=1300000000
[3029] cluster-0: 4 core
[3029] device name doesn't end with : in device tree prop
[3030] insert_dt_prop: Invalid devicetree prop format()
[3030] device name doesn't end with : in device tree prop
[3031] insert_dt_prop: Invalid devicetree prop format()
[3032] [ccci] modem standalone not support
[3032] mblock[0].start: 0x40000000, size: 0xf9c0000
[3080] LASTPC[0][0] = 266908c0
[3081] LASTPC[0][1] = ffff3c64
[3081] LASTPC[0][2] = 2068a98a
[3081] LASTPC[0][3] = e19949d1
[3082] LASTPC[0][4] = 116ced31
[3082] LASTPC[0][5] = 3314d1e9
[3083] LASTPC[0][6] = 4d80642f
[3083] LASTPC[0][7] = f4f7c1b1
[3083] LASTPC[1][0] = 0
[3084] LASTPC[1][1] = 0
[3084] LASTPC[1][2] = 0
[3084] LASTPC[1][3] = 0
[3084] LASTPC[1][4] = 0
[3085] LASTPC[1][5] = 0
[3085] LASTPC[1][6] = 0
[3085] LASTPC[1][7] = 0
[3085] LASTPC[2][0] = 0
[3086] LASTPC[2][1] = 0
[3086] LASTPC[2][2] = 0
[3086] LASTPC[2][3] = 0
[3087] LASTPC[2][4] = 0
[3087] LASTPC[2][5] = 0
[3087] LASTPC[2][6] = 0
[3087] LASTPC[2][7] = 0
[3088] LASTPC[3][0] = 0
[3088] LASTPC[3][1] = 0
[3088] LASTPC[3][2] = 0
[3089] LASTPC[3][3] = 0
[3089] LASTPC[3][4] = 0
[3089] LASTPC[3][5] = 0
[3089] LASTPC[3][6] = 0
[3090] LASTPC[3][7] = 0
[3090] fg_swocv_v buf [0], [0x41e646b0:0x41e646b1:1]
[3091] fg_swocv_i buf [0], [0x41e646b0:0x41e646b1:1]
[3092] shutdown_time buf [0], [0x41e646b0:0x41e646b1:1]
[3092] boot_voltage buf [0], [0x41e646b0:0x41e646b1:1]
[3093] Not Support VCORE DVFS
[3094] [ccci] modem mem info not support
[3094] [ccci] modem mem arguments info using v1
[3095] PTP_INFO Only support in MT6795
[3095] masp atag not support in this platform
[3096] tee_reserved_mem not supported
[3096] [LK] non_secure_sram (0x12c000, 0x4000)
[3097] [PROFILE] ------- boot_time takes 3097 ms --------
[LK_ENV]get_env hibboot
[LK_ENV]get_env resume
[3098] resume = NULL
[3099] booting linux @ 0x40008000, ramdisk @ 0x44000000 (3477072)
[3099] DRAM Rank :1
[3100] DRAM Rank[0] Start = 0x40000000, Size = 0xf9c0000
[3100] cmdline: console=tty0 console=ttyMT0,921600n1 earlycon=uart8250,mmio32,0x11005000 vmalloc=496M androidboot.hardware=mt8167 androidboot.secure_cpu=1 androidboot.unlocked_kernel=false androidboot.pl_version=0x0001 androidboot.tee_version=0x0001 androidboot.lk_version=0x0001 androidboot.prod=1 androidboot.pl_build_desc=2b6f82c-20190926_190455 androidboot.lk_build_desc=674eac9-20190926_190455 androidboot.verifiedbootstate=green androidboot.prod=1 bootopt=64S3,32N2,32N2 lowmemorykiller.minfree=1536,2048,4096,8192,16384,16384 lowmemorykiller.adj=0,100,200,300,900,906 buildvariant=user veritykeyid=id:f3530e18f64d11fc25eb2dd762979f078de990bf androidboot.selinux=enforce androidboot.veritymode=enforcing androidboot.slot_suffix=_a rootwait ro init=/init ubi.mtd=persist,4096,4,0 ubi.mtd=userdata,4096,20,1 skip_initramfs ubi.block=1,0 root=/dev/dm-0 dm="system none ro,0 1 android-verity /dev/ubiblock1_0" printk.disable_uart=1 leds-is31fl3236.ledcalibparams=1,0x00779388,0x00C6FFE9 bootprof.pl_t=1341 bootprof.lk_t=3097 boo[3112] lk boot time = 3097 ms
[3113] lk boot mode = 0
[3113] lk boot reason = power_key
[3113] lk finished --> jump to linux kernel 32Bit
[ 0.000000] <0>-(0)[0:swapper]Booting Linux on physical CPU 0x0
[ 0.000000] <0>-(0)[0:swapper]Initializing cgroup subsys cpuset
[ 0.000000] <0>-(0)[0:swapper]Initializing cgroup subsys cpu
[ 0.000000] <0>-(0)[0:swapper]Initializing cgroup subsys cpuacct
[ 0.000000] <0>-(0)[0:swapper]Linux version 4.4.22+ (build@i3-ri-14-use1a-b-100) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Jan 9 23:44:03 UTC 2020
[ 0.000000] <0>-(0)[0:swapper]CPU: ARMv7 Processor [410fd041] revision 1 (ARMv7), cr=10c0383d
[ 0.000000] <0>-(0)[0:swapper]CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] <0>-(0)[0:swapper]Machine model: MT8167B
[ 0.000000] <0>-(0)[0:swapper]earlycon: Early serial console at MMIO32 0x11005000 (options '')
[ 0.000000] <0>-(0)[0:swapper]bootconsole [uart0] enabled
[ 0.000000] <0>-(0)[0:swapper][PHY layout]atf-reserved-memory@43000000 : 0x43000000 - 0x4302ffff (0x30000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]consys-reserve-memory : 0x4f600000 - 0x4f7fffff (0x200000)
[ 0.000000] <0>-(0)[0:swapper][memblock]ram_console-reserve-memory: 0x44400000 - 0x44410000 (0x10000)
[ 0.000000] <0>-(0)[0:swapper]Reserved memory: initialized node ram_console-reserved-memory@44400000, compatible id mediatek,ram_console
[ 0.000000] <0>-(0)[0:swapper]Memory policy: Data cache writealloc
[ 0.000000] <0>-(0)[0:swapper][PHY layout]kernel : 0x40000000 - 0x42ffffff (0x03000000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]kernel : 0x43030000 - 0x4f5fffff (0x0c5d0000)
[ 0.000000] <0>-(0)[0:swapper][PHY layout]kernel : 0x4f800000 - 0x4f9bffff (0x001c0000)
[ 0.000000] <0>-(0)[0:swapper]psci: probing for conduit method from DT.
[ 0.000000] <0>-(0)[0:swapper]psci: PSCIv1.0 detected in firmware.
[ 0.000000] <0>-(0)[0:swapper]psci: Using standard PSCI v0.2 function IDs
[ 0.000000] <0>-(0)[0:swapper]psci: Trusted OS migration not required
[ 0.000000] <0>-(0)[0:swapper]PERCPU: Embedded 14 pages/cpu @cf956000 s25728 r8192 d23424 u57344
[ 0.000000] <0>-(0)[0:swapper]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62876
[ 0.000000] <0>-(0)[0:swapper][cpu_ntf] <00>c00fa020 (page_alloc_cpu_notify)
[ 0.000000] <0>Kernel command line: console=tty0 console=ttyMT0,921600n1 earlycon=uart8250,mmio32,0x11005000 vmalloc=496M androidboot.hardware=mt8167 androidboot.secure_cpu=1 androidboot.unlocked_kernel=false androidboot.pl_version=0x0001 androidboot.tee_version=0x0001 androidboot.lk_version=0x0001 androidboot.prod=1 androidboot.pl_build_desc=2b6f82c-20190926_190455 androidboot.lk_build_desc=674eac9-20190926_190455 androidboot.verifiedbootstate=green androidboot.prod=1 bootopt=64S3,32N2,32N2 lowmemorykiller.minfree=1536,2048,4096,8192,16384,16384 lowmemorykiller.adj=0,100,200,300,900,906 buildvariant=user veritykeyid=id:f3530e18f64d11fc25eb2dd762979f078de990bf androidboot.selinux=enforce androidboot.veritymode=enforcing androidboot.slot_suffix=_a rootwait ro init=/init ubi.mtd=persist,4096,4,0 ubi.mtd=userdata,4096,20,1 skip_initramfs ubi.block=1,0 root=/dev/dm-0 dm="system none ro,0 1 android-verity /dev/ubiblock1_0" printk.disable_uart=1 leds-is31fl3236.ledcalibparams=1,0x00779388,0x00C6[ 0.000000] <0>-(0)[0:swapper]dm: will configure 'system' on dm-0
[ 0.000000] -(0)[0:swapper]PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] -(0)[0:swapper]Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] -(0)[0:swapper]Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] -(0)[0:swapper]Memory: 237080K/253504K available (8347K kernel code, 567K rwdata, 2796K rodata, 504K init, 460K bss, 16424K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] -(0)[0:swapper]Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0000000 - 0xff800000 ( 760 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcf9c0000 ( 249 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0aea000 (11144 kB)
[ 0.000000] .init : 0xc0aea000 - 0xc0b68000 ( 504 kB)
[ 0.000000] .data : 0xc0b68000 - 0xc0bf5f10 ( 568 kB)
[ 0.000000] .bss : 0xc0bf7000 - 0xc0c6a158 ( 461 kB)
[ 0.000000] -(0)[0:swapper][cpu_ntf] <00>c01343c4 (slab_cpuup_callback)
[ 0.000000] -(0)[0:swapper]SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c005bcbc (sched_ilb_notifier)
[ 0.000000] -(0)[0:swapper/0]Preemptible hierarchical RCU implementation.
[ 0.000000] -(0)[0:swapper/0] Build-time adjustment of leaf fanout to 32.
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c0089f34 (rcu_cpu_notify)
[ 0.000000] -(0)[0:swapper/0]
[ 0.000000] -(0)[0:swapper/0]**********************************************************
[ 0.000000] -(0)[0:swapper/0]** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** trace_printk() being used. Allocating extra memory. **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** This means that this is a DEBUG kernel and it is **
[ 0.000000] -(0)[0:swapper/0]** unsafe for production use. **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** If you see this message and you are not debugging **
[ 0.000000] -(0)[0:swapper/0]** the kernel, report this immediately to your vendor! **
[ 0.000000] -(0)[0:swapper/0]** **
[ 0.000000] -(0)[0:swapper/0]** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.000000] -(0)[0:swapper/0]**********************************************************
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c02e1c10 (radix_tree_callback)
[ 0.000000] -(0)[0:swapper/0]NR_IRQS:16 nr_irqs:16 16
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c030c9b0 (gic_secondary_init)
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c009250c (timer_cpu_notify)
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c0094008 (hrtimer_cpu_notify)
[ 0.000000] -(0)[0:swapper/0][cpu_ntf] <00>c0596988 (arch_timer_cpu_notify)
[ 0.000000] -(0)[0:swapper/0]Architected cp15 timer(s) running at 13.00MHz (virt).
[ 0.000000] -(0)[0:swapper/0]clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000007] -(0)[0:swapper/0]sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.001255] -(0)[0:swapper/0]Switching to timer-based delay loop, resolution 76ns
[ 0.002357] -(0)[0:swapper/0]clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[ 0.004170] -(0)[0:swapper/0][cpu_ntf] <00>c00a6eec (hotplug_cfd)
[ 0.005459] (0)[0:swapper/0]console [ttyMT0] enabled
[ 0.006127] (0)[0:swapper/0]bootconsole [uart0] disabled