[OpenWrt-Devel] JFFS2 padding value
Cristian Morales Vega
cristian at samknows.com
Wed May 20 04:47:47 EDT 2015
I'm trying to understand how the JFFS2 padding value is decided, and
what effect it has.
In ramips "pad-rootfs" is used, calling "prepare_generic_squashfs",
which padds to 256k.
I have a build that generates a 7,911,953 bytes firmware. The space in
the flash is 8,060,928 bytes. pad-rootfs is creating a 8,126,464 image
that doesn't fit. But a 128k padding would have created a 7,995,392
bytes image that would fit.
A Google search doesn't give an answer I trust. But it seems that
somehow JFFS performs better if it's padded to the "erase size"? If
so, maybe this value could be used as a parameter for pad-rootfs?
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list