本帖最后由 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ī)工具
1.png (557.33 KB, 下載次數(shù): 7)
下載附件
保存到相冊(cè)
2019-9-17 14:08 上傳
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í)行返回: - gxl_p230_v1#usb_update bootloader bootloader.img
- usb_start_count 0
- (Re)start USB...
- USB0: USB3.0 XHCI init start
- Register 2000140 NbrPorts 2
- Starting the controller
- USB XHCI 1.00
- scanning bus 0 for devices... 2 USB Device(s) found
- scanning usb for storage devices... init_part() 278: PART_TYPE_DOS
- 1 Storage Device(s) found
- [fat]Filesize is 0xa4200B[0M]
- [fat]0x:leftSz 2000 < BPS 4000, gotSz 2000
- [MSG]Down(store) part(bootloader) sz(0xa4200) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 11
- [fat]Filesize is 0xa4200B[0M]
- [fat]0x:leftSz 200 < BPS 4000, gotSz 4200
- [MSG]Burn Start...
- mmc switch to boot0 success
- mmc switch to boot1 success
- mmc switch to user success
- [MSG]align bootloader sz from 0xa4200 to 0xa8000
- [MSG]Burn complete
- BURN bootloader.img to part bootloader OK!
復(fù)制代碼usb_update recovery recovery.img 執(zhí)行返回: - gxl_p230_v1#usb_update recovery recovery.img
- usb_start_count 1
- [fat]Filesize is 0x1172a00B[17M]
- [fat]0x:leftSz 2000 < BPS 4000, gotSz 2000
- [MSG]flash LOGIC partCap 0x2000000B
- [MSG]Down(store) part(recovery) sz(0x1172a00) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1
- [fat]Filesize is 0x1172a00B[17M]
- [MSG]Burn Start...
- [fat]0x:leftSz 2a00 < BPS 4000, gotSz 2a00
- [MSG]Burn complete
- BURN recovery.img to part recovery OK!
- =====>Burn part recovery in fmt normal OK<======
復(fù)制代碼usb_update boot boot.img 執(zhí)行返回: - gxl_p230_v1#usb_update boot boot.img
- usb_start_count 1
- [fat]Filesize is 0xd88a00B[13M]
- [fat]0x:leftSz 2000 < BPS 4000, gotSz 2000
- [MSG]flash LOGIC partCap 0x2000000B
- [MSG]Down(store) part(boot) sz(0xd88a00) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1
- [fat]Filesize is 0xd88a00B[13M]
- [MSG]Burn Start...
- [fat]0x:leftSz a00 < BPS 4000, gotSz 8a00
- [MSG]Burn complete
- BURN boot.img to part boot OK!
- =====>Burn part boot in fmt normal OK<======
- gxl_p230_v1#
復(fù)制代碼如圖:
1568700712(1).jpg (34.36 KB, 下載次數(shù): 8)
下載附件
保存到相冊(cè)
2019-9-17 14:12 上傳
降級(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輸入
串口返回信息見(jiàn)下面。
1568700828(1).jpg (58.12 KB, 下載次數(shù): 7)
下載附件
保存到相冊(cè)
2019-9-17 14:14 上傳
刷機(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)。 救磚成功記錄 - gxl_p230_v1#update
- InUsbBurn
- [MSG]sof
- Set Addr 14
- Get DT cfg
- Get DT cfg
- Get DT cfg
- set CFG
- ID[16]
- BULKcmd[upload mem 0xc8100228 normal 0x4]
- [MSG]Down(mem) part(0xc8100228) sz(0x4) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 0
- [info]success
- [MSG]Burn Start...
- [MSG]Burn complete
- ID[16]
- tplcmd[ echo 12345]
- 12345
- [MSG]ret = 0
- [info]success
- BULKcmd[ low_power]
- [info]success
- ID[16]
- tplcmd[ download mem dtb normal 89120]
- [MSG]Down(mem) part(dtb) sz(0x15c20) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 2
- [info]success
- [MSG]Burn Start...
- [MSG]load dt.img to 0x0000000001000000, sz=0x15c20
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[disk_initial 0]
- [MSG]Exit before re-init
- command: store exit
- dtb magic 71b104da
- aml log : R2048 check pass!
- Amlogic multi-dtb tool
- Multi dtb detected
- Multi dtb tool version: v2 .
- Support 2 dtbs.
- aml_dt soc: gxl platform: p230 variant: 2g
- dtb 0 soc: gxl plat: p230 vari: 1g
- dtb 1 soc: gxl plat: p230 vari: 2g
- Find match dtb: 1
- start dts,buffer=0000000001000000,dt_addr=000000000100b000
- Amlogic multi-dtb tool
- Multi dtb detected
- Multi dtb tool version: v2 .
- Support 2 dtbs.
- aml_dt soc: gxl platform: p230 variant: 2g
- dtb 0 soc: gxl plat: p230 vari: 1g
- dtb 1 soc: gxl plat: p230 vari: 2g
- Find match dtb: 1
- parts: 10
- 00: logo 0000000002000000 1
- 01: recovery 0000000002000000 1
- 02: rsv 0000000000800000 1
- 03: tee 0000000000800000 1
- 04: crypt 0000000002000000 1
- 05: misc 0000000002000000 1
- 06: boot 0000000002000000 1
- 07: system 0000000050000000 1
- 08: cache 0000000020000000 2
- 09: data ffffffffffffffff 4
- emmc/sd response timeout, cmd8, status=0x3ff2800
- emmc/sd response timeout, cmd55, status=0x3ff2800
- init_part() 293: PART_TYPE_AML
- [mmc_init] mmc init success
- switch to partitions #0, OK
- mmc1(part 0) is current device
- Device: SDIO Port C
- Manufacturer ID: 15
- OEM: 100
- Name: 8GTF4
- Tran Speed: 52000000
- Rd Block Len: 512
- MMC version 5.1
- High Capacity: Yes
- Capacity: 7.3 GiB
- mmc clock: 40000000
- Bus Width: 8-bit
- Amlogic multi-dtb tool
- Multi dtb detected
- Multi dtb tool version: v2 .
- Support 2 dtbs.
- aml_dt soc: gxl platform: p230 variant: 2g
- dtb 0 soc: gxl plat: p230 vari: 1g
- dtb 1 soc: gxl plat: p230 vari: 2g
- Find match dtb: 1
- [info]success
- ID[16]
- tplcmd[download store _aml_dtb normal 89120]
- [MSG]Down(store) part(_aml_dtb) sz(0x15c20) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 2
- [info]success
- [MSG]Burn Start...
- [MSG]optimus_download_dtb_image:dataSzReceived=0x15c20
- start erase dtb......
- start = 81920,end = 82943
- dev # 1, , several blocks erased OK
- [store]To run cmd[emmc dtb_write 0x0000000007700000 0x40000]
- dtb_write()-1140: valid 2
- dtb_write()-1160: new stamp 3, checksum 0x96094b56, version 1, magic A~D
- dtb magic 71b104da
- aml log : R2048 check pass!
- Amlogic multi-dtb tool
- Multi dtb detected
- Multi dtb tool version: v2 .
- Support 2 dtbs.
- aml_dt soc: gxl platform: p230 variant: 2g
- dtb 0 soc: gxl plat: p230 vari: 1g
- dtb 1 soc: gxl plat: p230 vari: 2g
- Find match dtb: 1
- start dts,buffer=0000000007700000,dt_addr=000000000770b000
- dtb magic 5f4c4d41
- Amlogic multi-dtb tool
- Multi dtb detected
- Multi dtb tool version: v2 .
- Support 2 dtbs.
- aml_dt soc: gxl platform: p230 variant: 2g
- dtb 0 soc: gxl plat: p230 vari: 1g
- dtb 1 soc: gxl plat: p230 vari: 2g
- Find match dtb: 1
- start dts,buffer=0000000007700000,dt_addr=000000000770b000
- Amlogic multi-dtb tool
- Multi dtb detected
- Multi dtb tool version: v2 .
- Support 2 dtbs.
- aml_dt soc: gxl platform: p230 variant: 2g
- dtb 0 soc: gxl plat: p230 vari: 1g
- dtb 1 soc: gxl plat: p230 vari: 2g
- Find match dtb: 1
- parts: 10
- 00: logo 0000000002000000 1
- 01: recovery 0000000002000000 1
- 02: rsv 0000000000800000 1
- 03: tee 0000000000800000 1
- 04: crypt 0000000002000000 1
- 05: misc 0000000002000000 1
- 06: boot 0000000002000000 1
- 07: system 0000000050000000 1
- 08: cache 0000000020000000 2
- 09: data ffffffffffffffff 4
- init_part() 293: PART_TYPE_AML
- partition table success
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum dfc2b2e7a335949facb3b37eef85fb575a654150]
- [store]To run cmd[emmc dtb_read 0x0000000007700000 0x40000]
- dtb_read_shortcut()-975: short cut in...
- [MSG]VERIFY OK
- [info]success
- ID[16]
- tplcmd[download store boot normal 14191104]
- [MSG]flash LOGIC partCap 0x2000000B
- [MSG]Down(store) part(boot) sz(0xd88a00) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1
- [info]success
- [MSG]Burn Start...
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum 1a0d04db8fb57f252c72c909a3268b6b2c3bd241]
- [MSG]Verify Start...
- [MSG]To verify part boot in fmt normal
- [MSG]Verify End
- [MSG]VERIFY OK
- [info]success
- ID[16]
- tplcmd[download store data sparse 243305224]
- [MSG]flash LOGIC partCap 0x14ac00000B
- [MSG]Down(store) part(data) sz(0xe808b08) fmt(sparse)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1024
- [info]success
- [MSG]Burn Start...
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum d60525782a53edda29fa4d62a8ba2edbac4a8279]
- [MSG]Verify Start...
- [MSG]To verify part data in fmt sparse
- [MSG]Verify End
- [MSG]VERIFY OK
- [info]success
- ID[16]
- tplcmd[download store logo normal 1160640]
- [MSG]flash LOGIC partCap 0x2000000B
- [MSG]Down(store) part(logo) sz(0x11b5c0) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1
- [info]success
- [MSG]Burn Start...
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum 474362581cadbf2b2c22ee1a1e1eba0a9867a5e2]
- [MSG]Verify Start...
- [MSG]To verify part logo in fmt normal
- [MSG]Verify End
- [MSG]VERIFY OK
- [info]success
- ID[16]
- tplcmd[download store recovery normal 18295296]
- [MSG]flash LOGIC partCap 0x2000000B
- [MSG]Down(store) part(recovery) sz(0x1172a00) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1
- [info]success
- [MSG]Burn Start...
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum b468a3134b376a5295c1fd5857343128d0ac056c]
- [MSG]Verify Start...
- [MSG]To verify part recovery in fmt normal
- [MSG]Verify End
- [MSG]VERIFY OK
- [info]success
- ID[16]
- tplcmd[download store system sparse 1131171384]
- [MSG]flash LOGIC partCap 0x50000000B
- [MSG]Down(store) part(system) sz(0x436c4e38) fmt(sparse)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 1024
- [info]success
- [MSG]Burn Start...
- [MSG]Burn complete
- Downloading %100
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum 2a3d8081af68cfd0492284abe7c75a135053756d]
- [MSG]Verify Start...
- [MSG]To verify part system in fmt sparse
- [MSG]Verify End
- [MSG]VERIFY OK
- [info]success
- ID[16]
- tplcmd[download store bootloader normal 672256]
- [MSG]Down(store) part(bootloader) sz(0xa4200) fmt(normal)
- [MSG]totalSlotNum = 0, nextWriteBackSlot 11
- [info]success
- [MSG]Burn Start...
- mmc switch to boot0 success
- mmc switch to boot1 success
- mmc switch to user success
- [MSG]align bootloader sz from 0xa4200 to 0xa8000
- [MSG]Burn complete
- BULKcmd[download get_status]
- [info]success
- BULKcmd[verify sha1sum 3a1ffcadf062748ca1d00eb80e73f2175b160a0d]
- mmc switch to boot0 success
- mmc switch to boot1 success
- mmc switch to user success
- [MSG]VERIFY OK
- [info]success
- BULKcmd[save_setting]
- [MSG]Set upgrade_step to 1
- Saving Environment to aml-storage...
- mmc env offset: 0x27400000
- Writing to MMC(1)... done
- [info]success
- BULKcmd[burn_complete 3]
- [MSG]Pls un-plug USB line to poweroff
- [info]success
復(fù)制代碼分享網(wǎng)友:大衛(wèi)科技Blog
|