Re: [BUG BISECT] Missing MTD NAND partitions - mtd: rawnand: Move the ->exec_op() method to nand_controller_ops
From: Miquel Raynal
Date: Tue Nov 20 2018 - 05:33:41 EST
Hi Krzysztof,
Krzysztof KozÅowski <k.kozlowski.k@xxxxxxxxx> wrote on Tue, 20 Nov 2018
10:46:33 +0100:
> Hi all,
>
> Since few days linux-next has problem on Freescale VF500 - MTD seems
> to be broken.
>
> Bisect pointed me to commit 7c27338c728e39ef47c83d101959aa332506969d
> ("mtd: rawnand: Move the ->exec_op() method to nand_controller_ops")
> as reason of failure to find MTD partitions.
>
> Toradex Colibri VF50 on Iris board (ARMv7, UP, Cortext-A5, NXP VF500,
> 128 MB RAM, 128 MB NAND, Systemd: v232) booted from NFS root (NFSv4)
> trying to mount UBIFS from NAND/MTD. Board uses VF610 NAND driver.
>
> The MTD partitions are missing entirely (nothing under /dev/mtd).
> In the logs you can also see:
> [ 1.232161] UBI error: cannot open mtd ubi2, error -2
>
> Attached - dmesg.log
>
> Let me know if you need defconfig or any other information.
Thank you very much for testing and reporting the bug!
Could you please test with this diff applied [1] please? We discussed
with Boris and we think it should fix your setup (and all others also
impacted).
[1] http://code.bulix.org/r1m99i-509201
Thanks,
MiquÃl