[00006168] [c0] 
[00006169] [c0]  **  LK (0, restored from storage)  **
[00006173] [c0] dram cs0 size 80000000
[00006175] [c0] dram cs1 size 7ffff000
[00006178] [c0] [sprd_timer_init]: enter ....
[00006182] [c0] [sprd_timer_init]: done ....
[00006185] [c0] booting 2 cpus
[00006186] [c0] 
[00006187] [c0] welcome to lk/MP
[00006189] [c0] 
[00006190] [c0] boot args 0x0 0x65011708 0x650116e0 0x8
[00006194] [c0] INIT: cpu 0, calling hook 0x9f05b0b8 (version) at level 0x3ffff, flags 0x1
[00006201] [c0] version:
[00006202] [c0] 	arch:     arm64
[00006204] [c0] 	platform: qogirl6
[00006206] [c0] 	target:   ums9230_1h10
[00006209] [c0] 	project:  ums9230_1h10
[00006211] [c0] 	buildid:  2023-04-18-06:14:17_LOCAL
[00006215] [c0] 	release:  userdebug
[00006217] [c0] initializing heap
[00006219] [c0] calling constructors
[00006222] [c0] initializing mp
[00006224] [c0] initializing threads
[00006226] [c0] initializing timers
[00006228] [c0] initializing ports
[00006230] [c0] creating bootstrap completion thread
[00006234] [c0] arch_context_switch: cpu 0, old 0x9f1864c0 (idle 0, pri 0, flags 0x11), new 0x9f70c018 (bootstrap2, pri 16, flags 0x27)
[00006245] [c0] top of bootstrap2()
[00006247] [c0] creating bootstrap completion thread for cpu 1
[00006252] [c0] initializing platform
[00006254] [c0] myqin-UARTREG(0)=0
[00006256] [c0] initializing target
[00006259] [c0] i2c0, freq=100000
[00006261] [c0] I2C_CTL 	= 0x682106
[00006263] [c0] I2C_ADDR_CFG 	= 0x0
[00006265] [c0] I2C_COUNT = 0x0
[00006267] [c0] I2C_STATUS = 0x310008
[00006270] [c0] ADDR_DVD0 = 0x33004c
[00006272] [c0] ADDR_DVD1 = 0x0
[00006274] [c0] ADDR_STA0_DVD = 0x68
[00006276] [c0] i2c0 is ok!
[00006278] [c0] i2c1, freq=100000
[00006280] [c0] I2C_CTL 	= 0x682106
[00006282] [c0] I2C_ADDR_CFG 	= 0x0
[00006284] [c0] I2C_COUNT = 0x0
[00006286] [c0] I2C_STATUS = 0x310008
[00006289] [c0] ADDR_DVD0 = 0x33004c
[00006291] [c0] ADDR_DVD1 = 0x0
[00006293] [c0] ADDR_STA0_DVD = 0x68
[00006295] [c0] i2c1 is ok!
[00006297] [c0] i2c2, freq=100000
[00006299] [c0] I2C_CTL 	= 0x682106
[00006301] [c0] I2C_ADDR_CFG 	= 0x0
[00006304] [c0] I2C_COUNT = 0x0
[00006305] [c0] I2C_STATUS = 0x310008
[00006308] [c0] ADDR_DVD0 = 0x33004c
[00006310] [c0] ADDR_DVD1 = 0x0
[00006312] [c0] ADDR_STA0_DVD = 0x68
[00006314] [c0] i2c2 is ok!
[00006316] [c0] i2c3, freq=100000
[00006318] [c0] I2C_CTL 	= 0x682106
[00006320] [c0] I2C_ADDR_CFG 	= 0x0
[00006323] [c0] I2C_COUNT = 0x0
[00006324] [c0] I2C_STATUS = 0x310008
[00006327] [c0] ADDR_DVD0 = 0x33004c
[00006329] [c0] ADDR_DVD1 = 0x0
[00006331] [c0] ADDR_STA0_DVD = 0x68
[00006333] [c0] i2c3 is ok!
[00006335] [c0] i2c4, freq=100000
[00006337] [c0] I2C_CTL 	= 0x682106
[00006339] [c0] I2C_ADDR_CFG 	= 0x0
[00006342] [c0] I2C_COUNT = 0x0
[00006344] [c0] I2C_STATUS = 0x310008
[00006346] [c0] ADDR_DVD0 = 0x33004c
[00006348] [c0] ADDR_DVD1 = 0x0
[00006350] [c0] ADDR_STA0_DVD = 0x68
[00006353] [c0] i2c4 is ok!
[00006354] [c0] i2c5, freq=100000
[00006356] [c0] I2C_CTL 	= 0x682106
[00006358] [c0] I2C_ADDR_CFG 	= 0x0
[00006361] [c0] I2C_COUNT = 0x0
[00006363] [c0] I2C_STATUS = 0x210008
[00006365] [c0] ADDR_DVD0 = 0x33004c
[00006367] [c0] ADDR_DVD1 = 0x0
[00006369] [c0] ADDR_STA0_DVD = 0x68
[00006372] [c0] i2c5 is ok!
[00006373] [c0] i2c6, freq=100000
[00006375] [c0] I2C_CTL 	= 0x682106
[00006377] [c0] I2C_ADDR_CFG 	= 0x0
[00006380] [c0] I2C_COUNT = 0x0
[00006382] [c0] I2C_STATUS = 0x310008
[00006384] [c0] ADDR_DVD0 = 0x33004c
[00006386] [c0] ADDR_DVD1 = 0x0
[00006388] [c0] ADDR_STA0_DVD = 0x68
[00006391] [c0] i2c6 is ok!
[00006392] [c0] i2c7, freq=100000
[00006394] [c0] I2C_CTL 	= 0x682106
[00006397] [c0] I2C_ADDR_CFG 	= 0x0
[00006399] [c0] I2C_COUNT = 0x0
[00006401] [c0] I2C_STATUS = 0x310008
[00006403] [c0] ADDR_DVD0 = 0x33004c
[00006405] [c0] ADDR_DVD1 = 0x0
[00006407] [c0] ADDR_STA0_DVD = 0x68
[00006410] [c0] i2c7 is ok!
[00006411] [c0] pmic efuse wait 4
[00006415] [c0] pmic efuse wait 2
[00006419] [c0] pmic efuse read 19,val=0x7c84
[00006422] [c0] pmic efuse read bits 304 ++ 16 0x00007c84
[00006427] 
[00006427] [c0] get pmic efuse block 19, deta: 0x00007c84
[00006431] [c0] 0.1V adc data 0x130
[00006433] [c0] 1.0V adc data 0xd14
[00006435] [c0] adc efuse small cal 1000,3348,100,304,cal_type:4
[00006440] [c0] sprd small scale efuse have cal
[00006443] [c0] pmic efuse wait 4
[00006448] [c0] pmic efuse wait 2
[00006452] [c0] pmic efuse read 18,val=0x8787
[00006455] [c0] pmic efuse read bits 288 ++ 16 0x00008787
[00006459] 
[00006459] [c0] get pmic efuse block 18, deta: 0x00008787
[00006463] [c0] adc efuse big cal 4200,3452,3600,2960,cal_type:3
[00006468] [c0] sprd big scale efuse have cal
[00006471] [c0] sprd batdet scale efuse have cal
[00006474] [c0] pmic_misc_init
[00006476] [c0] smpl_config
[00006478] [c0] last shutdown flag ANA_REG_GLB_POR_OFF_FLAG:0x0
[00006482] [c0] Not power off from smpl
[00006485] [c0] pmic efuse wait 4
[00006489] [c0] pmic efuse wait 2
[00006493] [c0] pmic efuse read 14,val=0x7f16
[00006496] [c0] pmic efuse wait 4
[00006500] [c0] pmic efuse wait 2
[00006504] [c0] pmic efuse read 14,val=0x7f16
[00006508] [c0] chip id = 0x756d733932333000, VID = 0x1
[00006512] [c0] chip_bonding:1, chip_id:1, boot_device:0x206
[00006516] [c0] vddrf1v25:set voltage:1250 = 900 + 350mv (trim=23 step=15000uv);
[00006522] [c0] i2c7, freq=100000
[00006525] [c0] i2c7, freq=100000
[00006529] [c0] eta_read_reg reg = 0x0, value = 158 / 9e
[00006538] [c0] init_global_reg 
[00006540]  Reset UFS host controller success
[00006543] [c0] Send link startup UIC command
[00006561] [c0] Connection been established with UFS device!
[00006567] [c0] NOP OUT response ret = 0x0
[00006666] [c0] fDeviceInit flag==0, UFS device init complete
[00006673] [c0] ufs hpb_disabled for  device
[00006678] [c0] UFS device version: 0x210
[00006680] [c0] UFS device total cap=0xee64000,allocation unit size=0x2000
[00006697] [c0] write idn=0xa
[00006701] [c0] UFS configuration table same with device, no need of reconstruction
[00006708] [c0] write idn=0x0
[00006712] [c0] Power mode:pwr_rx(1), pwr_tx(1), lane_rx(2), lane_tx(2), gear_rx(3), gear_tx(3), hs_rate(2)
[00006724] [c0] Success change ufs pwr mode.
[00006728] [c0] [gpio keys] 124 init!
[00006730] [c0] i2c3, freq=100000
[00006733] [c0] i2c transfer fail
[00006735] [c0] sprd_chg: bq2560x_read_reg reg(0x7), ret(-1)
[00006739] [c0] i2c3, freq=100000
[00006742] [c0] i2c transfer fail
[00006745] [c0] sprd_chg: bq2560x_write_reg reg(0x7), ret(-1)
[00006749] [c0] i2c3, freq=100000
[00006752] [c0] i2c transfer fail
[00006754] [c0] sprd_chg: bq2560x_read_reg reg(0x5), ret(-1)
[00006758] [c0] i2c3, freq=100000
[00006762] [c0] i2c transfer fail
[00006764] [c0] sprd_chg: bq2560x_write_reg reg(0x5), ret(-1)
[00006768] [c0] sprd_chg: sprdchg_bq2560x_init
[00006771] [c0] pmic efuse wait 4
[00006775] [c0] pmic efuse wait 2
[00006779] [c0] pmic efuse read 18,val=0x8787
[00006782] [c0] pmic efuse read bits 288 ++ 16 0x00008787
[00006787] 
[00006787] [c0] get pmic efuse block 18, deta: 0x00008787
[00006791] [c0] sprd_chg: adc_para from efuse is 0xd7c1068 0xb900e10 
[00006796] [c0] pmic efuse wait 4
[00006800] [c0] pmic efuse wait 2
[00006804] [c0] pmic efuse read 3,val=0x8529
[00006807] [c0] pmic efuse read bits 48 ++ 9 0x00000129
[00006811] 
[00006811] [c0] sprd_chg: fgu_cal_get 4.2 data data: 0x129
[00006816] [c0] sprd_chg: fgu_data: 0xb5c
[00006818] [c0] sprd_chg: sprdfgu: one point
[00006821] [c0] sprd_chg: 4200mv=2908, 3600mv=0
[00006825] [c0] sprd_chg: fgu_cal.vol_1000mv_adc=692, vol_offset=0
[00007236] [c0] sprd_chg: chg_bq2560x_init
[00007239] [c0] sprd_chg: eica status bat1
[00007242] [c0] sprd_chg: sprdbat_init keep_charge = 0
[00007245] [c0] i2c3, freq=100000
[00007248] [c0] i2c transfer fail
[00007251] [c0] sprd_chg: bq2560x_read_reg reg(0x0), ret(-1)
[00007255] [c0] i2c3, freq=100000
[00007258] [c0] i2c transfer fail
[00007260] [c0] sprd_chg: bq2560x_write_reg reg(0x0), ret(-1)
[00007265] [c0] i2c3, freq=100000
[00007268] [c0] i2c transfer fail
[00007270] [c0] sprd_chg: bq2560x_read_reg reg(0x2), ret(-1)
[00007274] [c0] i2c3, freq=100000
[00007277] [c0] i2c transfer fail
[00007279] [c0] sprd_chg: bq2560x_write_reg reg(0x2), ret(-1)
[00007284] [c0] sprd_chg: chg_bq2560x_disable_chg
[00007287] [c0] i2c3, freq=100000
[00007290] [c0] i2c transfer fail
[00007292] [c0] sprd_chg: bq2560x_read_reg reg(0x1), ret(-1)
[00007297] [c0] i2c3, freq=100000
[00007300] [c0] i2c transfer fail
[00007302] [c0] sprd_chg: bq2560x_write_reg reg(0x1), ret(-1)
[00007306] [c0] sprd_chg: bq2560x_set_power_path val = 0
[00007310] [c0] i2c3, freq=100000
[00007313] [c0] i2c transfer fail
[00007315] [c0] sprd_chg: bq2560x_read_reg reg(0x0), ret(-1)
[00007320] [c0] i2c3, freq=100000
[00007323] [c0] i2c transfer fail
[00007325] [c0] sprd_chg: bq2560x_write_reg reg(0x0), ret(-1)
[00007329] [c0] i2c3, freq=100000
[00007332] [c0] i2c transfer fail
[00007334] [c0] sprd_chg: bq2560x_read_reg reg(0x5), ret(-1)
[00007339] [c0] i2c3, freq=100000
[00007342] [c0] i2c transfer fail
[00007344] [c0] sprd_chg: bq2560x_write_reg reg(0x5), ret(-1)
[00007348] [c0] CHG init OK!
[00007350] [c0] init log type 0
[00007353] [c0] reset log partition header
[00007356] [c0] write lun(0), start(0x5800), write_block(0x1)
[00007361] [c0] panic type boot count 1
[00007364] [c0] init log type 1
[00007366] [c0] reset log partition header
[00007369] [c0] write lun(0), start(0x5f00), write_block(0x1)
[00007374] [c0] start type init log success on 1 times
[00007378] [c0] init log type 2
[00007380] [c0] reset log partition header
[00007383] [c0] write lun(0), start(0x6300), write_block(0x1)
[00007388] [c0] fastboot type boot count 1
[00007391] [c0] init log type 3
[00007393] [c0] reset log partition header
[00007397] [c0] write lun(0), start(0x6500), write_block(0x1)
[00007402] [c0] download type boot count 1
[00007404] [c0] initializing apps
[00007406] [c0] Press q to LK shell cmd in 0 seconds!
[00007411] [c0] abc offset: 2048, size: 32
[00007414] [c0] ANDROID: Loaded ABC control from misc, size: 32
[00007419] [c0] ANDROID: Invalid crc32_le (caculate: 807077e9, read from disk        0),Initializing ab_control to default value
[00007429] [c0] ANDROID: bootable slot 0 priority: 15, tries_remaining: 7, verity_corrupted: 0, successful_boot: 1
[00007438] [c0] ANDROID: unbootable slot 1 tries_remaining: 0, verity_corrupted: 0
[00007444] [c0] ANDROID: Booting slot_a
[00007450] [c0] power_button_pressed status 1
[00007453] [c0] get enter_download flag :
[00007456] [c0] ==== in  [get_mode_from_chipram_env] 
[00007460] [c0] get boot mode in boot func array[0]
[00007464] [c0] enter boot mode g_mode_str[3]:DOWNLOAD_MODE
[00007468] [c0] download mode!
[00007470] [c0] Watch Dog Trace: WDG_TimerStop
[00007474] [c0] write lun(0), start(0x6500), write_block(0x1)
[00007478] [c0] write lun(0), start(0x6501), write_block(0x1)
[00007483] [c0] write lun(0), start(0x6502), write_block(0x1)
[00007488] [c0] write lun(0), start(0x6500), write_block(0x1)
[00007493] [c0] do_download:enter
[00007495] [c0] abc offset: 2048, size: 32
[00007499] [c0] ANDROID: Loaded ABC control from misc, size: 32
[00007503] [c0] ANDROID: Invalid crc32_le (caculate: 807077e9, read from disk        0),Initializing ab_control to default value
[00007514] [c0] ANDROID: bootable slot 0 priority: 15, tries_remaining: 7, verity_corrupted: 0, successful_boot: 1
[00007523] [c0] ANDROID: unbootable slot 1 tries_remaining: 0, verity_corrupted: 0
[00007529] [c0] ANDROID: Booting slot_a
[00007672] [c0] now time sec 0
[00007674] [c0] now alarm sec 0
[00007676] [c0] download buffer base 0xc0000000, size 40000000
[00007681] alter buffer1 base 0x92000000, size 200000
[00007684] alter buffer2 base 0x92200000, size 200000
[00007688] [c0] [do_download] pre init is ok
[00007691] [c0] [do_download] register cmd process function is ok
[00007697] [c0] read timestamp magic(0) incorrect.
[00007700] [c0] dl_cmd_handler:enter
[00007714] [c0] packet->body.size:0x4c, image size:0x100000
[00007718] [c0] partition_name=l_fixnv1_a,size=0x100000
[00007722] [c0] partition l_fixnv1_a image type is 0,partitionpurpose:1
[00007728] [c0] get partition slot: l_fixnv1_b
[00007731] [c0] fixnv download status:PAC_WITH_SLOT_AB | DEVICE_WITH_SLOT_AB
[00007737] [c0] repair nv img with partition : l_fixnv1_a
[00007755] [c0] fdl_check_crc  calcout = 0x53ac,org = 0x53ac
[00007759] [c0] fdl_check_crc  calcout = 0x53ac,org = 0x53ac,len=0x0,chkflag=0x0
[00007765] [c0] read origin nv image success and crc correct
[00007770] [c0] partition_name is l_fixnv1_a
[00007786] [c0] fdl_check_crc  calcout = 0x53ac,org = 0x53ac
[00007790] [c0] fdl_check_crc  calcout = 0x53ac,org = 0x53ac,len=0x0,chkflag=0x0
[00007797] [c0] read backup nv image success and crc correct
[00007801] [c0] both org and bak nv partition are ok
[00007805] [c0] partition_name is l_fixnv1_a, ret = 1
[00007809] [c0] operate result =1,send ack
R