mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
If an attempt is made to create a UBI volume and it already exists, the operation fails. Therefore, before requesting the creation of a UBI volume, we erase the entire NAND to ensure that no errors occur. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>