Skip to content
Contents
CompexOfficial release · Official snapshot

Compex WPQ864

OpenWrt ToH

IPQ8064 · 5 × GbE · 1024 MB RAM — Match the label, then check the build and recovery path.

Source snapshot 2026-11-07

OpenWrt compatibility

Same name does not mean the same hardware. Confirm revision, flash media and capacity before buying or installing. Imported compatibility and firmware links have not been independently rechecked.

Hardware

Specifications

Router CPU performance ranking · IPQ8064 · 9792 DMIPS

CPU / SoC
SoC family
IPQ8064
CPU cores
2
CPU clock
1400 MHz
Wireless
Unknown
Gigabit Ethernet
5
2.5 GbE
Unknown
USB
1x 3.0
Bootloader
U-Boot
Power supply
12 VDC via barrel, or PoE 802.3af/at
Dimensions and weight
Unknown
Original source record · all fields preserved

Before you choose

OpenWrt compatibility

Official release · Official snapshot
Source-listed release
25.12.6
First supported release
18.06.0
Hardware revision
Revision unspecified

An official ToH entry establishes catalog inclusion. Current release builds, snapshots and installation conditions are recorded separately; EOL or incomplete build verification does not hide the device.

Current builds checked: 2026-11-07

Installation conditions · Installation path unverified

An official build does not establish an installation path from your current OEM firmware. Check the exact revision, bootloader and prerequisites before purchasing or installing.

Official build evidence

Source-listed limitations
[ "USB" ]

Follow official device-specific guidance and checksum instructions. GeeksMeta does not verify images or execute installation steps.

OpenWrt flashing guide

Some sources still need verification; follow only the confirmed information below.

Match the revision and read the guide status first. Keep the recovery port and entry conditions on your computer before deciding whether to write an image.

Which OpenWrt firmware image is listed for the Compex WPQ864?

Sources and offline evidence

Excerpts are stored locally with this device. A readable source does not verify an installation path; model-level information does not apply to every hardware revision.

Some sources collected; verification remains incomplete · Checked: 2026-11-12

RAM · Conflicting sources · Model-level information

512 MB
- RAM: (512MB or 1GB) DDR3 System Memory
Source linked ↧

CPU / SoC · Verified · Exact hardware revision

Qualcomm Atheros IPQ8064
{"CPU":"Qualcomm Atheros IPQ8064"}
Source linked ↧

CPU cores · Verified · Exact hardware revision

2
{"CPU Cores_numcores":"2"}
Source linked ↧

CPU clock · Verified · Exact hardware revision

1400 MHz
{"CPU MHz":"1400"}
Source linked ↧

RAM · Verified · Exact hardware revision

1024 MB
{"RAM MB":"1024"}
Source linked ↧

Bootloader · Verified · Exact hardware revision

U-Boot
{"Bootloader":"U-Boot"}
Source linked ↧

Power supply · Verified · Exact hardware revision

12 VDC via barrel, or PoE 802.3af/at
{"Power Supply":"12 VDC via barrel, or PoE 802.3af/at"}
Source linked ↧

Serial console · Verified · Exact hardware revision

Yes
{"Serial":"Yes"}
Source linked ↧

Manufacturer website · Verified · Exact hardware revision

http://www.compex.com.sg/product/wpq864/
{"OEM Device Homepage URL":"http://www.compex.com.sg/product/wpq864/"}
Source linked ↧

Official release · First installation · Verified · Exact hardware revision

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"]}
Source linked ↧

Official release · Upgrade an OpenWrt installation · Verified · Exact hardware revision

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"]}
Source linked ↧

Official snapshot · First installation · Verified · Exact hardware revision

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"]}
Source linked ↧

Official snapshot · Upgrade an OpenWrt installation · Verified · Exact hardware revision

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"]}
Source linked ↧

CPU / SoC · Pending verification · Model-level information

Qualcomm Atheros IPQ8064/5
SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
Source linked ↧

CPU cores · Verified · Model-level information

2
SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
Source linked ↧

RAM · Pending verification · Model-level information

{"alternativesMb":[512,1024]}
RAM: (512MB or 1GB) DDR3 System Memory
Source linked ↧

Flash components · Verified · Model-level information

32 MB NOR + 256 MB NAND
Storage: 32MB NOR (Cypress S25FL256S1) 256MB NAND (Micron MT29F2G08ABBEAH4)
Source linked ↧

Gigabit Ethernet · Verified · Model-level information

{"gbe":5}
Ethernet: 5 x 1G via QCA8337N
Source linked ↧

usb · Pending verification · Model-level information

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
Source linked ↧
Search history
  • ("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 · Guide unavailable — no verified procedure is available.

Manufacturer website · Browser capture · Checked: 2026-11-12

Original source URL: https://compex.com.sg/wp-content/uploads/2020/11/wpq864-6a02-v3.1-sl-189.pdf ↗

License: License not verified

Offline excerpt

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+stock+firmware+restore+unbrick · Guide unavailable — no verified procedure is available.

Search history · Browser capture · Checked: 2026-11-11

Original source URL: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+stock+firmware+restore+unbrick ↗

License: License not verified

Offline excerpt

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

OpenWrt ToH: Compex WPQ864 · Original snapshot

Official documentation · Bundled snapshot

Original source URL: https://openwrt.org/toh.json ↗

License: License not verified

Offline excerpt

{
  "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 · Collected

Official documentation · Browser capture · Checked: 2026-11-11

Original source URL: https://openwrt.org/toh.json ↗

License: CC BY-SA 4.0 ↗

Offline excerpt

{"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 · Guide unavailable — no verified procedure is available.

Community discussion · Browser capture · Checked: 2026-11-13

Original source URL: https://www.dipole.co.il/product/compex-embedded-board-wpq864/?lang=en ↗

License: License not verified

Offline excerpt

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

http://www.compex.com.sg/product/wpq864/ · Guide unavailable — no verified procedure is available.

Manufacturer website · Browser capture · Checked: 2026-11-12

Original source URL: http://www.compex.com.sg/product/wpq864/ ↗

Discovered from: https://openwrt.org/toh.json ↗

License: License not verified

Offline excerpt

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+OpenWrt+installation+backup+recovery · Guide unavailable — no verified procedure is available.

Search history · Browser capture · Checked: 2026-11-11

Original source URL: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+OpenWrt+installation+backup+recovery ↗

License: License not verified

Offline excerpt

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

[openwrt/openwrt] ipq806x: add support for Compex WPQ864 · Collected

Community discussion · Browser capture · Checked: 2026-11-13

Original source URL: https://lists.infradead.org/pipermail/lede-commits/2018-March/006394.html ↗

License: License not verified

Offline excerpt

[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

请稍候… · Guide unavailable — no verified procedure is available.

Community discussion · Browser capture · Checked: 2026-11-12

Original source URL: https://www.alldatasheet.com/html-pdf/1255758/COMPEX/WPQ864/250/1/WPQ864.html ↗

License: License not verified

Offline excerpt

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 · Guide unavailable — no verified procedure is available.

Search history · Browser capture · Checked: 2026-11-11

Original source URL: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+specifications+manufacturer ↗

License: License not verified

Offline excerpt

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

ipq806x: add support for Compex WPQ864 · Collected

Official documentation · Local Git commit · Checked: 2026-11-13

Original source URL: https://github.com/openwrt/openwrt/commit/0c7e78930b8e3865000ba677d7b71f4f063499f1 ↗

Author: Christian Mehlis

License: License not verified

Offline excerpt

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 · Collected

Community discussion · Browser capture · Checked: 2026-11-13

Original source URL: https://lists.infradead.org/pipermail/lede-commits/2018-March/006395.html ↗

Discovered from: https://lists.infradead.org/pipermail/lede-commits/2018-March/006394.html ↗

License: License not verified

Offline excerpt

[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

Evidence & sources

WireGuard evidence

SoC reference · low confidence214–250Mbps

IPQ8064 · 2 samples

Not measured on this exact hardware variant.

Kernel, firmware, clock, firewall and test topology change results. This observed range across a small sample is not a prediction or guarantee.

The source samples · Data & methodology
Show family samples (2)

Original source text (original language)

  • 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

Source linked

Evidence & sources

compex:compex_wpq864 · 2026-11-07. Source-linked does not mean independently verified.

Brand logo source ↗ · Compex official website · rasterized · See source for rights and license

Reviewed metadata

cpu · Verified · 2026-11-11
Original record: "Qualcomm Atheros IPQ8064"
Reviewed value: "Qualcomm Atheros IPQ8064"

cores · Verified · 2026-11-13
Original record: 2
Reviewed value: 2

Source linked ↗

flash · Verified · 2026-11-13
Original record: [{"type":"unspecified","capacityMb":32},{"type":"nand","capacityMb":256}]
Reviewed value: [{"type":"nor","capacityMb":32},{"type":"nand","capacityMb":256}]

Source linked ↗

ramMb · Verified · 2026-11-11
Original record: 1024
Reviewed value: 1024

serial · Verified · 2026-11-11
Original record:
Reviewed value: "Yes"

clockMhz · Verified · 2026-11-11
Original record: 1400
Reviewed value: 1400

bootloader · Verified · 2026-11-11
Original record: "U-Boot"
Reviewed value: "U-Boot"

powerSupply · Verified · 2026-11-11
Original record:
Reviewed value: "12 VDC via barrel, or PoE 802.3af/at"

ethernetPorts · Verified · 2026-11-13
Original record: {"gbe":5,"gbe5":null,"gbe10":null,"gbe25":null,"fastEthernet":null}
Reviewed value: {"gbe":5}

Source linked ↗

links.firmwareInstall · Verified · 2026-11-11
Original record: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
Reviewed value: ["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 · Verified · 2026-11-11
Original record: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
Reviewed value: ["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 · Verified · 2026-11-11
Original record:
Reviewed value: ["http://www.compex.com.sg/product/wpq864/"]

links.firmwareSnapshotInstall · Verified · 2026-11-11
Original record: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
Reviewed value: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]

links.firmwareSnapshotUpgrade · Verified · 2026-11-11
Original record: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
Reviewed value: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]

Original source record · all fields preserved

Original source text (original language)

{
  "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"
  ]
}
Imported firmware links · unverified

Raw URLs may be stale, malformed or directories. Use the official device page and selector to verify the image.

{
  "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": []
}

Similar devices

Comments