============func=load_pt_from_fixed_addr===scan pmt from 700000=====
find no pt or mpt
============func=load_exist_part_tab===scan pmt from 420400=====
find h-pt at D00000
left 1024 j=254
find pt at D00000
next pt 0
64bit parse PMT
find pt
[ROM_INFO] 'v2','0×2700000','0×20000','0×3380000','0x2C00'
[SEC_K] SML KEY AC = 0
[SEC_K] SBC_PUBK Found
[SEC] AES Legacy : 0
[SEC] SECCFG AC : 1
[SEC] read '0×2700000'
0×0,0×0,0×0,0×0,0×0,0×0,0×0,0×0,
[LIB] SecLib.a '20121226-155014'
[LIB] CFG read size '0×4000' '0×1860'
[LIB] Name =
[LIB] Config = 0×22, 0×22
0×31,0×41,0×35,0×35
[platform_vusb_on] PASS
pl pmic Standard USB Host
pl pmic for USB
[0x24]=0xF
[0x26]=0×80
[PLFM] USB cable in
[0xE]=0×1
[0x540]=0xA0
Battery exist
[0xE]=0×1
[0x540]=0xA0
[TOOL] USB enum timeout (Yes), handshake timeout(Yes)
[USBD] USB Full Speed
[TOOL] Enumeration(Start)
[USBD] USB High Speed
[USBD] USB High Speed
[TOOL] Enumeration(End): OK 386ms
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> cannot detect tools!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh
[PART] size : 220136
[PART] magic: 58881688h
[PART] load “UBOOT” from 0x0000000002D20200 (dev) to 0x81E00000 (mem) [SUCCESS]
[PART] load speed: 15355KB/s, 220136 bytes, 14ms
[0xE]=0×1
[0x540]=0xA0
Battery exist
[0xE]=0×1
[0x540]=0xA0
[SECRO] Don't read
[AUTHEN] rsa.N length = 1024 bytes
[AUTHEN] rsa.E length = 20 bytes
[LIB] NS-CHIP
[LIB] Don't check
Device APC domain init setup:
0:dram_rank_size:40000000
1:dram_rank_size:40000000
[PLFM] boot reason: 1
[PLFM] boot mode: 0
[PLFM] META COM0: 0
[PLFM] <0x800A0008>: 0×0
[PLFM] boot time: 5211ms
[BLDR] jump to 0x81E00000
[BLDR] <0x81E00000>=0xEA000007
[BLDR] <0x81E00004>=0xEA005997
[PROFILE] ——- i2c init takes 0 ms ——–
mtk_wdt_mode LK config mode value=71
mtk_wdt_mode_config LK mode value=30, tmp:22000030
UB wdt init
mtk_wdt_mode LK config mode value=30
mtk_wdt_mode_config LK mode value=79, tmp:22000079
[LEDS]LK: leds_init: mt65xx_backlight_off
[LEDS]LK: mt65xx_backlight_off
[LEDS]LK: lcd-backlight level is 0
[PROFILE] ——- led init takes 1 ms ——–
[LEDS]LK: isink_init: turn on PMIC6320 isink
DISP/disp common log enabled
DISP/lcd log enabled
DISP_Init, 615
DISP/DISP_Init, 619
DISP/DISP_Init, 624
DISP/DISP_Init, 630
DISP/DISP_Init, 653
[DISP] – uboot – DSI_PowerOn. 0x 0,0x 0,0x 0
DISP/[DISP] – kernel – DSI_PHY_TIMCONFIG, Cycle Time = 9(ns), Unit Interval = 2(ns). div1 = 1, div2 = 1, fbk_div = 15, lane# = 4
DISP/[DISP] – kernel – DSI_PHY_TIMCONFIG, HS_TRAIL = 21, HS_ZERO = 17, HS_PRPR = 8, LPX = 8, TA_GET = 40, TA_SURE = 12, TA_GO = 32, CLK_TRAIL = 22, CLK_ZERO = 37, CLK_HS_PRPR = 8
DISP/[dsi_drv.c] LK config VDO Timing: 1464
DISP/[DISP] kernel – video timing, mode = 3
DISP/[DISP] kernel – VSA : 2 0(us)
DISP/[DISP] kernel – VBP : 3 0(us)
DISP/[DISP] kernel – VFP : 20 0(us)
DISP/[DISP] kernel – VACT: 1920
[DDP]disp_path_config(), srcModule=2, addr=0×0, inFormat=0,
pitch=2160, bgROI(0,0,1080,1920), bgColor=0, outFormat=0, dstModule=18, dstAddr=0×0,
RDMA: w=1080, h=1920, pitch=3240, mode=0
[DDP] disp_bls_config : gBLSMutexID = 3
DISP/DISP_Init, 658
DISP/DISP_Init, 673
[PROFILE] ——- disp init takes 1145 ms ——–
[LK_pmic6329_init] Start……………….
[LK_PMIC_INIT] PMIC CID=0×2020
[LK_PMIC_INIT] Turn Off chrind
[LK_PMIC_INIT_SETTING_V1] PMIC Chip = 2020
[LK_PMIC_INIT_SETTING_V1] 20121220 (>=2)
[LK_PMIC_INIT_SETTING_V1] Done
[LK_PMIC_INIT_SETTING_V1]
[LK_PMIC_CUSTOM_SETTING_V1] Done
[PROFILE] ——- pmic6329_init takes 5 ms ——–
[PROFILE] ——- platform_early_init takes 1358 ms ——–
[mmc_legacy_init]: start
[mmc_legacy_init]: start mmc_init_host
[msdc_init]: start
[SD0] Bus Width: 1
[SD0] SET_CLK(260kHz): SCLK(259kHz) MODE(0) DDR(0) DIV(193) DS(0) RS(0)
[msdc_init]: finish succesfully
[mmc_legacy_init]: start mmc_init_card
[mmc_init_card]: start
[SD0] Switch to High-Speed mode!
[SD0] SET_CLK(260kHz): SCLK(259kHz) MODE(2) DDR(1) DIV(96) DS(0) RS(0)
[SD0] Bus Width: 8
[SD0] Size: 29820 MB, Max.Speed: 52000 kHz, blklen(512), nblks(61071360), ro(0)
[SD0] Initialized
[SD0] SET_CLK(52000kHz): SCLK(50000kHz) MODE(2) DDR(1) DIV(0) DS(0) RS(0)
[mmc_init_card]: finish successfully
addr_trans_init
addr_trans_init done
[mt_part_register_device]
[mt_part_register_device]malloc 1024 : 81e55508
mt6577_part_init_pmt
============func=load_pt_from_fixed_addr===scan pmt from 700000=====
find no pt or mpt
============func=load_exist_part_tab===scan pmt from 420400=====
find h-pt at d00000
left 1024 j=6
find pt at d00000
next pt 0
64bit parse PMT, size pt = 88
Find pt
[SD0] boot device found
[PROFILE] ——- NAND/EMMC init takes 1047 ms ——–
[mt_part_get_partition] MISC
[mt_part_get_partition] 20800
[LK_ENV]ENV SIG Wrong
[LK_ENV]no valid env
[PROFILE] ——- ENV init takes 2 ms ——–
[mt_part_get_partition] LOGO
[mt_part_get_partition] 25800
[mt_part_get_partition] LOGO
[mt_part_get_partition] 25800
=========================================
[LK_BOOT] LOGO magic number : 0×0
[LK_BOOT] LOGO name :
[LK_BOOT] LOGO size : 0
=========================================
[LK_BOOT] LOGO partition magic error
DISP/panel is enabled
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
[wwy] hardware address = feff4000, fb_offset_logo = 3
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
[wwy] enter DSI_RegUpdate
[wwy] DSI_RegUpdate dsi_wait_time = 0
[wwy] DSI_RegUpdate dsi_wait_time = 1
[wwy] DSI_RegUpdate dsi_wait_time = 2
[wwy] DSI_RegUpdate dsi_wait_time = 3
[wwy] DSI_RegUpdate dsi_wait_time = 4
[wwy] DSI_RegUpdate dsi_wait_time = 5
[wwy] DSI_RegUpdate dsi_wait_time = 6
[wwy] DSI_RegUpdate dsi_wait_time = 7
[wwy] DSI_RegUpdate dsi_wait_time = 8
[wwy] DSI_RegUpdate dsi_wait_time = 9
[wwy] DSI_RegUpdate dsi_wait_time = 10
[wwy] DSI_RegUpdate dsi_wait_time = 11
[wwy] DSI_RegUpdate dsi_wait_time = 12
[wwy] DSI_RegUpdate dsi_wait_time = 13
[wwy] DSI_RegUpdate dsi_wait_time = 14
[wwy] DSI_RegUpdate dsi_wait_time = 15
[wwy] DSI_RegUpdate dsi_wait_time = 16
[wwy] DSI_RegUpdate dsi_wait_time = 17
[wwy] DSI_RegUpdate dsi_wait_time = 18
[wwy] DSI_RegUpdate dsi_wait_time = 19
[wwy] DSI_RegUpdate dsi_wait_time = 20
[wwy] end DSI_RegUpdate
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
[PROFILE] ——- load_logo takes 1096 ms ——–
kpd read addr: 0×0502: data:0x41ec
kpd register for pmic set!
[PROFILE] ——- backlight takes 1 ms ——–
[FACTORY] Check factory boot
[FACTORY] Wait 50ms for special keys
detecting pmic just reset
[RECOVERY] Check recovery boot
[RECOVERY] Wait 50ms for special keys
detecting pmic just reset
[mboot_recovery_load_misc]: size is 6144
[mboot_recovery_load_misc]: misc_addr is 0x81e59920
[mt_part_get_partition] MISC
[mt_part_get_partition] 20800
[LK_BOOT] Load 'MISC' partition to 0x81E59920 (6144 bytes in 1 ms)
[pmic_detect_powerkey] Release
WDT get boot reason is 1 from pre-loader
< Kernel Power Off Charging Detection Ok>
[PROFILE] ——- boot mode select takes 104 ms ——–
[mt_part_get_partition] SECURE
[mt_part_get_partition] 16800
[mt_part_get_partition] SECSTATIC
[mt_part_get_partition] 1f000
[SEC_CFG] seccfg magic is incorrect
[SEC_INIT] sec_func_init — fail to search seccfg
[BATTERY] pchr_turn_off_charging !
[AUXADC] u4Sample_times=1, ret_data=900, u4channel[0]=900.
[AUXADC] adc_result_temp=900, adc_result=4218, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=839, u4channel[0]=839.
[AUXADC] adc_result_temp=839, adc_result=3932, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=839, u4channel[0]=839.
[AUXADC] adc_result_temp=839, adc_result=3932, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=839, u4channel[0]=839.
[AUXADC] adc_result_temp=839, adc_result=3932, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=840, u4channel[0]=840.
[AUXADC] adc_result_temp=840, adc_result=3937, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=838, u4channel[0]=838.
[AUXADC] adc_result_temp=838, adc_result=3928, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=838, u4channel[0]=838.
[AUXADC] adc_result_temp=838, adc_result=3928, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=838, u4channel[0]=838.
[AUXADC] adc_result_temp=838, adc_result=3928, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=838, u4channel[0]=838.
[AUXADC] adc_result_temp=838, adc_result=3928, r_val_temp=4.
[AUXADC] u4Sample_times=1, ret_data=838, u4channel[0]=838.
[AUXADC] adc_result_temp=838, adc_result=3928, r_val_temp=4.
[BATTERY] gADC_BAT_SENSE_temp=3928, gADC_I_SENSE_temp=3928
[AUXADC] u4Sample_times=1, ret_data=838, u4channel[0]=838.
[AUXADC] adc_result_temp=838, adc_result=3928, r_val_temp=4.
check VBAT=3928 mV with 3550 mV
[BATTERY] ChargerHwInit
[BATTERY] pchr_turn_on_charging !
[BATTERY] Default CC mode charging : 15
[BATTERY] Reg[0x0]=0x7b, Reg[0x6]=0×0(VBAT_CV_VTH), Reg[0x8]=0xf, Reg[0x1a]=0×10
###### 100 <-> voltage : 4189 ######
[BATTERY] check_point_sync_leds battery_level = 67
[LEDS]LK: red level is 255
[LEDS]LED PMIC#7:255
[LEDS]LK: green level is 0
[LEDS]LED PMIC#6:0
[LEDS]LK: blue level is 0
[LEDS]LED PMIC#8:0
[PROFILE] ——- battery init takes 29 ms ——–
[kernel_charging_boot] Kernel Power Off Charging with Charger/Usb
DISP/panel is enabled
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
show_logo, in_addr=0x0f213014, fb_addr=0xfe400000, logolen=0, ticks=9431
ticks=9493
[wwy] hardware address = fe400000, fb_offset_logo = 0
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
[wwy] enter DSI_RegUpdate
[wwy] DSI_RegUpdate dsi_wait_time = 0
[wwy] end DSI_RegUpdate
[LEDS]LK: lcd-backlight level is 110
[PROFILE] ——- show logo takes 356 ms ——–
[LEDS]LK: mt65xx_backlight_on
[LEDS]LK: lcd-backlight level is 255
[PROFILE] ——- sw_env takes 4 ms ——–
[PROFILE] ——- platform_init takes 3003 ms ——–
[mt_part_get_partition] SECURE
[mt_part_get_partition] 16800
[mt_part_get_partition] SECSTATIC
[mt_part_get_partition] 1f000
[SEC_CFG] seccfg magic is incorrect
[SEC_INIT] sec_func_init — fail to search seccfg
[LIB] NS-CHIP
[LIB] Don't check
[mt_part_get_partition] BOOTIMG
[mt_part_get_partition] 16c00
[mt_part_get_partition] BOOTIMG
[mt_part_get_partition] 16c00
part page addr is 0xd
============================================================
[LK_BOOT] Android Partition Name : BOOTIMG
[LK_BOOT] Android Boot IMG Hdr – Magic : ANDROID
[LK_BOOT] Android Boot IMG Hdr – Kernel Size : 0x58f988
[LK_BOOT] Android Boot IMG Hdr – Rootfs Size : 0x10837e
[LK_BOOT] Android Boot IMG Hdr – Page Size : 0×800
============================================================
> page count of kernel image = 2848
> kernel mem offset = 0×80008000
> rootfs mem offset = 0×80598000
> boot image size = 0×699800
[mt_part_get_partition] BOOTIMG
[mt_part_get_partition] 16c00
read the data of BOOTIMG (size = 0×699800)
> from – 0x0000000002d80800 (skip boot img hdr)
> to – 0x80007e00 (starts with kernel img hdr)
=========================================
[LK_BOOT] KERNEL magic number : 0×58881688
[LK_BOOT] KERNEL name : KERNEL
[LK_BOOT] KERNEL size : 0x58f788
=========================================
=========================================
[LK_BOOT] ROOTFS magic number : 0×58881688
[LK_BOOT] ROOTFS name : ROOTFS
[LK_BOOT] ROOTFS size : 0x10817e
=========================================
[PROFILE] ——- load boot.img takes 125 ms ——–
[LK]DISP_GetPages: disp_fb_pages=3!
DISP/[Func]LCD_ConfigOVL
lcd one 19606
[wwy] mt_disp_adjusting_hardware_addr fb_offset_logo = 3
SSSS:0xd0060241
SSSS:0×0
SSSS:0×0
SSSS:0×30
[PROFILE] ——- boot_time takes 4998 ms ——–
[LK_ENV]get_env hibboot
[LK_ENV]get_env resume
booting linux @ 0×80008000, ramdisk @ 0×84000000 (1081726)
[LEDS]LK: leds_deinit: LEDS off
[LEDS]LK: red level is 0
[LEDS]LED PMIC#7:0
[kernel_charging_boot] Kernel Power Off Charging with Charger/Usb
[kernel_charging_boot] Kernel Power Off Charging with Charger/Usb
[pmic_detect_powerkey] Release
DRAM Rank :2
DRAM Rank[0] Size = 0×40000000
DRAM Rank[1] Size = 0×40000000
cmdline: console=tty0 console=ttyMT0,921600n1 root=/dev/ram lcm=1-nt35596_fhd_dsi_vdo_truly fps=5100 lcm_type=1 pl_t=5211 lk_t=4998 printk.disable_uart=1 boot_reason=1
lk boot time = 4998 ms
lk boot mode = 8
lk finished –> jump to linux kernel
Uncompressing Linux… done, booting the kernel.
WELCOME TO
_ __ _
/ | / /__ ______________ ____ ___ ____ _____ ________ ____( )_____
/ |/ / _ / ___/ ___/ __ / __ `__ / __ `/ __ / ___/ _ / ___/// ___/
/ /| / __/ /__/ / / /_/ / / / / / / /_/ / / / / /__/ __/ / (__ )
/_/ |_/___/___/_/ ____/_/ /_/ /_/__,_/_/ /_/___/___/_/ /____/
__ ___ ___ ____ __
/ |/ /__ ____/ (_)___ _/ __ ___ / /_
/ /|_/ / _ / __ / / __ `/ / / / _ / __
/ / / / __/ /_/ / / /_/ / /_/ / __/ /_/ /
/_/ /_/___/__,_/_/__,_/_____/___/_.___/
Starting up: /sbin/init
Loading busybox applets…[DONE]
Mounting kernel filesystems…[DONE]
Scanning for devices…mdev: can't create '': No such file or directory
[DONE]
Running platform setup script[DONE]
Failsafe: Waiting for 10 seconds for an emergency login
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
Welcome to Debian GNU/Linux 9 (stretch)!
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice System Slice.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Reached target Slices.
[ OK ] Created slice system-getty.slice.
Mounting Debug File System…
[ OK ] Created slice system-serialx2dgetty.slice.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Reached target Swap.
[ OK ] Listening on Journal Socket.
Starting Remount Root and Kernel File Systems…
[ OK ] Listening on Journal Audit Socket.
Starting Load Kernel Modules…
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Reached target Sockets.
Starting Journal Service…
Starting Create Static Device Nodes in /dev…
[ OK ] Mounted Debug File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Journal Service.
Starting udev Kernel Device Manager…
Starting Apply Kernel Variables…
Mounting FUSE Control File System…
Starting udev Coldplug all Devices…
Starting Load/Save Random Seed…
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Flush Journal to Persistent Storage…
[ OK ] Mounted FUSE Control File System.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories…
Starting Raise network interfaces…
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization…
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Found device /dev/ttyGS0.
[ OK ] Found device /dev/ttyMT0.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Basic System.
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
Starting Permit User Sessions…
[ OK ] Reached target Network is Online.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Reached target Timers.
Starting OpenBSD Secure Shell server…
[ OK ] Started Permit User Sessions.
[ OK ] Started Serial Getty on ttyGS0.
[ OK ] Started Serial Getty on ttyMT0.
[ OK ] Reached target Login Prompts.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.
Debian GNU/Linux 9 eldershade ttyMT0
eldershade login: root
Password:
Linux eldershade 3.4.67 #1 SMP PREEMPT Sun Jul 16 20:13:25 MSK 2017 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@eldershade:~#