Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------
- DUMP RAW: https://drive.google.com/file/d/1NRh7clD4kc5PrNNNJfwdVvVI6uMxpEQT/view?usp=sharing
- PCB EMMC TRACES: https://drive.google.com/file/d/1Wi_7C14hsgeXoGlXDz2uTImmQspxk61t/view?usp=sharing
- schematics is similar to EL.MT9216-FG75: https://drive.google.com/file/d/1hPpQvhYpbRquq2PHeA_c1FIqPnhHcszr/view?usp=drive_link
- emmc removed logic analyzer if someone understands (saleae logic 2): https://drive.google.com/file/d/19E4Cfgeykg6rqtJDF4grYnbBgXKfVTld/view?usp=drive_link
- ---------------
- NORMAL BOOT
- ===============
- UART_115200
- AC_ON
- 01-2L-SM-04-20211227
- 1ST
- MIU0_DQS-OK
- BIST0-OK
- BAP=1
- BAP=1
- optee teeloader entry
- CusConfig
- eMMC_RPMB_Check_Program_Key
- BAP=1
- BAP=1
- ree_opt=0000007B
- BAP=1
- Auth reeloader...
- Decrypt reeloader...
- Check reeloader magic ID...
- Version check on reeloader...
- BAP=1
- BAP=1
- Auth CKB...
- Decrypt CKB...
- Check CKB magic ID...
- ns_uboot_boot
- NOTICE: BL3-1: v1.1(debug):138a50f3
- NOTICE: BL3-1: Built : 12:57:07, Mar 24 2023
- INFO: BL3-1: Initializing runtime services
- INFO: [Booting] mstar_send_magic_ATF 508
- INFO: BL3-1: Initializing BL3-2
- [Ramlog] ramlog_init init success
- INFO: BL3-1: Preparing for EL3 exit to normal world
- INFO: BIN1_32bit mode Mar 24 2023 12:57:07
- INFO: R1 0
- INFO: R2 0
- INFO: R3 0
- ree_entry
- Start load avbab data.
- Try virtual ab bootloader_control...
- Select mboot A.
- Select mboot A.
- U[AT][MB][start ub][508]
- U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
- [Mboot] ===== sw IR Config Register =====
- [Mboot] ===== Attach IR Interrupt ======
- Uboot Relocation: 152 MiB
- eMMC HS400 5.1 200MHz
- eMMC 7.28 GB
- eMMC used life: 0~10%
- CID
- 0x002AD8BA
- 0xEB240652
- 0x34465447
- 0x38000115
- DRAM : 1024MB
- SAR5=ON
- In: serial
- Out: serial
- Err: serial
- Net: No ethernet found.
- MAC: 0x5C: 0x85: 0x7E: 0xBB:0x6C: 0xE9
- [AT][MBoot][Driver Init][561]
- mmc change mount : tvconfig
- ** File not found model.info
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- No enough buffer or path fail(model.info) :
- [src/MsUtility.c] [loadscript]
- model.info not find !! Clean model_info env
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- Try virtual ab bootloader_control...
- 0:MCP_N_D3_2133_8G_4x
- 1:MCP_N_D3_2133_0G_4x
- DRAM Channel 0 Size = [2048MB]
- Try virtual ab bootloader_control...
- Changelist: 24543697
- do not first setup(first_setup=1), skip self adaption.
- ============= set bootargs ===============
- Hit any key to stop autoboot: 0
- enable dont overwrite function
- AC on
- Upgrade Version: 2.0
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- Check USB port[0]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- Error, couldn't init Lowlevel part
- Check USB port[1]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- scanning bus for devices... New Device 0
- [USB] interface[0] conf:1 value E0:
- 1 USB Device(s) found
- Found USB WIFI [MTK7663] in usb port 1
- scanning bus for storage devices... 0 Storage Device(s) found
- Check USB port[2]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- Error, couldn't init Lowlevel part
- FAIL : can not init usb!!
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- mmc change mount : project_id
- Size of file "project_id.ini" from mmc device 0 partition project_id: 296 bytes
- Loading file "project_id.ini" at offset 0x0 from mmc device 0 partition project_id
- 296 bytes read
- [Mboot_IR] boot from dynamic ir
- fore uup u8KeyPad_KeyVal [0xFF]
- Try virtual ab bootloader_control...
- ENV_UPGRADE_COMPLETE =0
- ENV_UPGRADE_MODE =null
- androidboot boot reason =reboot
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- [QHB] PowerOnMode = 255, u4BootCtrl = 0x0, fgStateOn = 0
- [QHB] prepare to CLEAR QHB
- [QHB] not quiescent boot.
- AC on
- ** CEC [TV] Change this Vendor ID according to customerWriting to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- findUsbDevice: find mtk bt usb device from usb prot[1]
- Check USB port[1]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- scanning bus for devices... New Device 0
- [USB] interface[0] conf:1 value E0:
- 1 USB Device(s) found
- Found USB WIFI [MTK7663] in usb port 1
- Ldbtusb_connect: dev->endpoints[0].bmAttributes = 0x3
- Ldbtusb_connect: dev->endpoints[0].bEndpointAddress = 0x81
- Ldbtusb_connect: set endpoints[0] to intr_ep
- Ldbtusb_connect: dev->endpoints[1].bmAttributes = 0x2
- Ldbtusb_connect: dev->endpoints[1].bEndpointAddress = 0x82
- Ldbtusb_connect: set endpoints[1] to bulk_rx_ep
- Ldbtusb_connect: dev->endpoints[2].bmAttributes = 0x2
- Ldbtusb_connect: dev->endpoints[2].bEndpointAddress = 0x2
- Ldbtusb_connect: set endpoints[2] to bulk_tx_ep
- LD_btmtk_usb_probe: =========================================
- LD_btmtk_usb_probe: Mediatek Bluetooth USB driver ver 4.0.21102201
- LD_btmtk_usb_probe: =========================================
- LD_btmtk_usb_probe: probe_counter = 1
- LD_btmtk_usb_probe: data address = 28709878
- btmtk_usb_cap_init: chip id = 7663
- btmtk_usb_cap_init: patch name: mt7663_patch_e2_hdr.bin
- btmtk_usb_cap_init: woble setting file name is woble_setting_7663.bin
- mtk_patch_bin_patch: /firmware/bt.cfg
- bt_env is NULL
- mmc change mount : cusdata
- Size of file "/firmware/bt.cfg" from mmc device 0 partition cusdata: 1318 bytes
- Loading file "/firmware/bt.cfg" at offset 0x0 from mmc device 0 partition cusdata
- 1318 bytes read
- btmtk_usb_load_bt_cfg_item: bt_cfg_content->support_unify_woble = 1
- btmtk_usb_load_bt_cfg_item: bt_cfg_content->unify_woble_type = 1
- btmtk_usb_load_fw_cfg_setting: btmtk_usb_load_fw_cfg_setting: search_result is NULLbtmtk_usb_load_fw_cfg_setting: WMT_CMD000: found &0
- mtk_patch_bin_patch: /firmware/mt7663_patch_e2_hdr.bin
- bt_env is NULL
- mmc change mount : cusdata
- Size of file "/firmware/mt7663_patch_e2_hdr.bin" from mmc device 0 partition cusdata: 278558 bytes
- Loading file "/firmware/mt7663_patch_e2_hdr.bin" at offset 0x0 from mmc device 0 partition cusdata
- 278558 bytes read
- btmtk_usb_check_need_load_patch_7668: btmtk_usb_check_need_load_patch_7668: return len is 7
- btmtk_usb_load_rom_patch_7668: patch_status: 2, retry: 20
- btmtk_usb_send_wmt_cfg: send wmt cmd!
- btmtk_usb_send_wmt_cmd: CMD: 6F FC 06 01 06 02 00 03 01
- btmtk_usb_send_wmt_cmd: EVT: E4 05 02 06 01 00 00
- btmtk_usb_load_rom_patch_7668: FW Version = 220713203113ccc
- btmtk_usb_load_rom_patch_7668: build Time = 220713203113ccc
- btmtk_usb_load_rom_patch_7668: platform = 7663
- btmtk_usb_load_rom_patch_7668: HW/SW version = mp-1
- btmtk_usb_load_rom_patch_7668: btmtk_usb_load_rom_patch_7668: loading rom patch of ILM
- btmtk_usb_load_partial_rom_patch_7668: loading rom patch... Done
- btmtk_usb_send_wmt_reset_cmd: Check reset wmt result : OK
- Ldbtusb_connect: usbbt probe success
- LD_btmtk_usb_SetWoble:
- btmtk_usb_send_wmt_cmd: retry to get event(10)
- btmtk_usb_send_wmt_cmd: retry to get event(9)
- btmtk_usb_send_wmt_cmd: retry to get event(8)
- btmtk_usb_send_wmt_power_on_cmd_7668: OK
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_send_hci_tci_set_sleep_cmd_7668: OK
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_send_hci_reset_cmd: OK
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_get_vendor_cap: OK
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_send_read_bdaddr: ADDR: 4C-31-2D-B8-60-0E
- mtk_patch_bin_patch: /firmware/woble_setting_7663.bin
- bt_env is NULL
- mmc change mount : cusdata
- Size of file "/firmware/woble_setting_7663.bin" from mmc device 0 partition cusdata: 1640 bytes
- Loading file "/firmware/woble_setting_7663.bin" at offset 0x0 from mmc device 0 partition cusdata
- 1640 bytes read
- btmtk_usb_load_fw_cfg_setting: APCF00: found & stored in 0
- btmtk_usb_load_fw_cfg_setting: APCF01: found & stored in 1
- btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC00: found & stored in 0
- btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC01: found & stored in 1
- btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC_LOCATION00: found & stored in 0
- btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC_LOCATION01: found & stored in 1
- btmtk_usb_load_fw_cfg_setting: RADIOOFF00: found & stored in 0
- btmtk_usb_load_fw_cfg_setting: WAKEUP_TYPE_WAVEFORM00: found & stored in 0
- btmtk_usb_load_fw_cfg_setting: RADIOOFF_COMPLETE_EVENT00: found & stored in 0
- File: misc/bluedroid/wake_on_ble.conf
- bt_env is NULL
- mmc change mount : cusdata
- ** File not found misc/bluedroid/wake_on_ble.conf
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- LD_load_code: Get file size fail
- mmc change mount : tvconfig
- ** File not found misc/bluedroid/wake_on_ble.conf
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- LD_load_code: Get file size fail
- ** Bad Signature on 0:46: expected 0x5840, got 0x0000
- LD_load_code: vfs_mount vendor fail
- mmc change mount : userdata
- Failed to mount ext2 filesystem...
- ** Bad ext4 partition or disk - mmc 0:45 **
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- LD_load_code: Get file size fail
- ** Bad Signature on 0:46: expected 0x5840, got 0x0000
- LD_load_code: vfs_mount system fail
- ** Bad Signature on 0:46: expected 0x5840, got 0x0000
- LD_load_code: vfs_mount APP fail
- btmtk_usb_load_woble_setting: There is no DEVICE RECORD for wake-up
- btmtk_usb_set_apcf: Set APCF filter from woble_setting.bin
- btmtk_usb_set_apcf: Send woble_setting_apcf[0] 57 FD 27 06 00 0A 46 00 00 0E 60 B8 2D 31 4C 00 00 00 00 43 52 4B 54 4D FF FF 00 FF FF
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_set_apcf: Send woble_setting_apcf[1] 57 FD 0A 01 00 0A 20 00 20 00 01 80 00
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_set_unify_woble: Send radio off C9 FC 3C 01 20 02 00 01 02 01 00 02 40 0A 02 41 0F 05 24 20 04 32 00 09 26 C0 12 00 00 12 0E
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- btmtk_usb_send_hci_cmd: got unknown event(6)
- btmtk_usb_send_hci_cmd: try get event again
- usb_bt_interrupt_msg: epType = 0x2
- usb_bt_interrupt_msg: ret = 0x0
- Ldbtusb_SetWoble: usb set woble end
- do_setMtkBT: ready to do usb_stop
- do_setMtkBT: stop usb port: 1
- mmc change mount : cusdata
- Loading file "bsp/chip/pm/PM.bin" at offset 0x0 from mmc device 0 partition cusdata
- 32767 bytes read
- Wait for PM51 standby...........PM51 run ok...........-usb_stop(USB_PORT0)
- -usb_stop(USB_PORT1)
- -usb_stop(USB_PORT2)
- [MDrv_PM_Init_Key][909] Retry send MBX CMD(0x1) to PM51.
- [MDrv_PM_Init_Key][909] Retry send MBX CMD(0xB2) to PM51.
- LD_btmtk_usb_getWoBTW: LD_btmtk_usb_getWoBTW, u8WoBTW = 1
- [MDrv_PM_Init_Key][909] Retry send MBX CMD(0xB4) to PM51.
- Set Power Off Short
- CRC Check OPEN: 1
- Build at Jul 20 2022 - 15:25:21
- WOW_GPIO_NUM = 0
- WOW_GPIO_NUM is invalid
- WOBT_GPIO_NUM = 17
- WOBT_PM_GPIO_NUM = 8
- WOEWBS_GPIO_NUM = 255
- WOEWBS_PM_GPIO_NUM = 255
- BTW = 1
- USB = FF
- VAD = FF
- 0x8709
- UART_115200
- AC_ON
- 01-2L-SM-04-20211227
- 1ST
- MIU0_DQS-OK
- BIST0-OK
- BAP=1
- BAP=1
- optee teeloader entry
- CusConfig
- eMMC_RPMB_Check_Program_Key
- BAP=1
- BAP=1
- ree_opt=0000007B
- BAP=1
- Auth reeloader...
- Decrypt reeloader...
- Check reeloader magic ID...
- Version check on reeloader...
- BAP=1
- BAP=1
- Auth CKB...
- Decrypt CKB...
- Check CKB magic ID...
- ns_uboot_boot
- NOTICE: BL3-1: v1.1(debug):138a50f3
- NOTICE: BL3-1: Built : 12:57:07, Mar 24 2023
- INFO: BL3-1: Initializing runtime services
- INFO: [Booting] mstar_send_magic_ATF 508
- INFO: BL3-1: Initializing BL3-2
- [Ramlog] ramlog_init init success
- INFO: BL3-1: Preparing for EL3 exit to normal world
- INFO: BIN1_32bit mode Mar 24 2023 12:57:07
- INFO: R1 0
- INFO: R2 0
- INFO: R3 0
- ree_entry
- Start load avbab data.
- Try virtual ab bootloader_control...
- Select mboot A.
- Select mboot A.
- U[AT][MB][start ub][486]
- U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
- [Mboot] ===== sw IR Config Register =====
- [Mboot] ===== Attach IR Interrupt ======
- Uboot Relocation: 152 MiB
- eMMC HS400 5.1 200MHz
- eMMC 7.28 GB
- eMMC used life: 0~10%
- CID
- 0x002AD8BA
- 0xEB240652
- 0x34465447
- 0x38000115
- DRAM : 1024MB
- SAR5=ON
- In: serial
- Out: serial
- Err: serial
- Net: No ethernet found.
- MAC: 0x5C: 0x85: 0x7E: 0xBB:0x6C: 0xE9
- [AT][MBoot][Driver Init][539]
- mmc change mount : tvconfig
- ** File not found model.info
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- No enough buffer or path fail(model.info) :
- [src/MsUtility.c] [loadscript]
- model.info not find !! Clean model_info env
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- Try virtual ab bootloader_control...
- 0:MCP_N_D3_2133_8G_4x
- 1:MCP_N_D3_2133_0G_4x
- DRAM Channel 0 Size = [2048MB]
- Try virtual ab bootloader_control...
- Changelist: 24543697
- do not first setup(first_setup=1), skip self adaption.
- ============= set bootargs ===============
- Hit any key to stop autoboot: 0
- enable dont overwrite function
- DC on !!
- mmc change mount : project_id
- Size of file "project_id.ini" from mmc device 0 partition project_id: 296 bytes
- Loading file "project_id.ini" at offset 0x0 from mmc device 0 partition project_id
- 296 bytes read
- [Mboot_IR] boot from dynamic ir
- fore uup u8KeyPad_KeyVal [0xFF]
- Try virtual ab bootloader_control...
- ENV_UPGRADE_COMPLETE =0
- ENV_UPGRADE_MODE =null
- androidboot boot reason =reboot
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- [QHB] PowerOnMode = 241, u4BootCtrl = 0x0, fgStateOn = 0
- [QHB] prepare to CLEAR QHB
- [QHB] not quiescent boot.
- DC on !!
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- MsDrv_PNL_Init:Bypass SetDivison
- [Utopia][PNL]: [_MAPI_PNL_SetMFTMode]set default MFT at LPLL_Type=1
- mi OLED support = 0
- [MApi_XC_MLG_GetStatus, 2891]No instance existed, please get an instance by calling MApi_XC_Init() first
- [msReadEfuse][2929]u32Result=tx, after mask u32Result=tx
- [AT][MB][panel_pre_init][737]
- -usb_stop(USB_PORT0)
- -usb_stop(USB_PORT1)
- -usb_stop(USB_PORT2)
- ###### Android Verify Boot 2.0 ######
- [init_std] OPTEE version is 3
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- Try virtual ab bootloader_control...
- @@ Trying to verify slot _a Partition: boot
- read_rollback_index done, Location: 0, Index: 0x0
- avb_footer.c:41: ERROR: Footer magic is incorrect.
- read_rollback_index done, Location: 2, Index: 0x0
- read_rollback_index done, Location: 7, Index: 0x0
- read_rollback_index done, Location: 12, Index: 0x0
- read_rollback_index done, Location: 8, Index: 0x0
- read_rollback_index done, Location: 11, Index: 0x0
- read_rollback_index done, Location: 10, Index: 0x0
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- System will boot from slot:_a partition: boot
- ## AVB2.0 append extra bootargs:
- androidboot.vbmeta.device=179:3 androidboot.vbmeta.avb_version=1.0 androidboot.vbmeta.device_state=locked androidboot.vbmeta.hash_algg
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- [AT][MB][bootlogo begin][1069]
- [AT][MB][JPD Decode][1091]
- [showLogo] GOP Boot Logo Index 2
- [MApi_XC_GetMirrorModeTypeEx, 1746]No instance existed, please get an instance by calling MApi_XC_Init() first
- [MApi_XC_GetStatus,14469]No instance existed, please get an instance by calling MApi_XC_Init() first
- [Utopia][GOP DRV]:
- Not support 2G palette!'[Utopia][GOP DRV]:
- [MDrv_GOP_GWIN_SetMux] not support gop3 in this chip version!![MApi_XC_GetStatus,14469]No instance existed, please get an instance byt
- [AT][MB][Show Logo][1164]
- Boot state is: Green !
- readKL_dtb load AB partition boot_a
- boot_a image header version: 2
- emmc_load_dtbo load AB partition dtbo_a
- ## emmc_load_dtbo: Load dtbo image from partition: dtbo_a
- ## Load dtbo image done, image size: 732 Byte !
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- ---MsDrv_PNL_BackLigth_On:2117 Set MsDrv_PNL_BackLigth_On DelayTask 35
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- [AT][MBoot][Boot Nuttx][1354]
- Kernel command line: quiet no_autorun_log=1 loglevel=1 dbg_mutex=0 androidboot.boot_devices=mstar_mci.0 buildvariant=user
- ANDROID HEADER V2
- Getting the dtb of index: 0 ... OK
- -usb_stop(USB_PORT0)
- -usb_stop(USB_PORT1)
- -usb_stop(USB_PORT2)
- Loading Kernel Image ... OK
- Applying the overlay fdt of index: 0 ... OK
- ## boot_ufdt_overlay: Merge DTBO to main DTB done, takes 0.008 ms
- Loading Device Tree to 284D0000, end 284D95D2 ... OK
- [AT][MB][start kr][1429]
- Starting kernel ...
- [ERROR] _get_new_map_format_from_env:529: get MI_KERNEL_POOL3_ADR fail
- [ERROR] _get_new_map_format_from_env:529: get MI_KERNEL_POOL4_ADR fail
- [ 0.000000] Function = void dma_contiguous_reserve(phys_addr_t), Line = 578, set pool_id: 30 as a FAKEMEM CMA HEAP
- [ 0.000000]
- [ 0.000000] Function = void memory_present(int, unsigned long, unsigned long), go handling FAKEMEM mem_section 0x60000 to 0x80000,3
- [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x20200 to 0x37000
- [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x0 to 0x0
- [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x37000 to 0x5B200
- [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x0 to 0x0
- [ 0.000000]
- [ 0.000000]
- [ 0.000000] Function = void free_area_init_core(struct pglist_data *), fakemem __init_single_pfn 0x60000 to 0x80000
- [RAMLOG] tee_entry_get_ramlog_config 349
- [RAMLOG] Chip ID: 4d 9f 7e 8e f5 92 37 d7
- _check_ramlog_binary Ramlog AUTHEN fail
- [ 1.004098] ==RTC== MDrv_RTC_Init, 86
- console:/ $ Error! failed to finit_module
- failed to insmod ko kopath=/vendor/lib/modules/firmware_class.ko error(17):File exists
- Error! failed to finit_module
- failed to insmod ko kopath=/vendor/lib/modules/cfg80211.ko error(17):File exists
- get line is 0e8d:7663:/vendor/lib/modules/btmtk_usb.ko
- get line is 0e8d:7663:/vendor/lib/modules/mtprealloc_mt7663.ko
- get line is 0e8d:7663:/vendor/lib/modules/wlan_mt7663.ko
- get line is 0e8d:7668:/vendor/lib/modules/btmtk_usb.ko
- get line is 0e8d:7668:/vendor/lib/modules/mtprealloc_mt7668.ko
- get line is 0e8d:7668:/vendor/lib/modules/wlan_mt7668.ko
- get line is 0e8d:7961:/vendor/lib/modules/btmtk_usb_unify.ko
- get line is 0e8d:7961:/vendor/lib/modules/mtprealloc_mt7961.ko
- get line is 0e8d:7961:/vendor/lib/modules/wlan_mt7961.ko
- Bus 003 Device 001: ID 1d6b:0002
- Bus 001 Device 001: ID 1d6b:0002
- Bus 002 Device 001: ID 1d6b:0002
- Bus 003 Device 002: ID 0e8d:7663
- Good! we find wifi usb dongle,and then to insmod ko
- [RAMLOG] tee_get_ramlog_config 334
- [RAMLOG] Chip ID: 4d 9f 7e 8e f5 92 37 d7
- _is_ramlog_enable AUTHEN buffer is zero or len is not equal to 16
- success to insmod ko, vid=0e8d pid=7663 kopath=/vendor/lib/modules/btmtk_usb.ko
- Good! we find wifi usb dongle,and then to insmod ko
- success to insmod ko, vid=0e8d pid=7663 kopath=/vendor/lib/modules/mtprealloc_mt7663.ko
- Good! we find wifi usb dongle,and then to insmod ko
- success to insmod ko, vid=0e8d pid=7663 kopath=/vendor/lib/modules/wlan_mt7663.ko
- netpriv: maxpriv size is 256
- netpriv: device is wlan0
- netpriv: get cmd number 35823
- Init wrapper sys mutex successful. Pid:281
- netpriv: cmd driver:0x00000000
- run success
- 0x00000000
- [wlan_dongle_detect]: mcr_ans is 0
- end run cmd
- netpriv: maxpriv size is 256
- netpriv: device is wlan0
- netpriv: get cmd number 35823
- netpriv: cmd driver:0x00076630
- run success
- 0x00076630
- [wlan_dongle_detect]: mcr_ans is 76630
- end run cmd
- the mcr is : 7663[wlan_dongle_detect]:wifi dongle is mt7663
- [ 9.893479] au32IRWakeHotkey[0] = 0xbf085
- [ 9.897631] au32IRWakeHotkey[1] = 0xbf086
- [ 9.901761] au32IRWakeHotkey[2] = 0xbf089
- [ 9.905914] u1HotkeyCfgNum = 3
- CPU_AUDIO is running!
- --- Launch TV F/W ---
- Running rc.local...
- /mnt/vendor/linux_rootfs/basic/3rd_ini/Arm_Mali/global_env_setup.ini
- /mnt/vendor/linux_rootfs/basic/3rd_ini/dialserver/global_env_setup.ini
- /mnt/vendor/linux_rootfs/basic/3rd_ini/mss/global_env_setup.ini
- /mnt/vendor/linux_rootfs/basic/3rd_ini/widevine/global_env_setup.ini
- /mnt/vendor/linux_rootfs/basic/3rd_ini/wpf_browser/global_env_setup.ini
- insmod: /basic/fusion.ko: No such file or directory
- Init wrapper sys mutex successful. Pid:480
- MI_SYS_Init() without Parameter
- Init wrapper sys mutex successful. Pid:409
- Info: get MI daemon priority before System Init: [-20]
- !!!Enter MI daemon prcoess!! start time =12982
- !!!Enter MI daemon flow time=12993!!
- HASHKEY_Verify=(0)(0)
- MI_SYS_Init() with Parameter
- [Utopia][MSOS]: [ERROR][MsOS_CreateMutex][2311] [MsOS_CreateMutex][2311] Update max number of msos mutex: 256
- [utopia info] open: /vendor/etc/utopia.conf
- [Utopia][MSOS]: [WARN][MsOS_Init][5917] Already inited.
- SYS_Init ioctl UTOPIA_IOCTL_GetChipID OK. SYS_Init(359)(16449537)(251)(0)(1)
- KeyCustomerList[1].chipid:e8
- >> Start MM service
- >> Start INJPLAY service
- >> Start SUBTITLE service
- >> Start TTX service
- >> Start VOC service
- Open MI_OSD kernel module successful
- MI_DISP_GetHandle[661]: Error 0x3: failed to ioctl(MI_DEV_IOC_DISP_GET_HANDLE)
- MI_WRAPPER_RegisterCallback[736]: listen event(fffffff0) failed!
- _MI_WRAPPER_DISP_RegisterCallback[2299]: Error 0x1: failed to ioctl(MI_DEV_IOC_DISP_REGISTER_CALLBACK)
- HDCP callback is already registered!
- MI_WRAPPER_RegisterCallback[736]: listen event(fffffff1) failed!
- _MI_WRAPPER_DISP_RegisterCallback[2299]: Error 0x3: failed to ioctl(MI_DEV_IOC_DISP_REGISTER_CALLBACK)
- HDCP callback is already registered!
- SYS User inited:0
- MI_IIC_Init[168]: Error 0x2: failed to ioctl(MI_DEV_IOC_IIC_INIT)
- _s32MikAextinFd: 34, aextin init result : 0
- !!!MI daemon prcoess start! MI daemon cost time=1147!!!
- Info: get MI daemon priority after Module Init: [0]
- [Utopia][MSOS]: [ERROR][MsOS_CreateMutex][2311] [MsOS_CreateMutex][2311] Update max number of msos mutex: 256
- [utopia info] open: /vendor/etc/utopia.conf
- [Utopia][MSOS]: [WARN][MsOS_Init][5917] Already inited.
- SYS_Init ioctl UTOPIA_IOCTL_GetChipID OK. SYS_Init(359)(16449537)(251)(0)(1)
- _MI_WRAPPER_SYS_SecurityAuthentication[769]: Invalid parameter!
- _MI_WRAPPER_SYS_SecurityAuthentication[769]: pstInitParams is NULL.
- MI_IIC_Init[168]: Error 0x2: failed to ioctl(MI_DEV_IOC_IIC_INIT)
- _s32MikAextinFd: 30, aextin init result : 2
- Open MI_OSD kernel module successful
- [cpuAudio_createDecoderMonitorThread][314]armAudio_decoderMonitor_ver: 0x1f thread created successfully
- cpuAudio getThreadInfo...
- [Main]open ok
- cpuAudio[Info](thread-name:cpu_audio)(pid:480)(tid:669)
- cpuAudio[Version](821,0x1F)
- [MI_VOC] - MI_VOC_GetHandle()[3388]: Can't find handler!
- open /dev/snd/pcmC2D0c in NON-Block mode
- open /dev/snd/pcmC2D0c in NON-Block mode
- (SIGNAL TRACER)init ok
- [AUDIO] pre-init audio decoders (733245642171094)!!
- cpuAudio[448](adec_id:0, CMA_id == 0 !!, use malloc())
- [ 32.827108] [MWCmd]TunerConnect()
- [ 32.834518] [Drvapi_tuner]TUNER_STATE_CONNECTING, bDisconnectAcq=0
- [ 33.159784] [MWCmd]TunerDisconnect()
- [ 34.233341] [Drvapi_tuner]fgRetSts=0 ,ui4_freq =578000000
- [ 34.238961] [Drvapi_tuner]out of lock ptStateInfo->b_disable_nfy=1 ,fStayInConnectedState=0
- [ 34.247478] [Drvapi_tuner]TunerID1 Connection time = 1412 ms,ui4_freq =578000000
- [ 34.259453] [MWCmd]TunerDisconnectRMR_OK
- [ 52.661271] [GLUE]Do __Glue_PDWNC_HandlePowerDownCallback
- [ 52.666825] [GLUE]__Glue_PDWNC_HandlePowerDownCallback[2941] Bluetooth pdwnc callback is null
- Terminated
- [ 57.560891] pdwnc_reboot_notify-0: (null),event = 3
- [ 57.570851] [GLUE]Do __Glue_PDWNC_HandlePowerDownCallbackForWifi
- [ 57.576905] [GLUE]__Glue_PDWNC_HandlePowerDownCallbackForWifi[2956] WIFI pdwnc callback is null
- mstar set pm power off param
- [ 58.818832] reboot: Power down
- mstar pm power down
- INFO: fvp_affinst_suspend:139 warm_boot_state = 1
- ERROR: core 1 is not shutdown. Clean STR FLAG!
- ERROR: [SMP Failed] System will go cold boot flow at next boot time !!INFO: [ATF] mstar_mbx 429 Kernel Mode Reset to PM51
- �CRC Check OPEN: 1
- Build at Jul 20 2022 - 15:25:21
- WOW_GPIO_NUM = 255
- WOW_PM_GPIO_NUM = 255
- WOBT_GPIO_NUM = 17
- WOBT_PM_GPIO_NUM = 8
- WOEWBS_GPIO_NUM = 255
- WOEWBS_PM_GPIO_NUM = 255
- BTW = 1
- USB = FF
- VAD = FF
- 0x308
- Power Down
- --------------
- EMPTY RPMB is not accepted as zeroes or FF or random key but once i think i was able to run on untouched brand new chip ?? need to check again
- --------------
- UART_115200
- AC_ON
- 01-2L-SM-04-20211227
- 1ST
- MIU0_DQS-OK
- BIST0-OK
- BAP=1
- BAP=1
- RPMB_MAC_Mismatched
- SECURE_AUTH_FAIL
- ---------------------
- Removing EMMC gives this output in UART " � " dont know its BOOTROM?
- ========
- U-Boot
- ========
- << MT5867 >># avbab
- enable-verity - AVB2.0 enable dm-verity.
- disable-verity - AVB2.0 disable dm-verity.
- set_active [slot] - set slot a/b to active slot.
- set_device_state [value] - Set device_state to [value], lock = 1, unlock = 0, default value = 0.
- dump - Dump device state and rollback index.
- << MT5867 >># avbab dump
- [init_std] OPTEE version is 3
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- uboot_rpmb_raw_data.device_state=0
- uboot_rpmb_raw_data.index_counts=0
- avb_dump_avb_rpmb_data: dump rollback_index:
- rollback_index[0]:0
- rollback_index[1]:0
- rollback_index[2]:0
- rollback_index[3]:0
- rollback_index[4]:0
- rollback_index[5]:0
- rollback_index[6]:0
- rollback_index[7]:0
- rollback_index[8]:0
- rollback_index[9]:0
- rollback_index[10]:0
- rollback_index[11]:0
- rollback_index[12]:0
- rollback_index[13]:0
- rollback_index[14]:0
- avbab dump Done !!
- << MT5867 >># avbab disable-verity
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- do_avbab: Error, device state is locked, don't allow to on/off dm-verity.
- avbab disable-verity Fail !!
- << MT5867 >># avbab set_device_state 0
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- ubootRpmbWriteRequest
- ubootRpmbVerifyWriteResponse
- avb_rpmb.c:ubootRpmbVerifyWriteResponse:382 Success to verify rpmb HMAC
- avb_setDeviceState: Device State is set to UNLOCK.
- begin erase userdata.
- 1 blocks written: OK
- MMC erase: dev # 0, user area part, block # 6590464, count 8679424 (unit: sector)...
- 8679424 blocks erase: OK
- end erase userdata.
- avbab set_device_state 0 Done !!
- << MT5867 >># avbab disable-verity
- ubootRpmbReadRequest
- ubootRpmbVerifyReadResponse
- do_avbab: Error, device state is locked, don't allow to on/off dm-verity.
- avbab disable-verity Fail !!
- << MT5867 >>#
- << MT5867 >># help
- ? - alias for 'help'
- CmdPerformanceTest- gettime - Get the system executing time
- SecureBootCmd- SecureBootCmd
- SecureInit- Init security booting.
- ac - set a new config to the bootargs
- aesdma - aesdma - do the aesdma command.
- authenticate- authenticate the kernel image
- authenticateAN- authenticate android's boot and recover image
- auto_flash- do auto flash image.
- auto_tftp- do auto-address tftp.
- avbShowStatus- avbShowStatus - Display AVB status
- avbab -
- enable-verity - AVB2.0 enable dm-verity.
- disable-verity - AVB2.0 disable dm-verity.
- set_active [slot] - set slot a/b to active slot.
- set_device_state [value] - Set device_state to [value], lock = 1, unlock = 0, default value = 0.
- dump - Dump device state and rollback index.
- base - print or set address offset
- bdinfo - print Board Info structure
- bin2emmc- bin2emmc - read bin file and restore it to emmc
- boot - boot default, i.e., run 'bootcmd'
- bootKL - bootKL
- bootargs_set- Set info exchange and set to boot args.
- bootcheck- bootcheck - Do boot check
- bootd - boot default, i.e., run 'bootcmd'
- bootlogo- bootlogo - Display Logo_Music
- bootm - boot application image from memory
- bootp - boot image via network using BOOTP/TFTP protocol
- checkUsbModeSwitch- checkUsbModeSwitch -
- checkVersion- check current verison and upgrade image version
- checkfile- check file exist in u disk,and set the partition.
- checkstr- check_str_resume
- checktee- Check TEE binary
- chkmiusetting- chkmiusetting - Check MIU setting
- cleanallenv- cleanall environment variables to persistent storage
- cmp - memory compare
- cnstar - do net update from the specified file that is in oad partition
- config2env- Set config to environment.
- config_raw_io- Config the target device for raw I/O
- coninfo - print console devices and information
- costar - do oad update from the specified file that is in oad partition
- cp - memory copy
- crc32 - checksum calculation
- createMbootBak- emmc create mbootbak partition -
- custar - do usb update from the specified file that is in usb.
- dbg - set debug message level. Default level is INFO
- dbtable_init- dbtable_init - let data is ready (logo, music, panel, ursa).
- dc - delete the specific cofig that is in the bootargs
- delay - delay time, time unit is ms
- destroy_logo- destroy_logo - Stop logo display
- dhcp - boot image via network using DHCP/TFTP protocol
- dont_overwrite- This serial apis are for protecting the specific partitions are overwrited. ex: customer
- This cmd is used to register which partition should not be overwrite
- dont_overwrite_free- This serial apis are for protecting the specific partitions are overwrited. ex: customer
- This cmd is used to free all registered partitions.
- dont_overwrite_init- This serial apis are for protecting the specific partitions are overwrited. ex: customer
- This cmd is used to init this function
- dont_overwrite_switch- This serial apis are for force write and re-create partitions.
- This cmd is used to disable dont_overwrite function.
- draw_jpg- blt_jpg - Blt JPG
- draw_pixel- draw_pixel - draw a pixel with color
- draw_progress- draw_string - draw string with color
- draw_rect- draw_rect - draw rect with color
- draw_string- draw_string - draw string with color
- du - du - Disable UART
- dumpSignature- dump the signature
- ebist - PHY loopback test
- echo - echo args to console
- editenv - edit environment variable
- edump - EMAC Register settings dump
- eloopback- Long loopback test
- emmc - eMMC sub system
- emmc_self_adaption- emmc_self_adaption -
- emmcbin - emmcbin - dump emmc and restore it to fat usb disk
- emmcbootbin- emmcbootbin - dump emmc boot partition and write it to fat usb disk
- env - environment handling commands
- envload - envload - reload the nand environment.
- epd - emac power down
- estart - EMAC start
- ewavetest- EMAC wave test
- exit - exit script
- ext2load- load binary file from a Ext2 filesystem
- ext2ls - list files in a directory (default /)
- ext4filelist- list files in a directory (default /)
- ext4filesize- get file size from a Ext4 filesystem
- ext4load- load binary file from a Ext4 filesystem
- ext4ls - list files in a directory (default /)
- ext4partload- part load binary file from a Ext4 filesystem
- false - do nothing, unsuccessfully
- fastboot- enter fastboot mode
- fatfilesize- fatfilesize - load binary file from a dos filesystem
- fatinfo - print information about filesystem
- fatload - load binary file from a dos filesystem
- fatls - list files in a directory (default /)
- fatpartload- fatpartload - load binary file from a dos filesystem
- fatwrite- fatwrite - write binary file to a dos filesystem
- fdt - flattened device tree utility commands
- fileSegRSA- do file segment rsa authendication
- filelist- Dump the file list.
- filelisttest- This command is only for file list test
- filepartload- load part of a file to RAM
- filepartloadSeg- load a seg part of file to RAM
- filepartloadSegAES- load a part of file to RAM and do descrypted
- flashbin- flashbin - dump/restore emmc or nand flash data to/from flash.bin
- force_overwrite- This serial apis are for force write and re-create partitions.
- This cmd is used to register which partition should force overwrite
- force_overwrite_init- This serial apis are for force write and re-create partitions.
- This cmd is used to register which partition should force overwrite
- get_mmap- get memory info from supernova's mmap
- gettime - gettime - Get the system executing time
- go - start application at address 'addr'
- gpio - GPIO Command:
- help - print command description/usage
- i2c - I2C sub-system
- if_boot_to_pm- if boot to PM
- iminfo - print header information for application image
- imxtract- extract a part of a multi-image
- initDbgLevel- Initial varaible 'dbgLevel'
- init_raw_io- init raw_io module
- ir_delay- ir_delay - delay 300ms for IR detect.
- itest - return true/false on integer compare
- kernelProtect- kernelProtect - Protect kernel
- kernelProtectBist- kernelProtectBist - Protect kernel bist
- led - See led commands
- loadb - load binary file over serial line (kermit mode)
- loadenv - loadenv - load env for nand
- loads - load S-Record file over serial line
- loadspi - load data from SPI
- loady - load binary file over serial line (ymodem mode)
- loop - infinite loop on address range
- lz4 - LZ4 decompress
- m2e - Restore the address and len to env from supernova's mmap
- macaddr - setup EMAC MAC addr
- mbootver_set- setmbootver - for customer show in factory menu.
- mbup - mboot upgrade
- md - memory display
- memtest - Get the performance of memory
- miuProtect- miuProtect - Protect miu
- mm - memory modify (auto-incrementing address)
- mmc - MMC sub system
- mmcbininfo- mmcbininfo - Valid block num in each partition
- mmcinfo - display MMC info
- mmcreg - mmcreg show ext-csd
- modelinfo- modelinfo - check model info if need sync to sync dbpool
- mscompress7- Compress or decompress lzma files
- msg - print string - msg [string]
- mstar - update kernal & root file system automatically by script file
- mstar_usb- MStar USB Driver Porting
- mtest - simple RAM read/write test
- multi2optee- For Multi Optee Image writting to EMMC
- mversion- show changelist - mversion
- mw - memory write (fill)
- nm - memory modify (constant address)
- nstar - nstar - update softwave system automatically via net
- nuttxProtect- nuttx Protect - Protect nuttx
- oled_panel_err_cnt_clear- To load customer file.
- osd_create- osd_create - create osd layer
- osd_destroy- osd_destroy - destroy osd layer
- osd_flush- osd_flush - flush canvas to screen
- ostar - ostar - update softwave system automatically via oad
- ota_zip_check- do OTA zip package check.
- panel_init- panel_init - init panel by panel.ini
- panel_post_init- backligth on - backlight on
- panel_pre_init- panel_pre_init - init panel by panel.ini
- ping - send ICMP ECHO_REQUEST to network host
- pm51 - pm51 command: pm51 [option]
- pmProtect- runtime pm Protect - Protect runtime PM
- pop_raw_io_config- pop raw_io last config
- printenv- print environment variables
- push_raw_io_config- push raw_io current config
- qhb_check- run QHB flag check
- raw_io_status- get raw_io status
- raw_read- Read the raw datas that store in the target device
- Yo have to execute 'config_raw_io' before using this cmd
- raw_write- Write the raw datas that store in the target deviceYo have to execute 'config_raw_io' before using this cmd
- readArmFw- readArmFw - read Nuttx to malloc buffer
- readKL - readKL
- readOptee- readOptee - core1 run at Nuttx
- recovery_wipe_partition- do recovery wipe data or cache.
- reload_mac- Reload mac address from supernova to env
- reset - Perform RESET of the CPU
- riu - riu - riu command
- rsa - rsa cacluate
- run - run commands in an environment variable
- sar - sar Command:
- saveenv - save environment variables to persistent storage
- secure_driver_check- gettime - Get the system executing time
- setMtkBT- load mtk bt patch, and set woble
- setenv - set environment variables
- sha256 - The sha256 cacluate
- showboard- Show board information
- showtb - Show register command table. - showtb [stage]
- showvar - print local hushshell variables
- showversion- Show version
- sleep - delay execution for some time
- smc - smc - jump to arm_trusted_firmware
- source - run script from memory
- sparse_write- do sparse image writing to target flash type.
- spi2usb - Read data from spi to usb
- stest - test IO performance on continue mode or interleave mode]
- store_secure_info- store secure info
- sync_mmap- Sync the some id's address and len to env and bootargs from supernova's mmap
- test - minimal test like /bin/sh
- testmode- set testmode into bootargs.
- tftpboot- boot image via network using TFTP protocol
- true - do nothing, successfully
- udstar - Execute the script file that is stored in usb disk
- unlockcmi- unlock cmi transfer board - unlock
- update_mode- get/set update_mode
- updatemiureg- Call driver to update miu setting
- usb - USB sub-system
- usb2spi - write data from usb to spi
- usb_bin_check- do usb bin document check.
- usb_partial_upgrade_to_emmc- partial upgrade from USB to eMMC
- usb_super_upgrade_to_emmc- super upgrade from USB to eMMC
- usbboot - boot from USB device
- ustar - ustar - update kernal & root file system automatically by script file
- verify_sha256- This command is only for verification
- version - print monitor, compiler and linker version
- wdt_enable- wdt_enable n - set Watchdog timer to n secs
- << MT5867 >>#
- << MT5867 >># printenv
- 51OnRam=0
- CERTIFICATE_PARTITION=tvcertificate
- CONFIG_PATH=/vendor/tvconfig/config
- CUSDATA_PROJECT_ID=470
- DataIndex_Full_FileName=config/dataIndex/dataIndex_470.ini
- EMAC_MEM_ADR=0x20D00000
- EMAC_MEM_LEN=0x100000
- ENABLE_MIC=1
- ENABLE_SEAMLESS=0
- ENABLE_SMARTSPEAKER=0
- ENABLE_WAKEUP=0
- E_MMAP_ID_OPTEE_MEM_SHM_ADR=0x3FB00000
- E_MMAP_ID_OPTEE_MEM_SHM_LEN=0x500000
- GOP_SET_MUX=1:0:2:3
- KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x0
- MAP_TYPE=MI
- MIU0_GROUP_PRIORITY=1:0:2:3
- MIU0_GROUP_SELMIU=0000:0000:0000:0000:0000:0000
- MIU1_GROUP_PRIORITY=1:0:2:3
- MIU1_GROUP_SELMIU=4F6A:3FF0:0000:0000:0000:FE0F
- MI_AN_RECOVERY_BUF_ADR=0x22520000
- MI_AN_RECOVERY_BUF_LEN=0x7E9000
- MI_BOOTLOGO_BUF_ADR=0x22520000
- MI_BOOTLOGO_BUF_LEN=0x400000
- MI_DISP_AUTO_DOWNLOAD_ADR=0x22E34000
- MI_DISP_AUTO_DOWNLOAD_LEN=0xC1000
- MI_GOP_GWIN_RB_ADR=0x23100000
- MI_GOP_GWIN_RB_LEN=0x0
- MI_JPD_INTER_BUF_ADR=0x9C50000
- MI_JPD_INTER_BUF_LEN=0x19000
- MI_JPD_OUT_ADR=0x9800000
- MI_JPD_OUT_LEN=0x400000
- MI_JPD_READ_BUF_ADR=0x9C00000
- MI_JPD_READ_BUF_LEN=0x50000
- MI_KERNEL_POOL1_ADR=0x200000
- MI_KERNEL_POOL1_LEN=0x20B00000
- MI_KERNEL_POOL2_ADR=0x23800000
- MI_KERNEL_POOL2_LEN=0x1A500000
- MI_MAD_ADV_BUF_ADR=0x21110000
- MI_MAD_ADV_BUF_LEN=0x1410000
- MI_MAD_DEC_BUF_ADR=0x22520000
- MI_MAD_DEC_BUF_LEN=0x0
- MI_MAD_SE_BUF_ADR=0x22520000
- MI_MAD_SE_BUF_LEN=0x0
- MI_MAP_PARTITION=cusdata
- MI_MAP_PATH=bsp/common/MMAP_MI.h
- MI_MBOOT_MEM_USAGE_ADR=0x7400000
- MI_MBOOT_MEM_USAGE_LEN=0x2400000
- MI_MENULOAD_BUF_ADR=0x40000
- MI_MENULOAD_BUF_LEN=0x20000
- MI_PM51_MEM_ADR=0x10000
- MI_PM51_MEM_LEN=0x10000
- MI_TSP_SECT_BUF_ADR=0x23800000
- MI_TSP_SECT_BUF_LEN=0x400000
- MI_VDEC_AEON_ADR=0x22920000
- MI_VDEC_AEON_LEN=0x440000
- MI_VDEC_FRAME_BUF_ADR=0x24800000
- MI_VDEC_FRAME_BUF_LEN=0x0
- MODEL_ID=255
- MUSB-02.05=CL565126(Mar 24 2023 - 12:53:28)
- MstarUpgrade_complete=0
- UARTOnOff=on
- WDT_ENABLE=1
- adb_enable=0
- android_manufacturer=Expressluck
- android_product=martin
- antitheft_flag=-1
- boot_ctrl=0x0
- bootargs=console=ttyS0,115200 androidboot.console=ttyS0 init=/init root=/dev/ram rw rootwait CORE_DUMP_PATH=/data/core_dump.%%p.gz KD0
- bootcmd=mmc read.p 0x25000000 boot 0x1F00000; bootm 0x25000000
- bootlogo_gopidx=2
- bt_usb_port=1
- burnmode_poweron=false
- close_log=yes
- customer_ini_path=/bsp/board/BD_MT5867-H1V1-B2-S_UK/model/Customer_1.ini
- db_table=1
- dc_poweroff=1
- devicestate=lock
- factory_poweron_mode=secondary
- filesize=128
- first_bootup=1
- first_setup=1
- info_exchange=emmc
- keypad_offset=0x12890
- keypad_select=ini
- keypad_size=0x54
- macaddr=5c:85:7e:bb:6c:e9
- mboot_default_env=0
- mmcrelwr=2
- mmcslcmode=0
- music=0
- music_vol=0x14
- osdcEnableFlag=0x0
- pkg_version=2023-05-19 11:49:31
- pwm_duty=0x158
- stderr=serial
- stdin=serial
- stdout=serial
- str_crc=2
- sync_mmap=0
- upgrade_mode=null
- ursa_type=0
- usb_auto_upgrade=enable
- verify=n
- Environment size: 3831/65532 bytes
- << MT5867 >>#
- << MT5867 >># mmc part
- Partition Map for MMC device 0 -- Partition Type: EMMC
- #: type name length base (size)
- 1: MBOOT 10240 @ 4096 (5.000M)
- 2: MPOOL 6144 @ 14336 (3.000M)
- 3: vbmeta_a 2048 @ 20480 (1.000M)
- 4: tvcertificate 16384 @ 22528 (8.000M)
- 5: eeprom_a 2048 @ 38912 (1.000M)
- 6: MBOOT_b 10240 @ 40960 (5.000M)
- 7: MBOOTBAK 10240 @ 51200 (5.000M)
- 8: project_id 10240 @ 61440 (5.000M)
- 9: tvconfig 65536 @ 71680 (32.000M)
- 10: cusdata 409600 @ 137216 (200.000M)
- 11: vbmeta_b 2048 @ 546816 (1.000M)
- 12: vbmeta_system_a 2048 @ 548864 (1.000M)
- 13: vbmeta_system_b 2048 @ 550912 (1.000M)
- 14: misc 2048 @ 552960 (1.000M)
- 15: boot_a 63488 @ 555008 (31.000M)
- 16: boot_b 63488 @ 618496 (31.000M)
- 17: optee 12288 @ 681984 (6.000M)
- 18: armfw 2048 @ 694272 (1.000M)
- 19: metadata 32768 @ 696320 (16.000M)
- 20: RTPM_a 2048 @ 729088 (1.000M)
- 21: RTPM_b 2048 @ 731136 (1.000M)
- 22: dtbo_a 16384 @ 733184 (8.000M)
- 23: dtbo_b 16384 @ 749568 (8.000M)
- 24: linux_rootfs_a_a 122880 @ 765952 (60.000M)
- 25: linux_rootfs_a_b 122880 @ 888832 (60.000M)
- 26: 3rd_a_a 225280 @ 1011712 (110.000M)
- 27: 3rd_a_b 225280 @ 1236992 (110.000M)
- 28: tvservice_a 122880 @ 1462272 (60.000M)
- 29: tvservice_b 122880 @ 1585152 (60.000M)
- 30: oem_a 10240 @ 1708032 (5.000M)
- 31: oem_b 10240 @ 1718272 (5.000M)
- 32: factory_a_a 4096 @ 1728512 (2.000M)
- 33: factory_a_b 4096 @ 1732608 (2.000M)
- 34: basic_a 2048 @ 1736704 (1.000M)
- 35: 3rd_rw 307200 @ 1738752 (150.000M)
- 36: ciplus 2048 @ 2045952 (1.000M)
- 37: dvbsdb_a 2048 @ 2048000 (1.000M)
- 38: cha 2048 @ 2050048 (1.000M)
- 39: chb 2048 @ 2052096 (1.000M)
- 40: upgrade 409600 @ 2054144 (200.000M)
- 41: schedpvr 2048 @ 2463744 (1.000M)
- 42: demura 10240 @ 2465792 (5.000M)
- 43: super 4104192 @ 2476032 (1.957G)
- 44: cache 10240 @ 6580224 (5.000M)
- 45: userdata 8679424 @ 6590464 (4.138G)
- << MT5867 >>#
- ===============
- misc
- ===============
- << MT5867 >># avbShowStatus
- [ERROR] do_avbShowStatus:1240: Panle is not ready
- << MT5867 >># bdinfo
- arch_number = 0x00000AE7
- boot_params = 0x20400100
- DRAM bank = 0x00000000
- -> start = 0x20000000
- -> size = 0x09800000
- ethaddr = (not set)
- ip_addr = 284DFFECI4
- baudrate = 115200 bps
- TLB addr = 0x297F0000
- relocaddr = 0x28D00000
- reloc off = 0x01900000
- irq_sp = 0x284DFF70
- sp start = 0x284DDF60
- FB base = 0x00000000
- << MT5867 >># bootcheck
- enable dont overwrite function
- AC on
- Upgrade Version: 2.0
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- Check USB port[0]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- Error, couldn't init Lowlevel part
- Check USB port[1]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- scanning bus for devices... New Device 0
- [USB] interface[0] conf:1 value E0:
- 1 USB Device(s) found
- Found USB WIFI [MTK7663] in usb port 1
- scanning bus for storage devices... 0 Storage Device(s) found
- Check USB port[2]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- Error, couldn't init Lowlevel part
- FAIL : can not init usb!!
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- mmc change mount : project_id
- Size of file "project_id.ini" from mmc device 0 partition project_id: 296 bytes
- Loading file "project_id.ini" at offset 0x0 from mmc device 0 partition project_id
- 296 bytes read
- [Mboot_IR] boot from dynamic ir
- fore uup u8KeyPad_KeyVal [0xFF]
- Try virtual ab bootloader_control...
- ENV_UPGRADE_COMPLETE =0
- ENV_UPGRADE_MODE =null
- androidboot boot reason =reboot
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- << MT5867 >># checkVersion
- checkVersion - check current verison and upgrade image version
- Usage:
- checkVersion command checkVersion <name> <verision>
- << MT5867 >># checktee
- << MT5867 >># cnstar
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- MsDrv_PNL_Init:Bypass SetDivison
- [Utopia][PNL]: [_MAPI_PNL_SetMFTMode]set default MFT at LPLL_Type=1
- mi OLED support = 0
- [MApi_XC_MLG_GetStatus, 2891]No instance existed, please get an instance by calling MApi_XC_Init() first
- [msReadEfuse][2929]u32Result=tx, after mask u32Result=tx
- [AT][MB][panel_pre_init][154139]
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- ---MsDrv_PNL_BackLigth_On:2117 Set MsDrv_PNL_BackLigth_On DelayTask 596
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- [do_create_osdlayer] GOP Boot Logo Index 2
- [MApi_XC_GetMirrorModeTypeEx, 1746]No instance existed, please get an instance by calling MApi_XC_Init() first
- [MApi_XC_GetStatus,14469]No instance existed, please get an instance by calling MApi_XC_Init() first
- [Utopia][GOP DRV]:
- Not support 2G palette!'[Utopia][GOP DRV]:
- [MDrv_GOP_GWIN_SetMux] not support gop3 in this chip version!![MApi_XC_GetStatus,14469]No instance existed, please get an instance byt
- Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getw
- Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /MstarUpgrade.bin **
- [ERROR] vfs_read:464: ext4load mmc fail, try again!
- Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /MstarUpgrade.bin **
- [ERROR] vfs_read:468: ext4load mmc fail
- [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
- [ERROR] LoadScript2DramByFS:1651: Error: LoadScript2DramByFSFromVolume Fail !!
- Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getl
- << MT5867 >># coninfo
- List of available devices:
- serial 80000003 SIO stdin stdout stderr
- << MT5867 >># costar
- Upgrade Version: 2.0
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- [QHB] normal boot mode
- Active Standby Mode FALSE =====
- [do_create_osdlayer] GOP Boot Logo Index 2
- [Utopia][GOP DRV]:
- Not support 2G palette!'[Utopia][GOP DRV]:
- [MDrv_GOP_GWIN_SetMux] not support gop3 in this chip version!![Utopia][GOP mAPI]:
- [GOP_MapFB2Win][3456] not support gwin id:td in this chip version[Utopia][GOP mAPI]: [GOPIoctl][12669] ERROR on cmd:0xtx
- [Utopia][GOP API]: Ioctl MApi_GOP_GWIN_Map32FB2Win fail
- [Utopia][GOP mAPI]: [GOP_GWIN_SetBlending][5362]GWIN 255 is out of range
- Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getw
- Loading file "/upgrade/MTKUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /upgrade/MTKUpgrade.bin **
- [ERROR] vfs_read:464: ext4load mmc fail, try again!
- Loading file "/upgrade/MTKUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /upgrade/MTKUpgrade.bin **
- [ERROR] vfs_read:468: ext4load mmc fail
- [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
- [ERROR] LoadREEScript2DramByFS:1303: Error: LoadScript2DramByFSFromVolume Fail !!
- Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getl
- Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getK
- 128 blocks written: OK
- done
- [AT][MB][start do_reset]
- do_reset: Using RIU_MAP: 0x1F000000, at 55
- UART_115200
- AC_ON
- 01-2L-SM-04-20211227
- 1ST
- MIU0_DQS-OK
- BIST0-OK
- BAP=1
- BAP=1
- optee teeloader entry
- CusConfig
- eMMC_RPMB_Check_Program_Key
- BAP=1
- BAP=1
- ree_opt=0000007B
- BAP=1
- Auth reeloader...
- Decrypt reeloader...
- Check reeloader magic ID...
- Version check on reeloader...
- BAP=1
- BAP=1
- Auth CKB...
- Decrypt CKB...
- Check CKB magic ID...
- ns_uboot_boot
- NOTICE: BL3-1: v1.1(debug):138a50f3
- NOTICE: BL3-1: Built : 12:57:07, Mar 24 2023
- INFO: BL3-1: Initializing runtime services
- INFO: [Booting] mstar_send_magic_ATF 508
- INFO: BL3-1: Initializing BL3-2
- [Ramlog] ramlog_init init success
- INFO: BL3-1: Preparing for EL3 exit to normal world
- INFO: BIN1_32bit mode Mar 24 2023 12:57:07
- INFO: R1 0
- INFO: R2 0
- INFO: R3 0
- ree_entry
- Start load avbab data.
- Try virtual ab bootloader_control...
- Select mboot A.
- Select mboot A.
- U[AT][MB][start ub][600]
- U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
- [Mboot] ===== sw IR Config Register =====
- [Mboot] ===== Attach IR Interrupt ======
- Uboot Relocation: 152 MiB
- eMMC HS400 5.1 200MHz
- eMMC 7.28 GB
- eMMC used life: 0~10%
- CID
- 0x002AD8BA
- 0xEB240652
- 0x34465447
- 0x38000115
- DRAM : 1024MB
- SAR5=ON
- In: serial
- Out: serial
- Err: serial
- Net: No ethernet found.
- MAC: 0x5C: 0x85: 0x7E: 0xBB:0x6C: 0xE9
- [AT][MBoot][Driver Init][656]
- mmc change mount : tvconfig
- ** File not found model.info
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- No enough buffer or path fail(model.info) :
- [src/MsUtility.c] [loadscript]
- model.info not find !! Clean model_info env
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- Try virtual ab bootloader_control...
- 0:MCP_N_D3_2133_8G_4x
- 1:MCP_N_D3_2133_0G_4x
- DRAM Channel 0 Size = [2048MB]
- Try virtual ab bootloader_control...
- Changelist: 24543697
- do not first setup(first_setup=1), skip self adaption.
- ============= set bootargs ===============
- Hit any key to stop autoboot: 0
- << MT5867 >># custar
- Upgrade Version: 2.0
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- Check USB port[0]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- Error, couldn't init Lowlevel part
- Check USB port[1]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- scanning bus for devices... New Device 0
- [USB] interface[0] conf:1 value E0:
- 1 USB Device(s) found
- Found USB WIFI [MTK7663] in usb port 1
- scanning bus for storage devices... 0 Storage Device(s) found
- Check USB port[2]:
- [USB] config miu select [F0] [EF] [EF] ][EF]
- [USB] enable miu lower bound address subtraction
- Error, couldn't init Lowlevel part
- FAIL : can not init usb!!
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- << MT5867 >># dumpSignature
- dumpSignature - dump the signature
- Usage:
- dumpSignature [target file]
- target file:boot recovery
- << MT5867 >># fastboot
- No ethernet found.
- << MT5867 >># fatinfo
- usage: fatinfo <interface> <dev[:part]>
- << MT5867 >># mmcinfo
- Device: Mstar-eMMC
- Manufacturer ID: 15
- OEM: 0
- Name: 8GTF4
- Tran Speed: 25000000
- Rd Block Len: 512
- MMC version 4.0
- High Capacity: Yes
- Capacity: 7.3 GiB
- Bus Width: 8-bit
- << MT5867 >># mmcreg
- << MT5867 >># modelinfo
- mmc change mount : tvconfig
- ** File not found model.info
- [ERROR] vfs_getsize:412: ext4filesize mmc fail
- No enough buffer or path fail(model.info) :
- [src/MsUtility.c] [loadscript]
- model.info not find !! Clean model_info env
- Writing to MMC(0)... 128 blocks written: OK
- 128 blocks written: OK
- done
- << MT5867 >># mversion
- Changelist: 24543697
- << MT5867 >># nstar
- mmc change mount : 3rd_rw
- Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /MstarUpgrade.bin **
- [ERROR] vfs_read:464: ext4load mmc fail, try again!
- Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /MstarUpgrade.bin **
- [ERROR] vfs_read:468: ext4load mmc fail
- [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
- [ERROR] LoadScript2DramByFS:1651: Error: LoadScript2DramByFSFromVolume Fail !!
- << MT5867 >># ostar
- mmc change mount : 3rd_rw
- Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /MstarUpgrade.bin **
- [ERROR] vfs_read:464: ext4load mmc fail, try again!
- Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
- ** File not found /MstarUpgrade.bin **
- [ERROR] vfs_read:468: ext4load mmc fail
- [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
- [ERROR] LoadREEScript2DramByFS:1303: Error: LoadScript2DramByFSFromVolume Fail !!
- << MT5867 >># readArmFw
- << MT5867 >># readOptee
- << MT5867 >># showboard
- Try virtual ab bootloader_control...
- ==================
- Board=MT5867-H1V1-B2_EL
- MBoot_IN=MMC_FLASH
- Kernel=32BIT
- Security=OPTEE SECURITY_BOOT
- Load_DTB=True
- << MT5867 >># udstar
- ** Invalid boot device **
- ** Invalid boot device **
- ** Invalid boot device **
- ** Invalid boot device **
- ** Invalid boot device **
- [ERROR] do_udstar:516: no file in usb
- << MT5867 >># uodate_mode
- Unknown command 'uodate_mode' - try 'help'
- << MT5867 >># update_mode
- update_mode - get/set update_mode
- Usage:
- update_mode <g/s> [EN_UPDATE_MODE]
- EN_UPDATE_MODE:
- 'EN_UPDATE_MODE_NONE' 'EN_UPDATE_MODE_TFTP' 'EN_UPDATE_MODE_USB' 'EN_UPDATE_MODE_OAD'
- 'EN_UPDATE_MODE_NET' 'EN_UPDATE_MODE_USB_WITH_SEG_DECRYPTED' 'EN_UPDATE_MODE_NET_WITH_SEG_DECRYPTED'
- << MT5867 >># usb
- usb - USB sub-system
- Usage:
- usb reset [dev] - reset (rescan) USB controller
- usb start [dev] - start (scan) USB controller
- usb stop [f] - stop USB [f]=force stop
- usb tree - show USB device tree
- usb info [dev] - show available USB devices
- usb storage - show details of USB storage devices
- usb dev [dev] - show or set current USB storage device
- usb part [dev] - print partition table of one or all USB storage devices
- usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
- to memory address `addr'
- usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
- from memory address `addr'
- usb wait [time] - set usb connection detection waiting time (ms)
- << MT5867 >># version
- U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
- arm-none-eabi-gcc (MStar eabi-4.5.2) 4.5.2
- GNU ld (MStar eabi-4.5.2) 2.20.51.20100809
- << MT5867 >>#
- enable ethener "mstar" ctrl +c then
- << MT5867 >># fastboot -h
- fastboot - enter fastboot mode
- Usage:
- fastboot [args..]
- - no arg
- << MT5867 >># fastboot
- Using device
- Listening for fastboot transfer on 192.168.1.137
- << MT5867 >># fastboot
- Using device
- Listening for fastboot transfer on 192.168.1.137
- T T T T T T
- **************************************
- host version: 1, host max packet: 8192
- command: getvar:has-slot:vbmeta_a, length: 24
- cb_getvar, var[has-slot:vbmeta_a].
- invalid var[has-slot:vbmeta_a].
- fastboot_fail: invalid var.
- response: FAILVariable not specified
- command: getvar:max-download-size, length: 24
- cb_getvar, var[max-download-size].
- invalid var[max-download-size].
- fastboot_fail: invalid var.
- response: FAILVariable not specified
- command: getvar:is-logical:vbmeta_a, length: 26
- cb_getvar, var[is-logical:vbmeta_a].
- invalid var[is-logical:vbmeta_a].
- fastboot_fail: invalid var.
- T response: FAILVariable not specified
- command: getvar:is-logical:vbmeta_a, length: 26
- cb_getvar, var[is-logical:vbmeta_a].
- invalid var[is-logical:vbmeta_a].
- fastboot_fail: invalid var.
- response: FAILVariable not specified
- command: getvar:partition-size:vbmeta_a, length: 30
- cb_getvar, var[partition-size:vbmeta_a].
- invalid var[partition-size:vbmeta_a].
- fastboot_fail: invalid var.
- response: FAILVariable not specified
- command: getvar:is-logical:vbmeta_a, length: 26
- cb_getvar, var[is-logical:vbmeta_a].
- invalid var[is-logical:vbmeta_a].
- fastboot_fail: invalid var.
- response: FAILVariable not specified
- command: download:00100000, length: 17
- Starting download of 1048576 bytes
- Retry count exceeded; starting again
- Using device
- Listening for fastboot transfer on 192.168.1.137
- response: OKAY
- command too long: 1024
- command too long: 1024
- command too long: 1024
- =======
- lsd@Crawler-E25:/media/lsd/0643177D1FFFA61D$ fastboot -s udp:192.168.1.137:5554 flash vbmeta_a vbmeta-a-disabled.img
- error: no response from target
- < waiting for udp:192.168.1.137:5554>
- Warning: skip copying vbmeta_a image avb footer (vbmeta_a partition size: 0, vbmeta_a image size: 1048576).
- Sending 'vbmeta_a' (1024 KB) OKAY [ 1.869s]
- Writing 'vbmeta_a' FAILED (remote: '')
- fastboot: error: Command failed
- lsd@Crawler-E25:/media/lsd/0643177D1FFFA61D$
- << MT5867 >># help flashbin
- flashbin - flashbin - dump/restore emmc or nand flash data to/from flash.bin
- Usage:
- flashbin command: flashbin [binname] [dump/restore] [valid] [partitionname]
- comments: 1. [valid] has effect on flash.bin when dump flash with the last partition:
- when valid=1, only dump the last partition's valid data.
- when valid=0, dump the last partition's entire data.
- 2. when dump flash without the last partition or restore flash, [valid] has no effect whether 1 or 0.
- 3. [partitionname] is a optional parameter, default is the whole flash without [partitionname].
- 4. when dump flash, flash.bin should be saved as ntfs3g/exfat supported file.
- when restore flash, flash.bin should be stored in a usb storage device with ntfs/exfat format.
- << MT5867 >>#
Add Comment
Please, Sign In to add comment