mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
UBI requires PEBs to be formatted (with a valid UBI header) or empty (0xFF), however CFE doesn't clear blocks after flashing the image. To workaround this problem, teach UBI to recognize EOF mark in a similar way JFFS2 handles that in OpenWrt. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42940