[U-Boot] [PATCH 09/17 RESEND V5] iMX28: Add GPMI NAND driver

Veli-Pekka Peltola
2011-11-04T14:02:08Z

On 11/04/2011 03:30 PM, Marek Vasut wrote:
> Can you please supply me with the commands that trigger such bug and the
> resulting problem you then see? So I can reproduce it and fix it? Thanks!

This procedure should trigger the problem:
mtdparts default; nand erase.part filesystem; ubi part filesystem; ubi
part filesystem

You should see errors with second "ubi part filesystem" command like UBI
error: ubi_io_read: error -74 while reading 64 bytes from PEB 0:0, read
64 bytes.

You can force UBI not to use subpages (change 2048 to full size of your
NAND page):
mtdparts default; nand erase.part filesystem; ubi part filesystem 2048;
ubi part filesystem 2048

Please let me know if I can help you more somehow. Thanks!

--
Veli-Pekka Peltola
Bluegiga Technologies