dgnd3700v1

Sharp 32FH4EA bootlog

Sep 24th, 2025 (edited)
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.81 KB | None | 0 0
  1. -----------------
  2.  
  3. DUMP RAW: https://drive.google.com/file/d/1NRh7clD4kc5PrNNNJfwdVvVI6uMxpEQT/view?usp=sharing
  4.  
  5. PCB EMMC TRACES: https://drive.google.com/file/d/1Wi_7C14hsgeXoGlXDz2uTImmQspxk61t/view?usp=sharing
  6.  
  7. schematics is similar to EL.MT9216-FG75: https://drive.google.com/file/d/1hPpQvhYpbRquq2PHeA_c1FIqPnhHcszr/view?usp=drive_link
  8.  
  9. emmc removed logic analyzer if someone understands (saleae logic 2): https://drive.google.com/file/d/19E4Cfgeykg6rqtJDF4grYnbBgXKfVTld/view?usp=drive_link
  10. ---------------
  11. NORMAL BOOT
  12. ===============
  13.  
  14.  
  15. UART_115200
  16.  
  17. AC_ON
  18. 01-2L-SM-04-20211227
  19. 1ST
  20. MIU0_DQS-OK
  21. BIST0-OK
  22. BAP=1
  23. BAP=1
  24. optee teeloader entry
  25. CusConfig
  26. eMMC_RPMB_Check_Program_Key
  27. BAP=1
  28. BAP=1
  29. ree_opt=0000007B
  30. BAP=1
  31. Auth reeloader...
  32. Decrypt reeloader...
  33. Check reeloader magic ID...
  34. Version check on reeloader...
  35. BAP=1
  36. BAP=1
  37. Auth CKB...
  38. Decrypt CKB...
  39. Check CKB magic ID...
  40. ns_uboot_boot
  41. NOTICE: BL3-1: v1.1(debug):138a50f3
  42. NOTICE: BL3-1: Built : 12:57:07, Mar 24 2023
  43. INFO: BL3-1: Initializing runtime services
  44. INFO: [Booting] mstar_send_magic_ATF 508
  45. INFO: BL3-1: Initializing BL3-2
  46. [Ramlog] ramlog_init init success
  47.  
  48. INFO: BL3-1: Preparing for EL3 exit to normal world
  49. INFO: BIN1_32bit mode Mar 24 2023 12:57:07
  50. INFO: R1 0
  51. INFO: R2 0
  52. INFO: R3 0
  53. ree_entry
  54.  
  55. Start load avbab data.
  56. Try virtual ab bootloader_control...
  57. Select mboot A.
  58. Select mboot A.
  59. U[AT][MB][start ub][508]
  60.  
  61. U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
  62.  
  63. [Mboot] ===== sw IR Config Register =====
  64. [Mboot] ===== Attach IR Interrupt ======
  65. Uboot Relocation: 152 MiB
  66.  
  67. eMMC HS400 5.1 200MHz
  68. eMMC 7.28 GB
  69. eMMC used life: 0~10%
  70. CID
  71. 0x002AD8BA
  72. 0xEB240652
  73. 0x34465447
  74. 0x38000115
  75. DRAM : 1024MB
  76. SAR5=ON
  77. In: serial
  78. Out: serial
  79. Err: serial
  80. Net: No ethernet found.
  81. MAC: 0x5C: 0x85: 0x7E: 0xBB:0x6C: 0xE9
  82. [AT][MBoot][Driver Init][561]
  83. mmc change mount : tvconfig
  84. ** File not found model.info
  85. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  86. No enough buffer or path fail(model.info) :
  87. [src/MsUtility.c] [loadscript]
  88. model.info not find !! Clean model_info env
  89. Writing to MMC(0)... 128 blocks written: OK
  90. 128 blocks written: OK
  91. done
  92. Try virtual ab bootloader_control...
  93. 0:MCP_N_D3_2133_8G_4x
  94. 1:MCP_N_D3_2133_0G_4x
  95. DRAM Channel 0 Size = [2048MB]
  96. Try virtual ab bootloader_control...
  97.  
  98. Changelist: 24543697
  99. do not first setup(first_setup=1), skip self adaption.
  100. ============= set bootargs ===============
  101. Hit any key to stop autoboot: 0
  102. enable dont overwrite function
  103. AC on
  104.  
  105.  
  106. Upgrade Version: 2.0
  107.  
  108. Writing to MMC(0)... 128 blocks written: OK
  109. 128 blocks written: OK
  110. done
  111. Check USB port[0]:
  112. [USB] config miu select [F0] [EF] [EF] ][EF]
  113. [USB] enable miu lower bound address subtraction
  114. Error, couldn't init Lowlevel part
  115. Check USB port[1]:
  116. [USB] config miu select [F0] [EF] [EF] ][EF]
  117. [USB] enable miu lower bound address subtraction
  118. scanning bus for devices... New Device 0
  119.  
  120. [USB] interface[0] conf:1 value E0:
  121. 1 USB Device(s) found
  122. Found USB WIFI [MTK7663] in usb port 1
  123. scanning bus for storage devices... 0 Storage Device(s) found
  124. Check USB port[2]:
  125. [USB] config miu select [F0] [EF] [EF] ][EF]
  126. [USB] enable miu lower bound address subtraction
  127. Error, couldn't init Lowlevel part
  128. FAIL : can not init usb!!
  129. Writing to MMC(0)... 128 blocks written: OK
  130. 128 blocks written: OK
  131. done
  132. mmc change mount : project_id
  133. Size of file "project_id.ini" from mmc device 0 partition project_id: 296 bytes
  134. Loading file "project_id.ini" at offset 0x0 from mmc device 0 partition project_id
  135. 296 bytes read
  136. [Mboot_IR] boot from dynamic ir
  137. fore uup u8KeyPad_KeyVal [0xFF]
  138. Try virtual ab bootloader_control...
  139. ENV_UPGRADE_COMPLETE =0
  140. ENV_UPGRADE_MODE =null
  141. androidboot boot reason =reboot
  142. Writing to MMC(0)... 128 blocks written: OK
  143. 128 blocks written: OK
  144. done
  145. [QHB] PowerOnMode = 255, u4BootCtrl = 0x0, fgStateOn = 0
  146. [QHB] prepare to CLEAR QHB
  147. [QHB] not quiescent boot.
  148. AC on
  149. ** CEC [TV] Change this Vendor ID according to customerWriting to MMC(0)... 128 blocks written: OK
  150. 128 blocks written: OK
  151. done
  152. findUsbDevice: find mtk bt usb device from usb prot[1]
  153. Check USB port[1]:
  154. [USB] config miu select [F0] [EF] [EF] ][EF]
  155. [USB] enable miu lower bound address subtraction
  156. scanning bus for devices... New Device 0
  157.  
  158. [USB] interface[0] conf:1 value E0:
  159. 1 USB Device(s) found
  160. Found USB WIFI [MTK7663] in usb port 1
  161. Ldbtusb_connect: dev->endpoints[0].bmAttributes = 0x3
  162. Ldbtusb_connect: dev->endpoints[0].bEndpointAddress = 0x81
  163. Ldbtusb_connect: set endpoints[0] to intr_ep
  164. Ldbtusb_connect: dev->endpoints[1].bmAttributes = 0x2
  165. Ldbtusb_connect: dev->endpoints[1].bEndpointAddress = 0x82
  166. Ldbtusb_connect: set endpoints[1] to bulk_rx_ep
  167. Ldbtusb_connect: dev->endpoints[2].bmAttributes = 0x2
  168. Ldbtusb_connect: dev->endpoints[2].bEndpointAddress = 0x2
  169. Ldbtusb_connect: set endpoints[2] to bulk_tx_ep
  170. LD_btmtk_usb_probe: =========================================
  171. LD_btmtk_usb_probe: Mediatek Bluetooth USB driver ver 4.0.21102201
  172. LD_btmtk_usb_probe: =========================================
  173. LD_btmtk_usb_probe: probe_counter = 1
  174. LD_btmtk_usb_probe: data address = 28709878
  175. btmtk_usb_cap_init: chip id = 7663
  176. btmtk_usb_cap_init: patch name: mt7663_patch_e2_hdr.bin
  177. btmtk_usb_cap_init: woble setting file name is woble_setting_7663.bin
  178. mtk_patch_bin_patch: /firmware/bt.cfg
  179. bt_env is NULL
  180. mmc change mount : cusdata
  181. Size of file "/firmware/bt.cfg" from mmc device 0 partition cusdata: 1318 bytes
  182. Loading file "/firmware/bt.cfg" at offset 0x0 from mmc device 0 partition cusdata
  183. 1318 bytes read
  184. btmtk_usb_load_bt_cfg_item: bt_cfg_content->support_unify_woble = 1
  185. btmtk_usb_load_bt_cfg_item: bt_cfg_content->unify_woble_type = 1
  186. 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
  187. mtk_patch_bin_patch: /firmware/mt7663_patch_e2_hdr.bin
  188. bt_env is NULL
  189. mmc change mount : cusdata
  190. Size of file "/firmware/mt7663_patch_e2_hdr.bin" from mmc device 0 partition cusdata: 278558 bytes
  191. Loading file "/firmware/mt7663_patch_e2_hdr.bin" at offset 0x0 from mmc device 0 partition cusdata
  192. 278558 bytes read
  193. btmtk_usb_check_need_load_patch_7668: btmtk_usb_check_need_load_patch_7668: return len is 7
  194. btmtk_usb_load_rom_patch_7668: patch_status: 2, retry: 20
  195. btmtk_usb_send_wmt_cfg: send wmt cmd!
  196. btmtk_usb_send_wmt_cmd: CMD: 6F FC 06 01 06 02 00 03 01
  197. btmtk_usb_send_wmt_cmd: EVT: E4 05 02 06 01 00 00
  198. btmtk_usb_load_rom_patch_7668: FW Version = 220713203113ccc
  199. btmtk_usb_load_rom_patch_7668: build Time = 220713203113ccc
  200. btmtk_usb_load_rom_patch_7668: platform = 7663
  201. btmtk_usb_load_rom_patch_7668: HW/SW version = mp-1
  202. btmtk_usb_load_rom_patch_7668: btmtk_usb_load_rom_patch_7668: loading rom patch of ILM
  203. btmtk_usb_load_partial_rom_patch_7668: loading rom patch... Done
  204. btmtk_usb_send_wmt_reset_cmd: Check reset wmt result : OK
  205. Ldbtusb_connect: usbbt probe success
  206. LD_btmtk_usb_SetWoble:
  207. btmtk_usb_send_wmt_cmd: retry to get event(10)
  208. btmtk_usb_send_wmt_cmd: retry to get event(9)
  209. btmtk_usb_send_wmt_cmd: retry to get event(8)
  210. btmtk_usb_send_wmt_power_on_cmd_7668: OK
  211. usb_bt_interrupt_msg: epType = 0x2
  212. usb_bt_interrupt_msg: ret = 0x0
  213. btmtk_usb_send_hci_tci_set_sleep_cmd_7668: OK
  214. usb_bt_interrupt_msg: epType = 0x2
  215. usb_bt_interrupt_msg: ret = 0x0
  216. btmtk_usb_send_hci_reset_cmd: OK
  217. usb_bt_interrupt_msg: epType = 0x2
  218. usb_bt_interrupt_msg: ret = 0x0
  219. btmtk_usb_get_vendor_cap: OK
  220. usb_bt_interrupt_msg: epType = 0x2
  221. usb_bt_interrupt_msg: ret = 0x0
  222. btmtk_usb_send_read_bdaddr: ADDR: 4C-31-2D-B8-60-0E
  223. mtk_patch_bin_patch: /firmware/woble_setting_7663.bin
  224. bt_env is NULL
  225. mmc change mount : cusdata
  226. Size of file "/firmware/woble_setting_7663.bin" from mmc device 0 partition cusdata: 1640 bytes
  227. Loading file "/firmware/woble_setting_7663.bin" at offset 0x0 from mmc device 0 partition cusdata
  228. 1640 bytes read
  229. btmtk_usb_load_fw_cfg_setting: APCF00: found & stored in 0
  230. btmtk_usb_load_fw_cfg_setting: APCF01: found & stored in 1
  231. btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC00: found & stored in 0
  232. btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC01: found & stored in 1
  233. btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC_LOCATION00: found & stored in 0
  234. btmtk_usb_load_fw_cfg_setting: APCF_ADD_MAC_LOCATION01: found & stored in 1
  235. btmtk_usb_load_fw_cfg_setting: RADIOOFF00: found & stored in 0
  236. btmtk_usb_load_fw_cfg_setting: WAKEUP_TYPE_WAVEFORM00: found & stored in 0
  237. btmtk_usb_load_fw_cfg_setting: RADIOOFF_COMPLETE_EVENT00: found & stored in 0
  238. File: misc/bluedroid/wake_on_ble.conf
  239. bt_env is NULL
  240. mmc change mount : cusdata
  241. ** File not found misc/bluedroid/wake_on_ble.conf
  242. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  243. LD_load_code: Get file size fail
  244. mmc change mount : tvconfig
  245. ** File not found misc/bluedroid/wake_on_ble.conf
  246. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  247. LD_load_code: Get file size fail
  248. ** Bad Signature on 0:46: expected 0x5840, got 0x0000
  249. LD_load_code: vfs_mount vendor fail
  250. mmc change mount : userdata
  251. Failed to mount ext2 filesystem...
  252. ** Bad ext4 partition or disk - mmc 0:45 **
  253. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  254. LD_load_code: Get file size fail
  255. ** Bad Signature on 0:46: expected 0x5840, got 0x0000
  256. LD_load_code: vfs_mount system fail
  257. ** Bad Signature on 0:46: expected 0x5840, got 0x0000
  258. LD_load_code: vfs_mount APP fail
  259. btmtk_usb_load_woble_setting: There is no DEVICE RECORD for wake-up
  260. btmtk_usb_set_apcf: Set APCF filter from woble_setting.bin
  261. 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
  262. usb_bt_interrupt_msg: epType = 0x2
  263. usb_bt_interrupt_msg: ret = 0x0
  264. btmtk_usb_set_apcf: Send woble_setting_apcf[1] 57 FD 0A 01 00 0A 20 00 20 00 01 80 00
  265. usb_bt_interrupt_msg: epType = 0x2
  266. usb_bt_interrupt_msg: ret = 0x0
  267. 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
  268. usb_bt_interrupt_msg: epType = 0x2
  269. usb_bt_interrupt_msg: ret = 0x0
  270. btmtk_usb_send_hci_cmd: got unknown event(6)
  271. btmtk_usb_send_hci_cmd: try get event again
  272. usb_bt_interrupt_msg: epType = 0x2
  273. usb_bt_interrupt_msg: ret = 0x0
  274. Ldbtusb_SetWoble: usb set woble end
  275. do_setMtkBT: ready to do usb_stop
  276. do_setMtkBT: stop usb port: 1
  277. mmc change mount : cusdata
  278. Loading file "bsp/chip/pm/PM.bin" at offset 0x0 from mmc device 0 partition cusdata
  279. 32767 bytes read
  280. Wait for PM51 standby...........PM51 run ok...........-usb_stop(USB_PORT0)
  281. -usb_stop(USB_PORT1)
  282. -usb_stop(USB_PORT2)
  283. [MDrv_PM_Init_Key][909] Retry send MBX CMD(0x1) to PM51.
  284. [MDrv_PM_Init_Key][909] Retry send MBX CMD(0xB2) to PM51.
  285. LD_btmtk_usb_getWoBTW: LD_btmtk_usb_getWoBTW, u8WoBTW = 1
  286. [MDrv_PM_Init_Key][909] Retry send MBX CMD(0xB4) to PM51.
  287. Set Power Off Short
  288. CRC Check OPEN: 1
  289.  
  290. Build at Jul 20 2022 - 15:25:21
  291.  
  292. WOW_GPIO_NUM = 0
  293. WOW_GPIO_NUM is invalid
  294. WOBT_GPIO_NUM = 17
  295. WOBT_PM_GPIO_NUM = 8
  296. WOEWBS_GPIO_NUM = 255
  297. WOEWBS_PM_GPIO_NUM = 255
  298. BTW = 1
  299. USB = FF
  300. VAD = FF
  301. 0x8709
  302. UART_115200
  303.  
  304. AC_ON
  305. 01-2L-SM-04-20211227
  306. 1ST
  307. MIU0_DQS-OK
  308. BIST0-OK
  309. BAP=1
  310. BAP=1
  311. optee teeloader entry
  312. CusConfig
  313. eMMC_RPMB_Check_Program_Key
  314. BAP=1
  315. BAP=1
  316. ree_opt=0000007B
  317. BAP=1
  318. Auth reeloader...
  319. Decrypt reeloader...
  320. Check reeloader magic ID...
  321. Version check on reeloader...
  322. BAP=1
  323. BAP=1
  324. Auth CKB...
  325. Decrypt CKB...
  326. Check CKB magic ID...
  327. ns_uboot_boot
  328. NOTICE: BL3-1: v1.1(debug):138a50f3
  329. NOTICE: BL3-1: Built : 12:57:07, Mar 24 2023
  330. INFO: BL3-1: Initializing runtime services
  331. INFO: [Booting] mstar_send_magic_ATF 508
  332. INFO: BL3-1: Initializing BL3-2
  333. [Ramlog] ramlog_init init success
  334.  
  335. INFO: BL3-1: Preparing for EL3 exit to normal world
  336. INFO: BIN1_32bit mode Mar 24 2023 12:57:07
  337. INFO: R1 0
  338. INFO: R2 0
  339. INFO: R3 0
  340. ree_entry
  341.  
  342. Start load avbab data.
  343. Try virtual ab bootloader_control...
  344. Select mboot A.
  345. Select mboot A.
  346. U[AT][MB][start ub][486]
  347.  
  348. U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
  349.  
  350. [Mboot] ===== sw IR Config Register =====
  351. [Mboot] ===== Attach IR Interrupt ======
  352. Uboot Relocation: 152 MiB
  353.  
  354. eMMC HS400 5.1 200MHz
  355. eMMC 7.28 GB
  356. eMMC used life: 0~10%
  357. CID
  358. 0x002AD8BA
  359. 0xEB240652
  360. 0x34465447
  361. 0x38000115
  362. DRAM : 1024MB
  363. SAR5=ON
  364. In: serial
  365. Out: serial
  366. Err: serial
  367. Net: No ethernet found.
  368. MAC: 0x5C: 0x85: 0x7E: 0xBB:0x6C: 0xE9
  369. [AT][MBoot][Driver Init][539]
  370. mmc change mount : tvconfig
  371. ** File not found model.info
  372. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  373. No enough buffer or path fail(model.info) :
  374. [src/MsUtility.c] [loadscript]
  375. model.info not find !! Clean model_info env
  376. Writing to MMC(0)... 128 blocks written: OK
  377. 128 blocks written: OK
  378. done
  379. Try virtual ab bootloader_control...
  380. 0:MCP_N_D3_2133_8G_4x
  381. 1:MCP_N_D3_2133_0G_4x
  382. DRAM Channel 0 Size = [2048MB]
  383. Try virtual ab bootloader_control...
  384.  
  385. Changelist: 24543697
  386. do not first setup(first_setup=1), skip self adaption.
  387. ============= set bootargs ===============
  388. Hit any key to stop autoboot: 0
  389. enable dont overwrite function
  390. DC on !!
  391. mmc change mount : project_id
  392. Size of file "project_id.ini" from mmc device 0 partition project_id: 296 bytes
  393. Loading file "project_id.ini" at offset 0x0 from mmc device 0 partition project_id
  394. 296 bytes read
  395. [Mboot_IR] boot from dynamic ir
  396. fore uup u8KeyPad_KeyVal [0xFF]
  397. Try virtual ab bootloader_control...
  398. ENV_UPGRADE_COMPLETE =0
  399. ENV_UPGRADE_MODE =null
  400. androidboot boot reason =reboot
  401. Writing to MMC(0)... 128 blocks written: OK
  402. 128 blocks written: OK
  403. done
  404. [QHB] PowerOnMode = 241, u4BootCtrl = 0x0, fgStateOn = 0
  405. [QHB] prepare to CLEAR QHB
  406. [QHB] not quiescent boot.
  407. DC on !!
  408. [QHB] normal boot mode
  409. Active Standby Mode FALSE =====
  410.  
  411. MsDrv_PNL_Init:Bypass SetDivison
  412. [Utopia][PNL]: [_MAPI_PNL_SetMFTMode]set default MFT at LPLL_Type=1
  413. mi OLED support = 0
  414. [MApi_XC_MLG_GetStatus, 2891]No instance existed, please get an instance by calling MApi_XC_Init() first
  415. [msReadEfuse][2929]u32Result=tx, after mask u32Result=tx
  416. [AT][MB][panel_pre_init][737]
  417. -usb_stop(USB_PORT0)
  418. -usb_stop(USB_PORT1)
  419. -usb_stop(USB_PORT2)
  420.  
  421. ###### Android Verify Boot 2.0 ######
  422.  
  423. [init_std] OPTEE version is 3
  424. ubootRpmbReadRequest
  425. ubootRpmbVerifyReadResponse
  426. ubootRpmbReadRequest
  427. ubootRpmbVerifyReadResponse
  428. Try virtual ab bootloader_control...
  429.  
  430. @@ Trying to verify slot _a Partition: boot
  431.  
  432. read_rollback_index done, Location: 0, Index: 0x0
  433. avb_footer.c:41: ERROR: Footer magic is incorrect.
  434. read_rollback_index done, Location: 2, Index: 0x0
  435. read_rollback_index done, Location: 7, Index: 0x0
  436. read_rollback_index done, Location: 12, Index: 0x0
  437. read_rollback_index done, Location: 8, Index: 0x0
  438. read_rollback_index done, Location: 11, Index: 0x0
  439. read_rollback_index done, Location: 10, Index: 0x0
  440. ubootRpmbReadRequest
  441. ubootRpmbVerifyReadResponse
  442.  
  443. System will boot from slot:_a partition: boot
  444.  
  445. ## AVB2.0 append extra bootargs:
  446. androidboot.vbmeta.device=179:3 androidboot.vbmeta.avb_version=1.0 androidboot.vbmeta.device_state=locked androidboot.vbmeta.hash_algg
  447.  
  448. ubootRpmbReadRequest
  449. ubootRpmbVerifyReadResponse
  450.  
  451. [AT][MB][bootlogo begin][1069]
  452. [AT][MB][JPD Decode][1091]
  453. [showLogo] GOP Boot Logo Index 2
  454. [MApi_XC_GetMirrorModeTypeEx, 1746]No instance existed, please get an instance by calling MApi_XC_Init() first
  455. [MApi_XC_GetStatus,14469]No instance existed, please get an instance by calling MApi_XC_Init() first
  456. [Utopia][GOP DRV]:
  457. Not support 2G palette!'[Utopia][GOP DRV]:
  458. [MDrv_GOP_GWIN_SetMux] not support gop3 in this chip version!![MApi_XC_GetStatus,14469]No instance existed, please get an instance byt
  459. [AT][MB][Show Logo][1164]
  460. Boot state is: Green !
  461.  
  462. readKL_dtb load AB partition boot_a
  463. boot_a image header version: 2
  464.  
  465. emmc_load_dtbo load AB partition dtbo_a
  466. ## emmc_load_dtbo: Load dtbo image from partition: dtbo_a
  467. ## Load dtbo image done, image size: 732 Byte !
  468. [QHB] normal boot mode
  469. Active Standby Mode FALSE =====
  470.  
  471. ---MsDrv_PNL_BackLigth_On:2117 Set MsDrv_PNL_BackLigth_On DelayTask 35
  472. [QHB] normal boot mode
  473. Active Standby Mode FALSE =====
  474. [AT][MBoot][Boot Nuttx][1354]
  475. Kernel command line: quiet no_autorun_log=1 loglevel=1 dbg_mutex=0 androidboot.boot_devices=mstar_mci.0 buildvariant=user
  476. ANDROID HEADER V2
  477. Getting the dtb of index: 0 ... OK
  478. -usb_stop(USB_PORT0)
  479. -usb_stop(USB_PORT1)
  480. -usb_stop(USB_PORT2)
  481. Loading Kernel Image ... OK
  482. Applying the overlay fdt of index: 0 ... OK
  483. ## boot_ufdt_overlay: Merge DTBO to main DTB done, takes 0.008 ms
  484. Loading Device Tree to 284D0000, end 284D95D2 ... OK
  485. [AT][MB][start kr][1429]
  486.  
  487. Starting kernel ...
  488.  
  489. [ERROR] _get_new_map_format_from_env:529: get MI_KERNEL_POOL3_ADR fail
  490. [ERROR] _get_new_map_format_from_env:529: get MI_KERNEL_POOL4_ADR fail
  491. [ 0.000000] Function = void dma_contiguous_reserve(phys_addr_t), Line = 578, set pool_id: 30 as a FAKEMEM CMA HEAP
  492. [ 0.000000]
  493. [ 0.000000] Function = void memory_present(int, unsigned long, unsigned long), go handling FAKEMEM mem_section 0x60000 to 0x80000,3
  494. [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x20200 to 0x37000
  495. [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x0 to 0x0
  496. [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x37000 to 0x5B200
  497. [ 0.000000] Function = void free_area_init_core(struct pglist_data *), Line = 7196, origin init from 0x0 to 0x0
  498. [ 0.000000]
  499. [ 0.000000]
  500. [ 0.000000] Function = void free_area_init_core(struct pglist_data *), fakemem __init_single_pfn 0x60000 to 0x80000
  501. [RAMLOG] tee_entry_get_ramlog_config 349
  502.  
  503. [RAMLOG] Chip ID: 4d 9f 7e 8e f5 92 37 d7
  504.  
  505. _check_ramlog_binary Ramlog AUTHEN fail
  506.  
  507. [ 1.004098] ==RTC== MDrv_RTC_Init, 86
  508. console:/ $ Error! failed to finit_module
  509. failed to insmod ko kopath=/vendor/lib/modules/firmware_class.ko error(17):File exists
  510. Error! failed to finit_module
  511. failed to insmod ko kopath=/vendor/lib/modules/cfg80211.ko error(17):File exists
  512. get line is 0e8d:7663:/vendor/lib/modules/btmtk_usb.ko
  513. get line is 0e8d:7663:/vendor/lib/modules/mtprealloc_mt7663.ko
  514. get line is 0e8d:7663:/vendor/lib/modules/wlan_mt7663.ko
  515. get line is 0e8d:7668:/vendor/lib/modules/btmtk_usb.ko
  516. get line is 0e8d:7668:/vendor/lib/modules/mtprealloc_mt7668.ko
  517. get line is 0e8d:7668:/vendor/lib/modules/wlan_mt7668.ko
  518. get line is 0e8d:7961:/vendor/lib/modules/btmtk_usb_unify.ko
  519. get line is 0e8d:7961:/vendor/lib/modules/mtprealloc_mt7961.ko
  520. get line is 0e8d:7961:/vendor/lib/modules/wlan_mt7961.ko
  521. Bus 003 Device 001: ID 1d6b:0002
  522. Bus 001 Device 001: ID 1d6b:0002
  523. Bus 002 Device 001: ID 1d6b:0002
  524. Bus 003 Device 002: ID 0e8d:7663
  525. Good! we find wifi usb dongle,and then to insmod ko
  526. [RAMLOG] tee_get_ramlog_config 334
  527.  
  528. [RAMLOG] Chip ID: 4d 9f 7e 8e f5 92 37 d7
  529.  
  530. _is_ramlog_enable AUTHEN buffer is zero or len is not equal to 16
  531.  
  532. success to insmod ko, vid=0e8d pid=7663 kopath=/vendor/lib/modules/btmtk_usb.ko
  533. Good! we find wifi usb dongle,and then to insmod ko
  534. success to insmod ko, vid=0e8d pid=7663 kopath=/vendor/lib/modules/mtprealloc_mt7663.ko
  535. Good! we find wifi usb dongle,and then to insmod ko
  536. success to insmod ko, vid=0e8d pid=7663 kopath=/vendor/lib/modules/wlan_mt7663.ko
  537.  
  538.  
  539.  
  540.  
  541. netpriv: maxpriv size is 256
  542. netpriv: device is wlan0
  543. netpriv: get cmd number 35823
  544. Init wrapper sys mutex successful. Pid:281
  545. netpriv: cmd driver:0x00000000
  546. run success
  547. 0x00000000
  548. [wlan_dongle_detect]: mcr_ans is 0
  549.  
  550.  
  551.  
  552. end run cmd
  553. netpriv: maxpriv size is 256
  554. netpriv: device is wlan0
  555. netpriv: get cmd number 35823
  556. netpriv: cmd driver:0x00076630
  557. run success
  558. 0x00076630
  559. [wlan_dongle_detect]: mcr_ans is 76630
  560.  
  561.  
  562.  
  563. end run cmd
  564. the mcr is : 7663[wlan_dongle_detect]:wifi dongle is mt7663
  565. [ 9.893479] au32IRWakeHotkey[0] = 0xbf085
  566. [ 9.897631] au32IRWakeHotkey[1] = 0xbf086
  567. [ 9.901761] au32IRWakeHotkey[2] = 0xbf089
  568. [ 9.905914] u1HotkeyCfgNum = 3
  569.  
  570. CPU_AUDIO is running!
  571.  
  572. --- Launch TV F/W ---
  573. Running rc.local...
  574. /mnt/vendor/linux_rootfs/basic/3rd_ini/Arm_Mali/global_env_setup.ini
  575. /mnt/vendor/linux_rootfs/basic/3rd_ini/dialserver/global_env_setup.ini
  576. /mnt/vendor/linux_rootfs/basic/3rd_ini/mss/global_env_setup.ini
  577. /mnt/vendor/linux_rootfs/basic/3rd_ini/widevine/global_env_setup.ini
  578. /mnt/vendor/linux_rootfs/basic/3rd_ini/wpf_browser/global_env_setup.ini
  579. insmod: /basic/fusion.ko: No such file or directory
  580. Init wrapper sys mutex successful. Pid:480
  581. MI_SYS_Init() without Parameter
  582. Init wrapper sys mutex successful. Pid:409
  583. Info: get MI daemon priority before System Init: [-20]
  584. !!!Enter MI daemon prcoess!! start time =12982
  585. !!!Enter MI daemon flow time=12993!!
  586. HASHKEY_Verify=(0)(0)
  587. MI_SYS_Init() with Parameter
  588. [Utopia][MSOS]: [ERROR][MsOS_CreateMutex][2311] [MsOS_CreateMutex][2311] Update max number of msos mutex: 256
  589. [utopia info] open: /vendor/etc/utopia.conf
  590. [Utopia][MSOS]: [WARN][MsOS_Init][5917] Already inited.
  591. SYS_Init ioctl UTOPIA_IOCTL_GetChipID OK. SYS_Init(359)(16449537)(251)(0)(1)
  592.  
  593. KeyCustomerList[1].chipid:e8
  594. >> Start MM service
  595. >> Start INJPLAY service
  596. >> Start SUBTITLE service
  597. >> Start TTX service
  598. >> Start VOC service
  599. Open MI_OSD kernel module successful
  600. MI_DISP_GetHandle[661]: Error 0x3: failed to ioctl(MI_DEV_IOC_DISP_GET_HANDLE)
  601. MI_WRAPPER_RegisterCallback[736]: listen event(fffffff0) failed!
  602. _MI_WRAPPER_DISP_RegisterCallback[2299]: Error 0x1: failed to ioctl(MI_DEV_IOC_DISP_REGISTER_CALLBACK)
  603. HDCP callback is already registered!
  604. MI_WRAPPER_RegisterCallback[736]: listen event(fffffff1) failed!
  605. _MI_WRAPPER_DISP_RegisterCallback[2299]: Error 0x3: failed to ioctl(MI_DEV_IOC_DISP_REGISTER_CALLBACK)
  606. HDCP callback is already registered!
  607. SYS User inited:0
  608. MI_IIC_Init[168]: Error 0x2: failed to ioctl(MI_DEV_IOC_IIC_INIT)
  609. _s32MikAextinFd: 34, aextin init result : 0
  610. !!!MI daemon prcoess start! MI daemon cost time=1147!!!
  611. Info: get MI daemon priority after Module Init: [0]
  612. [Utopia][MSOS]: [ERROR][MsOS_CreateMutex][2311] [MsOS_CreateMutex][2311] Update max number of msos mutex: 256
  613. [utopia info] open: /vendor/etc/utopia.conf
  614. [Utopia][MSOS]: [WARN][MsOS_Init][5917] Already inited.
  615. SYS_Init ioctl UTOPIA_IOCTL_GetChipID OK. SYS_Init(359)(16449537)(251)(0)(1)
  616. _MI_WRAPPER_SYS_SecurityAuthentication[769]: Invalid parameter!
  617. _MI_WRAPPER_SYS_SecurityAuthentication[769]: pstInitParams is NULL.
  618. MI_IIC_Init[168]: Error 0x2: failed to ioctl(MI_DEV_IOC_IIC_INIT)
  619. _s32MikAextinFd: 30, aextin init result : 2
  620. Open MI_OSD kernel module successful
  621. [cpuAudio_createDecoderMonitorThread][314]armAudio_decoderMonitor_ver: 0x1f thread created successfully
  622. cpuAudio getThreadInfo...
  623. [Main]open ok
  624. cpuAudio[Info](thread-name:cpu_audio)(pid:480)(tid:669)
  625. cpuAudio[Version](821,0x1F)
  626. [MI_VOC] - MI_VOC_GetHandle()[3388]: Can't find handler!
  627. open /dev/snd/pcmC2D0c in NON-Block mode
  628. open /dev/snd/pcmC2D0c in NON-Block mode
  629. (SIGNAL TRACER)init ok
  630. [AUDIO] pre-init audio decoders (733245642171094)!!
  631.  
  632.  
  633.  
  634.  
  635. cpuAudio[448](adec_id:0, CMA_id == 0 !!, use malloc())
  636.  
  637.  
  638.  
  639.  
  640. [ 32.827108] [MWCmd]TunerConnect()
  641. [ 32.834518] [Drvapi_tuner]TUNER_STATE_CONNECTING, bDisconnectAcq=0
  642. [ 33.159784] [MWCmd]TunerDisconnect()
  643. [ 34.233341] [Drvapi_tuner]fgRetSts=0 ,ui4_freq =578000000
  644. [ 34.238961] [Drvapi_tuner]out of lock ptStateInfo->b_disable_nfy=1 ,fStayInConnectedState=0
  645. [ 34.247478] [Drvapi_tuner]TunerID1 Connection time = 1412 ms,ui4_freq =578000000
  646. [ 34.259453] [MWCmd]TunerDisconnectRMR_OK
  647. [ 52.661271] [GLUE]Do __Glue_PDWNC_HandlePowerDownCallback
  648. [ 52.666825] [GLUE]__Glue_PDWNC_HandlePowerDownCallback[2941] Bluetooth pdwnc callback is null
  649. Terminated
  650. [ 57.560891] pdwnc_reboot_notify-0: (null),event = 3
  651. [ 57.570851] [GLUE]Do __Glue_PDWNC_HandlePowerDownCallbackForWifi
  652. [ 57.576905] [GLUE]__Glue_PDWNC_HandlePowerDownCallbackForWifi[2956] WIFI pdwnc callback is null
  653. mstar set pm power off param
  654. [ 58.818832] reboot: Power down
  655. mstar pm power down
  656. INFO: fvp_affinst_suspend:139 warm_boot_state = 1
  657. ERROR: core 1 is not shutdown. Clean STR FLAG!
  658. ERROR: [SMP Failed] System will go cold boot flow at next boot time !!INFO: [ATF] mstar_mbx 429 Kernel Mode Reset to PM51
  659. �CRC Check OPEN: 1
  660.  
  661. Build at Jul 20 2022 - 15:25:21
  662.  
  663. WOW_GPIO_NUM = 255
  664. WOW_PM_GPIO_NUM = 255
  665. WOBT_GPIO_NUM = 17
  666. WOBT_PM_GPIO_NUM = 8
  667. WOEWBS_GPIO_NUM = 255
  668. WOEWBS_PM_GPIO_NUM = 255
  669. BTW = 1
  670. USB = FF
  671. VAD = FF
  672. 0x308
  673. Power Down
  674.  
  675. --------------
  676. 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
  677. --------------
  678. UART_115200
  679.  
  680. AC_ON
  681. 01-2L-SM-04-20211227
  682. 1ST
  683. MIU0_DQS-OK
  684. BIST0-OK
  685. BAP=1
  686. BAP=1
  687. RPMB_MAC_Mismatched
  688. SECURE_AUTH_FAIL
  689. ---------------------
  690.  
  691. Removing EMMC gives this output in UART " � " dont know its BOOTROM?
  692.  
  693. ========
  694. U-Boot
  695. ========
  696.  
  697. << MT5867 >># avbab
  698.  
  699. enable-verity - AVB2.0 enable dm-verity.
  700. disable-verity - AVB2.0 disable dm-verity.
  701. set_active [slot] - set slot a/b to active slot.
  702. set_device_state [value] - Set device_state to [value], lock = 1, unlock = 0, default value = 0.
  703. dump - Dump device state and rollback index.
  704.  
  705. << MT5867 >># avbab dump
  706. [init_std] OPTEE version is 3
  707. ubootRpmbReadRequest
  708. ubootRpmbVerifyReadResponse
  709. uboot_rpmb_raw_data.device_state=0
  710. uboot_rpmb_raw_data.index_counts=0
  711. avb_dump_avb_rpmb_data: dump rollback_index:
  712. rollback_index[0]:0
  713. rollback_index[1]:0
  714. rollback_index[2]:0
  715. rollback_index[3]:0
  716. rollback_index[4]:0
  717. rollback_index[5]:0
  718. rollback_index[6]:0
  719. rollback_index[7]:0
  720. rollback_index[8]:0
  721. rollback_index[9]:0
  722. rollback_index[10]:0
  723. rollback_index[11]:0
  724. rollback_index[12]:0
  725. rollback_index[13]:0
  726. rollback_index[14]:0
  727.  
  728. avbab dump Done !!
  729.  
  730. << MT5867 >># avbab disable-verity
  731. ubootRpmbReadRequest
  732. ubootRpmbVerifyReadResponse
  733. do_avbab: Error, device state is locked, don't allow to on/off dm-verity.
  734. avbab disable-verity Fail !!
  735. << MT5867 >># avbab set_device_state 0
  736. ubootRpmbReadRequest
  737. ubootRpmbVerifyReadResponse
  738. ubootRpmbReadRequest
  739. ubootRpmbVerifyReadResponse
  740. ubootRpmbReadRequest
  741. ubootRpmbVerifyReadResponse
  742. ubootRpmbWriteRequest
  743. ubootRpmbVerifyWriteResponse
  744. avb_rpmb.c:ubootRpmbVerifyWriteResponse:382 Success to verify rpmb HMAC
  745. avb_setDeviceState: Device State is set to UNLOCK.
  746. begin erase userdata.
  747. 1 blocks written: OK
  748. MMC erase: dev # 0, user area part, block # 6590464, count 8679424 (unit: sector)...
  749. 8679424 blocks erase: OK
  750. end erase userdata.
  751. avbab set_device_state 0 Done !!
  752. << MT5867 >># avbab disable-verity
  753. ubootRpmbReadRequest
  754. ubootRpmbVerifyReadResponse
  755. do_avbab: Error, device state is locked, don't allow to on/off dm-verity.
  756. avbab disable-verity Fail !!
  757. << MT5867 >>#
  758.  
  759.  
  760. << MT5867 >># help
  761. ? - alias for 'help'
  762. CmdPerformanceTest- gettime - Get the system executing time
  763.  
  764. SecureBootCmd- SecureBootCmd
  765.  
  766. SecureInit- Init security booting.
  767.  
  768. ac - set a new config to the bootargs
  769.  
  770. aesdma - aesdma - do the aesdma command.
  771.  
  772. authenticate- authenticate the kernel image
  773. authenticateAN- authenticate android's boot and recover image
  774. auto_flash- do auto flash image.
  775.  
  776. auto_tftp- do auto-address tftp.
  777.  
  778. avbShowStatus- avbShowStatus - Display AVB status
  779.  
  780. avbab -
  781. enable-verity - AVB2.0 enable dm-verity.
  782. disable-verity - AVB2.0 disable dm-verity.
  783. set_active [slot] - set slot a/b to active slot.
  784. set_device_state [value] - Set device_state to [value], lock = 1, unlock = 0, default value = 0.
  785. dump - Dump device state and rollback index.
  786.  
  787. base - print or set address offset
  788. bdinfo - print Board Info structure
  789. bin2emmc- bin2emmc - read bin file and restore it to emmc
  790.  
  791. boot - boot default, i.e., run 'bootcmd'
  792. bootKL - bootKL
  793.  
  794. bootargs_set- Set info exchange and set to boot args.
  795. bootcheck- bootcheck - Do boot check
  796.  
  797. bootd - boot default, i.e., run 'bootcmd'
  798. bootlogo- bootlogo - Display Logo_Music
  799.  
  800. bootm - boot application image from memory
  801. bootp - boot image via network using BOOTP/TFTP protocol
  802. checkUsbModeSwitch- checkUsbModeSwitch -
  803.  
  804. checkVersion- check current verison and upgrade image version
  805.  
  806. checkfile- check file exist in u disk,and set the partition.
  807. checkstr- check_str_resume
  808.  
  809. checktee- Check TEE binary
  810. chkmiusetting- chkmiusetting - Check MIU setting
  811.  
  812. cleanallenv- cleanall environment variables to persistent storage
  813. cmp - memory compare
  814. cnstar - do net update from the specified file that is in oad partition
  815.  
  816. config2env- Set config to environment.
  817. config_raw_io- Config the target device for raw I/O
  818. coninfo - print console devices and information
  819. costar - do oad update from the specified file that is in oad partition
  820.  
  821. cp - memory copy
  822. crc32 - checksum calculation
  823. createMbootBak- emmc create mbootbak partition -
  824.  
  825. custar - do usb update from the specified file that is in usb.
  826.  
  827. dbg - set debug message level. Default level is INFO
  828. dbtable_init- dbtable_init - let data is ready (logo, music, panel, ursa).
  829.  
  830. dc - delete the specific cofig that is in the bootargs
  831.  
  832. delay - delay time, time unit is ms
  833.  
  834. destroy_logo- destroy_logo - Stop logo display
  835.  
  836. dhcp - boot image via network using DHCP/TFTP protocol
  837. dont_overwrite- This serial apis are for protecting the specific partitions are overwrited. ex: customer
  838. This cmd is used to register which partition should not be overwrite
  839.  
  840. dont_overwrite_free- This serial apis are for protecting the specific partitions are overwrited. ex: customer
  841. This cmd is used to free all registered partitions.
  842.  
  843. dont_overwrite_init- This serial apis are for protecting the specific partitions are overwrited. ex: customer
  844. This cmd is used to init this function
  845.  
  846. dont_overwrite_switch- This serial apis are for force write and re-create partitions.
  847. This cmd is used to disable dont_overwrite function.
  848.  
  849. draw_jpg- blt_jpg - Blt JPG
  850.  
  851. draw_pixel- draw_pixel - draw a pixel with color
  852.  
  853. draw_progress- draw_string - draw string with color
  854.  
  855. draw_rect- draw_rect - draw rect with color
  856.  
  857. draw_string- draw_string - draw string with color
  858.  
  859. du - du - Disable UART
  860.  
  861. dumpSignature- dump the signature
  862. ebist - PHY loopback test
  863. echo - echo args to console
  864. editenv - edit environment variable
  865. edump - EMAC Register settings dump
  866. eloopback- Long loopback test
  867. emmc - eMMC sub system
  868. emmc_self_adaption- emmc_self_adaption -
  869.  
  870. emmcbin - emmcbin - dump emmc and restore it to fat usb disk
  871.  
  872. emmcbootbin- emmcbootbin - dump emmc boot partition and write it to fat usb disk
  873.  
  874. env - environment handling commands
  875. envload - envload - reload the nand environment.
  876.  
  877. epd - emac power down
  878. estart - EMAC start
  879. ewavetest- EMAC wave test
  880. exit - exit script
  881. ext2load- load binary file from a Ext2 filesystem
  882. ext2ls - list files in a directory (default /)
  883. ext4filelist- list files in a directory (default /)
  884. ext4filesize- get file size from a Ext4 filesystem
  885. ext4load- load binary file from a Ext4 filesystem
  886. ext4ls - list files in a directory (default /)
  887. ext4partload- part load binary file from a Ext4 filesystem
  888. false - do nothing, unsuccessfully
  889. fastboot- enter fastboot mode
  890. fatfilesize- fatfilesize - load binary file from a dos filesystem
  891.  
  892. fatinfo - print information about filesystem
  893. fatload - load binary file from a dos filesystem
  894. fatls - list files in a directory (default /)
  895. fatpartload- fatpartload - load binary file from a dos filesystem
  896.  
  897. fatwrite- fatwrite - write binary file to a dos filesystem
  898.  
  899. fdt - flattened device tree utility commands
  900. fileSegRSA- do file segment rsa authendication
  901. filelist- Dump the file list.
  902.  
  903. filelisttest- This command is only for file list test
  904.  
  905. filepartload- load part of a file to RAM
  906. filepartloadSeg- load a seg part of file to RAM
  907. filepartloadSegAES- load a part of file to RAM and do descrypted
  908. flashbin- flashbin - dump/restore emmc or nand flash data to/from flash.bin
  909.  
  910. force_overwrite- This serial apis are for force write and re-create partitions.
  911. This cmd is used to register which partition should force overwrite
  912.  
  913. force_overwrite_init- This serial apis are for force write and re-create partitions.
  914. This cmd is used to register which partition should force overwrite
  915.  
  916. get_mmap- get memory info from supernova's mmap
  917. gettime - gettime - Get the system executing time
  918.  
  919. go - start application at address 'addr'
  920. gpio - GPIO Command:
  921. help - print command description/usage
  922. i2c - I2C sub-system
  923. if_boot_to_pm- if boot to PM
  924.  
  925. iminfo - print header information for application image
  926. imxtract- extract a part of a multi-image
  927. initDbgLevel- Initial varaible 'dbgLevel'
  928. init_raw_io- init raw_io module
  929. ir_delay- ir_delay - delay 300ms for IR detect.
  930.  
  931. itest - return true/false on integer compare
  932. kernelProtect- kernelProtect - Protect kernel
  933.  
  934. kernelProtectBist- kernelProtectBist - Protect kernel bist
  935.  
  936. led - See led commands
  937. loadb - load binary file over serial line (kermit mode)
  938. loadenv - loadenv - load env for nand
  939.  
  940. loads - load S-Record file over serial line
  941. loadspi - load data from SPI
  942. loady - load binary file over serial line (ymodem mode)
  943. loop - infinite loop on address range
  944. lz4 - LZ4 decompress
  945. m2e - Restore the address and len to env from supernova's mmap
  946.  
  947. macaddr - setup EMAC MAC addr
  948. mbootver_set- setmbootver - for customer show in factory menu.
  949.  
  950. mbup - mboot upgrade
  951.  
  952. md - memory display
  953. memtest - Get the performance of memory
  954. miuProtect- miuProtect - Protect miu
  955.  
  956. mm - memory modify (auto-incrementing address)
  957. mmc - MMC sub system
  958. mmcbininfo- mmcbininfo - Valid block num in each partition
  959.  
  960. mmcinfo - display MMC info
  961. mmcreg - mmcreg show ext-csd
  962. modelinfo- modelinfo - check model info if need sync to sync dbpool
  963.  
  964. mscompress7- Compress or decompress lzma files
  965. msg - print string - msg [string]
  966.  
  967. mstar - update kernal & root file system automatically by script file
  968. mstar_usb- MStar USB Driver Porting
  969. mtest - simple RAM read/write test
  970. multi2optee- For Multi Optee Image writting to EMMC
  971. mversion- show changelist - mversion
  972.  
  973. mw - memory write (fill)
  974. nm - memory modify (constant address)
  975. nstar - nstar - update softwave system automatically via net
  976.  
  977. nuttxProtect- nuttx Protect - Protect nuttx
  978.  
  979. oled_panel_err_cnt_clear- To load customer file.
  980.  
  981. osd_create- osd_create - create osd layer
  982.  
  983. osd_destroy- osd_destroy - destroy osd layer
  984.  
  985. osd_flush- osd_flush - flush canvas to screen
  986.  
  987. ostar - ostar - update softwave system automatically via oad
  988.  
  989. ota_zip_check- do OTA zip package check.
  990.  
  991. panel_init- panel_init - init panel by panel.ini
  992.  
  993. panel_post_init- backligth on - backlight on
  994.  
  995. panel_pre_init- panel_pre_init - init panel by panel.ini
  996.  
  997. ping - send ICMP ECHO_REQUEST to network host
  998. pm51 - pm51 command: pm51 [option]
  999.  
  1000. pmProtect- runtime pm Protect - Protect runtime PM
  1001.  
  1002. pop_raw_io_config- pop raw_io last config
  1003. printenv- print environment variables
  1004. push_raw_io_config- push raw_io current config
  1005. qhb_check- run QHB flag check
  1006. raw_io_status- get raw_io status
  1007. raw_read- Read the raw datas that store in the target device
  1008. Yo have to execute 'config_raw_io' before using this cmd
  1009.  
  1010. raw_write- Write the raw datas that store in the target deviceYo have to execute 'config_raw_io' before using this cmd
  1011.  
  1012. readArmFw- readArmFw - read Nuttx to malloc buffer
  1013.  
  1014. readKL - readKL
  1015.  
  1016. readOptee- readOptee - core1 run at Nuttx
  1017.  
  1018. recovery_wipe_partition- do recovery wipe data or cache.
  1019.  
  1020. reload_mac- Reload mac address from supernova to env
  1021.  
  1022. reset - Perform RESET of the CPU
  1023. riu - riu - riu command
  1024.  
  1025. rsa - rsa cacluate
  1026.  
  1027. run - run commands in an environment variable
  1028. sar - sar Command:
  1029. saveenv - save environment variables to persistent storage
  1030. secure_driver_check- gettime - Get the system executing time
  1031.  
  1032. setMtkBT- load mtk bt patch, and set woble
  1033.  
  1034. setenv - set environment variables
  1035. sha256 - The sha256 cacluate
  1036.  
  1037. showboard- Show board information
  1038. showtb - Show register command table. - showtb [stage]
  1039.  
  1040. showvar - print local hushshell variables
  1041. showversion- Show version
  1042. sleep - delay execution for some time
  1043. smc - smc - jump to arm_trusted_firmware
  1044.  
  1045. source - run script from memory
  1046. sparse_write- do sparse image writing to target flash type.
  1047.  
  1048. spi2usb - Read data from spi to usb
  1049. stest - test IO performance on continue mode or interleave mode]
  1050.  
  1051. store_secure_info- store secure info
  1052.  
  1053. sync_mmap- Sync the some id's address and len to env and bootargs from supernova's mmap
  1054.  
  1055. test - minimal test like /bin/sh
  1056. testmode- set testmode into bootargs.
  1057. tftpboot- boot image via network using TFTP protocol
  1058. true - do nothing, successfully
  1059. udstar - Execute the script file that is stored in usb disk
  1060.  
  1061. unlockcmi- unlock cmi transfer board - unlock
  1062.  
  1063. update_mode- get/set update_mode
  1064.  
  1065. updatemiureg- Call driver to update miu setting
  1066. usb - USB sub-system
  1067. usb2spi - write data from usb to spi
  1068. usb_bin_check- do usb bin document check.
  1069.  
  1070. usb_partial_upgrade_to_emmc- partial upgrade from USB to eMMC
  1071.  
  1072. usb_super_upgrade_to_emmc- super upgrade from USB to eMMC
  1073.  
  1074. usbboot - boot from USB device
  1075. ustar - ustar - update kernal & root file system automatically by script file
  1076.  
  1077. verify_sha256- This command is only for verification
  1078.  
  1079. version - print monitor, compiler and linker version
  1080. wdt_enable- wdt_enable n - set Watchdog timer to n secs
  1081.  
  1082. << MT5867 >>#
  1083.  
  1084. << MT5867 >># printenv
  1085. 51OnRam=0
  1086. CERTIFICATE_PARTITION=tvcertificate
  1087. CONFIG_PATH=/vendor/tvconfig/config
  1088. CUSDATA_PROJECT_ID=470
  1089. DataIndex_Full_FileName=config/dataIndex/dataIndex_470.ini
  1090. EMAC_MEM_ADR=0x20D00000
  1091. EMAC_MEM_LEN=0x100000
  1092. ENABLE_MIC=1
  1093. ENABLE_SEAMLESS=0
  1094. ENABLE_SMARTSPEAKER=0
  1095. ENABLE_WAKEUP=0
  1096. E_MMAP_ID_OPTEE_MEM_SHM_ADR=0x3FB00000
  1097. E_MMAP_ID_OPTEE_MEM_SHM_LEN=0x500000
  1098. GOP_SET_MUX=1:0:2:3
  1099. KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x0
  1100. MAP_TYPE=MI
  1101. MIU0_GROUP_PRIORITY=1:0:2:3
  1102. MIU0_GROUP_SELMIU=0000:0000:0000:0000:0000:0000
  1103. MIU1_GROUP_PRIORITY=1:0:2:3
  1104. MIU1_GROUP_SELMIU=4F6A:3FF0:0000:0000:0000:FE0F
  1105. MI_AN_RECOVERY_BUF_ADR=0x22520000
  1106. MI_AN_RECOVERY_BUF_LEN=0x7E9000
  1107. MI_BOOTLOGO_BUF_ADR=0x22520000
  1108. MI_BOOTLOGO_BUF_LEN=0x400000
  1109. MI_DISP_AUTO_DOWNLOAD_ADR=0x22E34000
  1110. MI_DISP_AUTO_DOWNLOAD_LEN=0xC1000
  1111. MI_GOP_GWIN_RB_ADR=0x23100000
  1112. MI_GOP_GWIN_RB_LEN=0x0
  1113. MI_JPD_INTER_BUF_ADR=0x9C50000
  1114. MI_JPD_INTER_BUF_LEN=0x19000
  1115. MI_JPD_OUT_ADR=0x9800000
  1116. MI_JPD_OUT_LEN=0x400000
  1117. MI_JPD_READ_BUF_ADR=0x9C00000
  1118. MI_JPD_READ_BUF_LEN=0x50000
  1119. MI_KERNEL_POOL1_ADR=0x200000
  1120. MI_KERNEL_POOL1_LEN=0x20B00000
  1121. MI_KERNEL_POOL2_ADR=0x23800000
  1122. MI_KERNEL_POOL2_LEN=0x1A500000
  1123. MI_MAD_ADV_BUF_ADR=0x21110000
  1124. MI_MAD_ADV_BUF_LEN=0x1410000
  1125. MI_MAD_DEC_BUF_ADR=0x22520000
  1126. MI_MAD_DEC_BUF_LEN=0x0
  1127. MI_MAD_SE_BUF_ADR=0x22520000
  1128. MI_MAD_SE_BUF_LEN=0x0
  1129. MI_MAP_PARTITION=cusdata
  1130. MI_MAP_PATH=bsp/common/MMAP_MI.h
  1131. MI_MBOOT_MEM_USAGE_ADR=0x7400000
  1132. MI_MBOOT_MEM_USAGE_LEN=0x2400000
  1133. MI_MENULOAD_BUF_ADR=0x40000
  1134. MI_MENULOAD_BUF_LEN=0x20000
  1135. MI_PM51_MEM_ADR=0x10000
  1136. MI_PM51_MEM_LEN=0x10000
  1137. MI_TSP_SECT_BUF_ADR=0x23800000
  1138. MI_TSP_SECT_BUF_LEN=0x400000
  1139. MI_VDEC_AEON_ADR=0x22920000
  1140. MI_VDEC_AEON_LEN=0x440000
  1141. MI_VDEC_FRAME_BUF_ADR=0x24800000
  1142. MI_VDEC_FRAME_BUF_LEN=0x0
  1143. MODEL_ID=255
  1144. MUSB-02.05=CL565126(Mar 24 2023 - 12:53:28)
  1145. MstarUpgrade_complete=0
  1146. UARTOnOff=on
  1147. WDT_ENABLE=1
  1148. adb_enable=0
  1149. android_manufacturer=Expressluck
  1150. android_product=martin
  1151. antitheft_flag=-1
  1152. boot_ctrl=0x0
  1153. bootargs=console=ttyS0,115200 androidboot.console=ttyS0 init=/init root=/dev/ram rw rootwait CORE_DUMP_PATH=/data/core_dump.%%p.gz KD0
  1154. bootcmd=mmc read.p 0x25000000 boot 0x1F00000; bootm 0x25000000
  1155. bootlogo_gopidx=2
  1156. bt_usb_port=1
  1157. burnmode_poweron=false
  1158. close_log=yes
  1159. customer_ini_path=/bsp/board/BD_MT5867-H1V1-B2-S_UK/model/Customer_1.ini
  1160. db_table=1
  1161. dc_poweroff=1
  1162. devicestate=lock
  1163. factory_poweron_mode=secondary
  1164. filesize=128
  1165. first_bootup=1
  1166. first_setup=1
  1167. info_exchange=emmc
  1168. keypad_offset=0x12890
  1169. keypad_select=ini
  1170. keypad_size=0x54
  1171. macaddr=5c:85:7e:bb:6c:e9
  1172. mboot_default_env=0
  1173. mmcrelwr=2
  1174. mmcslcmode=0
  1175. music=0
  1176. music_vol=0x14
  1177. osdcEnableFlag=0x0
  1178. pkg_version=2023-05-19 11:49:31
  1179. pwm_duty=0x158
  1180. stderr=serial
  1181. stdin=serial
  1182. stdout=serial
  1183. str_crc=2
  1184. sync_mmap=0
  1185. upgrade_mode=null
  1186. ursa_type=0
  1187. usb_auto_upgrade=enable
  1188. verify=n
  1189.  
  1190. Environment size: 3831/65532 bytes
  1191. << MT5867 >>#
  1192.  
  1193. << MT5867 >># mmc part
  1194.  
  1195. Partition Map for MMC device 0 -- Partition Type: EMMC
  1196.  
  1197. #: type name length base (size)
  1198. 1: MBOOT 10240 @ 4096 (5.000M)
  1199. 2: MPOOL 6144 @ 14336 (3.000M)
  1200. 3: vbmeta_a 2048 @ 20480 (1.000M)
  1201. 4: tvcertificate 16384 @ 22528 (8.000M)
  1202. 5: eeprom_a 2048 @ 38912 (1.000M)
  1203. 6: MBOOT_b 10240 @ 40960 (5.000M)
  1204. 7: MBOOTBAK 10240 @ 51200 (5.000M)
  1205. 8: project_id 10240 @ 61440 (5.000M)
  1206. 9: tvconfig 65536 @ 71680 (32.000M)
  1207. 10: cusdata 409600 @ 137216 (200.000M)
  1208. 11: vbmeta_b 2048 @ 546816 (1.000M)
  1209. 12: vbmeta_system_a 2048 @ 548864 (1.000M)
  1210. 13: vbmeta_system_b 2048 @ 550912 (1.000M)
  1211. 14: misc 2048 @ 552960 (1.000M)
  1212. 15: boot_a 63488 @ 555008 (31.000M)
  1213. 16: boot_b 63488 @ 618496 (31.000M)
  1214. 17: optee 12288 @ 681984 (6.000M)
  1215. 18: armfw 2048 @ 694272 (1.000M)
  1216. 19: metadata 32768 @ 696320 (16.000M)
  1217. 20: RTPM_a 2048 @ 729088 (1.000M)
  1218. 21: RTPM_b 2048 @ 731136 (1.000M)
  1219. 22: dtbo_a 16384 @ 733184 (8.000M)
  1220. 23: dtbo_b 16384 @ 749568 (8.000M)
  1221. 24: linux_rootfs_a_a 122880 @ 765952 (60.000M)
  1222. 25: linux_rootfs_a_b 122880 @ 888832 (60.000M)
  1223. 26: 3rd_a_a 225280 @ 1011712 (110.000M)
  1224. 27: 3rd_a_b 225280 @ 1236992 (110.000M)
  1225. 28: tvservice_a 122880 @ 1462272 (60.000M)
  1226. 29: tvservice_b 122880 @ 1585152 (60.000M)
  1227. 30: oem_a 10240 @ 1708032 (5.000M)
  1228. 31: oem_b 10240 @ 1718272 (5.000M)
  1229. 32: factory_a_a 4096 @ 1728512 (2.000M)
  1230. 33: factory_a_b 4096 @ 1732608 (2.000M)
  1231. 34: basic_a 2048 @ 1736704 (1.000M)
  1232. 35: 3rd_rw 307200 @ 1738752 (150.000M)
  1233. 36: ciplus 2048 @ 2045952 (1.000M)
  1234. 37: dvbsdb_a 2048 @ 2048000 (1.000M)
  1235. 38: cha 2048 @ 2050048 (1.000M)
  1236. 39: chb 2048 @ 2052096 (1.000M)
  1237. 40: upgrade 409600 @ 2054144 (200.000M)
  1238. 41: schedpvr 2048 @ 2463744 (1.000M)
  1239. 42: demura 10240 @ 2465792 (5.000M)
  1240. 43: super 4104192 @ 2476032 (1.957G)
  1241. 44: cache 10240 @ 6580224 (5.000M)
  1242. 45: userdata 8679424 @ 6590464 (4.138G)
  1243.  
  1244. << MT5867 >>#
  1245.  
  1246.  
  1247.  
  1248.  
  1249. ===============
  1250. misc
  1251. ===============
  1252. << MT5867 >># avbShowStatus
  1253. [ERROR] do_avbShowStatus:1240: Panle is not ready
  1254. << MT5867 >># bdinfo
  1255. arch_number = 0x00000AE7
  1256. boot_params = 0x20400100
  1257. DRAM bank = 0x00000000
  1258. -> start = 0x20000000
  1259. -> size = 0x09800000
  1260. ethaddr = (not set)
  1261. ip_addr = 284DFFECI4
  1262. baudrate = 115200 bps
  1263. TLB addr = 0x297F0000
  1264. relocaddr = 0x28D00000
  1265. reloc off = 0x01900000
  1266. irq_sp = 0x284DFF70
  1267. sp start = 0x284DDF60
  1268. FB base = 0x00000000
  1269. << MT5867 >># bootcheck
  1270. enable dont overwrite function
  1271. AC on
  1272.  
  1273.  
  1274. Upgrade Version: 2.0
  1275.  
  1276. Writing to MMC(0)... 128 blocks written: OK
  1277. 128 blocks written: OK
  1278. done
  1279. Check USB port[0]:
  1280. [USB] config miu select [F0] [EF] [EF] ][EF]
  1281. [USB] enable miu lower bound address subtraction
  1282. Error, couldn't init Lowlevel part
  1283. Check USB port[1]:
  1284. [USB] config miu select [F0] [EF] [EF] ][EF]
  1285. [USB] enable miu lower bound address subtraction
  1286. scanning bus for devices... New Device 0
  1287.  
  1288. [USB] interface[0] conf:1 value E0:
  1289. 1 USB Device(s) found
  1290. Found USB WIFI [MTK7663] in usb port 1
  1291. scanning bus for storage devices... 0 Storage Device(s) found
  1292. Check USB port[2]:
  1293. [USB] config miu select [F0] [EF] [EF] ][EF]
  1294. [USB] enable miu lower bound address subtraction
  1295. Error, couldn't init Lowlevel part
  1296. FAIL : can not init usb!!
  1297. Writing to MMC(0)... 128 blocks written: OK
  1298. 128 blocks written: OK
  1299. done
  1300. mmc change mount : project_id
  1301. Size of file "project_id.ini" from mmc device 0 partition project_id: 296 bytes
  1302. Loading file "project_id.ini" at offset 0x0 from mmc device 0 partition project_id
  1303. 296 bytes read
  1304. [Mboot_IR] boot from dynamic ir
  1305. fore uup u8KeyPad_KeyVal [0xFF]
  1306. Try virtual ab bootloader_control...
  1307. ENV_UPGRADE_COMPLETE =0
  1308. ENV_UPGRADE_MODE =null
  1309. androidboot boot reason =reboot
  1310. Writing to MMC(0)... 128 blocks written: OK
  1311. 128 blocks written: OK
  1312. done
  1313. << MT5867 >># checkVersion
  1314. checkVersion - check current verison and upgrade image version
  1315.  
  1316.  
  1317. Usage:
  1318. checkVersion command checkVersion <name> <verision>
  1319.  
  1320. << MT5867 >># checktee
  1321. << MT5867 >># cnstar
  1322. [QHB] normal boot mode
  1323. Active Standby Mode FALSE =====
  1324.  
  1325. MsDrv_PNL_Init:Bypass SetDivison
  1326. [Utopia][PNL]: [_MAPI_PNL_SetMFTMode]set default MFT at LPLL_Type=1
  1327. mi OLED support = 0
  1328. [MApi_XC_MLG_GetStatus, 2891]No instance existed, please get an instance by calling MApi_XC_Init() first
  1329. [msReadEfuse][2929]u32Result=tx, after mask u32Result=tx
  1330. [AT][MB][panel_pre_init][154139]
  1331. [QHB] normal boot mode
  1332. Active Standby Mode FALSE =====
  1333.  
  1334. ---MsDrv_PNL_BackLigth_On:2117 Set MsDrv_PNL_BackLigth_On DelayTask 596
  1335. [QHB] normal boot mode
  1336. Active Standby Mode FALSE =====
  1337. [do_create_osdlayer] GOP Boot Logo Index 2
  1338. [MApi_XC_GetMirrorModeTypeEx, 1746]No instance existed, please get an instance by calling MApi_XC_Init() first
  1339. [MApi_XC_GetStatus,14469]No instance existed, please get an instance by calling MApi_XC_Init() first
  1340. [Utopia][GOP DRV]:
  1341. Not support 2G palette!'[Utopia][GOP DRV]:
  1342. [MDrv_GOP_GWIN_SetMux] not support gop3 in this chip version!![MApi_XC_GetStatus,14469]No instance existed, please get an instance byt
  1343. Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getw
  1344. Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1345. ** File not found /MstarUpgrade.bin **
  1346. [ERROR] vfs_read:464: ext4load mmc fail, try again!
  1347. Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1348. ** File not found /MstarUpgrade.bin **
  1349. [ERROR] vfs_read:468: ext4load mmc fail
  1350. [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
  1351. [ERROR] LoadScript2DramByFS:1651: Error: LoadScript2DramByFSFromVolume Fail !!
  1352. Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getl
  1353. << MT5867 >># coninfo
  1354. List of available devices:
  1355. serial 80000003 SIO stdin stdout stderr
  1356. << MT5867 >># costar
  1357.  
  1358.  
  1359. Upgrade Version: 2.0
  1360.  
  1361. [QHB] normal boot mode
  1362. Active Standby Mode FALSE =====
  1363. [QHB] normal boot mode
  1364. Active Standby Mode FALSE =====
  1365. [do_create_osdlayer] GOP Boot Logo Index 2
  1366. [Utopia][GOP DRV]:
  1367. Not support 2G palette!'[Utopia][GOP DRV]:
  1368. [MDrv_GOP_GWIN_SetMux] not support gop3 in this chip version!![Utopia][GOP mAPI]:
  1369. [GOP_MapFB2Win][3456] not support gwin id:td in this chip version[Utopia][GOP mAPI]: [GOPIoctl][12669] ERROR on cmd:0xtx
  1370. [Utopia][GOP API]: Ioctl MApi_GOP_GWIN_Map32FB2Win fail
  1371. [Utopia][GOP mAPI]: [GOP_GWIN_SetBlending][5362]GWIN 255 is out of range
  1372. Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getw
  1373. Loading file "/upgrade/MTKUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1374. ** File not found /upgrade/MTKUpgrade.bin **
  1375. [ERROR] vfs_read:464: ext4load mmc fail, try again!
  1376. Loading file "/upgrade/MTKUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1377. ** File not found /upgrade/MTKUpgrade.bin **
  1378. [ERROR] vfs_read:468: ext4load mmc fail
  1379. [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
  1380. [ERROR] LoadREEScript2DramByFS:1303: Error: LoadScript2DramByFSFromVolume Fail !!
  1381. Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getl
  1382. Failed to get the language from the environment,please checkFailed to get the language from the environment,please checkFailed to getK
  1383. 128 blocks written: OK
  1384. done
  1385.  
  1386. [AT][MB][start do_reset]
  1387. do_reset: Using RIU_MAP: 0x1F000000, at 55
  1388. UART_115200
  1389.  
  1390. AC_ON
  1391. 01-2L-SM-04-20211227
  1392. 1ST
  1393. MIU0_DQS-OK
  1394. BIST0-OK
  1395. BAP=1
  1396. BAP=1
  1397. optee teeloader entry
  1398. CusConfig
  1399. eMMC_RPMB_Check_Program_Key
  1400. BAP=1
  1401. BAP=1
  1402. ree_opt=0000007B
  1403. BAP=1
  1404. Auth reeloader...
  1405. Decrypt reeloader...
  1406. Check reeloader magic ID...
  1407. Version check on reeloader...
  1408. BAP=1
  1409. BAP=1
  1410. Auth CKB...
  1411. Decrypt CKB...
  1412. Check CKB magic ID...
  1413. ns_uboot_boot
  1414. NOTICE: BL3-1: v1.1(debug):138a50f3
  1415. NOTICE: BL3-1: Built : 12:57:07, Mar 24 2023
  1416. INFO: BL3-1: Initializing runtime services
  1417. INFO: [Booting] mstar_send_magic_ATF 508
  1418. INFO: BL3-1: Initializing BL3-2
  1419. [Ramlog] ramlog_init init success
  1420.  
  1421. INFO: BL3-1: Preparing for EL3 exit to normal world
  1422. INFO: BIN1_32bit mode Mar 24 2023 12:57:07
  1423. INFO: R1 0
  1424. INFO: R2 0
  1425. INFO: R3 0
  1426. ree_entry
  1427.  
  1428. Start load avbab data.
  1429. Try virtual ab bootloader_control...
  1430. Select mboot A.
  1431. Select mboot A.
  1432. U[AT][MB][start ub][600]
  1433.  
  1434. U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
  1435.  
  1436. [Mboot] ===== sw IR Config Register =====
  1437. [Mboot] ===== Attach IR Interrupt ======
  1438. Uboot Relocation: 152 MiB
  1439.  
  1440. eMMC HS400 5.1 200MHz
  1441. eMMC 7.28 GB
  1442. eMMC used life: 0~10%
  1443. CID
  1444. 0x002AD8BA
  1445. 0xEB240652
  1446. 0x34465447
  1447. 0x38000115
  1448. DRAM : 1024MB
  1449. SAR5=ON
  1450. In: serial
  1451. Out: serial
  1452. Err: serial
  1453. Net: No ethernet found.
  1454. MAC: 0x5C: 0x85: 0x7E: 0xBB:0x6C: 0xE9
  1455. [AT][MBoot][Driver Init][656]
  1456. mmc change mount : tvconfig
  1457. ** File not found model.info
  1458. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  1459. No enough buffer or path fail(model.info) :
  1460. [src/MsUtility.c] [loadscript]
  1461. model.info not find !! Clean model_info env
  1462. Writing to MMC(0)... 128 blocks written: OK
  1463. 128 blocks written: OK
  1464. done
  1465. Try virtual ab bootloader_control...
  1466. 0:MCP_N_D3_2133_8G_4x
  1467. 1:MCP_N_D3_2133_0G_4x
  1468. DRAM Channel 0 Size = [2048MB]
  1469. Try virtual ab bootloader_control...
  1470.  
  1471. Changelist: 24543697
  1472. do not first setup(first_setup=1), skip self adaption.
  1473. ============= set bootargs ===============
  1474. Hit any key to stop autoboot: 0
  1475. << MT5867 >># custar
  1476.  
  1477.  
  1478. Upgrade Version: 2.0
  1479.  
  1480. Writing to MMC(0)... 128 blocks written: OK
  1481. 128 blocks written: OK
  1482. done
  1483. Check USB port[0]:
  1484. [USB] config miu select [F0] [EF] [EF] ][EF]
  1485. [USB] enable miu lower bound address subtraction
  1486. Error, couldn't init Lowlevel part
  1487. Check USB port[1]:
  1488. [USB] config miu select [F0] [EF] [EF] ][EF]
  1489. [USB] enable miu lower bound address subtraction
  1490. scanning bus for devices... New Device 0
  1491.  
  1492. [USB] interface[0] conf:1 value E0:
  1493. 1 USB Device(s) found
  1494. Found USB WIFI [MTK7663] in usb port 1
  1495. scanning bus for storage devices... 0 Storage Device(s) found
  1496. Check USB port[2]:
  1497. [USB] config miu select [F0] [EF] [EF] ][EF]
  1498. [USB] enable miu lower bound address subtraction
  1499. Error, couldn't init Lowlevel part
  1500. FAIL : can not init usb!!
  1501. Writing to MMC(0)... 128 blocks written: OK
  1502. 128 blocks written: OK
  1503. done
  1504. << MT5867 >># dumpSignature
  1505. dumpSignature - dump the signature
  1506.  
  1507. Usage:
  1508. dumpSignature [target file]
  1509. target file:boot recovery
  1510.  
  1511. << MT5867 >># fastboot
  1512. No ethernet found.
  1513. << MT5867 >># fatinfo
  1514. usage: fatinfo <interface> <dev[:part]>
  1515. << MT5867 >># mmcinfo
  1516. Device: Mstar-eMMC
  1517. Manufacturer ID: 15
  1518. OEM: 0
  1519. Name: 8GTF4
  1520. Tran Speed: 25000000
  1521. Rd Block Len: 512
  1522. MMC version 4.0
  1523. High Capacity: Yes
  1524. Capacity: 7.3 GiB
  1525. Bus Width: 8-bit
  1526. << MT5867 >># mmcreg
  1527. << MT5867 >># modelinfo
  1528. mmc change mount : tvconfig
  1529. ** File not found model.info
  1530. [ERROR] vfs_getsize:412: ext4filesize mmc fail
  1531. No enough buffer or path fail(model.info) :
  1532. [src/MsUtility.c] [loadscript]
  1533. model.info not find !! Clean model_info env
  1534. Writing to MMC(0)... 128 blocks written: OK
  1535. 128 blocks written: OK
  1536. done
  1537. << MT5867 >># mversion
  1538.  
  1539. Changelist: 24543697
  1540. << MT5867 >># nstar
  1541. mmc change mount : 3rd_rw
  1542. Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1543. ** File not found /MstarUpgrade.bin **
  1544. [ERROR] vfs_read:464: ext4load mmc fail, try again!
  1545. Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1546. ** File not found /MstarUpgrade.bin **
  1547. [ERROR] vfs_read:468: ext4load mmc fail
  1548. [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
  1549. [ERROR] LoadScript2DramByFS:1651: Error: LoadScript2DramByFSFromVolume Fail !!
  1550. << MT5867 >># ostar
  1551. mmc change mount : 3rd_rw
  1552. Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1553. ** File not found /MstarUpgrade.bin **
  1554. [ERROR] vfs_read:464: ext4load mmc fail, try again!
  1555. Loading file "/MstarUpgrade.bin" at offset 0x0 from mmc device 0 partition 3rd_rw
  1556. ** File not found /MstarUpgrade.bin **
  1557. [ERROR] vfs_read:468: ext4load mmc fail
  1558. [ERROR] LoadScript2DramByFSFromVolume:1755: Error: vfs_read Fail !!
  1559. [ERROR] LoadREEScript2DramByFS:1303: Error: LoadScript2DramByFSFromVolume Fail !!
  1560. << MT5867 >># readArmFw
  1561. << MT5867 >># readOptee
  1562. << MT5867 >># showboard
  1563. Try virtual ab bootloader_control...
  1564. ==================
  1565. Board=MT5867-H1V1-B2_EL
  1566. MBoot_IN=MMC_FLASH
  1567. Kernel=32BIT
  1568. Security=OPTEE SECURITY_BOOT
  1569. Load_DTB=True
  1570. << MT5867 >># udstar
  1571.  
  1572. ** Invalid boot device **
  1573.  
  1574. ** Invalid boot device **
  1575.  
  1576. ** Invalid boot device **
  1577.  
  1578. ** Invalid boot device **
  1579.  
  1580. ** Invalid boot device **
  1581. [ERROR] do_udstar:516: no file in usb
  1582. << MT5867 >># uodate_mode
  1583. Unknown command 'uodate_mode' - try 'help'
  1584. << MT5867 >># update_mode
  1585. update_mode - get/set update_mode
  1586.  
  1587.  
  1588. Usage:
  1589. update_mode <g/s> [EN_UPDATE_MODE]
  1590. EN_UPDATE_MODE:
  1591. 'EN_UPDATE_MODE_NONE' 'EN_UPDATE_MODE_TFTP' 'EN_UPDATE_MODE_USB' 'EN_UPDATE_MODE_OAD'
  1592. 'EN_UPDATE_MODE_NET' 'EN_UPDATE_MODE_USB_WITH_SEG_DECRYPTED' 'EN_UPDATE_MODE_NET_WITH_SEG_DECRYPTED'
  1593.  
  1594. << MT5867 >># usb
  1595. usb - USB sub-system
  1596.  
  1597. Usage:
  1598. usb reset [dev] - reset (rescan) USB controller
  1599. usb start [dev] - start (scan) USB controller
  1600. usb stop [f] - stop USB [f]=force stop
  1601. usb tree - show USB device tree
  1602. usb info [dev] - show available USB devices
  1603. usb storage - show details of USB storage devices
  1604. usb dev [dev] - show or set current USB storage device
  1605. usb part [dev] - print partition table of one or all USB storage devices
  1606. usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
  1607. to memory address `addr'
  1608. usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
  1609. from memory address `addr'
  1610. usb wait [time] - set usb connection detection waiting time (ms)
  1611.  
  1612. << MT5867 >># version
  1613.  
  1614. U-Boot 2011.06-00000-ge89fe0c4-dirty (Mar 24 2023 - 12:55:45)
  1615. arm-none-eabi-gcc (MStar eabi-4.5.2) 4.5.2
  1616. GNU ld (MStar eabi-4.5.2) 2.20.51.20100809
  1617. << MT5867 >>#
  1618.  
  1619. enable ethener "mstar" ctrl +c then
  1620. << MT5867 >># fastboot -h
  1621. fastboot - enter fastboot mode
  1622.  
  1623. Usage:
  1624. fastboot [args..]
  1625. - no arg
  1626. << MT5867 >># fastboot
  1627. Using device
  1628. Listening for fastboot transfer on 192.168.1.137
  1629.  
  1630. << MT5867 >># fastboot
  1631. Using device
  1632. Listening for fastboot transfer on 192.168.1.137
  1633. T T T T T T
  1634. **************************************
  1635. host version: 1, host max packet: 8192
  1636.  
  1637. command: getvar:has-slot:vbmeta_a, length: 24
  1638. cb_getvar, var[has-slot:vbmeta_a].
  1639. invalid var[has-slot:vbmeta_a].
  1640. fastboot_fail: invalid var.
  1641. response: FAILVariable not specified
  1642.  
  1643. command: getvar:max-download-size, length: 24
  1644. cb_getvar, var[max-download-size].
  1645. invalid var[max-download-size].
  1646. fastboot_fail: invalid var.
  1647. response: FAILVariable not specified
  1648.  
  1649. command: getvar:is-logical:vbmeta_a, length: 26
  1650. cb_getvar, var[is-logical:vbmeta_a].
  1651. invalid var[is-logical:vbmeta_a].
  1652. fastboot_fail: invalid var.
  1653. T response: FAILVariable not specified
  1654.  
  1655. command: getvar:is-logical:vbmeta_a, length: 26
  1656. cb_getvar, var[is-logical:vbmeta_a].
  1657. invalid var[is-logical:vbmeta_a].
  1658. fastboot_fail: invalid var.
  1659. response: FAILVariable not specified
  1660.  
  1661. command: getvar:partition-size:vbmeta_a, length: 30
  1662. cb_getvar, var[partition-size:vbmeta_a].
  1663. invalid var[partition-size:vbmeta_a].
  1664. fastboot_fail: invalid var.
  1665. response: FAILVariable not specified
  1666.  
  1667. command: getvar:is-logical:vbmeta_a, length: 26
  1668. cb_getvar, var[is-logical:vbmeta_a].
  1669. invalid var[is-logical:vbmeta_a].
  1670. fastboot_fail: invalid var.
  1671. response: FAILVariable not specified
  1672.  
  1673. command: download:00100000, length: 17
  1674. Starting download of 1048576 bytes
  1675.  
  1676. Retry count exceeded; starting again
  1677. Using device
  1678. Listening for fastboot transfer on 192.168.1.137
  1679. response: OKAY
  1680. command too long: 1024
  1681. command too long: 1024
  1682. command too long: 1024
  1683.  
  1684. =======
  1685. lsd@Crawler-E25:/media/lsd/0643177D1FFFA61D$ fastboot -s udp:192.168.1.137:5554 flash vbmeta_a vbmeta-a-disabled.img
  1686. error: no response from target
  1687. < waiting for udp:192.168.1.137:5554>
  1688. Warning: skip copying vbmeta_a image avb footer (vbmeta_a partition size: 0, vbmeta_a image size: 1048576).
  1689. Sending 'vbmeta_a' (1024 KB) OKAY [ 1.869s]
  1690. Writing 'vbmeta_a' FAILED (remote: '')
  1691. fastboot: error: Command failed
  1692. lsd@Crawler-E25:/media/lsd/0643177D1FFFA61D$
  1693.  
  1694. << MT5867 >># help flashbin
  1695. flashbin - flashbin - dump/restore emmc or nand flash data to/from flash.bin
  1696.  
  1697.  
  1698. Usage:
  1699. flashbin command: flashbin [binname] [dump/restore] [valid] [partitionname]
  1700. comments: 1. [valid] has effect on flash.bin when dump flash with the last partition:
  1701. when valid=1, only dump the last partition's valid data.
  1702. when valid=0, dump the last partition's entire data.
  1703. 2. when dump flash without the last partition or restore flash, [valid] has no effect whether 1 or 0.
  1704. 3. [partitionname] is a optional parameter, default is the whole flash without [partitionname].
  1705. 4. when dump flash, flash.bin should be saved as ntfs3g/exfat supported file.
  1706. when restore flash, flash.bin should be stored in a usb storage device with ntfs/exfat format.
  1707.  
  1708. << MT5867 >>#
  1709.  
Add Comment
Please, Sign In to add comment