On Thu, 29 Feb 2024 17:23:23 +0100, Ahmad Fatoum wrote: > The detect callback will try to detect an UBI volume inside a partition. > > This can misbehave for partitions without UBI: > > - For partitions smaller than 512 bytes, detect fails with -EINVAL, > because it wasn't possible to read as much > > [...] Applied, thanks! [1/1] mtd: don't try to detect UBI in too small flash partitions https://git.pengutronix.de/cgit/barebox/commit/?id=023cae6caa63 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>