Hi Francesco, Am Dienstag, 22. April 2025, 12:37:32 CEST schrieb Francesco Dolcini: > Hello Tom, Alexander > > On Thu, Feb 20, 2025 at 03:58:07PM +0100, Alexander Stein wrote: > > If there is an unallocated memory area before the last, filling parting > > the size calculation for MTD_SIZE_REMAINING does not take this hole > > into account. > > Fix this by calculating the remaining size just based on total size > > and partition offset. > > > > Signed-off-by: Alexander Stein <alexander.st...@ew.tq-group.com> > > This change introduced a regression on colibri imx7 and imx6ull. > > ``` > Booting from NAND... > Partition size must be a multiple of 2048 > Could not parse device nand0 > Failed parsing MTD partitions from mtdparts! > Partition ubi not found! > ``` > > Reverting commit 1ca97ee90392 ("mtd: mtdpart: Support MTD_SIZE_REMAINING > with unallocated memory area") on top of current master fixes the issue. > > Any suggestion? I have not looked at the code, I just did a git bisect.
How does your mtdparts look like? Best regards Alexander -- TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/