跳至正文
目录
Compex官方正式版 · 官方快照

Compex WPQ864

OpenWrt ToH

IPQ8064 · 5 × GbE · 1024 MB RAM — 先对机身版本,再查可用构建和恢复入口。

来源快照日期 2026-11-07

OpenWrt 兼容性

同名不等于相同硬件。购买或安装前请核对修订版、闪存介质及容量。导入的兼容性和固件链接尚未独立复核。

硬件

硬件参数

路由器 CPU 性能天梯榜 · IPQ8064 · 9792 DMIPS

CPU / SoC
芯片家族
IPQ8064
CPU 核心数
2
CPU 频率
1400 MHz
无线
未知
千兆网口
5
2.5 GbE
未知
USB
1x 3.0
引导程序
U-Boot
供电
12 VDC via barrel, or PoE 802.3af/at
尺寸与重量
未知
原始来源记录 · 保留全部字段

选择之前

OpenWrt 兼容性

官方正式版 · 官方快照
来源列出的发行版
25.12.6
首次支持版本
18.06.0
硬件修订版
修订版未注明

官方 ToH 收录是目录展示依据。当前正式版、快照和安装条件分别记录;EOL 或构建核验未完成不会隐藏设备。

当前构建核验时间: 2026-11-07

安装条件 · 安装路径尚未核实

官方提供构建不代表可从当前原厂固件直接安装。购买或安装前,请核对硬件修订、Bootloader 和前置条件。

官方构建依据

来源列出的限制
[ "USB" ]

请遵循具体设备的官方指南和校验和说明。GeeksMeta 不核验镜像,也不执行安装步骤。

刷机指南

部分来源仍待核验,请仅参考下方已确认的信息。

动手前,先核对机身版本和本页资料状态。把进入恢复模式所用的网口和条件记在电脑上,再决定是否写入镜像。

Compex WPQ864 刷机用什么固件?

资料来源与离线证据

摘录随设备资料保存在本地。来源可读取不代表已核验安装路径;型号资料不自动适用于所有硬件修订。

已收集部分资料,仍有待核验信息 · 核查日期: 2026-11-12

内存 · 来源冲突 · 型号级资料

512 MB
- RAM: (512MB or 1GB) DDR3 System Memory
附有来源链接 ↧

CPU / SoC · 已核验 · 对应硬件修订

Qualcomm Atheros IPQ8064
{"CPU":"Qualcomm Atheros IPQ8064"}
附有来源链接 ↧

CPU 核心数 · 已核验 · 对应硬件修订

2
{"CPU Cores_numcores":"2"}
附有来源链接 ↧

CPU 频率 · 已核验 · 对应硬件修订

1400 MHz
{"CPU MHz":"1400"}
附有来源链接 ↧

内存 · 已核验 · 对应硬件修订

1024 MB
{"RAM MB":"1024"}
附有来源链接 ↧

引导程序 · 已核验 · 对应硬件修订

U-Boot
{"Bootloader":"U-Boot"}
附有来源链接 ↧

供电 · 已核验 · 对应硬件修订

12 VDC via barrel, or PoE 802.3af/at
{"Power Supply":"12 VDC via barrel, or PoE 802.3af/at"}
附有来源链接 ↧

串口 · 已核验 · 对应硬件修订

Yes
{"Serial":"Yes"}
附有来源链接 ↧

厂商网站 · 已核验 · 对应硬件修订

http://www.compex.com.sg/product/wpq864/
{"OEM Device Homepage URL":"http://www.compex.com.sg/product/wpq864/"}
附有来源链接 ↧

官方正式版 · 首次安装 · 已核验 · 对应硬件修订

https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin
{"Firmware OpenWrt Install URL":["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]}
附有来源链接 ↧

官方正式版 · 升级已安装的 OpenWrt · 已核验 · 对应硬件修订

https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin
{"Firmware OpenWrt Upgrade URL":["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]}
附有来源链接 ↧

官方快照 · 首次安装 · 已核验 · 对应硬件修订

https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin
{"Firmware OpenWrt snapshot Install URL":["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]}
附有来源链接 ↧

官方快照 · 升级已安装的 OpenWrt · 已核验 · 对应硬件修订

https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin
{"Firmware OpenWrt snapshot Upgrade URL":["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]}
附有来源链接 ↧

CPU / SoC · 待核验 · 型号级资料

Qualcomm Atheros IPQ8064/5
SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
附有来源链接 ↧

CPU 核心数 · 已核验 · 型号级资料

2
SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
附有来源链接 ↧

内存 · 待核验 · 型号级资料

{"alternativesMb":[512,1024]}
RAM: (512MB or 1GB) DDR3 System Memory
附有来源链接 ↧

闪存组件 · 已核验 · 型号级资料

32 MB NOR + 256 MB NAND
Storage: 32MB NOR (Cypress S25FL256S1) 256MB NAND (Micron MT29F2G08ABBEAH4)
附有来源链接 ↧

千兆网口 · 已核验 · 型号级资料

{"gbe":5}
Ethernet: 5 x 1G via QCA8337N
附有来源链接 ↧

usb · 待核验 · 型号级资料

1x 2.0/3.0 (USB 3.0 unverified on 1 GB RAM variant) · 1x USB 2.0 on miniPCIe3
USB: 1 x USB 2.0/3.0 + 1 x USB 2.0 on mini PCIe3 socket
附有来源链接 ↧
检索记录
  • ("CMCC" OR "中国移动") "RM2-6" (OpenWrt OR firmware OR teardown) site:youtube.com/watch
  • "Compex" "WPQ864" (front OR rear OR PCB OR product photos)
  • "Compex" "WPQ864" (teardown OR installation OR 拆机 OR 刷机) -site:openwrt.org -site:github.com
  • "Compex" "WPQ864" (OpenWrt OR firmware OR teardown) site:youtube.com/watch
  • "Compex" "WPQ864" OpenWrt installation backup recovery
  • "Compex" "WPQ864" specifications manufacturer
  • "Compex" "WPQ864" stock firmware restore unbrick
  • ("CMCC" OR "中国移动") "RM2-6" (teardown OR 拆解 OR 刷机 OR spec OR manual) -site:github.com -site:openwrt.org
  • ("CMCC" OR "中国移动") "RM2-6" (review OR setup OR installation OR recovery) site:youtube.com/watch
  • "Compex" "WPQ864" (product OR images OR photos OR характеристики)
  • "Compex" "WPQ864" (teardown OR 拆解 OR 刷机 OR spec OR manual) -site:github.com -site:openwrt.org
  • "Compex" "WPQ864" (teardown OR 拆机 OR disassembly OR review)
  • "Compex" "WPQ864" (product images OR photos OR exterior)
  • "Compex" "WPQ873" (teardown OR 拆机 OR disassembly OR review)
  • "Compex" "WPQ864" (specifications OR firmware OR OpenWrt OR recovery)
  • "Compex" "WPQ873" (specifications OR firmware OR OpenWrt OR recovery)
  • "CreatComm" "TA8K" (specifications OR firmware OR OpenWrt OR recovery)
  • "CreatComm" "TA8KC" (specifications OR firmware OR OpenWrt OR recovery)
https://compex.com.sg/wp-content/uploads/2020/11/wpq864-6a02-v3.1-sl-189.pdf · 暂无指南:尚无经过核实的操作流程。

厂商网站 · 浏览器采集 · 核查日期: 2026-11-12

原始来源 URL: https://compex.com.sg/wp-content/uploads/2020/11/wpq864-6a02-v3.1-sl-189.pdf ↗

许可: 授权状态未核实

离线摘录

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+stock+firmware+restore+unbrick · 暂无指南:尚无经过核实的操作流程。

检索记录 · 浏览器采集 · 核查日期: 2026-11-11

原始来源 URL: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+stock+firmware+restore+unbrick ↗

许可: 授权状态未核实

离线摘录

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

OpenWrt ToH: Compex WPQ864 · 原始快照

官方文档 · 打包快照

原始来源 URL: https://openwrt.org/toh.json ↗

许可: 授权状态未核实

离线摘录

{
  "deviceId": "compex:compex_wpq864",
  "brand": "Compex",
  "model": "WPQ864",
  "version": null,
  "hardware": {
    "cpu": "Qualcomm Atheros IPQ8064",
    "chipsetKey": "IPQ8064",
    "cores": 2.0,
    "clockMhz": 1400.0,
    "ramMb": 1024.0,
    "ramRaw": "1024",
    "flash": [
      {
        "capacityMb": 32.0,
        "type": "unspecified"
      },
      {
        "capacityMb": 256.0,
        "type": "nand"
      }
    ],
    "ethernetPorts": {
      "fastEthernet": null,
      "gbe": 5.0,
      "gbe2_5": null,
      "gbe5": null,
      "gbe10": null
    },
    "wifiGeneration": null,
    "wifi2_4": "-",
    "wifi5": "-",
    "wifi6": null,
    "wifiChipsets": [
      "-"
    ],
    "wifiDriver": [
      "none"
    ],
    "modem": null,
    "usb": [
      "1x 3.0"
    ],
    "bootloader": "U-Boot"
  },
  "support": {
    "currentRelease": "25.12.6",
    "sinceRelease": "18.06.0",
    "installationMethods": [
      "see git-commit"
    ],
    "recoveryMethods": null,
    "unsupportedFunctions": [
      "USB"
    ],
    "installationWarnings": null,
    "recoveryWarnings": null
  }
}

SHA-256 faf121636f922d7156f26ce14a60ed2a73a4656f3c1847dc20bb88dabc1917a3

OpenWrt ToH · Compex WPQ864 · 已采集

官方文档 · 浏览器采集 · 核查日期: 2026-11-11

原始来源 URL: https://openwrt.org/toh.json ↗

许可: CC BY-SA 4.0 ↗

离线摘录

{"Device ID":"compex:compex_wpq864"}
{"Bootloader":"U-Boot"}
{"Brand":"Compex"}
{"CPU":"Qualcomm Atheros IPQ8064"}
{"CPU Cores_numcores":"2"}
{"CPU MHz":"1400"}
{"Ethernet 100M ports":"-"}
{"Ethernet 1Gbit ports":"5"}
{"Ethernet 2.5Gbit ports":"-"}
{"Firmware OpenWrt Install URL":["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]}
{"Firmware OpenWrt Upgrade URL":["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]}
{"Firmware OpenWrt snapshot Install URL":["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]}
{"Firmware OpenWrt snapshot Upgrade URL":["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]}
{"Flash MB":["32","256NAND"]}
{"Model":"WPQ864"}
{"OEM Device Homepage URL":"http://www.compex.com.sg/product/wpq864/"}
{"Power Supply":"12 VDC via barrel, or PoE 802.3af/at"}
{"RAM MB":"1024"}
{"Serial":"Yes"}
{"Supported Current Rel":"25.12.6"}
{"Supported Since Commit":"https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=0c7e78930b8e3865000ba677d7b71f4f063499f1"}
{"Supported Since Rel":"18.06.0"}
{"USB ports":["1x 3.0"]}
{"WLAN 2.4GHz":"-"}
{"WLAN 5.0GHz":"-"}

SHA-256 e103e8cacd24f856e1ec65565123d8695f0a4bafc01ff8ca7d94bd81bd2d9323

https://www.dipole.co.il/product/compex-embedded-board-wpq864/?lang=en · 暂无指南:尚无经过核实的操作流程。

社区讨论 · 浏览器采集 · 核查日期: 2026-11-13

原始来源 URL: https://www.dipole.co.il/product/compex-embedded-board-wpq864/?lang=en ↗

许可: 授权状态未核实

离线摘录

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

http://www.compex.com.sg/product/wpq864/ · 暂无指南:尚无经过核实的操作流程。

厂商网站 · 浏览器采集 · 核查日期: 2026-11-12

原始来源 URL: http://www.compex.com.sg/product/wpq864/ ↗

发现来源: https://openwrt.org/toh.json ↗

许可: 授权状态未核实

离线摘录

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+OpenWrt+installation+backup+recovery · 暂无指南:尚无经过核实的操作流程。

检索记录 · 浏览器采集 · 核查日期: 2026-11-11

原始来源 URL: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+OpenWrt+installation+backup+recovery ↗

许可: 授权状态未核实

离线摘录

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

[openwrt/openwrt] ipq806x: add support for Compex WPQ864 · 已采集

社区讨论 · 浏览器采集 · 核查日期: 2026-11-13

原始来源 URL: https://lists.infradead.org/pipermail/lede-commits/2018-March/006394.html ↗

许可: 授权状态未核实

离线摘录

[openwrt/openwrt] ipq806x: add support for Compex WPQ864
LEDE Commits lede-commits at lists.infradead.org
Thu Mar 15 00:21:04 PDT 2018

Previous message (by thread): [openwrt/openwrt] mvebu: unset uboot build by default
Next message (by thread): [openwrt/openwrt] tplink-safeloader: add support to split & extract firmwares
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/0c7e78930b8e3865000ba677d7b71f4f063499f1

commit 0c7e78930b8e3865000ba677d7b71f4f063499f1
Author: Christian Mehlis <christian at m3hlis.de>
AuthorDate: Sun Oct 30 09:51:54 2016 +0100

    ipq806x: add support for Compex WPQ864
    
    Hardware highlights:
    - SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
    - RAM: (512MB or 1GB) DDR3 System Memory
    - Storage: 32MB NOR (Cypress S25FL256S1)
               256MB NAND (Micron MT29F2G08ABBEAH4)
    - Ethernet: 5 x 1G via QCA8337N
    - USB: 1 x USB 2.0/3.0 + 1 x USB 2.0 on mini PCIe3 socket
    - PCIe: 3x mini PCIe (third mini PCIE3 is PCIe/USB shared)
    - SIM Card Slot: 2 x Slot
    - Buttons: Reset Button
    - LEDs: 18x, 8x GPIO controllable
    - Buzzer
    
    The correct amount of RAM will be passed by the bootloader.
    
    In contrast to the documentation provided by Compex, the third PCIe
    doesn't use GPIO16 for PERST. Instead, GPIO3 is shared and used as PERST
    for PCIe0 and PCIe2.
    
    So far, no one was able to get USB 3.0 working with the 1GB RAM version,
    while it works fine for my 512MB version. Since USB 3.0 doesn't work with
    the Compex firmware for the 1G variant either, it could be a hardware
    issue with these boards.
    
    OpenWrt will be installed to the NAND flash. Make sure to have a full
    working image on the NOR flash. It will be the backup in case anything
    goes wrong.
    
    It has been observed that an image loaded via tftpboot might have
    bitflips. Hence the extra step to create a crc32 checksum to allow to
    compare the checksum with the one from the source file prior to flashing.
    
    In all cases it is necessary to set the following u-boot parameter to an
    empty (whitespace) value, to ensure that the chosen bootargs of the dts
    isn't overwritten or set to bogus - not working - values:
    
      (IPQ) # set bootargs " "
      (IPQ) # set fsbootargs " "
      (IPQ) # saveenv
    
    The sysupgrade image can be installed directly on flash using u-boot (put
    jumper in JP13 (leave JP9 open) to boot from nand):
    
      (IPQ) # set serverip 192.168.1.20
      (IPQ) # set ipaddr 192.168.1.1


[…]

se-files/etc/board.d/01_leds   |   4 +
 .../ipq806x/base-files/etc/board.d/02_network      |  15 +-
 .../ipq806x/base-files/lib/upgrade/platform.sh     |   7 +-
 .../arch/arm/boot/dts/qcom-ipq8064-wpq864.dts      | 570 +++++++++++++++++++++
 target/linux/ipq806x/image/Makefile                |  15 +-
 .../patches-4.9/0069-arm-boot-add-dts-files.patch  |   3 +-
 6 files changed, 601 insertions(+), 13 deletions(-)

diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index 98aac70..a8d9573 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -11,6 +11,10 @@ board=$(board_name)
 boardname="${board##*,}"
 
 case "$board" in
+compex,wpq864)
+	ucidef_set_led_usbport "usb" "USB" "wpq864:green:usb" "usb1-port1" "usb2-port1"
+	ucidef_set_led_usbport "pcie-usb" "PCIe USB" "wpq864:green:usb-pcie" "usb3-port1"
+

[…]

;;
 qcom,ipq8064-db149)
 	ucidef_set_interface_lan "eth1 eth2 eth3"
 	ucidef_add_switch "switch0" \
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index c0deeda..4f230ea 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -10,9 +10,7 @@ platform_check_image() {
 
 platform_do_upgrade() {
 	case "$(board_name)" in
-	linksys,ea8500)
-		platform_do_upgrade_linksys "$ARGV"
-		;;
+	compex,wpq864|\
 	netgear,d7800 |\
 	netgear,r7500 |\
 	netgear,r7500v2 |\
@@ -21,6 +19,9 @@ platform_do_upgrade() {
 	zyxel,nbg6817)
 		nand_do_upgrade "$ARGV"
 		;;
+	linksys,ea8500)
+		platform_do_upgrade_linksys "$ARGV"
+		;;
 	tplink,c2600)
 		PART_NAME="os-image:rootfs"
 		MTD_CONFIG_ARGS="-s 0x200000"
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
new file mode 100644
index 0000000..9440de5
--- /dev/null
+++ b/target/linux/ipq806x/files-4.9

SHA-256 a0890954b2650636813325e2995a4b506333b9a93946815d88f0b56086f0131d

请稍候… · 暂无指南:尚无经过核实的操作流程。

社区讨论 · 浏览器采集 · 核查日期: 2026-11-12

原始来源 URL: https://www.alldatasheet.com/html-pdf/1255758/COMPEX/WPQ864/250/1/WPQ864.html ↗

许可: 授权状态未核实

离线摘录

www.alldatasheet.com
正在进行安全验证

本网站使用安全服务防护恶意自动程序。在验证您不是自动程序期间,将显示此页面。

浏览器扩展或网络配置不兼容

您的浏览器扩展或网络设置已阻止 www.alldatasheet.com 所需的安全验证过程。请尝试以下步骤:

暂时禁用浏览器扩展:

进入浏览器设置。
找到浏览器扩展并暂时禁用。
禁用后,刷新此页面。

检查网络设置:

确认您的网络或防火墙设置是否阻止了设备访问"challenges.cloudflare.com"。您可能需要查阅操作系统帮助文档或咨询网络管理员,以获取调整防火墙设置的指导。
如无权调整网络设置,请尝试连接到其他网络。

如这些步骤无法解决问题,请参阅 Cloudflare 故障排除文档获取更多帮助。有关如何禁用浏览器扩展或检查网络设置的详细说明,请参阅浏览器或设备文档。

SHA-256 741a64d62c23dcd5ce066d3c8b534424a6b9edb486b0f1151c070e55b0c86794

https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+specifications+manufacturer · 暂无指南:尚无经过核实的操作流程。

检索记录 · 浏览器采集 · 核查日期: 2026-11-11

原始来源 URL: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+specifications+manufacturer ↗

许可: 授权状态未核实

离线摘录

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

ipq806x: add support for Compex WPQ864 · 已采集

官方文档 · 本地 Git 提交 · 核查日期: 2026-11-13

原始来源 URL: https://github.com/openwrt/openwrt/commit/0c7e78930b8e3865000ba677d7b71f4f063499f1 ↗

作者: Christian Mehlis

许可: 授权状态未核实

离线摘录

ipq806x: add support for Compex WPQ864

Hardware highlights:
- SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
- RAM: (512MB or 1GB) DDR3 System Memory
- Storage: 32MB NOR (Cypress S25FL256S1)
           256MB NAND (Micron MT29F2G08ABBEAH4)
- Ethernet: 5 x 1G via QCA8337N
- USB: 1 x USB 2.0/3.0 + 1 x USB 2.0 on mini PCIe3 socket
- PCIe: 3x mini PCIe (third mini PCIE3 is PCIe/USB shared)
- SIM Card Slot: 2 x Slot
- Buttons: Reset Button
- LEDs: 18x, 8x GPIO controllable
- Buzzer

The correct amount of RAM will be passed by the bootloader.

In contrast to the documentation provided by Compex, the third PCIe
doesn't use GPIO16 for PERST. Instead, GPIO3 is shared and used as PERST
for PCIe0 and PCIe2.

So far, no one was able to get USB 3.0 working with the 1GB RAM version,
while it works fine for my 512MB version. Since USB 3.0 doesn't work with
the Compex firmware for the 1G variant either, it could be a hardware
issue with these boards.

OpenWrt will be installed to the NAND flash. Make sure to have a full
working image on the NOR flash. It will be the backup in case anything
goes wrong.

It has been observed that an image loaded via tftpboot might have
bitflips. Hence the extra step to create a crc32 checksum to allow to
compare the checksum with the one from the source file prior to flashing.

In all cases it is necessary to set the following u-boot parameter to an
empty (whitespace) value, to ensure that the chosen bootargs of the dts
isn't overwritten or set to bogus - not working - values:

  (IPQ) # set bootargs " "
  (IPQ) # set fsbootargs " "
  (IPQ) # saveenv

The sysupgrade image can be installed directly on flash using u-boot (put
jumper in JP13 (leave JP9 open) to boot from nand):

  (IPQ) # set serverip 192.168.1.20
  (IPQ) # set ipaddr 192.168.1.1

  (IPQ) # tftpboot 0x42000000 openwrt-ipq806x-compex_wpq864-squashfs-nand-factory.bin
  (IPQ) # crc32 0x42000000 $filesize

  (IPQ) # nand erase 0x1340000 0x4000000
  (IPQ) # nand write 0x42000000 0x1340000 $filesize

The initramfs image can be started using:

  (IPQ) # set fdt_high 0x48000000
  (IPQ) # tftpboot 0x44000000 openwrt-ipq806x-compex_wpq864-initramfs-fit-uImage.itb
  (IPQ) # bootm 0x44000000

Signed-off-by: Christian Mehlis <[email protected]>
Signed-off-by: Mathias Kresin <[email protected]>

SHA-256 71d84f02695bce3ad0c80c972fd7319638a9eac3628ffcdc51efe03868ffb652

[openwrt/openwrt] tplink-safeloader: add support to split & extract firmwares · 已采集

社区讨论 · 浏览器采集 · 核查日期: 2026-11-13

原始来源 URL: https://lists.infradead.org/pipermail/lede-commits/2018-March/006395.html ↗

发现来源: https://lists.infradead.org/pipermail/lede-commits/2018-March/006394.html ↗

许可: 授权状态未核实

离线摘录

[openwrt/openwrt] tplink-safeloader: add support to split & extract firmwares
LEDE Commits lede-commits at lists.infradead.org
Thu Mar 15 09:53:47 PDT 2018

Previous message (by thread): [openwrt/openwrt] ipq806x: add support for Compex WPQ864
Next message (by thread): [openwrt/openwrt] tplink-safeloader: add support to convert factory into sysupgrade
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
lynxis pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/638e2193fe5848c24f8aa48cc0fb8350185c3e24

commit 638e2193fe5848c24f8aa48cc0fb8350185c3e24
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Fri Mar 2 00:44:30 2018 +0100

    tplink-safeloader: add support to split & extract firmwares
    
    Split the oem firmware upgrade images into seperate files.
    Useful when analysing oem firmware files.
    
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 tools/firmware-utils/src/tplink-safeloader.c | 280 +++++++++++++++++++++++++--
 1 file changed, 263 insertions(+), 17 deletions(-)

diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index c96edb4..0a11287 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -46,6 +46,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <limits.h>
 
 #include "md5.h"
 
@@ -1379,6 +1380,9 @@ static void usage(const char *argv0) {
 		"Usage: %s [OPTIONS...]\n"
 		"\n"
 		"Options:\n"
+		"  -h              show this help\n"
+		"\n"
+		"Create a new image:\n"
 		"  -B <board>      create image for the board specified with <board>\n"
 		"  -k <file>       read kernel image from the file <file>\n"
 		"  -r <file>       read rootfs image from the file <file>\n"
@@ -1386,7 +1390,9 @@ static void usage(const char *argv0) {
 		"  -V <rev>        sets the revision number to <rev>\n"
 		"  -j              add jffs2 end-of-filesystem markers\n"
 		"  -S              create sysupgrade instead of factory image\n"
-		"  -h              show this help\n",
+		"Extract an old image:\n"
+		"  -x <file>       extract all oem firmware partition\n"
+		"  -d <dir>        destination to extract the firmware partition\n",
 		argv0
 	);
 };
@@ -1403,8 +1409,232 @@ static const struct device_info *find_board(const char *id)
 	return NULL;
 }
 
+static int add_flash_partition(
+		struct flash_partition_entry *part_list,
+		size_t max_entries,
+		const char *name,
+		unsigned long base,
+		unsigned long size)
+{
+	int ptr = 0;
+	/* check if the list has a free entry */
+	for (int ptr=0; ptr<max_entries; ptr++, part_list++) {
+		if (part_list->name == NULL &&
+				part_list->base == 0 &&
+				part_list->size == 0)
+			break;
+	}
+
+	if (ptr == max_entries) {
+		error(1, 0, "No free flash part entry available.");
+	}
+
+	part_list->name = calloc(1, strlen(name) + 1);
+	memcpy((char *)part_list->name, name, strlen(name));
+	part_list->base = base;
+	part_list->size = size;
+
+	return 0;
+}
+

SHA-256 e9b0c2f7e299f9b2aee6c23a441580f720685d8970c973c594ef860721adb16a

证据与来源

WireGuard 性能证据

同芯片参考 · 低置信度214–250Mbps

IPQ8064 · 2 条样本

并非此硬件变体的实测结果。

内核、固件、频率、防火墙及测试拓扑会影响结果。少量样本的观察区间不构成预测或保证。

来源样本 · 数据与方法
查看同芯片样本 (2)

来源原文(保留原始语言)

  • Xiaomi Mi Router R3D · 214 Mbps · OpenWrt Snapshot / 6.1.77
  • TP-Link Archer C2600 v1.x · 250 Mbps · OpenWrt 23.05.4 / 5.15.162

附有来源链接

证据与来源

compex:compex_wpq864 · 2026-11-07. 附有来源链接不等于已经独立核验。

品牌标识来源 ↗ · Compex official website · rasterized · 权利和许可详见来源

已审阅的设备资料

cpu · 已核验 · 2026-11-11
原始记录: "Qualcomm Atheros IPQ8064"
审阅值: "Qualcomm Atheros IPQ8064"

cores · 已核验 · 2026-11-13
原始记录: 2
审阅值: 2

附有来源链接 ↗

flash · 已核验 · 2026-11-13
原始记录: [{"type":"unspecified","capacityMb":32},{"type":"nand","capacityMb":256}]
审阅值: [{"type":"nor","capacityMb":32},{"type":"nand","capacityMb":256}]

附有来源链接 ↗

ramMb · 已核验 · 2026-11-11
原始记录: 1024
审阅值: 1024

serial · 已核验 · 2026-11-11
原始记录:
审阅值: "Yes"

clockMhz · 已核验 · 2026-11-11
原始记录: 1400
审阅值: 1400

bootloader · 已核验 · 2026-11-11
原始记录: "U-Boot"
审阅值: "U-Boot"

powerSupply · 已核验 · 2026-11-11
原始记录:
审阅值: "12 VDC via barrel, or PoE 802.3af/at"

ethernetPorts · 已核验 · 2026-11-13
原始记录: {"gbe":5,"gbe5":null,"gbe10":null,"gbe25":null,"fastEthernet":null}
审阅值: {"gbe":5}

附有来源链接 ↗

links.firmwareInstall · 已核验 · 2026-11-11
原始记录: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
审阅值: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]

links.firmwareUpgrade · 已核验 · 2026-11-11
原始记录: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
审阅值: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]

manufacturer.productUrls · 已核验 · 2026-11-11
原始记录:
审阅值: ["http://www.compex.com.sg/product/wpq864/"]

links.firmwareSnapshotInstall · 已核验 · 2026-11-11
原始记录: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
审阅值: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]

links.firmwareSnapshotUpgrade · 已核验 · 2026-11-11
原始记录: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
审阅值: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]

原始来源记录 · 保留全部字段

来源原文(保留原始语言)

{
  "CPU": "Qualcomm Atheros IPQ8064",
  "JTAG": "Yes",
  "VLAN": "Yes",
  "Brand": "Compex",
  "FCCID": null,
  "GPIOs": "-",
  "Model": "WPQ864",
  "Modem": "-",
  "RAM MB": "1024",
  "Serial": "Yes",
  "Switch": "Qualcomm Atheros QCA8075",
  "Target": "ipq806x",
  "CPU MHz": "1400",
  "Outdoor": "No",
  "Picture": [
    "media:example:genericrouter1.png"
  ],
  "Version": null,
  "Comments": null,
  "Flash MB": [
    "32",
    "256NAND"
  ],
  "Bluetooth": "-",
  "Device ID": "compex:compex_wpq864",
  "LED count": "18",
  "SFP ports": "-",
  "Subtarget": "generic",
  "USB ports": [
    "1x 3.0"
  ],
  "Bootloader": "U-Boot",
  "Git search": [
    "WPQ864"
  ],
  "SATA ports": "-",
  "SFP+ ports": "-",
  "Audio ports": [
    "-"
  ],
  "Device Page": null,
  "Device Type": "Single Board Computer",
  "Phone ports": [
    "-"
  ],
  "Video ports": [
    "-"
  ],
  "WLAN 2.4GHz": "-",
  "WLAN 5.0GHz": "-",
  "WLAN 6.0GHz": null,
  "WLAN driver": [
    "none"
  ],
  "Availability": "Available 2020",
  "Button count": "1",
  "Forum search": [
    "WPQ864"
  ],
  "Power Supply": "12 VDC via barrel, or PoE 802.3af/at",
  "WLAN 60.0GHz": null,
  "WikiDevi URL": [
    "https://wikidevi.wi-cat.ru/Compex_WPQ864"
  ],
  "WLAN Comments": "WLAN dependent on mPCIe installed",
  "WLAN Hardware": [
    "-"
  ],
  "Where available": "shop.compex.com.sg",
  "Comment recovery": null,
  "Comments AV ports": null,
  "CPU CoresNumcores": "2",
  "Recovery method(s)": null,
  "Detachable Antennas": "-",
  "Ethernet 100M ports": "-",
  "Supported Since Rel": "18.06.0",
  "Comment installation": null,
  "Ethernet 1Gbit ports": "5",
  "Ethernet 5Gbit ports": "-",
  "OWrt Forum Topic URL": null,
  "Package architecture": "arm_cortex-a15_neon-vfpv4",
  "Ethernet 10Gbit ports": "-",
  "Supported Current Rel": "25.12.6",
  "Unsupported Functions": [
    "USB"
  ],
  "Comments network ports": null,
  "Ethernet 2.5Gbit ports": "-",
  "Firmware OEM Stock URL": null,
  "Installation method(s)": [
    "see git-commit"
  ],
  "Supported Since Commit": "https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=0c7e78930b8e3865000ba677d7b71f4f063499f1",
  "Comments USB SATA ports": null,
  "OEM Device Homepage URL": "http://www.compex.com.sg/product/wpq864/",
  "Serial connection voltage": null,
  "Firmware OpenWrt Install URL": [
    "https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"
  ],
  "Firmware OpenWrt Upgrade URL": [
    "https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"
  ],
  "Serial connection parameters": null,
  "Firmware OpenWrt snapshot Install URL": [
    "https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"
  ],
  "Firmware OpenWrt snapshot Upgrade URL": [
    "https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"
  ]
}
导入固件链接 · 未核验

原始地址可能过期、格式有误或指向目录。请通过官方设备页和选择器核对镜像。

{
  "forum": [],
  "openwrtWiki": null,
  "purchaseUrls": [],
  "stockFirmware": [],
  "firmwareInstall": [
    "https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"
  ],
  "firmwareUpgrade": [
    "https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"
  ],
  "firmwareSnapshotInstall": [
    "https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"
  ],
  "firmwareSnapshotUpgrade": [
    "https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"
  ],
  "vendorHardwareDatasheet": []
}

相似设备

相关阅读

评论