Skip to content

qualcommax: ipq60xx: add GL.iNet GL-AX1800/AXT1800 support #14950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 24, 2025

Conversation

aiamadeus
Copy link
Contributor

Specifications:
SoC: Qualcomm IPQ6000
RAM: 512 MiB
Flash: 128 MiB NAND
ETH: Qualcomm QCA8075
WLAN1: 2.4GHz 802.11b/g/n/ax 2x2
WLAN2: 5GHz 802.11a/n/ac/ax 2x2
Button: Reset, Switch
USB: 1x 3.0
SD slot: 1 in GL-AXT1800

Install via uboot web failsafe:
Push the reset button for 5 seconds, then use broswer to
access http://192.168.1.1/, than upload factory.ubi.

Afterwards upgrade can use sysupgrade image.

@aiamadeus
Copy link
Contributor Author

@zhaojh329 Since gl firmware enabled gluebi, we can't directly sysupgrade to openwrt from above. Any ideas for this?

@aiamadeus aiamadeus force-pushed the ipq-gl branch 2 times, most recently from 110fd02 to 848670b Compare March 22, 2024 03:32
@github-actions github-actions bot added kernel pull request/issue with Linux kernel related changes core packages pull request/issue for core (in-tree) packages target/qualcommax pull request/issue for qualcommax target labels Mar 22, 2024
@JiaY-shi
Copy link

@aiamadeus After testing, the fan is not working properly. Maybe I turn it on wrong?

@aiamadeus
Copy link
Contributor Author

After testing, the fan is not working properly. Maybe I turn it on wrong?

No, it works fine. The fan speed is determined by the CPU temperature.
> 50C: 128/255 | > 75C: 192/255 | > 100C: 255/255

@zhaojh329
Copy link
Contributor

@zhaojh329 Since gl firmware enabled gluebi, we can't directly sysupgrade to openwrt from above. Any ideas for this?

We will support upgrade UBI image in next stock firmware.

@JiaY-shi
Copy link

@robimarko friendly ping

@alexhenrie
Copy link
Contributor

I built and installed this image on my GL-AXT1800 today and everything looks great! Many thanks for your efforts. I hope we don't have to wait long for the new code to be merged upstream.

@robimarko
Copy link
Contributor

Please rebase this and target 6.6 only, I will drop any leftovers of 6.1 today or tommorow

@aiamadeus aiamadeus force-pushed the ipq-gl branch 2 times, most recently from 751f5fc to 5d76468 Compare April 12, 2024 03:15
@backslashxx
Copy link

those cpu operating points unlock works well (im on mr7350)
Thanks.

@robimarko
Copy link
Contributor

robimarko commented Apr 16, 2024

Before I start looking further, please split those cpufreq and SDHCI changes to make it easier to review.

Also, I do not like dropping the patch from Mantas and then adding your own that adds the same SDHCI node as he was the first to send it upstream.

Second, you did not follow up with your SDHCI patch that was sent upstream, I know since I have been in the discussion for the SDHCI one and we dont want to keep these downstream forever.
I know upstreaming is hard and they tend to ask questions that nobody knows the answer to outside of QCA.

Copy link

@scarabs0q scarabs0q left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have experience with openwrt development, but I reviewed the changes, compiled the gl-ax1800 and axt1800 targets, installed the resulting .ubi and .bin upgrades to my axt1800, tested the firmware on an axt1800 in my home, finding no issues.

Copy link

@jzapater jzapater left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been using several TL-AX1800s in production for several months and this PR works perfectly. Both kernel versions 5.5, 6.1 and the latest 6.6.
I use many packages from the feed and also my own packages without any problems and unbeatable quality/price.

@cstadach
Copy link

cstadach commented May 16, 2024

I tried compiling this branch for my AX-1800 with the goal to add it to my existing mesh setup as an access point with a couple of LAN clients.
Unfortunately only the mesh connection on the 2.4GHz seems to be working but the wifis on the 2.4 GHz and the 5GHz do not accept any clients.
I am a novice when it comes to compiling openwrt. I used a docker container which pulled this branch and went into it doing a make menuconfig installing the resulting ubi via uboot webinterface installing the needed wpad-mbedtls for meshing and went on.

Retrying this I stumbled over the fact that the error might have resultet from wrong configurations.
I have started from scratch only using lucy for configurations.
I was able to connect 3 clients and work all morning using the device.
So far no complaints

Hope this helps

@Frank-MN
Copy link

Frank-MN commented May 16, 2024

Could anyone share their 6.6 builds? Both ubi and bin. Thanks. EDIT: for ax1800

@cstadach
Copy link

Unfortunately the device went stale after a couple of hours and needed to be rebooted.
I attached a serial connection and watched the logs and managed to catch a crashlog.
Which I am attaching.

Hope this helps
crash.log

@scarabs0q
Copy link

scarabs0q commented May 20, 2024

Could anyone share their 6.6 builds? Both ubi and bin. Thanks. EDIT: for ax1800

Here is the bin folder from the build I made for my personal testing. I have flashed both the .ubi and .bin for axt1800 and also subsequently flashed the stock gl.inet .ubi to test that I could revert. I don't have an ax1800 but the .ubi and .bin are included. EDIT: my build includes luci, wireguard, and several other packages built-in. Use at your own risk and discretion.

https://github.com/scarabs0q/openwrt-ipgl-build/tree/main

@Frank-MN
Copy link

When can we expect official builds for ax-1800 and axt-1800? Any ETAs?

@ean365
Copy link

ean365 commented Jun 4, 2024

I've never compiled OpenWRT before. Cloned OpenWRT main and merged Aiamadeus' ipq-gl changes into it with no problem. Took me a while to get an Ubuntu docker setup with the right dev environment (finally figured out that I also needed to install openssl with CA-certificates, duh). Just got it all to compile and generate binaries Sunday night. (Somebody needs to tell everyone in "telephony" that libpcre is deprecated, nowhere to be found.) Anyway... I plan to double check config, recompile, and load into my GL-AX1800 this coming weekend, test, and with luck report back with my success and approval. Very much appreciate the work you and others have put into supporting this device!!!

Kinue72 pushed a commit to haha-funny-lmao/openwrt-ipq that referenced this pull request Jun 6, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Kinue72 pushed a commit to haha-funny-lmao/openwrt-ipq that referenced this pull request Jun 6, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Kinue72 pushed a commit to haha-funny-lmao/openwrt-ipq that referenced this pull request Jun 6, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Kinue72 pushed a commit to haha-funny-lmao/openwrt-ipq that referenced this pull request Jun 6, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Kinue72 pushed a commit to haha-funny-lmao/openwrt-ipq that referenced this pull request Jun 6, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Kinue72 pushed a commit to haha-funny-lmao/openwrt-ipq that referenced this pull request Jun 6, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 6, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 6, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 6, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 6, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 12, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 12, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 12, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 12, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 13, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 13, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 13, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 13, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 14, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 14, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 14, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 14, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
Because of the dt-bindings error, these patches have not
been merged yet, and the driver part is fine.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
This is the minimal change for the upcoming patches.
Refresh the device tree of ipq807x at the same time.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
Refresh device tree, remove the useless sdhc2 aliases.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Jun 17, 2025
Make cpufreq work on different IPQ60xx SoC.
Also rebase ipq6018-cp-cpu.dtsi for mp5496.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: openwrt/openwrt#14950
Signed-off-by: Robert Marko <robimarko@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/scripts/tools pull request/issues for build, scripts and tools related changes core packages pull request/issue for core (in-tree) packages kernel pull request/issue with Linux kernel related changes target/mediatek pull request/issue for mediatek target target/qualcommax pull request/issue for qualcommax target
Projects
None yet
Development

Successfully merging this pull request may close these issues.