GL-iNet AX1800 new router - OpenWrt support?

I see, it is version 6 now
Congratulations :wink:

I thought you were asking about an issue!

By the way, did you make the compilation with GL SDK also?

Not using GL-infa anymore there is no need, Hardware works with OpenWRT now.
Also @shi05275 and others helped out can't take all the credit.

That is really good news! :+1::+1:

So if I follow normal OpenWrt compilation from the repo, I will be able to build clean vanilla firmware, right?!

Only if you use either mine or shi05275 repo's under the ipq60xx-devel branch.
As its not in OpenWRT Master yet.

That is still a good step, good work!

Looking forward to have it in the Master

Can you share the link to your repo or Shi05275's repo?

Thanks!

I have a question perhaps you could help;

when I went through all files in all directories in Openwrt repo. I find (almost) no C files nor header files, almost (if not all) files are either shell script files or configuration files (i.e: Makefile, DTS, paches, etc.)

Do you know why is that? and where I can find the kernel files themselves inside Openwrt repo.?

sorry if I bother you, I am just new to development and I am trying to learn as much as I can.

Thank you.

OOoohh, I wondered what the adjustments were and then I saw 'kernel 6.1.29'. That is exciting - but I wonder what is also broken!!

Thanks again - I will test shortly!

Here is some what a simplistic version of the script i use to compile my builds

#!/bin/bash

## Clone Repo ##
git clone https://github.com/solidus1983/openwrt.git -b ipq60xx-devel openwrt
cd ~/openwrt
git fetch
git pull


## Update openwrt Scripts
./scripts/feeds update -a -f
./scripts/feeds install -a -f

## Run defconfig  ##
cp config.buildinfo .config
make defconfig

## Run Menuconfig to adjust things ##
make -j $(nproc) menuconfig

## Prep Compile ##
make -i -j$(($(nproc)+1)) V=sc download tools toolchain prepare

## Compile ##
make -i -j$(($(nproc)+1)) V=sc 

@radiomean the last build in snapshot is still a 5.15 build bud. 6.1 is in experimental folders for now. Just be careful if its under 20MB on factory image don't flash it unless you have a serial connection.

2 Likes

When I go deeper inside the files, I cannot see clearly the kernel source code files in the repo. I just (or almost) see script files, DTS files or configuration files but not really the kernel source code (i.e: .C or .h) files.

I guess the openwrt repo only contains pointer links inside the script files to the kernel source code in the upstream. But I cannot find this either

So I am wondering where exactly the Linux Kernel 6.1 source code files are located inside OpenWrt Repo?!

the kernel is download and extracted into build_dir during compile if i remember correctly.

That is very good to know, thanks!

Now I would like to know where and which Openwrt script file that is responsible for this download ?!

look into the scripts folder if you want to know that.

1 Like

@solidus1983 ok, thanks... I just flashed r23168 and saw it was still kernel 5 ...
Note, will be careful and won't flash just yet, thanks!

The 6.1 version has been recompiled, and the current wifi and USB functions are normal.
The only exception is that CPU frequency tuning is not available, and luci-app-cpufreq is not available.
The log is as follows:

Mon Jun 12 09:21:51 2023 daemon.err uhttpd[3344]: cat: can't open '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq': No such file or directory
Mon Jun 12 09:21:51 2023 daemon.err uhttpd[3344]: expr: syntax error
Mon Jun 12 09:21:56 2023 daemon.err uhttpd[3344]: cat: can't open '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq': No such file or directory
Mon Jun 12 09:21:56 2023 daemon.err uhttpd[3344]: expr: syntax error

Not the only issue to do with CPU, it's stuck at 800mhz as well just run a cryptographic benchmark.

Looking forward to implementing a custom CPU frequency

Hope to see ipq60xx targett in future release candidate 23.05.0-rcX :slight_smile: After two years I could finally attach it to the fibre modem. With stock FW it wasnยดt suitable as primary router.

@solidus1983 Thanks with the help of your script, I successfully completed my initial build using Kernel Version 6.1.33 . I have thoroughly tested it and everything appears to be working perfectly. Here's an image showcasing the results:

I wanted to inform you about an issue I encountered with wget in Openwrt. To reproduce it, please follow these steps:

  1. Install wget-ssl.
  2. Proceed with the "Update lists..." command.
  3. The update process will appear successful, but no packages will be available. Furthermore, it will be impossible to install any packages until the wget-ssl is removed.

Thank you again for your invaluable assistance!

Chances for that are about zero, 24.xx perhaps, but for sure not 23.05.x.