[00005606] [c0] 
[00005606] [c0]  **  LK (0, restored from storage)  **
[00005610] [c0] dram cs0 size 100000000
[00005611] [c0] dram cs1 size fffff000
[00005612] [c0] [sprd_timer_init]: enter ....
[00005612] [c0] [sprd_timer_init]: done ....
[00005612] [c0] booting 2 cpus
[00005612] [c0] 
[00005612] [c0] welcome to lk/MP
[00005614] [c0] 
[00005614] [c0] boot args 0x0 0x65011888 0x65011860 0x8
[00005618] [c0] version:
[00005618] [c0] 	arch:     arm64
[00005618] [c0] 	platform: qogirl6
[00005618] [c0] 	target:   ums9230_1h10
[00005618] [c0] 	project:  ums9230_1h10
[00005618] [c0] 	buildid:  2023-01-13-10:31:44_LOCAL
[00005618] [c0] 	release:  user
[00005618] [c0] initializing heap
[00005620] [c0] calling constructors
[00005623] [c0] initializing mp
[00005623] [c0] initializing threads
[00005623] [c0] initializing timers
[00005623] [c0] initializing ports
[00005623] [c0] creating bootstrap completion thread
[00005626] [c0] arch_context_switch: cpu 0, old 0x9f122330 (idle 0, pri 0, flags 0x11), new 0x9f6a8010 (bootstrap2, pri 16, flags 0x7)
[00005637] [c0] top of bootstrap2()
[00005637] [c0] creating bootstrap completion thread for cpu 1
[00005637] [c0] initializing platform
[00005637] [c0] myqin-UARTREG(0)=0
[00005637] [c0] initializing target
[00005637] [c0] i2c0, freq=100000
[00005639] [c0] I2C_CTL 	= 0x682106
[00005639] [c0] I2C_ADDR_CFG 	= 0x0
[00005639] [c0] I2C_COUNT = 0x0
[00005639] [c0] I2C_STATUS = 0x310008
[00005639] [c0] ADDR_DVD0 = 0x33004c
[00005639] [c0] ADDR_DVD1 = 0x0
[00005639] [c0] ADDR_STA0_DVD = 0x68
[00005639] [c0] i2c0 is ok!
[00005640] [c0] i2c1, freq=100000
[00005642] [c0] I2C_CTL 	= 0x682106
[00005642] [c0] I2C_ADDR_CFG 	= 0x0
[00005642] [c0] I2C_COUNT = 0x0
[00005642] [c0] I2C_STATUS = 0x310008
[00005642] [c0] ADDR_DVD0 = 0x33004c
[00005642] [c0] ADDR_DVD1 = 0x0
[00005642] [c0] ADDR_STA0_DVD = 0x68
[00005642] [c0] i2c1 is ok!
[00005642] [c0] i2c2, freq=100000
[00005644] [c0] I2C_CTL 	= 0x682106
[00005644] [c0] I2C_ADDR_CFG 	= 0x0
[00005644] [c0] I2C_COUNT = 0x0
[00005644] [c0] I2C_STATUS = 0x310008
[00005644] [c0] ADDR_DVD0 = 0x33004c
[00005644] [c0] ADDR_DVD1 = 0x0
[00005644] [c0] ADDR_STA0_DVD = 0x68
[00005644] [c0] i2c2 is ok!
[00005644] [c0] i2c3, freq=100000
[00005646] [c0] I2C_CTL 	= 0x682106
[00005646] [c0] I2C_ADDR_CFG 	= 0x0
[00005646] [c0] I2C_COUNT = 0x0
[00005646] [c0] I2C_STATUS = 0x310008
[00005646] [c0] ADDR_DVD0 = 0x33004c
[00005646] [c0] ADDR_DVD1 = 0x0
[00005646] [c0] ADDR_STA0_DVD = 0x68
[00005646] [c0] i2c3 is ok!
[00005646] [c0] i2c4, freq=100000
[00005648] [c0] I2C_CTL 	= 0x682106
[00005648] [c0] I2C_ADDR_CFG 	= 0x0
[00005648] [c0] I2C_COUNT = 0x0
[00005648] [c0] I2C_STATUS = 0x310008
[00005648] [c0] ADDR_DVD0 = 0x33004c
[00005648] [c0] ADDR_DVD1 = 0x0
[00005648] [c0] ADDR_STA0_DVD = 0x68
[00005648] [c0] i2c4 is ok!
[00005648] [c0] i2c5, freq=100000
[00005650] [c0] I2C_CTL 	= 0x682106
[00005650] [c0] I2C_ADDR_CFG 	= 0x0
[00005650] [c0] I2C_COUNT = 0x0
[00005650] [c0] I2C_STATUS = 0x210008
[00005650] [c0] ADDR_DVD0 = 0x33004c
[00005650] [c0] ADDR_DVD1 = 0x0
[00005650] [c0] ADDR_STA0_DVD = 0x68
[00005650] [c0] i2c5 is ok!
[00005650] [c0] i2c6, freq=100000
[00005652] [c0] I2C_CTL 	= 0x682106
[00005652] [c0] I2C_ADDR_CFG 	= 0x0
[00005652] [c0] I2C_COUNT = 0x0
[00005652] [c0] I2C_STATUS = 0x310008
[00005652] [c0] ADDR_DVD0 = 0x33004c
[00005652] [c0] ADDR_DVD1 = 0x0
[00005652] [c0] ADDR_STA0_DVD = 0x68
[00005652] [c0] i2c6 is ok!
[00005652] [c0] i2c7, freq=100000
[00005654] [c0] I2C_CTL 	= 0x682106
[00005654] [c0] I2C_ADDR_CFG 	= 0x0
[00005654] [c0] I2C_COUNT = 0x0
[00005654] [c0] I2C_STATUS = 0x310008
[00005654] [c0] ADDR_DVD0 = 0x33004c
[00005654] [c0] ADDR_DVD1 = 0x0
[00005654] [c0] ADDR_STA0_DVD = 0x68
[00005654] [c0] i2c7 is ok!
[00005654] [c0] pmic efuse wait 4
[00005658] [c0] pmic efuse wait 2
[00005662] [c0] pmic efuse read 19,val=0x7967
[00005665] [c0] pmic efuse read bits 304 ++ 16 0x00007967
[00005670] 
[00005670] [c0] get pmic efuse block 19, deta: 0x00007967
[00005674] [c0] 0.1V adc data 0x124
[00005676] [c0] 1.0V adc data 0xca0
[00005678] [c0] adc efuse small cal 1000,3232,100,292,cal_type:4
[00005683] [c0] sprd small scale efuse have cal
[00005686] [c0] pmic efuse wait 4
[00005690] [c0] pmic efuse wait 2
[00005694] [c0] pmic efuse read 18,val=0x6e6a
[00005698] [c0] pmic efuse read bits 288 ++ 16 0x00006e6a
[00005702] 
[00005702] [c0] get pmic efuse block 18, deta: 0x00006e6a
[00005706] [c0] adc efuse big cal 4200,3336,3600,2860,cal_type:3
[00005711] [c0] sprd big scale efuse have cal
[00005714] [c0] sprd batdet scale efuse have cal
[00005717] [c0] pmic_misc_init
[00005717] [c0] smpl_config
[00005717] [c0] last shutdown flag ANA_REG_GLB_POR_OFF_FLAG:0x0
[00005722] [c0] smpl power on flag: 0
[00005725] [c0] pmic efuse wait 4
[00005729] [c0] pmic efuse wait 2
[00005733] [c0] pmic efuse read 14,val=0x7912
[00005736] [c0] pmic efuse wait 4
[00005740] [c0] pmic efuse wait 2
[00005744] [c0] pmic efuse read 14,val=0x7912
[00005747] [c0] chip id = 0x756d733932333000, VID = 0x1
[00005747] [c0] chip_bonding:1, chip_id:1, boot_device:0x206
[00005751] [c0] vddrf1v25:set voltage:1250 = 900 + 350mv (trim=23 step=15000uv);
[00005751] [c0] vddgpu:set voltage:1000 = 0 + 1000mv (trim=320 step=3125uv);
[00005751] [c0] i2c7, freq=100000
[00005754] [c0] i2c7, freq=100000
[00005758] [c0] eta_read_reg reg = 0x0, value = 158 / 9e
[00005767] [c0] init_global_reg 
[00005767]  Reset UFS host controller success
[00005767] [c0] Send link startup UIC command
[00005785] [c0] Connection been established with UFS device!
[00005786] [c0] NOP OUT response ret = 0x0
[00005851] [c0] fDeviceInit flag==0, UFS device init complete
[00005855] [c0] get product number string descriptor data succes! MT128GAXAU2U22
[00005861] [c0] ufs hpb_disabled for MT128GAXAU2U22 device
[00005863] [c0] wb uspc type: 0x1, buf type: 0x1, shared buffer size: 0x1dcb
[00005863] [c0] UFS device version: 0x220
[00005863] [c0] UFS device total cap=0xee64000,allocation unit size=0x2000
[00005876] [c0] write idn=0xa
[00005885] [c0] UFS configuration table same with device, no need of reconstruction
[00005885] [c0] write idn=0x0
[00005889] [c0] Power mode:pwr_rx(1), pwr_tx(1), lane_rx(2), lane_tx(2), gear_rx(3), gear_tx(3), hs_rate(2)
[00005894] [c0] Success change ufs pwr mode.
[00005894] [c0] [gpio keys] 124 init!
[00005894] [c0] i2c5, freq=100000
[00006897] [c0] Timed out in wait_for_int: status=214201
[00006897] [c0] I2C_CTL 	= 0x8782107
[00006897] [c0] I2C_ADDR_CFG 	= 0xd6
[00006897] [c0] I2C_COUNT = 0x1
[00006897] [c0] I2C_STATUS = 0x214201
[00006897] [c0] ADDR_DVD0 = 0x33004c
[00006897] [c0] ADDR_DVD1 = 0x0
[00006897] [c0] ADDR_STA0_DVD = 0x68
[00006897] [c0] i2c transfer fail
[00006897] [c0] sprd_chg: bq2560x_read_reg reg(0x7), ret(-1)
[00006902] [c0] i2c5, freq=100000
[00007905] [c0] Timed out in wait_for_int: status=214401
[00007905] [c0] I2C_CTL 	= 0x8682107
[00007905] [c0] I2C_ADDR_CFG 	= 0xd6
[00007905] [c0] I2C_COUNT = 0x2
[00007905] [c0] I2C_STATUS = 0x214401
[00007905] [c0] ADDR_DVD0 = 0x33004c
[00007905] [c0] ADDR_DVD1 = 0x0
[00007905] [c0] ADDR_STA0_DVD = 0x68
[00007905] [c0] i2c transfer fail
[00007905] [c0] sprd_chg: bq2560x_write_reg reg(0x7), ret(-1)
[00007909] [c0] i2c5, freq=100000
[00008912] [c0] Timed out in wait_for_int: status=214201
[00008912] [c0] I2C_CTL 	= 0x8782107
[00008912] [c0] I2C_ADDR_CFG 	= 0xd6
[00008912] [c0] I2C_COUNT = 0x1
[00008912] [c0] I2C_STATUS = 0x214201
[00008912] [c0] ADDR_DVD0 = 0x33004c
[00008912] [c0] ADDR_DVD1 = 0x0
[00008912] [c0] ADDR_STA0_DVD = 0x68
[00008912] [c0] i2c transfer fail
[00008912] [c0] sprd_chg: bq2560x_read_reg reg(0x5), ret(-1)
[00008916] [c0] i2c5, freq=100000
[00009919] [c0] Timed out in wait_for_int: status=214401
[00009919] [c0] I2C_CTL 	= 0x8682107
[00009919] [c0] I2C_ADDR_CFG 	= 0xd6
[00009919] [c0] I2C_COUNT = 0x2
[00009919] [c0] I2C_STATUS = 0x214401
[00009919] [c0] ADDR_DVD0 = 0x33004c
[00009919] [c0] ADDR_DVD1 = 0x0
[00009919] [c0] ADDR_STA0_DVD = 0x68
[00009919] [c0] i2c transfer fail
[00009919] [c0] sprd_chg: bq2560x_write_reg reg(0x5), ret(-1)
[00009924] [c0] sprd_chg: sprdchg_bq2560x_init
[00009924] [c0] pmic efuse wait 4
[00009928] [c0] pmic efuse wait 2
[00009932] [c0] pmic efuse read 18,val=0x6e6a
[00009935] [c0] pmic efuse read bits 288 ++ 16 0x00006e6a
[00009939] 
[00009939] [c0] get pmic efuse block 18, deta: 0x00006e6a
[00009943] [c0] sprd_chg: adc_para from efuse is 0xd081068 0xb2c0e10 
[00010237] [c0] pmic efuse wait 4
[00010241] [c0] pmic efuse wait 2
[00010245] [c0] pmic efuse read 3,val=0x830d
[00010248] [c0] pmic efuse read bits 48 ++ 9 0x0000010d
[00010252] 
[00010252] [c0] sprd_chg: fgu_cal_get 4.2 data data: 0x10d
[00010252] [c0] sprd_chg: fgu_data: 0xb40
[00010252] [c0] sprd_chg: sprdfgu: one point
[00010252] [c0] sprd_chg: 4200mv=2880, 3600mv=0
[00010252] [c0] sprd_chg: fgu_cal.vol_1000mv_adc=686, vol_offset=0
[00010252] [c0] sprd_chg: chg_bq2560x_init
[00010252] [c0] sprd_chg: eica status bat1
[00010255] [c0] sprd_chg: sprdbat_init keep_charge = 0
[00010259] [c0] i2c5, freq=100000
[00011262] [c0] Timed out in wait_for_int: status=214201
[00011262] [c0] I2C_CTL 	= 0x8782107
[00011262] [c0] I2C_ADDR_CFG 	= 0xd6
[00011262] [c0] I2C_COUNT = 0x1
[00011262] [c0] I2C_STATUS = 0x214201
[00011262] [c0] ADDR_DVD0 = 0x33004c
[00011262] [c0] ADDR_DVD1 = 0x0
[00011262] [c0] ADDR_STA0_DVD = 0x68
[00011262] [c0] i2c transfer fail
[00011262] [c0] sprd_chg: bq2560x_read_reg reg(0x0), ret(-1)
[00011266] [c0] i2c5, freq=100000
[00012269] [c0] Timed out in wait_for_int: status=214401
[00012269] [c0] I2C_CTL 	= 0x8682107
[00012269] [c0] I2C_ADDR_CFG 	= 0xd6
[00012269] [c0] I2C_COUNT = 0x2
[00012269] [c0] I2C_STATUS = 0x214401
[00012269] [c0] ADDR_DVD0 = 0x33004c
[00012269] [c0] ADDR_DVD1 = 0x0
[00012269] [c0] ADDR_STA0_DVD = 0x68
[00012269] [c0] i2c transfer fail
[00012269] [c0] sprd_chg: bq2560x_write_reg reg(0x0), ret(-1)
[00012274] [c0] i2c5, freq=100000
[00013277] [c0] Timed out in wait_for_int: status=214201
[00013277] [c0] I2C_CTL 	= 0x8782107
[00013277] [c0] I2C_ADDR_CFG 	= 0xd6
[00013277] [c0] I2C_COUNT = 0x1
[00013277] [c0] I2C_STATUS = 0x214201
[00013277] [c0] ADDR_DVD0 = 0x33004c
[00013277] [c0] ADDR_DVD1 = 0x0
[00013277] [c0] ADDR_STA0_DVD = 0x68
[00013277] [c0] i2c transfer fail
[00013277] [c0] sprd_chg: bq2560x_read_reg reg(0x2), ret(-1)
[00013281] [c0] i2c5, freq=100000
[00014284] [c0] Timed out in wait_for_int: status=214401
[00014284] [c0] I2C_CTL 	= 0x8682107
[00014284] [c0] I2C_ADDR_CFG 	= 0xd6
[00014284] [c0] I2C_COUNT = 0x2
[00014284] [c0] I2C_STATUS = 0x214401
[00014284] [c0] ADDR_DVD0 = 0x33004c
[00014284] [c0] ADDR_DVD1 = 0x0
[00014284] [c0] ADDR_STA0_DVD = 0x68
[00014284] [c0] i2c transfer fail
[00014284] [c0] sprd_chg: bq2560x_write_reg reg(0x2), ret(-1)
[00014288] [c0] sprd_chg: chg_bq2560x_disable_chg
[00014289] [c0] i2c5, freq=100000
[00015291] [c0] Timed out in wait_for_int: status=214201
[00015291] [c0] I2C_CTL 	= 0x8782107
[00015291] [c0] I2C_ADDR_CFG 	= 0xd6
[00015291] [c0] I2C_COUNT = 0x1
[00015291] [c0] I2C_STATUS = 0x214201
[00015291] [c0] ADDR_DVD0 = 0x33004c
[00015291] [c0] ADDR_DVD1 = 0x0
[00015291] [c0] ADDR_STA0_DVD = 0x68
[00015291] [c0] i2c transfer fail
[00015291] [c0] sprd_chg: bq2560x_read_reg reg(0x1), ret(-1)
[00015296] [c0] i2c5, freq=100000
[00016299] [c0] Timed out in wait_for_int: status=214401
[00016299] [c0] I2C_CTL 	= 0x8682107
[00016299] [c0] I2C_ADDR_CFG 	= 0xd6
[00016299] [c0] I2C_COUNT = 0x2
[00016299] [c0] I2C_STATUS = 0x214401
[00016299] [c0] ADDR_DVD0 = 0x33004c
[00016299] [c0] ADDR_DVD1 = 0x0
[00016299] [c0] ADDR_STA0_DVD = 0x68
[00016299] [c0] i2c transfer fail
[00016299] [c0] sprd_chg: bq2560x_write_reg reg(0x1), ret(-1)
[00016303] [c0] sprd_chg: bq2560x_set_power_path val = 0
[00016303] [c0] i2c5, freq=100000
[00017306] [c0] Timed out in wait_for_int: status=214201
[00017306] [c0] I2C_CTL 	= 0x8782107
[00017306] [c0] I2C_ADDR_CFG 	= 0xd6
[00017306] [c0] I2C_COUNT = 0x1
[00017306] [c0] I2C_STATUS = 0x214201
[00017306] [c0] ADDR_DVD0 = 0x33004c
[00017306] [c0] ADDR_DVD1 = 0x0
[00017306] [c0] ADDR_STA0_DVD = 0x68
[00017306] [c0] i2c transfer fail
[00017306] [c0] sprd_chg: bq2560x_read_reg reg(0x0), ret(-1)
[00017310] [c0] i2c5, freq=100000
[00018313] [c0] Timed out in wait_for_int: status=214401
[00018313] [c0] I2C_CTL 	= 0x8682107
[00018313] [c0] I2C_ADDR_CFG 	= 0xd6
[00018313] [c0] I2C_COUNT = 0x2
[00018313] [c0] I2C_STATUS = 0x214401
[00018313] [c0] ADDR_DVD0 = 0x33004c
[00018313] [c0] ADDR_DVD1 = 0x0
[00018313] [c0] ADDR_STA0_DVD = 0x68
[00018313] [c0] i2c transfer fail
[00018313] [c0] sprd_chg: bq2560x_write_reg reg(0x0), ret(-1)
[00018318] [c0] i2c5, freq=100000
[00019321] [c0] Timed out in wait_for_int: status=214201
[00019321] [c0] I2C_CTL 	= 0x8782107
[00019321] [c0] I2C_ADDR_CFG 	= 0xd6
[00019321] [c0] I2C_COUNT = 0x1
[00019321] [c0] I2C_STATUS = 0x214201
[00019321] [c0] ADDR_DVD0 = 0x33004c
[00019321] [c0] ADDR_DVD1 = 0x0
[00019321] [c0] ADDR_STA0_DVD = 0x68
[00019321] [c0] i2c transfer fail
[00019321] [c0] sprd_chg: bq2560x_read_reg reg(0x5), ret(-1)
[00019325] [c0] i2c5, freq=100000
[00020328] [c0] Timed out in wait_for_int: status=214401
[00020328] [c0] I2C_CTL 	= 0x8682107
[00020328] [c0] I2C_ADDR_CFG 	= 0xd6
[00020328] [c0] I2C_COUNT = 0x2
[00020328] [c0] I2C_STATUS = 0x214401
[00020328] [c0] ADDR_DVD0 = 0x33004c
[00020328] [c0] ADDR_DVD1 = 0x0
[00020328] [c0] ADDR_STA0_DVD = 0x68
[00020328] [c0] i2c transfer fail
[00020328] [c0] sprd_chg: bq2560x_write_reg reg(0x5), ret(-1)
[00020332] [c0] CHG init OK!
[00020332] [c0] initializing apps
[00020334] [c0] abc offset: 2048, size: 32
[00020334] [c0] ANDROID: Loaded ABC control from misc, size: 32
[00020334] [c0] ANDROID: bootable slot 0 priority: 15, tries_remaining: 7, verity_corrupted: 0, successful_boot: 1
[00020343] [c0] ANDROID: unbootable slot 1 tries_remaining: 0, verity_corrupted: 0
[00020344] [c0] ANDROID: Booting slot_a
[00020349] [c0] power_button_pressed status 1
[00020350] [c0] get enter_download flag :
[00020352] [c0] ==== in  [get_mode_from_chipram_env] 
[00020352] [c0] get boot mode in boot func array[0]
[00020352] [c0] enter boot mode g_mode_str[3]:DOWNLOAD_MODE
[00020357] [c0] download mode!
[00020358] [c0] Watch Dog Trace: WDG_TimerStop
[00020362] [c0] do_download:enter
[00020362] [c0] abc offset: 2048, size: 32
[00020362] [c0] ANDROID: Loaded ABC control from misc, size: 32
[00020362] [c0] ANDROID: bootable slot 0 priority: 15, tries_remaining: 7, verity_corrupted: 0, successful_boot: 1
[00020371] [c0] ANDROID: unbootable slot 1 tries_remaining: 0, verity_corrupted: 0
[00020371] [c0] ANDROID: Booting slot_a
[00020516] [c0] now time sec 0
[00020518] [c0] now alarm sec 0
[00020520] [c0] download buffer base 0xc0000000, size 40000000
[00020520] alter buffer1 base 0x92000000, size 200000
[00020520] alter buffer2 base 0x92200000, size 200000
[00020520] [c0] [do_download] pre init is ok
[00020520] [c0] [do_download] register cmd process function is ok
[00020520] [c0] read timestamp magic(0) incorrect.
[00020524] [c0] dl_cmd_handler:enter
[00020546] [c0] packet->body.size:0x4c, image size:0x100000
[00020546] [c0] partition_name=l_fixnv1_a,size=0x100000
[00020546] [c0] partition l_fixnv1_a image type is 0,partitionpurpose:1
[00020546] [c0] get partition slot: l_fixnv1_b
[00020547] [c0] fixnv download status:PAC_WITH_SLOT_AB | DEVICE_WITH_SLOT_AB
[00020547] [c0] repair nv img with partition : l_fixnv1_a
[00020560] [c0] fdl_check_crc  calcout = 0x1a56,org = 0x1a56
[00020560] [c0] fdl_check_crc  calcout = 0x1a56,org = 0x1a56,len=0x0,chkflag=0x0
[00020560] [c0] read origin nv image success and crc correct
[00020560] [c0] partition_name is l_fixnv1_a
[00020574] [c0] fdl_check_crc  calcout = 0x1a56,org = 0x1a56
[00020574] [c0] fdl_check_crc  calcout = 0x1a56,org = 0x1a56,len=0x0,chkflag=0x0
[00020574] [c0] read backup nv image success and crc correct
[00020574] [c0] both org and bak nv partition are ok
[00020574] [c0] partition_name is l_fixnv1_a, ret = 1
[00020574] [c0] operate result =1,send ack
