ZNDS智能電視網(wǎng) 推薦當(dāng)貝市場(chǎng)

TV應(yīng)用下載 / 資源分享區(qū)

軟件下載 | 游戲 | 討論 | 電視計(jì)算器

綜合交流 / 評(píng)測(cè) / 活動(dòng)區(qū)

交流區(qū) | 測(cè)硬件 | 網(wǎng)站活動(dòng) | Z幣中心

新手入門(mén) / 進(jìn)階 / 社區(qū)互助

新手 | 你問(wèn)我答 | 免費(fèi)刷機(jī)救磚 | ROM固件

查看: 59707|回復(fù): 25
上一主題 下一主題
[分享]

斐訊N1救磚記之TTL大法

  [復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
發(fā)表于 2019-9-17 14:17 | 只看該作者 |只看大圖 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式 | 來(lái)自廣東
本帖最后由 Pretender. 于 2019-9-17 14:19 編輯

變磚過(guò)程
先前刷的CoreELEC9.0.2版本,想升級(jí)9.0.3。這個(gè)時(shí)候9.0.3的優(yōu)盤(pán)已做好,錯(cuò)誤的插在了N1靠近HDMI的USB插口,ssh輸入命令reboot update,然后去N1那里看,出錯(cuò)了!再重啟就卡在開(kāi)機(jī)畫(huà)面不動(dòng)了,感覺(jué)是磚了……

總結(jié)
降級(jí)、刷錯(cuò)包、刷機(jī)時(shí)斷電,都可能變磚。

工具
電烙鐵和焊錫、公母、公公頭杜邦線(xiàn)若干、排針、鑷子、螺絲刀等拆機(jī)工具

斐訊N1救磚記之TTL大法

RX - TX
TX - RX
GND - GND
用USB轉(zhuǎn)串口,連接電腦,設(shè)置串口號(hào)(設(shè)備管理器中查看)和波特率115200

盒子上電看到串口打印信息(論壇玩家說(shuō),有回顯說(shuō)明沒(méi)真磚,BootLoader還在)。
進(jìn)入U(xiǎn)boot命令行:uboot命令行的啟動(dòng)方式,板子啟動(dòng)后在PC端的putty界面中通過(guò)串口快速按任意鍵或者輸入ctrl+c,即可進(jìn)入uboot命令行模式。
用戶(hù)由p230# 變成了 gxl_p230_v1#
在這個(gè)模式下,將N1降級(jí)恢復(fù)線(xiàn)刷的3個(gè)文件boot.img、bootloader.img、recovery.img三個(gè)文件拷到一個(gè)fat32格式的U盤(pán)中,(U盤(pán)必須是單分區(qū)的),一定要確定文件,沒(méi)有問(wèn)題,必須是v2.19版本的。
將U盤(pán)插入N1盒子,putty中逐條輸入如下三條命令更新系統(tǒng)boot:
usb_update  bootloader bootloader.imgusb_update  recovery recovery.imgusb_update  boot  boot.img
逐條執(zhí)行命令后,串口返回的信息:
usb_update bootloader bootloader.img 執(zhí)行返回:
  1. gxl_p230_v1#usb_update  bootloader bootloader.img
  2. usb_start_count 0
  3. (Re)start USB...
  4. USB0:   USB3.0 XHCI init start
  5. Register 2000140 NbrPorts 2
  6. Starting the controller
  7. USB XHCI 1.00
  8. scanning bus 0 for devices... 2 USB Device(s) found
  9.        scanning usb for storage devices... init_part() 278: PART_TYPE_DOS
  10. 1 Storage Device(s) found
  11. [fat]Filesize is 0xa4200B[0M]
  12. [fat]0x:leftSz 2000 < BPS 4000, gotSz 2000
  13. [MSG]Down(store) part(bootloader) sz(0xa4200) fmt(normal)
  14. [MSG]totalSlotNum = 0, nextWriteBackSlot 11
  15. [fat]Filesize is 0xa4200B[0M]
  16. [fat]0x:leftSz 200 < BPS 4000, gotSz 4200
  17. [MSG]Burn Start...
  18. mmc switch to boot0 success
  19. mmc switch to boot1 success
  20. mmc switch to user success
  21. [MSG]align bootloader sz from 0xa4200 to 0xa8000
  22. [MSG]Burn complete
  23. BURN bootloader.img to part bootloader OK!
復(fù)制代碼
usb_update recovery recovery.img 執(zhí)行返回:
  1. gxl_p230_v1#usb_update  recovery recovery.img
  2. usb_start_count 1
  3. [fat]Filesize is 0x1172a00B[17M]
  4. [fat]0x:leftSz 2000 < BPS 4000, gotSz 2000
  5. [MSG]flash LOGIC partCap 0x2000000B
  6. [MSG]Down(store) part(recovery) sz(0x1172a00) fmt(normal)
  7. [MSG]totalSlotNum = 0, nextWriteBackSlot 1
  8. [fat]Filesize is 0x1172a00B[17M]
  9. [MSG]Burn Start...
  10. [fat]0x:leftSz 2a00 < BPS 4000, gotSz 2a00
  11. [MSG]Burn complete
  12. BURN recovery.img to part recovery OK!
  13. =====>Burn part recovery in fmt normal OK<======
復(fù)制代碼
usb_update boot boot.img 執(zhí)行返回:
  1. gxl_p230_v1#usb_update  boot  boot.img
  2. usb_start_count 1
  3. [fat]Filesize is 0xd88a00B[13M]
  4. [fat]0x:leftSz 2000 < BPS 4000, gotSz 2000
  5. [MSG]flash LOGIC partCap 0x2000000B
  6. [MSG]Down(store) part(boot) sz(0xd88a00) fmt(normal)
  7. [MSG]totalSlotNum = 0, nextWriteBackSlot 1
  8. [fat]Filesize is 0xd88a00B[13M]
  9. [MSG]Burn Start...
  10. [fat]0x:leftSz a00 < BPS 4000, gotSz 8a00
  11. [MSG]Burn complete
  12. BURN boot.img to part boot OK!
  13. =====>Burn part boot in fmt normal OK<======

  14. gxl_p230_v1#
復(fù)制代碼
如圖:
斐訊N1救磚記之TTL大法

降級(jí)3個(gè)文件后,如果還是不能通過(guò)網(wǎng)絡(luò)進(jìn)入線(xiàn)刷模式或者短接觸點(diǎn)刷機(jī)依然失敗的,可以繼續(xù)看!
終極TTL大法
N1通過(guò)USB轉(zhuǎn)串口和雙公頭線(xiàn)同時(shí)連接電腦,putty進(jìn)入uboot命令行模式后,打開(kāi)刷機(jī)工具選好刷機(jī)包,點(diǎn)擊開(kāi)始!
在uboot命令行,可以通過(guò)putty輸入
  1. update
復(fù)制代碼
串口返回信息見(jiàn)下面。

斐訊N1救磚記之TTL大法
刷機(jī)開(kāi)始,祝您成功?。?!
2019年9月11日補(bǔ)充:
刷機(jī)成功后,一定要重新【fastboot 燒錄】刷3個(gè)降級(jí)文件
如果不重新刷降級(jí)文件,會(huì)出現(xiàn)未知問(wèn)題,已知的有:
1、有線(xiàn)網(wǎng)卡、無(wú)線(xiàn)網(wǎng)卡MAC不固定,藍(lán)牙不固定
2、最嚴(yán)重的,每次重啟卡畫(huà)面,一定要斷電才能正常重新啟動(dòng)。
救磚成功記錄
  1. gxl_p230_v1#update
  2. InUsbBurn
  3. [MSG]sof
  4. Set Addr 14
  5. Get DT cfg
  6. Get DT cfg
  7. Get DT cfg
  8. set CFG

  9. ID[16]
  10. BULKcmd[upload mem 0xc8100228 normal 0x4]
  11. [MSG]Down(mem) part(0xc8100228) sz(0x4) fmt(normal)
  12. [MSG]totalSlotNum = 0, nextWriteBackSlot 0
  13. [info]success
  14. [MSG]Burn Start...
  15. [MSG]Burn complete

  16. ID[16]
  17. tplcmd[    echo 12345]
  18. 12345
  19. [MSG]ret = 0
  20. [info]success
  21. BULKcmd[    low_power]
  22. [info]success

  23. ID[16]
  24. tplcmd[    download mem dtb normal 89120]
  25. [MSG]Down(mem) part(dtb) sz(0x15c20) fmt(normal)
  26. [MSG]totalSlotNum = 0, nextWriteBackSlot 2
  27. [info]success
  28. [MSG]Burn Start...
  29. [MSG]load dt.img to 0x0000000001000000, sz=0x15c20
  30. [MSG]Burn complete
  31. BULKcmd[download get_status]
  32. [info]success
  33. BULKcmd[disk_initial 0]
  34. [MSG]Exit before re-init
  35. command:        store  exit
  36. dtb magic 71b104da
  37. aml log : R2048 check pass!
  38.       Amlogic multi-dtb tool
  39.       Multi dtb detected
  40.       Multi dtb tool version: v2 .
  41.       Support 2 dtbs.
  42.         aml_dt soc: gxl platform: p230 variant: 2g
  43.         dtb 0 soc: gxl   plat: p230   vari: 1g
  44.         dtb 1 soc: gxl   plat: p230   vari: 2g
  45.       Find match dtb: 1
  46. start dts,buffer=0000000001000000,dt_addr=000000000100b000
  47.       Amlogic multi-dtb tool
  48.       Multi dtb detected
  49.       Multi dtb tool version: v2 .
  50.       Support 2 dtbs.
  51.         aml_dt soc: gxl platform: p230 variant: 2g
  52.         dtb 0 soc: gxl   plat: p230   vari: 1g
  53.         dtb 1 soc: gxl   plat: p230   vari: 2g
  54.       Find match dtb: 1
  55. parts: 10
  56. 00:      logo   0000000002000000 1
  57. 01:  recovery   0000000002000000 1
  58. 02:       rsv   0000000000800000 1
  59. 03:       tee   0000000000800000 1
  60. 04:     crypt   0000000002000000 1
  61. 05:      misc   0000000002000000 1
  62. 06:      boot   0000000002000000 1
  63. 07:    system   0000000050000000 1
  64. 08:     cache   0000000020000000 2
  65. 09:      data   ffffffffffffffff 4
  66. emmc/sd response timeout, cmd8, status=0x3ff2800
  67. emmc/sd response timeout, cmd55, status=0x3ff2800
  68. init_part() 293: PART_TYPE_AML
  69. [mmc_init] mmc init success
  70. switch to partitions #0, OK
  71. mmc1(part 0) is current device
  72. Device: SDIO Port C
  73. Manufacturer ID: 15
  74. OEM: 100
  75. Name: 8GTF4
  76. Tran Speed: 52000000
  77. Rd Block Len: 512
  78. MMC version 5.1
  79. High Capacity: Yes
  80. Capacity: 7.3 GiB
  81. mmc clock: 40000000
  82. Bus Width: 8-bit
  83.       Amlogic multi-dtb tool
  84.       Multi dtb detected
  85.       Multi dtb tool version: v2 .
  86.       Support 2 dtbs.
  87.         aml_dt soc: gxl platform: p230 variant: 2g
  88.         dtb 0 soc: gxl   plat: p230   vari: 1g
  89.         dtb 1 soc: gxl   plat: p230   vari: 2g
  90.       Find match dtb: 1
  91. [info]success

  92. ID[16]
  93. tplcmd[download store _aml_dtb normal 89120]
  94. [MSG]Down(store) part(_aml_dtb) sz(0x15c20) fmt(normal)
  95. [MSG]totalSlotNum = 0, nextWriteBackSlot 2
  96. [info]success
  97. [MSG]Burn Start...
  98. [MSG]optimus_download_dtb_image:dataSzReceived=0x15c20
  99. start erase dtb......
  100. start = 81920,end = 82943
  101. dev # 1,  , several blocks erased OK
  102. [store]To run cmd[emmc dtb_write 0x0000000007700000 0x40000]
  103. dtb_write()-1140: valid 2
  104. dtb_write()-1160: new stamp 3, checksum 0x96094b56, version 1, magic A~D
  105. dtb magic 71b104da
  106. aml log : R2048 check pass!
  107.       Amlogic multi-dtb tool
  108.       Multi dtb detected
  109.       Multi dtb tool version: v2 .
  110.       Support 2 dtbs.
  111.         aml_dt soc: gxl platform: p230 variant: 2g
  112.         dtb 0 soc: gxl   plat: p230   vari: 1g
  113.         dtb 1 soc: gxl   plat: p230   vari: 2g
  114.       Find match dtb: 1
  115. start dts,buffer=0000000007700000,dt_addr=000000000770b000
  116. dtb magic 5f4c4d41
  117.       Amlogic multi-dtb tool
  118.       Multi dtb detected
  119.       Multi dtb tool version: v2 .
  120.       Support 2 dtbs.
  121.         aml_dt soc: gxl platform: p230 variant: 2g
  122.         dtb 0 soc: gxl   plat: p230   vari: 1g
  123.         dtb 1 soc: gxl   plat: p230   vari: 2g
  124.       Find match dtb: 1
  125. start dts,buffer=0000000007700000,dt_addr=000000000770b000
  126.       Amlogic multi-dtb tool
  127.       Multi dtb detected
  128.       Multi dtb tool version: v2 .
  129.       Support 2 dtbs.
  130.         aml_dt soc: gxl platform: p230 variant: 2g
  131.         dtb 0 soc: gxl   plat: p230   vari: 1g
  132.         dtb 1 soc: gxl   plat: p230   vari: 2g
  133.       Find match dtb: 1
  134. parts: 10
  135. 00:      logo   0000000002000000 1
  136. 01:  recovery   0000000002000000 1
  137. 02:       rsv   0000000000800000 1
  138. 03:       tee   0000000000800000 1
  139. 04:     crypt   0000000002000000 1
  140. 05:      misc   0000000002000000 1
  141. 06:      boot   0000000002000000 1
  142. 07:    system   0000000050000000 1
  143. 08:     cache   0000000020000000 2
  144. 09:      data   ffffffffffffffff 4
  145. init_part() 293: PART_TYPE_AML
  146. partition table success
  147. [MSG]Burn complete
  148. BULKcmd[download get_status]
  149. [info]success
  150. BULKcmd[verify sha1sum dfc2b2e7a335949facb3b37eef85fb575a654150]
  151. [store]To run cmd[emmc dtb_read 0x0000000007700000 0x40000]
  152. dtb_read_shortcut()-975: short cut in...
  153. [MSG]VERIFY OK
  154. [info]success

  155. ID[16]
  156. tplcmd[download store boot normal 14191104]
  157. [MSG]flash LOGIC partCap 0x2000000B
  158. [MSG]Down(store) part(boot) sz(0xd88a00) fmt(normal)
  159. [MSG]totalSlotNum = 0, nextWriteBackSlot 1
  160. [info]success
  161. [MSG]Burn Start...
  162. [MSG]Burn complete
  163. BULKcmd[download get_status]
  164. [info]success
  165. BULKcmd[verify sha1sum 1a0d04db8fb57f252c72c909a3268b6b2c3bd241]
  166. [MSG]Verify Start...
  167. [MSG]To verify part boot in fmt normal
  168. [MSG]Verify End
  169. [MSG]VERIFY OK
  170. [info]success

  171. ID[16]
  172. tplcmd[download store data sparse 243305224]
  173. [MSG]flash LOGIC partCap 0x14ac00000B
  174. [MSG]Down(store) part(data) sz(0xe808b08) fmt(sparse)
  175. [MSG]totalSlotNum = 0, nextWriteBackSlot 1024
  176. [info]success
  177. [MSG]Burn Start...
  178. [MSG]Burn complete
  179. BULKcmd[download get_status]
  180. [info]success
  181. BULKcmd[verify sha1sum d60525782a53edda29fa4d62a8ba2edbac4a8279]
  182. [MSG]Verify Start...
  183. [MSG]To verify part data in fmt sparse
  184. [MSG]Verify End
  185. [MSG]VERIFY OK
  186. [info]success

  187. ID[16]
  188. tplcmd[download store logo normal 1160640]
  189. [MSG]flash LOGIC partCap 0x2000000B
  190. [MSG]Down(store) part(logo) sz(0x11b5c0) fmt(normal)
  191. [MSG]totalSlotNum = 0, nextWriteBackSlot 1
  192. [info]success
  193. [MSG]Burn Start...
  194. [MSG]Burn complete
  195. BULKcmd[download get_status]
  196. [info]success
  197. BULKcmd[verify sha1sum 474362581cadbf2b2c22ee1a1e1eba0a9867a5e2]
  198. [MSG]Verify Start...
  199. [MSG]To verify part logo in fmt normal
  200. [MSG]Verify End
  201. [MSG]VERIFY OK
  202. [info]success

  203. ID[16]
  204. tplcmd[download store recovery normal 18295296]
  205. [MSG]flash LOGIC partCap 0x2000000B
  206. [MSG]Down(store) part(recovery) sz(0x1172a00) fmt(normal)
  207. [MSG]totalSlotNum = 0, nextWriteBackSlot 1
  208. [info]success
  209. [MSG]Burn Start...
  210. [MSG]Burn complete
  211. BULKcmd[download get_status]
  212. [info]success
  213. BULKcmd[verify sha1sum b468a3134b376a5295c1fd5857343128d0ac056c]
  214. [MSG]Verify Start...
  215. [MSG]To verify part recovery in fmt normal
  216. [MSG]Verify End
  217. [MSG]VERIFY OK
  218. [info]success

  219. ID[16]
  220. tplcmd[download store system sparse 1131171384]
  221. [MSG]flash LOGIC partCap 0x50000000B
  222. [MSG]Down(store) part(system) sz(0x436c4e38) fmt(sparse)
  223. [MSG]totalSlotNum = 0, nextWriteBackSlot 1024
  224. [info]success
  225. [MSG]Burn Start...
  226. [MSG]Burn complete
  227. Downloading %100
  228. BULKcmd[download get_status]
  229. [info]success
  230. BULKcmd[verify sha1sum 2a3d8081af68cfd0492284abe7c75a135053756d]
  231. [MSG]Verify Start...
  232. [MSG]To verify part system in fmt sparse
  233. [MSG]Verify End
  234. [MSG]VERIFY OK
  235. [info]success

  236. ID[16]
  237. tplcmd[download store bootloader normal 672256]
  238. [MSG]Down(store) part(bootloader) sz(0xa4200) fmt(normal)
  239. [MSG]totalSlotNum = 0, nextWriteBackSlot 11
  240. [info]success
  241. [MSG]Burn Start...
  242. mmc switch to boot0 success
  243. mmc switch to boot1 success
  244. mmc switch to user success
  245. [MSG]align bootloader sz from 0xa4200 to 0xa8000
  246. [MSG]Burn complete
  247. BULKcmd[download get_status]
  248. [info]success
  249. BULKcmd[verify sha1sum 3a1ffcadf062748ca1d00eb80e73f2175b160a0d]
  250. mmc switch to boot0 success
  251. mmc switch to boot1 success
  252. mmc switch to user success
  253. [MSG]VERIFY OK
  254. [info]success
  255. BULKcmd[save_setting]
  256. [MSG]Set upgrade_step to 1
  257. Saving Environment to aml-storage...
  258. mmc env offset: 0x27400000
  259. Writing to MMC(1)... done
  260. [info]success
  261. BULKcmd[burn_complete 3]
  262. [MSG]Pls un-plug USB line to poweroff
  263. [info]success
復(fù)制代碼
分享網(wǎng)友:大衛(wèi)科技Blog
如果覺(jué)著內(nèi)容不錯(cuò),請(qǐng)給小編留言評(píng)論點(diǎn)個(gè)贊~如果想要了解更多相關(guān)資訊,歡迎下載ZNDS智能電視網(wǎng)APP(下載地址:http://m.81jnr2m.cn/downapp.html



上一篇:斐訊T1純凈精簡(jiǎn)固件
下一篇:N1盒子去廣告方法分享
沙發(fā)
發(fā)表于 2019-9-17 14:18 | 只看該作者 | 來(lái)自四川
感謝分享
板凳
發(fā)表于 2019-9-17 14:25 | 只看該作者 | 來(lái)自廣東
高難度,牛逼了
地板
發(fā)表于 2020-1-14 16:43 | 只看該作者 | 來(lái)自河南
先把機(jī)器刷成磚,再把磚頭刷成機(jī)器,我都佩服自己在ZNDS學(xué)到的刷機(jī)技術(shù)!
5#
發(fā)表于 2020-1-15 18:53 來(lái)自ZNDS手機(jī)版 | 只看該作者 | 來(lái)自黑龍江
b4el
6#
發(fā)表于 2020-2-3 14:56 | 只看該作者 | 來(lái)自河南
學(xué)習(xí)學(xué)習(xí)!
7#
發(fā)表于 2020-3-24 17:36 | 只看該作者 | 來(lái)自甘肅
老鐵666!必須支持一波!
8#
發(fā)表于 2020-5-7 08:53 | 只看該作者 | 來(lái)自江蘇
謝謝分享
9#
發(fā)表于 2020-5-7 11:41 | 只看該作者 | 來(lái)自江蘇
看看
10#
發(fā)表于 2020-7-3 23:51 | 只看該作者 | 來(lái)自上海
先把機(jī)器刷成磚,再把磚頭刷成機(jī)器,我都佩服自己在ZNDS學(xué)到的刷機(jī)技術(shù)!

本版積分規(guī)則

Archiver|新帖|標(biāo)簽|軟件|Sitemap|ZNDS智能電視網(wǎng) ( 蘇ICP備2023012627號(hào) )

網(wǎng)絡(luò)信息服務(wù)信用承諾書(shū) | 增值電信業(yè)務(wù)經(jīng)營(yíng)許可證:蘇B2-20221768 丨 蘇公網(wǎng)安備 32011402011373號(hào)

GMT+8, 2024-12-22 19:56 , Processed in 0.081044 second(s), 13 queries , Redis On.

Powered by Discuz!

監(jiān)督舉報(bào):report#znds.com (請(qǐng)將#替換為@)

© 2007-2024 ZNDS.Com

快速回復(fù) 返回頂部 返回列表