Skip to content

Instantly share code, notes, and snippets.

@ungeskriptet
Created November 13, 2022 18:27
Show Gist options
  • Save ungeskriptet/04d9180f4f01f58b2d3c49fea07771e0 to your computer and use it in GitHub Desktop.
Save ungeskriptet/04d9180f4f01f58b2d3c49fea07771e0 to your computer and use it in GitHub Desktop.
Amazon Fire TV Stick 4K UART boot log
[pmic6393_init] Preloader Start..................
[pmic6393_init] Set vproc to 1.1V..................
[pmic6393_init] Done...................
[PLFM] Init PMIC: OK(0)
[PLFM] chip_ver[0]
[BLDR] Build Time: 20191106-000631
==== Dump RGU Reg ========
RGU MODE: 4D
RGU LENGTH: FFE0
RGU STA: 0
RGU INTERVAL: FFF
RGU SWSYSRST: 0
==== 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
mtk_wdt_mode_config mode value=5D, tmp:2200005D
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
Enter mtk_kpd_gpio_set!
after set KP enable: KP_SEL = 0x1C70 !
[EMI] ComboMCP not ready, using default setting
XRTR2R > 12, Max value is 12
XRTR2R > 12, Max value is 12
[Calibration Summary] Freqency 1600
CH 0, Rank 0
All Pass.
CH 1, Rank 0
All Pass.
HW channel(0) Rank(0), TA2 pass, pass_cnt:1, err_cnt:0
HW channel(1) Rank(0), TA2 pass, pass_cnt:2, err_cnt:0
HW channel(0) Rank(0), TA2 pass, pass_cnt:3, err_cnt:0
HW channel(1) Rank(0), TA2 pass, pass_cnt:4, err_cnt:0
[MEM] complex R/W mem test pass
[Dram_Buffer] dram size: 0x60000000
[Dram_Buffer] dram_buf_t size: 0x17B540
[Dram_Buffer] part_hdr_t size: 0x200
[Dram_Buffer] g_dram_buf start addr: 0x42000000
[Dram_Buffer] g_dram_buf->msdc_gpd_pool start addr: 0x4217B3C0
[Dram_Buffer] g_dram_buf->msdc_bd_pool start addr: 0x4217B480
mt_get_cpu_freq(): 1690000 KHz
mt_get_bus_freq(): 273000 KHz
mt_get_mem_freq(): 231257 KHz
sram(0x0) sig mismatch
RAM_CONSOLE start: 0x44400000, size: 0x10000
RAM_CONSOLE wdt status (0x0)=0x0
[mmc_init]: msdc0 start mmc_init_card()
[PLFM] Init Boot Device: OK(0)
orig_dram_info[0] start: 0x0000000040000000, size: 0x0000000060000000
total_dram_size: 0x0000000060000000, max_dram_size: 0xFFFFFFFFFFFFFFFF
[PART] blksz: 512B
[PART] [0x0000000000080000-0x000000000017FFFF] "lk" (2048 blocks)
[PART] [0x0000000000180000-0x000000000067FFFF] "tee1" (10240 blocks)
[PART] [0x0000000000680000-0x0000000000B7FFFF] "tee2" (10240 blocks)
[PART] [0x0000000000B80000-0x0000000001B7FFFF] "boot" (32768 blocks)
[PART] [0x0000000001B80000-0x0000000002B7FFFF] "recovery" (32768 blocks)
[PART] [0x0000000002B80000-0x0000000002EFFFFF] "logo" (7168 blocks)
[PART] [0x0000000002F00000-0x0000000002FFFFFF] "kb" (2048 blocks)
[PART] [0x0000000003000000-0x00000000030FFFFF] "dkb" (2048 blocks)
[PART] [0x0000000003100000-0x00000000031FFFFF] "MISC" (2048 blocks)
[PART] [0x0000000003200000-0x000000000C7FFFFF] "vendor" (307200 blocks)
[PART] [0x000000000C800000-0x00000000513FFFFF] "system" (2252800 blocks)
[PART] [0x0000000051400000-0x00000000713FFFFF] "cache" (1048576 blocks)
[PART] [0x0000000071400000-0x00000001D21CBDFF] "userdata" (11562591 blocks)
[LIB] HW ENC
[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 00010051 00200000 00000101 00000101 0021E4EF
[SEC] DBGPORT (1 1)
[SEC] DBGPORT 00010051 00200000 00011111 00011111 0021E4EF
[SEC] seccfg part not found
[BLDR] Build Time: 20191106-000631
[BLDR] Tool connection is unlocked
[PLFM] USB_ID pin: 1
[PLFM] Final extened connector type: STANDARD_HOST since line state: 0x0
[PLFM] USB cable in
[PLFM] USB cable IN since boot reason: 0
[TOOL] USB enum timeout (Yes), handshake timeout(Yes)
[TOOL] Enumeration(Start)
HS is detected
[TOOL] Enumeration(End): OK 581ms
[TOOL] : usb listen timeout
[TOOL] <USB> cannot detect tools!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
Device APC domain init setup:
Domain Setup (0x0)
Domain Setup (0x0)
Device APC domain after setup:
Domain Setup (0x0)
Domain Setup (0x0)
mmc_rpmb_get_wc, mmc_set_part_config done!!
mmc_rpmb_send_command -> req_type=0x1, type=0x2, blks=0x1
mmc_rpmb_send_command -> req_type=0x2, type=0x2, blks=0x1
mmc_rpmb_get_wc, rpmb_req.result=0
[RPMB] RPMB Provisioned
mmc_rpmb_send_command -> req_type=0x1, type=0x4, blks=0x1
mmc_rpmb_send_command -> req_type=0x2, type=0x4, blks=0x1
[RPMB] Valid anti-rollback block exists
(B)tz_dapc_sec_init is 0x0
(E)tz_dapc_sec_init is 0x1
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh mode : -1
[PART] size : 313008
[PART] magic: 58881688h
[PART] check_part_overlapped done
[PART] Verifying LK, total size (including signature) = 313008
[GCPU]: turn on hf_fgcpu_ck
[VERIFY_LK] Succeed to pass the LK verification, version of LK is 0x1.
[PART] LK authenticated with prod key
[PART] load "lk" from 0x0000000000080200 (dev) to 0x41E00000 (mem) [SUCCESS]
[PART] load speed: 3553KB/s, 313008 bytes, 86ms
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : atf
[PART] addr : FFFFFFFFh mode : 0
[PART] size : 75264
[PART] magic: 58881688h
[PART] check_part_overlapped done
[PART] load "tee1" from 0x0000000000180200 (dev) to 0x43001000 (mem) [SUCCESS]
[PART] load speed: 18375KB/s, 75264 bytes, 4ms
[GCPU]: turn on hf_fgcpu_ck
[BLDR_MTEE] sha256 takes 0 (ms) for 74688 bytes
[BLDR_MTEE] rsa2048 takes 73 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 2 (ms)
[GCPU]: use RTL key
[BLDR_MTEE] aes128cbc takes 1 (ms) for 74688
[PART] partition hdr (1)
[PART] Image with part header
[PART] name : tee
[PART] addr : E200000h mode : 0
[PART] size : 3643392
[PART] magic: 58881688h
warning: size is not 2MB aligned
mblock[0].start: 0x0000000040000000, sz: 0x0000000060000000, limit: 0x0000000100000000, max_addr: 0x0000000000000000, max_rank: 0, target: -1, mblock[].rank: 0
mblock_reserve dbg[0]: 1, 1, 1, 1
mblock_reserve: 0000000091DC0000 - 00000000A0000000 from mblock 0
[PART] check_part_overlapped done
[PART] load "tee1" from 0x0000000000192A00 (dev) to 0x91E00000 (mem) [SUCCESS]
[PART] load speed: 44474KB/s, 3643392 bytes, 80ms
[GCPU]: turn on hf_fgcpu_ck
[BLDR_MTEE] sha256 takes 18 (ms) for 3642816 bytes
[BLDR_MTEE] rsa2048 takes 74 (ms)
[BLDR_MTEE] verify pkcs#1 pss takes 2 (ms)
[GCPU]: use RTL key
[BLDR_MTEE] aes128cbc takes 22 (ms) for 3642816
[TZ_INIT] TEE start entry : 0x91E00000
[TZ_INIT] MEID : 0x77, 0x1A, 0x71, 0xE3
[TZ_INIT] MEID : 0x9C, 0x38, 0x37, 0x9
[TZ_INIT] MEID : 0x2A, 0x2C, 0x83, 0x63
[TZ_INIT] MEID : 0xA1, 0x60, 0x31, 0x53
[BLDR] bldr load tee part ret=0x0, addr=0x43001000
[BLDR] part_load_raw_part ret=0x0
[PART] start_blk 89088 logo_blk 7168 blksz 512 ret 0 res 0xE4 0x1 0x64 0x25 id 8
[BLDR] Build Time: 20191106-000631 read hdmi_res 0x256401E4, addr=0x42048820
[BLDR] part_load_images ret=0x0
[ANTI-ROLLBACK] Processing anti-rollback data
mmc_rpmb_send_command -> req_type=0x1, type=0x4, blks=0x1
mmc_rpmb_send_command -> req_type=0x2, type=0x4, blks=0x1
[ANTI-ROLLBACK] PL: 2 TEE: 102 LK: 1
[ANTI-ROLLBACK] Checksum validated
[ANTI-ROLLBACK] All checks passed
platform_set_boot_args, rank[0].size = 0x0000000051DC0000
[PLFM] NON SECURE SRAM ADDR: 0x12C000
[PLFM] NON SECURE SRAM SIZE: 0x4000
[PLFM] PL_VERSION = 0.1.00
[PLFM] USB start to detect Y-cable
[PLFM] USB Y-cable detected status: FALSE
[PLFM] usb_y_cable = FALSE
[PLFM] md_type[0] = 0
[PLFM] md_type[1] = 0
[PLFM] boot reason: 0
[PLFM] boot mode: 0
[PLFM] META COM0: 0
[PLFM] <0x4205E230>: 0x0
[PLFM] boot time: 4747ms
[PLFM] DDR reserve mode: enable = 0, success = 0
[PLFM] dram_buf_size: 0x17B540
[PLFM] smc_boot_opt: 0x0
[PLFM] lk_boot_opt: 0x6
[PLFM] kernel_boot_opt: 0x6
[PLFM] tee_reserved_mem: 0x0000000091DC0000, 0x000000000E240000
[TZ_INIT] hwuid[0] : 0xE3711A77
[TZ_INIT] hwuid[1] : 0x937389C
[TZ_INIT] hwuid[2] : 0x63832C2A
[TZ_INIT] hwuid[3] : 0x533160A1
[TZ_INIT] HRID[0] : 0x0
[TZ_INIT] HRID[1] : 0x0
[TZ_INIT] atf_log_port : 0x11003000
[TZ_INIT] atf_log_baudrate : 0xE1000
[TZ_INIT] atf_irq_num : 281
[TZ_INIT] ATF log buffer start : 0x91DC0000
[TZ_INIT] ATF log buffer size : 0x40000
[TZ_INIT] ATF aee buffer start : 0x91DFC000
[TZ_INIT] ATF aee buffer size : 0x4000
[BLDR] Others, jump to ATF
[BLDR] jump to 0x41E00000
[BLDR] <0x41E00000>=0xEA000007
[BLDR] <0x41E00004>=0xEA008CB6
[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 0x9B680B69
[TZ_EMI_MPU] MPU [0x91E00000-0x9FFFFFFF]
[TZ_INIT] set secure memory protection : 0x91E00000, 0x9FFFFFFF (OPT)
[TZ_EMI_MPU] MPU [0x43000000-0x4302FFFF]
[TZ_INIT] set secure memory protection : 0x43000000, 0x4302FFFF
[TZ_INIT] Jump to ATF, then 0x91E00000 and 0x41E00000
[ATF](0)[5.159476]INFO: Secondary bootloader is AArch32
[ATF](0)[5.160116]INFO: mmap atf buffer : 0x91dc0000, 0x40000
[ATF](0)[5.160936]INFO: mmap atf buffer (force 2MB aligned): 0x91c00000, 0x200000
[ATF](0)[5.163502]INFO: abnormal_boot: 0x0, cflag: 0x0
[ATF](0)[5.168924]INFO: mt_log_setup
[ATF](0)[5.169346]INFO: -mt_log_buf_start: 0x91dc0000
[ATF](0)[5.169981]INFO: -mt_log_buf_size: 0x40000
[ATF](0)[5.170574]INFO: -buf_addr: 0x91dc0100
[ATF](0)[5.171123]INFO: -buf_size: 0x17f00
[ATF](0)[5.171641]INFO: -write_pos: 0x91dc0100
[ATF](0)[5.172200]INFO: -read_pos: 0x91dc0100
[ATF](0)[5.172750]INFO: -atf_buf_lock: 0x0
[ATF](0)[5.173266]INFO: -log_buf_end : 0x91dd7fff
[ATF](0)[5.173858]INFO: -ATF_EXCEPT_BUF_SIZE_PER_CPU : 0x1000
[ATF](0)[5.174580]INFO: -ATF_EXCEPT_BUF_SIZE : 0x4000
[ATF](0)[5.175215]INFO: -PLATFORM_CORE_COUNT : 0x4
[ATF](0)[5.175818]INFO: -atf_except_write_pos_per_cpu[0]: 0x91df8000
[ATF](0)[5.176615]INFO: -atf_except_write_pos_per_cpu[1]: 0x91df9000
[ATF](0)[5.177412]INFO: -atf_except_write_pos_per_cpu[2]: 0x91dfa000
[ATF](0)[5.178209]INFO: -atf_except_write_pos_per_cpu[3]: 0x91dfb000
[ATF](0)[5.179007]INFO: -crash_flag : 0x41544641
[ATF](0)[5.179588]INFO: -crash_log_addr : 0x91dd8000
[ATF](0)[5.180213]INFO: -crash_log_size : 0x20000
[ATF](0)[5.180819]INFO: ATF log service is registered (0x91dc0000, aee:0x91dfc000)
[ATF](0)[5.181744]NOTICE: BL3-1: v1.3(debug):d884cc2
[ATF](0)[5.182336]NOTICE: BL3-1: Built : 06:34:28, Sep 3 2020
[ATF](0)[5.183036]NOTICE: BL31: v1.3(debug):d884cc2
[ATF](0)[5.183618]NOTICE: BL31: Built : 06:34:28, Sep 3 2020
[ATF](0)[5.184309]SPM_POWERON_CONFIG_SET_0x10006000=0x1
[ATF](0)[5.184922]BYPASS_SPMC_0x10006c5c=0x0
[ATF](0)[5.185416][spmc_init]change to SPMC mode !!!
[ATF](0)[5.186015]INFO: [ATF GIC] before gic_distif_init
[ATF](0)[5.186657]INFO: [ATF GIC] before gic_cpuif_init
[ATF](0)[5.187304]INFO: [ATF GIC] before enable_wdt_fiq
[ATF](0)[5.187948]INFO: [ATF GIC] before clear_sec_pol_ctl_en
[ATF](0)[5.188680]INFO: BL31: Initializing runtime services
[ATF](0)[5.189368]INFO: BL31: Initializing BL32
[DAPC] [TEE] dapc_register_ext_handler is called by Type_2B slave(5)
lowmem_mapped_end is 0x1e800000
[MTEE] chunk mem use low mapping,VA=0x11b00000,size=0xcd00000
[ATF](0)[5.192350]INFO: BL31: Preparing for EL3 exit to normal world
[ATF](0)[5.193130]INFO: Entry point address = 0x41e00000
[ATF](0)[5.193787]INFO: SPSR = 0x1d3
[0] kernel_boot_opt=6
[0] 32Bit Kernel
[0] SKIP sw sram repair
[10] platform_init()
[100] [mt_part_register_device]
[100] [partition init]
[100] [GPT_LK]Parsing Primary GPT now...
[110] [GPT_LK][0]name=lk, part_id=8, start_sect=0x400, nr_sects=0x800
[110] [GPT_LK][1]name=tee1, part_id=8, start_sect=0xc00, nr_sects=0x2800
[110] [GPT_LK][2]name=tee2, part_id=8, start_sect=0x3400, nr_sects=0x2800
[110] [GPT_LK][3]name=boot, part_id=8, start_sect=0x5c00, nr_sects=0x8000
[110] [GPT_LK][4]name=recovery, part_id=8, start_sect=0xdc00, nr_sects=0x8000
[110] [GPT_LK][5]name=logo, part_id=8, start_sect=0x15c00, nr_sects=0x1c00
[110] [GPT_LK][6]name=kb, part_id=8, start_sect=0x17800, nr_sects=0x800
[110] [GPT_LK][7]name=dkb, part_id=8, start_sect=0x18000, nr_sects=0x800
[110] [GPT_LK][8]name=MISC, part_id=8, start_sect=0x18800, nr_sects=0x800
[110] [GPT_LK][9]name=vendor, part_id=8, start_sect=0x19000, nr_sects=0x4b000
[110] [GPT_LK][10]name=system, part_id=8, start_sect=0x64000, nr_sects=0x226000
[130] [GPT_LK][11]name=cache, part_id=8, start_sect=0x28a000, nr_sects=0x100000
[130] [GPT_LK][12]name=userdata, part_id=8, start_sect=0x38a000, nr_sects=0xb06e5f
[130] [GPT_LK] EMMC_PART_USER size = 0x1d21d0000
[130] [GPT_LK]Success to find valid GPT.
[130] idme_initialize
[130] life_cycle_platform_init: Support MTK platform with dummypmic
[150] [PART_LK][get_part] MISC
[LK_ENV]ENV SIG Wrong
[LK_ENV]no valid env
[150] [LK] hdmi_info 0x256401e4: values read: g_hdmi_res 0xe4, g_hdmi_colorspace 100, g_hdmi_colordepth 1 hdmi_use_frac_mode 1 force_dolby 2 default dolby 2
[150] [LK] hdmi info 0x256401e4: Setting user specified values: g_hdmi_res 0xe4, g_hdmi_colorspace 100, g_hdmi_colordepth 1 hdmi_use_frac_mode 1 force_dolby 2 default dolby 2
[170] -->>>>>>>>>-hdmi_checkedid start->>>>>>>>>>
[170] -->>>>>>>>>-hdmi_fgreadedid->>>>>>>>>>1
[190] -->>>>>>>>>-hdmi_fgreadedid->>>>>>>>>>1
[190] [LK] ------- get hdmi_res 0x256401e4 from boot --------
[190] vOutputResolution:hd res 0x0 uhd res 0x0, res 0xe4 auto 0x1
[190] vOutputResolution: yuv420Supported=0, maxTMDSRate = 0, max_tmds_clock=0, max_tmds_char_rate = 0
[190] vOutputResolution: 4k@60/50 modes are not supported, 4K hdmi_uhd_res = 0x0
[190] useFracModeIfNeeded: 1080p@60, selected frac mode=32 for mode=13[190] isYuv4kSink: edid4kCaps= 0x0, edidColorimetry=0x0, yuv420Supported=0, maxTMDSRate = 0, max_tmds_clock=0, max_tmds_char_rate = 0
[190] isYuv4kSink: false
[190] [LK] ------- AUTO_COLORSPACE: yuv4kSink: 0 updated g_hdmi_colorspace: 0 --------
[200] findBestMode: edid.ui4_ntsc_resolution 0x0
[200] findBestMode: edid.ui4_pal_resolution 0x0
[200] findBestMode: edid.ui4_sink_hdmi_4k2kvic 0x0
[200] findBestMode: edid.ui2_sink_colorimetry 0x0
[200] findBestMode: edid.ui1_sink_rgb_color_bit 0x0
[200] findBestMode: edid.ui1_sink_ycbcr_color_bit 0x0
[200] findBestMode: edid.ui1_sink_dc420_color_bit 0x0
[200] findBestMode: edid.ui1_sink_support_dynamic_hdr 0x0
[200] findBestMode: edid.ui4_sink_dolbyvision_vsvdb_low_latency_support 0x0
[200] findBestMode: edid.ui2_sink_max_tmds_character_rate 0
[200] findBestMode: edid.ui1_sink_max_tmds_clock 0
[200] findBestMode: maxTMDSRate2 = 0
[200] findBestMode: default: HDMI_RGB:HDMI_NO_DEEP_COLOR
[200] [LK] ------- set hdmi_res 0x20,0x0,0x1 --------
[200] [LK] disp_set_hdmi_resolution, #220 hdmi_res 32
[200] g_force_dolby = 2
[200] ### is_support_dolby = 0x0
[200] ### is_support_dolby_low_latency = 0x0
[220] ### is_support_hdr = 0x0
[220] ### is_support_hdr10_plus = 0x0
[220] [LK][HDMI][HDR] SDR
[220] disp_set_tv_signal is_2160p60_out=0, res_is4K4096=0, res_over4K30Hz=0
[220] disp_set_tv_signal VS10 output format=2
[220] [LK][HDMI][HDR] lkHdrSetData,set type of HDR=0
DISP_GetVRamSize: 25165824 bytes
[220] mblock[0].start: 0x40000000, sz: 0x51dc0000, limit: 0x100000000, max_addr: 0x0, max_rank: 0, target: -1, mblock[].rank: 0
[220] mblock_reserve dbg[0]: 1, 1, 1, 1
[220] mblock_reserve for kernel: 905c0000 - 91dc0000 from mblock 0
[220] FB base = 0x905c0000, FB size = 0x1800000
[220] mt_hdmi_init
[220] boot_mode_addr=0x90db8000, lcdbase=0x905c0000,fb_addr=0x905c0000,fb_size=0x007f8000
[LK] disp_get_hdmi_resolution, #177 hdmi_res 32
[230] _get_resolution: 32
[230] [PMX] func: disp_pmx_init
[230] [PMX]:_pmx_init begin, res: 32
[230] [PMX]:_pmx_init end.
[230] [SDR2HDR_LOG_LEVEL]:start initing sdr2hdr.
[230] [SDR2HDR_LOG_LEVEL]:sdr2hdr register[14002100], and value[b000012].
[230] [SDR2HDR_LOG_LEVEL]:init sdr2hdr done.
[230] [lk logo: mt_disp_fill_rect 291]
[230] [lk logo: init_fb_screen 60]
[230] mt_get_logo_db_addr: 0x901c0000
[230] [lk logo: sync_anim_version 43]
[230] [lk logo: init_fb_screen 106]pinfo[0]=0xffffffff, pinfo[1]=0xbffff7ff, pinfo[2]=0xffffefff
[230] [lk logo: init_fb_screen 108]define ANIMATION_NEW:show new animation with capacity num
[230] fb addr is 0x905c0000
[230] [show_logo_common: fill_rect_with_color_by_32bit 341]
[300] osd head addr is 0x91dbdc00
[LK] disp_get_hdmi_resolution, #177 hdmi_res 32
[310] osd head addr is 0x91dbdc00
[310] fb addr is 0x905c0000
[310] src size (1920 1080), dst res 32, addr 0x91dbdc00
[310] lk_osd_show start
[310] rgn addr:0x91dbdc00,size:0x80
[310] osd_res_screen_start osd_res 32!
[310] dovi_lk_get_osd_shift out_format 2, shift -4
[310] idx=1 h_shift=-4 h_delay=0x80F!
[310] [VDOUT] vsync pulse type=6, h_counter=0x80f, v_counter=0x8c6
0,4380780,438,780000,0 7680 0x905c0000) dst(0 0 1920 1080),cm(14)[310] rgn:e0000000,ff05c000,e40001e0,0
[310] osd sc en=1, src(1920 1080)->dst(1920 1080)
[310] lk_osd_show end
[310] mt_disp_dovi_update start
[310] dovi_lk_init start 2 res 32
[310] dovi_lk_init end ffffffff
[310] dovi_lk_core1_lut_config start
[310] dovi_lk_core1_ctrl_config adr 41e41684
[310] dovi_lk_core1_reg_config start
[310] lut head addr is 0x91dbec00
[320] dovi_lk_core2_lut_sdr_sdr
[320] dovi_lk_core2_lut_config start addr 91dbec00
[320] lut head addr is 0x91dbec00
[320] dovi_lk_core2_ctrl_config start
[320] dovi_lk_core2_reg_config start
[320] dovi_lk_core2_reg_config end 0x0
[320] dovi_lk_core3_ctrl_config width 1920 height 1080 start
[320] dovi_lk_core3_reg_config start out_format 2
[320] dovi_lk_core_mix_config start
[320] dovi_lk_path_config start
[320] dovi_lk_get_osd_shift out_format 2, shift -4
[320] dovi_lk_path_delay_config start i 26
[320] [VDOUT] vsync pulse type=3, h_counter=0x3d, v_counter=0x45
[320] [calefuse] 0x2b45, 0x12cefc2f, 0x12000000, 0x0
[320] set_hdmi_tmds_driver Res = 0x20; colorspace = 0x0; deepcolor = 0x1-------
[320] [HDMi]HDCP_TOP_CTRL = 0x0-------
[320] hdmi_internal_video_lk vformat = 0x20
[320] hdmitx_configsetting Under 3G
[320] [hdmi]bResIndex = 32, bClockRate = 1
[330] [hdmi1]u4Feq = 2, bClockRate = 1
[330] [hdmi1]HDMI20_PLL_CFG_1 11702044 = 0x1e785342
[330] [hdmi1]111HDMI20_PLL_CFG_1 11702044 = 0x1e786342
[330] [hdmi1](FBKDIV[u4Feq][bClockRate - 1]) = 0x50
[330] [hdmi1]HDMI20_PLL_CFG_0 11702040 = 0x280a006e
[330] [hdmi1]111HDMI20_PLL_CFG_0 11702040 = 0x280a006e
[330] [efuseValue] 0x15
[330] [hdmi]<1.65G
[330] [HDMI]vTmdsPresetOn = On
[330] [hdmi]Res = 32, deepcolor = 1
[330] [hdmi]bOver340M = 0
[330] [HDMI][Rest]vHDMIResetGenReg = 32
[330] [hdmi]vHDMIVideoOutput ui1Res=32,bColorSpace=0,ui1ColorSpace=0
[330] [hdmi]Res = 32, deepcolor = 1
[330] [hdmi]bOver340M = 0
[330] [LK][HDMI][HDR] set HDR _bHdrType=0
[330] [LK][HDMI][HDR] lkHalHdrSetData, error type of HDR,0
[330] [LK][HDMI][HDR] SDR
[330] [LK][HDMI][HDR] SDR
[330]
LK DONE!!!!!!!!!!! Waiting in loop
[330] width =1920, height=1080, bpp=4, memsize=8294400, s_mt65xx_gd.gdfIndex=3
[350] mt_get_logo_db_addr: 0x901c0000
[350] [PART_LK][get_part] logo
[350] [PART_LK][get_part] logo
[350] [partition_get_index]find logo logo index 12
[350] [PART_LK][get_part] logo
[350] [PART_LK][get_part] logo
[350] [PART_LK][get_part] logo
[350]
=========================================
[350] [LK_BOOT] logo magic number : 0x58881688
[350] [LK_BOOT] logo name : logo
[350] [LK_BOOT] logo size : 28741
[350] =========================================
[350] read the data of logo
[350] [partition_get_index]find logo logo index 12
[350] [PART_LK][get_part] logo
[350] [PART_LK][get_part] logo
[350] [PART_LK][get_part] logo
[360] [mboot_recovery_load_misc]: size is 6144
[360] [mboot_recovery_load_misc]: misc_addr is 0x41e77e44
[360] [PART_LK][get_part] MISC
[360] [partition_get_index]find MISC MISC index 11
[360] [PART_LK][get_part] MISC
[360] [PART_LK][get_part] MISC
[360] [PART_LK][get_part] MISC
[380] [LK_BOOT] Load '<null>' partition to 0x41E77E44 (6144 bytes in 5 ms)
[380] [lk logo: mt_disp_show_boot_logo 140]
[380] [lk logo: init_fb_screen 60]
[lk logo] fb screen has been init
[380] fb addr is 0x905c0000
[380] tempfb addr is 0x915b0000
[380] [show_animation_common: check_logo_index_valid 71]logonum =2, index =0
[380] show_animation_common, in_addr=0x901c0010, logolen=18421
[380] [decompress_logo decompress_logo 48]in=0x901c0010, out=0x915b0000, inlen=18421, logolen=8355840
[410] [decompress_logo decompress_logo 97]have=8294400
[420] [show_animation_common: fill_animation_logo 124]bits = 32
[420] [show_logo_common: fill_rect_with_content 427]
[420] [show_logo_common: fill_rect_with_content_by_32bit_argb8888 128]
[420] [show_logo_common]dst_addr= 0xff181818, color_addr= 0xff181818, i= 0, j=0
[420] [show_logo_common]dst_addr= 0xff181818, color_addr= 0xff181818, i= 0, j=1919
[500] [show_logo_common]dst_addr= 0xff181818, color_addr= 0xff181818, i= 1079, j=0
[500] [show_logo_common]dst_addr= 0xff181818, color_addr= 0xff181818, i= 1079, j=1919
[500] osd head addr is 0x91dbdc00
[LK] disp_get_hdmi_resolution, #177 hdmi_res 32
[500] osd head addr is 0x91dbdc00
[510] fb addr is 0x905c0000
[510] src size (1920 1080), dst res 32, addr 0x91dbdc00
[510] lk_osd_show start
[510] rgn addr:0x91dbdc00,size:0x80
[510] osd_res_screen_start osd_res 32!
[510] dovi_lk_get_osd_shift out_format 2, shift -4
[510] idx=1 h_shift=-4 h_delay=0x80F!
[510] [VDOUT] vsync pulse type=6, h_counter=0x80f, v_counter=0x8c6
0,4380780,438,780000,0 7680 0x905c0000) dst(0 0 1920 1080),cm(14)[510] rgn:e0000000,ff05c000,e40001e0,0
[510] osd sc en=1, src(1920 1080)->dst(1920 1080)
[510] lk_osd_show end
Thermal mtkts_bts_prepare_table with 7
[thermal_auxadc_get_data(AUX_IN0_NTC)]: ret_temp=2432
Channel = 0
APtery output mV = 890
[510] board_id: 0, bts adjusted pullup R: 10000
Thermal mtk_ts_bts_volt_to_temp: TRes = 9780, BTS_TMP=25
BTS output temperature = 25
[mtkts_bts_get_hw_temp] T_AP, 25000
Thermal mtkts_bts_prepare_table with 7
[thermal_auxadc_get_data(AUX_IN0_NTC)]: ret_temp=2462
Channel = 1
APtery output mV = 901
[530] board_id: 0, bts adjusted pullup R: 10000
Thermal mtk_ts_bts_volt_to_temp: TRes = 10022, BTS_TMP=24
BTS output temperature = 24
[mtkts_bts_get_hw_temp] T_AP, 24000
current temp is 25704
[540] [PART_LK][get_part] boot
[540] [PART_LK][get_part] boot
[540] part page addr is 0xb80000
[540] [partition_get_index]find boot boot index 8
[540] [PART_LK][get_part] boot
[540] [PART_LK][get_part] boot
[540] [PART_LK][get_part] boot
[560]
============================================================
[560] [LK_BOOT] Android Partition Name : boot
[560] [LK_BOOT] Android Boot IMG Hdr - Kernel Size : 0x00000190
[560] [LK_BOOT] Android Boot IMG Hdr - Kernel Address : 0x41E002A0
[560] [LK_BOOT] Android Boot IMG Hdr - Rootfs Size : 0x00000000
[560] [LK_BOOT] Android Boot IMG Hdr - Rootfs Address : 0x00000000
[560] [LK_BOOT] Android Boot IMG Hdr - Tags Address : 0x00000000
[560] [LK_BOOT] Android Boot IMG Hdr - Page Size : 0x00000004
[560] [LK_BOOT] Android Boot IMG Hdr - Command Line : bootopt=64S3,32N2,32N2 buildvariant=user
[560] ============================================================
[560] > page count of kernel image = 100
[560] > kernel mem offset = 0x41e002a0
[560] > rootfs mem offset = 0x41e00430
[560] > boot image size = 0x198
[580] boot state: green
[580] [PART_LK][get_part] boot
[580] check mkimg header
[580] [partition_get_index]find boot boot index 8
[580] [PART_LK][get_part] boot
[580] [PART_LK][get_part] boot
[580] [PART_LK][get_part] boot
[580] [LK_BOOT] KERNEL partition magic not match
[580] no mkimg header in kernel image
[580]
read the data of boot (size = 0x198)
[580] > from - 0x0000000000b80004 (skip boot img hdr)
[580] > to - 0x41e002a0 (starts with kernel img hdr)
[580] [partition_get_index]find boot boot index 8
[580] [PART_LK][get_part] boot
[580] [PART_LK][get_part] boot
[580] [PART_LK][get_part] boot
microloader
Jump
This is LK-payload for mantis by xyz and k4y0z. Copyright 2019
boot_reason: 0
y_cable: 0
found lk at 0x00000400
found boot at 0x00005C00
found recovery at 0x0000DC00
found misc at 0x00018800
bootloader_msg:
g_boot_mode 0
o_boot_mode 0
Clean lk
Jump lk
[820] [PART_LK][get_part] boot
[820] [PART_LK][get_part] boot
[830] part page addr is 0xb80000
[830] [partition_get_index]find boot boot index 8
[830] [PART_LK][get_part] boot
[830] [PART_LK][get_part] boot
[830] [PART_LK][get_part] boot
read_func hook
demangle boot image - from 0x41E228A5
[830]
============================================================
[830] [LK_BOOT] Android Partition Name : boot
[830] [LK_BOOT] Android Boot IMG Hdr - Kernel Size : 0x005D61C3
[840] [LK_BOOT] Android Boot IMG Hdr - Kernel Address : 0x40008000
[840] [LK_BOOT] Android Boot IMG Hdr - Rootfs Size : 0x0018CBB4
[840] [LK_BOOT] Android Boot IMG Hdr - Rootfs Address : 0x44000000
[840] [LK_BOOT] Android Boot IMG Hdr - Tags Address : 0x4E000000
[840] [LK_BOOT] Android Boot IMG Hdr - Page Size : 0x00000800
[840] [LK_BOOT] Android Boot IMG Hdr - Command Line :
[840] ============================================================
[840] > page count of kernel image = 2989
[840] > kernel mem offset = 0x40008000
[840] > rootfs mem offset = 0x405de800
[840] > boot image size = 0x764800
[840] boot state: green
[840] [PART_LK][get_part] boot
[840] check mkimg header
[840] [partition_get_index]find boot boot index 8
[840] [PART_LK][get_part] boot
[840] [PART_LK][get_part] boot
[840] [PART_LK][get_part] boot
read_func hook
[860] [LK_BOOT] KERNEL partition magic not match
[860] no mkimg header in kernel image
[860]
read the data of boot (size = 0x764800)
[860] > from - 0x0000000000b80800 (skip boot img hdr)
[860] > to - 0x40008000 (starts with kernel img hdr)
[860] [partition_get_index]find boot boot index 8
[860] [PART_LK][get_part] boot
[860] [PART_LK][get_part] boot
[860] [PART_LK][get_part] boot
read_func hook
demangle boot image - from 0x41E228A5
Unlock UFBL: device is unlocked
[2360] [LK_BOOT] ROOTFS partition magic not match
[2360] no mkimg header in ramdisk image
[2360] boot state: green
[2360] cluster-0: 4 core
[2360] IDME board_id = 2902001400130018
[2360] delete node hdmi_filter
[2370] mblock[0].start: 0x40000000, size: 0x51dc0000
[2380] [LK] non_secure_sram (0x12c000, 0x4000)
[2380] LK start to detect Y-cable since 0
[LK_ENV]get_env hibboot
[LK_ENV]get_env resume
[2380] resume = NULL
[2380] booting linux @ 0x40008000, ramdisk @ 0x44000000 (1625012)
[2380] DRAM Rank :1
[2380] DRAM Rank[0] Start = 0x40000000, Size = 0x51dc0000
[2380] mtk_write_boot_reason: current 0x0 boot_reason 0x106
[2380] cold boot
[2380] cmdline: console=tty0 console=ttyS1,921600n earlycon=uart8250,mmio32,0x11003000 root=/dev/ram vmalloc=496M androidboot.hardware=mt8695 androidboot.unlocked_kernel=true androidboot.verifiedbootstate=yellow androidboot.secure_cpu=1 androidboot.prod=1 androidboot.pl_buildtime=20191106 androidboot.lk_buildtime=20181213001522 androidboot.rpmb_state=1 androidboot.ddr_is_one_half_g=1 androidboot.veritymode=eio printk.disable_uart=1 y_cable=0 usb_extconn=1 boot_reason=0 androidboot.serialno=0123456789ABCDEF androidboot.bootreason=power_key bootprof.pl_t=4747 bootprof.lk_t=1405
[2380] lk boot time = 1405 ms
[2380] lk boot mode = 0
[2380] lk boot reason = power_key
[2380] lk finished --> jump to linux kernel 32Bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment