4 ms·
Would be interesting to see the size for each OpenWRT version on a graph. After one of upgrades I've discovered that I have no enough space for additional packa
by citrin_ru 4y ago
Would be interesting to see the size for each OpenWRT version on a graph. After one of upgrades I've discovered that I have no enough space for additional packages I've used in the past and that's how I've learned that it become significantly bigger over the time. Though it still very impressive that developers managed to trim Linux to be usable on routers with small flash (8Mb in my case) given how huge the mainline kernel and how fast it grows.
- HeckFeck 4y agoI wonder why OpenBSD isn't considered for a router OS. It is smaller and more conservative than the Linux kernel. They also aim for security and code auditability. Presumably the same utilities and packages would compile for it as well as Linux. Looks like what you'd want in a router OS. Unless it is a matter of driver support?
- mkopec 4y agoI guess it's a matter of Wi-Fi driver support and performance (flow offload)
- meinheld111 4y agoIt usually is a matter of driver support
- mobilio 4y agoThis depends on many drivers and combination of different external tools. Small example is busybox - it's still small, but getting bugfixes/features and new applets. OpenWrt already abandon devices 4/32: https://openwrt.org/supported_devices/openwrt_on_432_devices https://openwrt.org/supported_devices/openwrt_on_432_devices and probably next abandoned will be 8/64 within two or three years.
- capableweb 4y agoThis doesn't absolutely answer your question (as it doesn't look at the size of the actual firmware), but I did a quick run to see how the amount of code changes in OpenWRT between releases, this is the results: https://pastebin.com/04s1TL49 https://pastebin.com/04s1TL49 Here is the latest ones: files blank comment code refs/tags/v21.02.4|Sun Oct 9 19:13:29 2022 +0200 SUM: 6152 105231 202581 1095273 refs/tags/v22.03.1|Sun Oct 9 19:32:19 2022 +0200 SUM: 4942 92892 159322 758218 refs/tags/v22.03.2|Sat Oct 15 14:45:57 2022 +0200 SUM: 4989 94174 160996 761805 refs/tags/v21.02.5|Sat Oct 15 15:02:44 2022 +0200 SUM: 6154 105246 202621 1095314 refs/tags/v22.03.3|Tue Jan 3 22:03:37 2023 +0100 SUM: 5030 94497 161559 768700 refs/tags/v22.03.4|Sun Apr 9 23:35:19 2023 +0100 SUM: 5054 94718 162335 769994 refs/tags/v21.02.6|Sun Apr 9 23:38:36 2023 +0100 SUM: 6283 106307 206300 1107999 Command used: $ git for-each-ref --sort=creatordate --format '%(refname)|%(creatordate)' refs/tags | while read line ; do echo $line; cloc --git $(echo $line | cut -d '|' -f 1) --processes 32 --quiet | grep SUM ; done