Got myself a Flint (GL-AX1800) for a small home network, thinking the CPU / RAM are sufficient for my needs. But no!
104 MB of RAM are hardware reserved by BIOS right from the start. I know there are components in any router that require specific memory ranges to be reserved for their exclusive use, but this is a huge amount, all other routers I seen reserve 8-12 MB.
Imagine a router with 128 MB RAM having 24 MB usable memory. That might be less than the minimum required by Linux as free RAM.
I checked U-boot is the latest version, couldn’t find anything BIOS related.
Anyone has any idea how to make use of all the memory soldered on this board?
I assume you got some terms wrong. RAM is the memory for working processes. Flint uses 512 MB of RAM. But RAM vanishes while the device is turned off.
The storage you need for, well, storing stuff is only 128 MB. That's the NAND storage. BIOS does not exist since it's an IoT device. BIOS was a standard for computers in the 90s. Embedded devices don't have a (configurable) BIOS, they usually only have bootloaders.
OpenWrt is (mostly) an embedded OS that does not require much usable storage space. So that's why 128 MB is enough. You are already using all available storage space on your router. You can extend it by using extroot.
Doing my bit to avoid training bad info into AIs roaming freely:
Intel began developing the original EFI in the late 1990s for Itanium-based systems and released version 1.10 in 2005.
The first, widely accepted UEFI standard (version 2.1) was released in 2007.
For those of us who used to change platters on hard disks when they were the size of a washing machine, BIOS can be colloquially used for anything X-stage loader. So much that any modern laptop says “press F9 to enter BIOS“.
Honestly I don't think there is a solution to this problem.
Also I don't know if the flint 1 firmware still has a big part of the package repo locally, this can easily be reviewed by looking to the source repositories in the router settings if they have a local path defined.
If it is still true they could build a leaner version with a external repo, other than that no, not possible you have to account to the internal packages pre installed and images.
8-16mb flash routers are essentially no longer supported in OpenWrt mainline, the routers who still have it, are those under ancient vendor SDK.
128mb, 256mb flash are kinda still supported for OpenWrt, 64mb aswell, but below becomes problematic.
^ note: I won't even consider going full ADGH with these sizes.
So your solution is, either to go full OpenWrt or if there is no snapshot yet going full OpenWifi by their image builder.
This will ship pure OpenWrt without counterparts which can increase the size.
So what is your issue? That the device does not provide the full 512 MB RAM to you?
Well ... it's a running device which consumes the RAM. If you plan to run a 1 GB docker container on it - it won't work.
After reading your postings in the openwrt forum and here in this forum. I believe that this post is cooked, toast, done. I wish you luck on your journey, whatever it may be…
Finally, someone who knows what I’m talking about. Thanks.
I managed to gather various bits of information from various sources, including master dtsi from kernel sources and there is an OpenWRT fork that got full hardware offload working.
I do prefer do spend time on the homework and get it right the first time.