Clean firmware build for AXT1800?

Is there any chance we could get a clean 22.03 (or 21.02) firmware build / package repo for the AXT-1800, particularly given that there is no official OpenWRT build support?

Thanks in advance.

1 Like

You can compile your own firmware.

1 Like

There seem to be quite a few packages from the normal OpenWRT feeds not available (e.g. openvpn, rsync, cryptsetup, etc.) Is there an easy way to get all of the OpenWRT feeds to pull in?

Thanks

Sorry, there is no easy way to do this for now.

Any ETA on when the packages will be available?

If you can’t even get OpenVPN on it, that’s a major limitation (especially given that you also can’t use opkg to install anything after booting). It’s sort of like saying you can compile your own firmware, but you won’t be able to use it for anything.

You can add the required packages by modifying the profile.
Before running make -j17, add the feed you need to the gl-infra-builder/feed/glinet directory, and then add it to the packages entry in profiles/luci.yml

For example, to add helloworld as an example in the gl-infra-builder/feed/glinet directory, you need to change profiles/luci.yml to

---
description: Add the LUCI dependencies

feeds:
  - name: glinet
    path: ../feeds_dir/glinet

packages:
  - luci
  - luci-base
  - luci-mod-rpc
  - wpad-openssl
  - helloworld

diffconfig: |
  CONFIG_LUCI_LANG_zh_Hans=y
  CONFIG_PACKAGE_wpad-basic=n
  CONFIG_PACKAGE_wpad=n

Then, running it again:

cd wlan-ap/openwrt
./scripts/gen_config.py target_wlan_ap-gl-axt1800 luci
make -j17

We couldn’t have offered a simpler way yet, because everyone needs a different package.

1 Like

This does appear to (mostly) work.

Next issue - is the 5.4 kernel build working? It appears to still build with the 4.4 kernel. (And at least some of my 4.4 kernel builds don’t appear to be able to do a wifi scan in Luci).

Yes, it is. ax1800/axt1800: add kernel 5.4 support · gl-inet/gl-infra-builder@34774a1 · GitHub

you need use configs/config-wlan-ap-5.4.yml, such as:

git clone https://github.com/gl-inet/gl-infra-builder.git
cd gl-infra-builder
python3 setup.py -c configs/config-wlan-ap-5.4.yml
cd wlan-ap/openwrt
./scripts/gen_config.py target_wlan_ap-gl-axt1800-5-4 luci
1 Like

Weird. I was using the axt1800-5-4 target, but perhaps i didn’t redo the setup. In any event, the build fails:

CC [M] drivers/crypto/msm/ice.o
drivers/crypto/msm/ice.c:1461:12: error: ‘disable_ice_setup’ defined but not used [-Werror=unused-function]
static int disable_ice_setup(struct ice_device *ice_dev)
^~~~~~~~~~~~~~~~~
drivers/crypto/msm/ice.c:1404:12: error: ‘enable_ice_setup’ defined but not used [-Werror=unused-function]
static int enable_ice_setup(struct ice_device *ice_dev)
^~~~~~~~~~~~~~~~
drivers/crypto/msm/ice.c:1383:27: error: ‘get_ice_device_from_storage_type’ defined but not used [-Werror=unused-function]
static struct ice_device *get_ice_device_from_storage_type
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[8]: *** [scripts/Makefile.build:297: drivers/crypto/msm/ice.o] Error 1
make[7]: *** [scripts/Makefile.build:532: drivers/crypto/msm] Error 2
make[6]: *** [scripts/Makefile.build:532: drivers/crypto] Error 2

Are there any plans to rebase this on 22.03 in the near future? I assume changes can’t be pushed upstream until there is actual kernel support for the ipq6000?