Ok everyone i have some good news.
I have managed to compile Kernel 5.4 with everything like Wireless working. However will need testers.
This has the following Apps Pre-installed:
Adblock
Wifi Schedule
banIP
Watchcat
Wake on LAN
Terminal
uHTTPd
UPnP
Network Shares (KSMBD)
VPN Bypass
OpenVPN
VPN Policy Routing
WireGuard
Statistics
Argon Theme (Also Config)
OpenWRT 2020 Theme
DNSCrypt-Proxy v2
SQM (With Cake)
QoS
{REMOVED DUE TO BRICKING}
If you have used my other build R16273 please use the factory image and start with a clean setup.
Known Bugs:
During boot kmod complains about dependencies
dependency not loaded nf_flow_table
dependency not loaded nf_conntrack_tftp
dependency not loaded nf_conntrack_snmp
dependency not loaded nf_conntrack_sip
dependency not loaded nf_conntrack_pptp
dependency not loaded nf_conntrack_irc
dependency not loaded nf_conntrack_h323
dependency not loaded nf_conntrack_ftp
dependency not loaded nf_conntrack_amanda
dependency not loaded nf_conntrack_broadcast
dependency not loaded nf_flow_table
dependency not loaded nf_nat
missing dependency nf_conntrack
missing dependency nf_defrag_ipv4
missing dependency nf_defrag_ipv6
If you encounter a Bug please let me know in this thread.
Updated Script:
#!/bin/bash
## Update and install required packages for Gl-Inet Intra Cross Compile ##
sudo apt update && sudo apt dist-upgrade -y
sudo apt install -y build-essential gawk gcc-multilib flex git gettext libncurses5-dev \
libssl-dev python3-distutils zlib1g-dev neofetch qemu-guest-agent python3-yaml rsync sshpass \
## Clone Intra ##
git clone https://github.com/solidus1983/gl-infra-builder.git
cd ~/gl-infra-builder
python3 setup.py -c config-wlan-ap-5.4.yml
#python3 setup.py -c config-wlan-ap.yml
## Add Themes ##
cd ~/gl-infra-builder/wlan-ap/openwrt/package
git clone https://github.com/jerrykuku/luci-theme-argon.git
git clone https://github.com/jerrykuku/luci-app-argon-config.git
cd ~/gl-infra-builder/wlan-ap/openwrt/
## Complete Intra Setup ##
cd ~/gl-infra-builder/wlan-ap/openwrt
#./scripts/gen_config.py target_wlan_ap-gl-ax1800-5-4 luci
./scripts/gen_config.py target_wlan_ap-gl-ax1800-5-4 solidus1983
### Run Menuconfig to adjust things ##
./scripts/getver.sh > ~/gl-infra-builder/wlan-ap/openwrt/version.info
cat ~/gl-infra-builder/wlan-ap/openwrt/version.info
read -p "Edit the .config file and then press any key to continue... " -n1 -s
make menuconfig
## Compile ##
cd ~/gl-infra-builder/wlan-ap/openwrt/
make -j$(($(nproc)+1)) V=sc download
make -j$(($(nproc)+1)) V=sc tools
make -j$(($(nproc)+1)) V=sc toolchain
make -i -j$(($(nproc)+1)) V=sc
#IGNORE_ERRORS=1 make -j$(($(nproc)+1)) V=sc ## Force compile even with errors
#make -j1 V=sc ## Diaganostics