以前只要將QCA(Qualcomm Atheros)板子裡的系統/bootloader玩壞, 都必需將flash mount下, 透過燒錄機把image燒回flash, 再重新mount回板子, 過程繁瑣
現在大部份Qualcomm platform幾乎都有”USB Emergency Download mode”的功能, 可以透過USB直接復原Qualcomm板子
下面以HK01(IPQ8074)公板為例, 教您如何快速復原Qualcomm platform, 不用再動刀動槍(誤~),是不用再動到烙鐵了步驟1:
二個情況可進入enters USB download mode (擇其一)
Case A: 確認flash裡沒有資料
Case B: 確認Boot from USB bootstrap是開啟(HK01可切換S3 switch 如下)
步驟2:
準備一條A-to-A USB cable, 並將USB接到HK01的port 0 (此port才有recovery作用)及電腦, 並將HK01上電
步驟3: (第一次做即可)
在電腦端安裝所需Windows driver (可直接上網更新驅動程式or安裝QDART程式)
步驟4:
建立資料夾(ex: ipq), 並將需要燒錄的檔案放於ipq資料夾裡, 如下
□ sbl1_flashless.mbn
□ CDT file for the board
□ tz.mbn
□ devcfg_noac.mbn
□ rpm.mbn
□ openwrt-ipq807x-u-boot.mbn
□ QsaharaServer.exe
步驟5:
開啟Windows command line (命令提示字元)
進入ipq相對應的路徑後, 分別輸入下面二行指令
QsaharaServer.exe -p \\.\COM<port number> -s 13:sbl1_flashless.mbn -v 3
QsaharaServer.exe -p \\.\COM<port number> -s 1:cdt-AP-HK01-C1_256M32_DDR3.bin -s 25:tz.mbn -s 34:devcfg_noac.mbn -s 23:rpm.mbn -s 5:openwrt-ipq807x-uboot.mbn -v 3"
<port number>: 指的是電腦的com port number
[輸入command前]
[輸入QsaharaServer.exe -p \\.\COM<port number> -s 13:sbl1_flashless.mbn -v 3]
[輸入QsaharaServer.exe -p \\.\COM<port number> -s 1:cdt-AP-HK01-C1_256M32_DDR3.bin -s 25:tz.mbn -s 34:devcfg_noac.mbn -s 23:rpm.mbn -s 5:openwrt-ipq807x-uboot.mbn -v 3"]
輸入完第二行command, 原則上HK01就會進入u-boot, 此時可以在console直接刷single image, 成功救回系統
評論