bcm53xx: hack UBI to erase all dirty blocks left by CFE
authorRafał Miłecki <zajec5@gmail.com>
Thu, 16 Oct 2014 20:52:22 +0000 (20:52 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Thu, 16 Oct 2014 20:52:22 +0000 (20:52 +0000)
commit150c200e911e217cc1efa64818cd6f4114c4f3e6
treef4ee313bf71f8999b65addec307a9ab134d02479
parent1ffe299eab083ce4f580bfaa1e05e8b2239f6b60
bcm53xx: hack UBI to erase all dirty blocks left by CFE

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
target/linux/bcm53xx/patches-3.14/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch [new file with mode: 0644]