Add support for TP-LINK AX55 V1

Hi, I have TP-LINK AX55 (AX3000) V1, is it possible to add support for this device?
https://fccid.io/2AXJ4AX55/Internal-Photos/10-Internal-Photos-5422587

https://static.tp-link.com/upload/gpl-code/2022/202208/20220829/GPL_AX55v1.tar.gz

Looks like it have 512MB RAM, 128MB flash and 1GHz dual core Qualcomm IPQ0518 (V2 version have some broadcom processor), Realtek switch and one USB3.0 port. I can try to read logs from serial later if needed and if I can disassembly router (I don't see any visible screws).

1 Like

Not anytime soon.
ipq50xx support in the mainline kernel is very incomplete, most devices (albeit not this one) are too tight on RAM and no one has even raised an interest in working on ipq50xx support so far (while ipq60xx is at least seeing a lot of effort going in, but isn't close to being merged either).

If you want to help out on getting this supported, then you could determine what environment is needed to get a working compilation of the vendor provided GPL package.

I've also got such a device, and had a quick go of it a few week's ago, but came up empty.
There were a number of packages missing, and the versions of gcc and other compile packages that I threw at it resulted in build errors.

From memory it was like a Chaos Calmer based version of OpenWRT that the vendor had used (https://openwrt.org/releases/15.05/start)... so quite a long way out of date at this stage.

Certainly boot logs etc would be useful also.

Hardware
Qualcomm IPQ0509 (0518)
Qualcomm QCN6102
REALTEK RTL8367S

  1. https://www.mercusys.com/uk/download/mr70x https://static.mercusys.com/gpl/GPL_MR70Xv2.tar20230105025301.gz 2) https://www.mercusys.com/uk/download/mr80x/v1#GPLCode https://static.mercusys.com/gpl/GPL_MR80Xv1.tar20230105025217.gz 3) https://www.tp-link.com/en/support/download/archer-ax53/#GPL-Code https://static.tp-link.com/upload/gpl-code/2023/202302/20230206/GPL_AX53v1.tar.gz 4) https://static.tp-link.com/upload/gpl-code/2022/202208/20220829/GPL_AX55v1.tar.gz
    all these models are on this board
    DD-WRT :: TP-Link Archer AX55 (AX3000)?

if there are developers who can make a config to compile the firmware, I'm ready to check the firmware.

Some boot logs from my router https://pastebin.com/85V1ysNV (connection not very good and some lines may be skipped)

Hi,

I managed to compile the GPL code available here: https://static.tp-link.com/upload/gpl-code/2022/202208/20220829/GPL_AX55v1.tar.gz

Now I have the packages and many image files, but I don't if any of these images are capable for flashing over stock image. Here is the file list:

root@server:/usr/src/GPL_AX55V1/QCASPF11_4/ilq-11-4_cs_qca/bin/ipq# ls -l
total 689504
drwxr-xr-x 3 root root      4096 May  2 08:15 debug
drwxr-xr-x 2 root root      4096 May  2 08:08 dtbs
-rw-r--r-- 1 root root      5444 May  2 08:19 md5sums
-rw-r--r-- 1 root root  15073112 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp02.1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968104 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp02.1-fit-uImage.itb
-rw-r--r-- 1 root root  15075152 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.1-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2970144 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.1-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15074376 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969368 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.1-fit-uImage.itb
-rw-r--r-- 1 root root  15074168 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.3-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969160 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.3-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15073408 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.3-c3-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968400 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.3-c3-fit-uImage.itb
-rw-r--r-- 1 root root  15073388 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.3-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968380 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-db-mp03.3-fit-uImage.itb
-rw-r--r-- 1 root root  15069872 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-emulation-c1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2964864 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-emulation-c1-fit-uImage.itb
-rw-r--r-- 1 root root  15069340 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-emulation-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2964332 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-emulation-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15069912 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-emulation-c3-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2964904 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-emulation-c3-fit-uImage.itb
-rw-r--r-- 1 root root  15073988 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp02.1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968980 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-mp02.1-fit-uImage.itb
-rw-r--r-- 1 root root  15074624 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.1-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969616 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.1-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15073808 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.1-c3-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968800 May  2 08:15 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.1-c3-fit-uImage.itb
-rw-r--r-- 1 root root  15073852 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968844 May  2 08:15 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.1-fit-uImage.itb
-rw-r--r-- 1 root root  15074980 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.3-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969972 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.3-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15074320 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.3-c3-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969312 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.3-c3-fit-uImage.itb
-rw-r--r-- 1 root root  15074212 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.3-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969204 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.3-fit-uImage.itb
-rw-r--r-- 1 root root  15073276 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.4-c1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2968268 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.4-c1-fit-uImage.itb
-rw-r--r-- 1 root root  15074964 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.4-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969956 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.4-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15074736 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.5-c1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969728 May  2 08:15 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.5-c1-fit-uImage.itb
-rw-r--r-- 1 root root  15075500 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.5-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2970492 May  2 08:16 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.5-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15079108 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.6-c1-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2974100 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.6-c1-fit-uImage.itb
-rw-r--r-- 1 root root  15079872 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.6-c2-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2974864 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-mp03.6-c2-fit-uImage.itb
-rw-r--r-- 1 root root  15072148 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq5018-sod-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2967140 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-sod-fit-uImage.itb
-rw-r--r-- 1 root root  15074184 May  2 08:18 openwrt-ipq-ipq50xx-qcom-ipq5018-tb-mp04-fit-uImage-initramfs.itb
-rw-r--r-- 1 root root   2969176 May  2 08:17 openwrt-ipq-ipq50xx-qcom-ipq5018-tb-mp04-fit-uImage.itb
-rw-r--r-- 1 root root   4340812 May  2 08:19 openwrt-ipq-ipq50xx-qcom-ipq50xx-mpxx-fit-uImage.itb
-rw-r--r-- 1 root root   4720640 May  2 08:19 openwrt-ipq-ipq50xx-squashfs-root.img
-rw-r--r-- 1 root root   9650176 May  2 08:19 openwrt-ipq-ipq50xx-ubifs-root.img
-rw-r--r-- 1 root root   9830400 May  2 08:19 openwrt-ipq-ipq50xx-ubi-root.img
-rw-r--r-- 1 root root  10223616 May  2 08:19 openwrt-ipq-ipq50xx-ubi-root-m4096-p256KiB.img
-rw-r--r-- 1 root root  11010048 May  2 08:19 openwrt-ipq-ipq50xx-ubi-root-m4096-p512KiB.img
-rwxr-xr-x 1 root root  10817536 May  2 08:13 openwrt-ipq-ipq50xx-vmlinux.bin
-rwxr-xr-x 1 root root  99180831 May  2 08:13 openwrt-ipq-ipq50xx-vmlinux.elf
-rwxr-xr-x 1 root root  15011840 May  2 08:15 openwrt-ipq-ipq50xx-vmlinux-initramfs.bin
-rwxr-xr-x 1 root root 103709724 May  2 08:15 openwrt-ipq-ipq50xx-vmlinux-initramfs.elf
drwxr-xr-x 3 root root      4096 May  2 06:12 packages
-rw-r--r-- 1 root root      7804 May  2 08:19 sha256sums

Here is my compile howto with docker:

cd /usr/src
wget https://static.tp-link.com/upload/gpl-code/2022/202208/20220829/GPL_AX55v1.tar.gz
tar xfz GPL_AX55v1.tar.gz
docker run -it -v /usr/src/GPL_AX55V1:/build ubuntu:bionic bash
apt update
apt install make gcc g++ patch gawk zlib1g zlib1g-dev libssl-dev unzip wget python subversion git openssl ocaml-nox libgetopt-complete-perl gettext
cd /build/Iplatform/build/
sed -it 's#www.codeaurora.org/mirrored_source/quic/qsdk#github.com/saviourxx/openwrt_dl/raw/master#g' QCASPF11_4/ilq-11-4_cs_qca/.config
make PRODUCT_NAME=ax55v1 iplatform_prep sdk boot iplatform

Laszlo

1 Like

there is an old version of openwrt 15
new version needs to be adapted

Add support Mercusys mr70x v2 and Tp-link ax53/55 - Feature Requests - OpenWrt Forum
I think it's worth keeping the discussion in one topic as it makes it easier to get everyone's attention and make a common development effort

Yes, this is old version, but if we can build a customized firmware (e.g. with enabled ssh access or extra packages) is also a big milestone. We "only" have to port it to the latest openwrt.

1 Like

Add support for TP-LINK AX55 V1 - For Developers - OpenWrt Forum

This would be nice! i hope we can use openwrt on this cheap router.

1 Like

After some investigations I realized, stock rom uses tplink safeloader image format, what openwrt already supports.
Now I'm trying to backport tplink-safeloader to the openwrt 15 what is used by the GPL code to generate factory images. Hopefully we can flash a clean openwrt over the stock image with ssh access and more freedom.

1 Like

ChatGPT - Genie AI - Visual Studio Marketplace this good helper

maybe it's worth building a stock firmware with ssh activated to start with?

hzyitc/openwrt-redmi-ax3000: Openwrt for Redmi AX3000 / Xiaomi CR8806 / Xiaomi CR8808 / Xiaomi CR8809 (github.com)this can help
I also advise you to look at the source
gl-inet/glbuilder (github.com)

Managed to modify stock firmware (enabled telnet and ssh), repacked, fixed md5 checksum in the header and disabled RSA verification. I flashed it successfully! If anybody interested, I can share the firmware and the unpack-repack solution.

2 Likes

I would like to check it.

2 Likes

have you tried adapting the build from redimi ax3000 / which I wrote above?

Yes, checked this redmi device and the state of the github repo. The devices seems to be quite similar, but TP-Link ax55 has more ram (512MB vs 256MB). It will be possible to create an image for ax55 based on this with low effort, however the current state of the the redmi ax3000 support is very limited. Let's wait until they stabilize all the issues and we can add ax55 support.

my friend put that build on his redmi. It works, although there are minor problems with 2.4. Also, I think it's worth trying to build an older openwrt version 19 (possibly with a 4.4 kernel) and adapt the glinet shell, they are beautiful and convenient and based on version 19 if I'm not confused