uboot-mediatek: fix factory reset on UBI
authorDaniel Golle <daniel@makrotopia.org>
Sun, 28 Aug 2022 19:20:31 +0000 (20:20 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Aug 2022 19:33:15 +0000 (20:33 +0100)
commitd118cbdfece181994a96d1bcb1868bd807d481bf
tree0224703a356e24d570d5134b9c00e1e15a796a76
parenta1b263698cfacef7d62e091ed9c1f81f34b6df97
uboot-mediatek: fix factory reset on UBI

Truncating a UBI volume using `ubi write 0x0 volname 0x0` results in
segfault on newer U-Boot. Write 1MB of 0s instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/uboot-mediatek/patches/404-add-bananapi_bpi-r64_defconfigs.patch
package/boot/uboot-mediatek/patches/410-add-linksys-e8450.patch