I would like to thank every contributor on this thread..
A lot of ideas were exchanged and I appreciate it.
Especially Fitz Mutch - for the first time I could also compile the firmware without a glitch.
Your script is excellent.
I would like to start a new thread regarding a total new modular firmware design from scratch.... any votes for it?
I don't think that's practical (IMHO). If you want to go down that route look at (and use) OpenWRT. Consider how long and how much effort it took to get it to where it is today.
It's called OpenWRT - the ARM based AC56U/AC68U/AC87U have some support - the MIPS devices of interest for most of the SNB community, e.g. RT-N66U is also supported.
You might miss out on some of the closed source sweetness - e.g. FA/CTF...
But I guarantee you it's an easier build.
Netgear's Orbi platform is built on a fork of OpenWRT, FWIW...
If there is any way you can leave the feature AiMesh that works in the router and install the scripts like OpenWRT, that there are for Asuswrt-Merlin and that you're always up to date with the official firmware updates like Asuswrt-Merlin. I would use it.
Very good point. For the HND toolchain (routers RT-AC86U, AC2900, GT-AC5300), I wouldn't try it with anything less than 4GB memory, otherwise it will crash the Linux OS. Here's my VM details.
Memory: 4GB
Processors: 2
On your VM - rather than use swap (which will absolutely kill speed), allocate enough RAM (for HND, 2GB is plenty), and then install the zram-config package for the guest OS - makes a big difference...