Qualcomm AP161
Chưa ghi phiên bản
Chưa xác minh cách cài đặt
IPQ8064 · 5 × GbE · 1024 MB RAM — Đối chiếu nhãn máy, sau đó kiểm tra bản dựng và đường khôi phục.
Ngày chụp nguồn 2026-11-07
Cùng tên chưa chắc cùng phần cứng. Xác nhận phiên bản, loại và dung lượng flash trước khi mua hoặc cài. Tương thích và liên kết nhập chưa được kiểm tra lại độc lập.
Phần cứng
Bảng xếp hạng CPU của bộ định tuyến · IPQ8064 · 9792 DMIPS
Trước khi chọn
Hồ sơ ToH chính thức là căn cứ đưa thiết bị vào danh mục. Bản phát hành hiện hành, snapshot và điều kiện cài đặt được ghi riêng; EOL hoặc kiểm tra chưa hoàn tất không làm ẩn thiết bị.
Ngày kiểm tra bản dựng hiện hành: 2026-11-07
Có bản dựng chính thức không có nghĩa là cài trực tiếp được từ firmware gốc hiện tại. Hãy kiểm tra phiên bản phần cứng, bootloader và điều kiện trước khi mua hoặc cài đặt.
Giới hạn trong nguồn
[
"USB"
]
Làm theo hướng dẫn riêng cho thiết bị và kiểm tra tổng chính thức. GeeksMeta không xác minh ảnh hay thực hiện cài đặt.
Một số nguồn vẫn cần xác minh; chỉ tham khảo thông tin đã xác nhận bên dưới.
Kiểm tra phiên bản máy và trạng thái hướng dẫn trước. Ghi cổng và điều kiện vào chế độ khôi phục trên máy tính trước khi quyết định ghi ảnh.
Nên chọn tệp firmware OpenWrt nào cho Compex WPQ864?Các trích đoạn được lưu cục bộ. Truy cập được nguồn không có nghĩa là quy trình cài đặt đã được xác minh; thông tin theo mẫu máy không áp dụng cho mọi phiên bản phần cứng.
Đã thu thập một phần; vẫn cần xác minh · Ngày kiểm tra: 2026-11-12
RAM · Nguồn mâu thuẫn · Thông tin theo mẫu máy
512 MB- RAM: (512MB or 1GB) DDR3 System MemoryCó liên kết nguồn ↧
CPU / SoC · Đã xác minh · Đúng phiên bản phần cứng
Qualcomm Atheros IPQ8064{"CPU":"Qualcomm Atheros IPQ8064"}Có liên kết nguồn ↧
Trình khởi động · Đã xác minh · Đúng phiên bản phần cứng
U-Boot{"Bootloader":"U-Boot"}Có liên kết nguồn ↧
Nguồn điện · Đã xác minh · Đúng phiên bản phần cứng
12 VDC via barrel, or PoE 802.3af/at{"Power Supply":"12 VDC via barrel, or PoE 802.3af/at"}Có liên kết nguồn ↧
Trang nhà sản xuất · Đã xác minh · Đúng phiên bản phần cứng
http://www.compex.com.sg/product/wpq864/{"OEM Device Homepage URL":"http://www.compex.com.sg/product/wpq864/"}Có liên kết nguồn ↧
Bản phát hành chính thức · Cài đặt lần đầu · Đã xác minh · Đúng phiên bản phần cứng
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"]}Có liên kết nguồn ↧
Bản phát hành chính thức · Nâng cấp OpenWrt · Đã xác minh · Đúng phiên bản phần cứng
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"]}Có liên kết nguồn ↧
Bản snapshot chính thức · Cài đặt lần đầu · Đã xác minh · Đúng phiên bản phần cứng
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"]}Có liên kết nguồn ↧
Bản snapshot chính thức · Nâng cấp OpenWrt · Đã xác minh · Đúng phiên bản phần cứng
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"]}Có liên kết nguồn ↧
CPU / SoC · Chờ xác minh · Thông tin theo mẫu máy
Qualcomm Atheros IPQ8064/5SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPUCó liên kết nguồn ↧
Số nhân CPU · Đã xác minh · Thông tin theo mẫu máy
2SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPUCó liên kết nguồn ↧
RAM · Chờ xác minh · Thông tin theo mẫu máy
{"alternativesMb":[512,1024]}RAM: (512MB or 1GB) DDR3 System MemoryCó liên kết nguồn ↧
Thành phần flash · Đã xác minh · Thông tin theo mẫu máy
32 MB NOR + 256 MB NANDStorage: 32MB NOR (Cypress S25FL256S1) 256MB NAND (Micron MT29F2G08ABBEAH4)Có liên kết nguồn ↧
Ethernet gigabit · Đã xác minh · Thông tin theo mẫu máy
{"gbe":5}Ethernet: 5 x 1G via QCA8337NCó liên kết nguồn ↧
usb · Chờ xác minh · Thông tin theo mẫu máy
1x 2.0/3.0 (USB 3.0 unverified on 1 GB RAM variant) · 1x USB 2.0 on miniPCIe3USB: 1 x USB 2.0/3.0 + 1 x USB 2.0 on mini PCIe3 socketCó liên kết nguồn ↧
Trang nhà sản xuất · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-12
URL nguồn gốc: https://compex.com.sg/wp-content/uploads/2020/11/wpq864-6a02-v3.1-sl-189.pdf ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Lịch sử tìm kiếm · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-11
URL nguồn gốc: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+stock+firmware+restore+unbrick ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Tài liệu chính thức · Bản chụp đóng gói
URL nguồn gốc: https://openwrt.org/toh.json ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
{
"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
Tài liệu chính thức · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-11
URL nguồn gốc: https://openwrt.org/toh.json ↗
Giấy phép: CC BY-SA 4.0 ↗
Trích đoạn ngoại tuyến
{"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
Thảo luận cộng đồng · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-13
URL nguồn gốc: https://www.dipole.co.il/product/compex-embedded-board-wpq864/?lang=en ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Trang nhà sản xuất · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-12
URL nguồn gốc: http://www.compex.com.sg/product/wpq864/ ↗
Được tìm thấy từ: https://openwrt.org/toh.json ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Lịch sử tìm kiếm · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-11
URL nguồn gốc: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+OpenWrt+installation+backup+recovery ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Thảo luận cộng đồng · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-13
URL nguồn gốc: https://lists.infradead.org/pipermail/lede-commits/2018-March/006394.html ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
[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.9SHA-256 a0890954b2650636813325e2995a4b506333b9a93946815d88f0b56086f0131d
Thảo luận cộng đồng · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-12
URL nguồn gốc: https://www.alldatasheet.com/html-pdf/1255758/COMPEX/WPQ864/250/1/WPQ864.html ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
www.alldatasheet.com 正在进行安全验证 本网站使用安全服务防护恶意自动程序。在验证您不是自动程序期间,将显示此页面。 浏览器扩展或网络配置不兼容 您的浏览器扩展或网络设置已阻止 www.alldatasheet.com 所需的安全验证过程。请尝试以下步骤: 暂时禁用浏览器扩展: 进入浏览器设置。 找到浏览器扩展并暂时禁用。 禁用后,刷新此页面。 检查网络设置: 确认您的网络或防火墙设置是否阻止了设备访问"challenges.cloudflare.com"。您可能需要查阅操作系统帮助文档或咨询网络管理员,以获取调整防火墙设置的指导。 如无权调整网络设置,请尝试连接到其他网络。 如这些步骤无法解决问题,请参阅 Cloudflare 故障排除文档获取更多帮助。有关如何禁用浏览器扩展或检查网络设置的详细说明,请参阅浏览器或设备文档。
SHA-256 741a64d62c23dcd5ce066d3c8b534424a6b9edb486b0f1151c070e55b0c86794
Lịch sử tìm kiếm · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-11
URL nguồn gốc: https://www.bing.com/search?q=%22Compex%22+%22WPQ864%22+specifications+manufacturer ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Tài liệu chính thức · Commit Git cục bộ · Ngày kiểm tra: 2026-11-13
URL nguồn gốc: https://github.com/openwrt/openwrt/commit/0c7e78930b8e3865000ba677d7b71f4f063499f1 ↗
Tác giả: Christian Mehlis
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
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
Thảo luận cộng đồng · Thu thập bằng trình duyệt · Ngày kiểm tra: 2026-11-13
URL nguồn gốc: https://lists.infradead.org/pipermail/lede-commits/2018-March/006395.html ↗
Được tìm thấy từ: https://lists.infradead.org/pipermail/lede-commits/2018-March/006394.html ↗
Giấy phép: Chưa xác minh giấy phép
Trích đoạn ngoại tuyến
[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
Bằng chứng và nguồn
IPQ8064 · 2 mẫu
Không được đo trên đúng biến thể này.Nhân, firmware, xung, tường lửa và cấu trúc thử nghiệm làm thay đổi kết quả. Khoảng quan sát ít mẫu không phải dự đoán hay bảo đảm.
Văn bản nguồn (ngôn ngữ gốc)
Có liên kết nguồn
compex:compex_wpq864 · 2026-11-07. Có liên kết nguồn không có nghĩa đã xác minh độc lập.
Nguồn logo thương hiệu ↗ · Compex official website · rasterized · Xem nguồn để biết quyền và giấy phép
cpu · Đã xác minh · 2026-11-11
Dữ liệu gốc: "Qualcomm Atheros IPQ8064"
Giá trị đã xem xét: "Qualcomm Atheros IPQ8064"
cores · Đã xác minh · 2026-11-13
Dữ liệu gốc: 2
Giá trị đã xem xét: 2
flash · Đã xác minh · 2026-11-13
Dữ liệu gốc: [{"type":"unspecified","capacityMb":32},{"type":"nand","capacityMb":256}]
Giá trị đã xem xét: [{"type":"nor","capacityMb":32},{"type":"nand","capacityMb":256}]
ramMb · Đã xác minh · 2026-11-11
Dữ liệu gốc: 1024
Giá trị đã xem xét: 1024
serial · Đã xác minh · 2026-11-11
Dữ liệu gốc:
Giá trị đã xem xét: "Yes"
clockMhz · Đã xác minh · 2026-11-11
Dữ liệu gốc: 1400
Giá trị đã xem xét: 1400
bootloader · Đã xác minh · 2026-11-11
Dữ liệu gốc: "U-Boot"
Giá trị đã xem xét: "U-Boot"
powerSupply · Đã xác minh · 2026-11-11
Dữ liệu gốc:
Giá trị đã xem xét: "12 VDC via barrel, or PoE 802.3af/at"
ethernetPorts · Đã xác minh · 2026-11-13
Dữ liệu gốc: {"gbe":5,"gbe5":null,"gbe10":null,"gbe25":null,"fastEthernet":null}
Giá trị đã xem xét: {"gbe":5}
links.firmwareInstall · Đã xác minh · 2026-11-11
Dữ liệu gốc: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
Giá trị đã xem xét: ["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 · Đã xác minh · 2026-11-11
Dữ liệu gốc: ["https://downloads.openwrt.org/releases/25.12.6/targets/ipq806x/generic/openwrt-25.12.6-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
Giá trị đã xem xét: ["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 · Đã xác minh · 2026-11-11
Dữ liệu gốc:
Giá trị đã xem xét: ["http://www.compex.com.sg/product/wpq864/"]
links.firmwareSnapshotInstall · Đã xác minh · 2026-11-11
Dữ liệu gốc: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
Giá trị đã xem xét: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin"]
links.firmwareSnapshotUpgrade · Đã xác minh · 2026-11-11
Dữ liệu gốc: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
Giá trị đã xem xét: ["https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin"]
Văn bản nguồn (ngôn ngữ gốc)
{
"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"
]
}URL gốc có thể cũ, sai định dạng hoặc là thư mục. Xác minh qua trang và trình chọn chính thức.
{
"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": []
}Chưa ghi phiên bản
Chưa xác minh cách cài đặt
Chưa ghi phiên bản
Chưa xác minh cách cài đặt
Chưa ghi phiên bản
Chưa xác minh cách cài đặt
Chưa ghi phiên bản
Chưa xác minh cách cài đặt
Bình luận