
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!
Hi!
please test patch I just submitted, though I assume there'll be a huge discussion around it soon.
-- Veli-Pekka Peltola Bluegiga Technologies