[PATCH] ramips: mt76x8: enable small_flash feature

Sander Vanheule sander at svanheule.net
Mon Jan 22 03:35:47 PST 2024


On Wed, 2024-01-10 at 16:59 +0100, Tomasz Maciej Nowak wrote:
> From: Tomasz Maciej Nowak <tmn505 at gmail.com>
> 
> Some of devices in this target have only 8 MiB space and are closing to
> borders of usable space. Particularly, TP-Link RE305 v1 already suffers
> from this issue[1], where with current partition layout, on release
> images, there's not enough space for overlay. So activate small_flash
> feature, which will remove some userspace hardening but will gain almost
> 1 MiB additional flash memory space. Here is small size comparison of
> similar device (RE365 v1) with default config + LuCI:
> 
> 		kernel		rootfs		sysupgrade
> current:	2305728		3635044		5964584
> small_flash:	1713571		3320132		5047080
> 
> 1. https://github.com/openwrt/openwrt/issues/14215
> 
> Suggested-by: Sander Vanheule <sander at svanheule.net>
> Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
> ---

Took a bit longer than promised, but now applied to main. Thanks!


Best,
Sander



More information about the openwrt-devel mailing list