From mboxrd@z Thu Jan 1 00:00:00 1970 From: Veli-Pekka Peltola Date: Fri, 04 Nov 2011 16:02:08 +0200 Subject: [U-Boot] [PATCH 09/17 RESEND V5] iMX28: Add GPMI NAND driver In-Reply-To: <201111041430.33835.marek.vasut@gmail.com> References: <1315800409-19876-1-git-send-email-marek.vasut@gmail.com> <1319237066-14954-10-git-send-email-marek.vasut@gmail.com> <4EB3E4EA.9080509@bluegiga.com> <201111041430.33835.marek.vasut@gmail.com> Message-ID: <4EB3F060.80900@bluegiga.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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