Hi
Never in my life have I seen such powerful software that is less than 5MB in size.
Practically everything that comes from GitHub and others is much bigger, and usually can also do less.
Why is OpenWRT under 5MB? What's the magic behind it?
Hi
Never in my life have I seen such powerful software that is less than 5MB in size.
Practically everything that comes from GitHub and others is much bigger, and usually can also do less.
Why is OpenWRT under 5MB? What's the magic behind it?
Multiple things, but the main ones:
Every device has its particulars as well, the Linksys EA8300 sysupgrade is 5.4MB, however you are also showing a susupgrade of 4.5MB for your C7v5.
As such, you must remember that a sysupgrade is exactly that... an upgrade. This file is incomplete and does not contain the entire OpenWRT system, but the files and settings that nee be upgraded.
As a reference, the factory for the EA8300 is 7.6MB, a 50% increase over the sysupgrade. Also this router has more features, like quad-core, triband, dual boot partitions, way more RAM and Flash, etc.... It's also likely, that more modules are pre-compiled into the image to support the additional features and to add more "out of the box" functionality than the C7 and its limited resources.
As an example, I also have an MR8300 (even more RAM) and cybernook was nice to precompile a package with additional features "out of the box" and the image is 18.6MB in size as shown here Flashing OpenWrt on Linksys MR8300 - partially bricked and here Flashing OpenWrt on Linksys MR8300 - partially bricked. Hopefully cybernook will manage to get MR8300 officially supported.
And let's not forget the kernel itself, which is also xz-compressed.
Don't think that statement is correct.
Factory is for when installing on a device currently with OEM.
Upgrade is for when installing on a device currently with Openwrt.
The image is complete.
Then why huge difference in size ?
Factory generally has additional items such as headers and padding to make it compatible with the OEM flashing process. That's not necessary when using sysupgrade as OpenWRT is already installed.
This means it's possible to skip one release?
It's always been possible sysupgrade (e.g. flash the sysupgrade image from v17 to v19) if that's what you mean.
Yes definitely.
You can also flash the same release again or even flash a previous release