Maximum image size/alternate config storage
Posted: Sun Mar 02, 2014 2:49 am
Running on a Dlink DIR-615 E1 using the DIR-600 A1 image. Running 1.6.0 works great, but it loses config because there's not enough blocks for the jffs2 filesystem. From here https://git.kernel.org/cgit/linux/kerne ... ags/v3.3.8 jffs2 requires 5 blocks minimum, so once bootloader, nvram, mac, and art partitions eat up space, max image size would be 3.3MB (53x64kb erase pages).
I don't see anything super-obvious to remove or good ways to free up space, but I haven't been able to successfully build gargoyle so I can only look at packages from within the router. Easy answer is to just say build failed and not post to download section. 1.5.10 is the last version that fits, so maybe it was I18N that kicked it over.
jffs2 isn't super efficient at using space for so few blocks anyway. It could be possible to store the amount required for configuration in a .tgz that could be crammed in a single block. Some of the openwrt guys played with that trying to get 2MB flash models running a while back.
I don't see anything super-obvious to remove or good ways to free up space, but I haven't been able to successfully build gargoyle so I can only look at packages from within the router. Easy answer is to just say build failed and not post to download section. 1.5.10 is the last version that fits, so maybe it was I18N that kicked it over.
jffs2 isn't super efficient at using space for so few blocks anyway. It could be possible to store the amount required for configuration in a .tgz that could be crammed in a single block. Some of the openwrt guys played with that trying to get 2MB flash models running a while back.