From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [85.21.88.2] (helo=mail.dev.rtsoft.ru) by canuck.infradead.org with smtp (Exim 4.54 #1 (Red Hat Linux)) id 1F1Nn6-0000TY-J8 for linux-mtd@lists.infradead.org; Tue, 24 Jan 2006 08:01:12 -0500 Message-ID: <43D6254D.4000408@ru.mvista.com> Date: Tue, 24 Jan 2006 16:02:05 +0300 From: Vitaly Wool MIME-Version: 1.0 To: yuri.golovach@mindspeed.com References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Subject: Re: [PATCH] treat OOB as a single chunk of oobavail bytes List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello Yuri, can you please specify what patches you did apply and what flash you're using. Thanks! Vitaly yuri.golovach@mindspeed.com wrote: >Good day Vitaly. > >I've tried your patches which modifies nand_base.c, other mtdfiles and >mtdutils to be compatible with yaffs2. > >Unfortunately, I've some issues with them. > >1) > my version of mtd is newer then your and I was unable to patch >nand_base.c with your patch. So, I add this patch manually (but I'm not >sure - have I done some mistakes or not). > >2) After the kernel compiling with your patches I've started it and >receive a long list of > Bad eraseblock1 ... at ...x.................. > > After "mount" and "df" commands I saw that there is no free space >on flash because all bloks were marked as "bad block" . > Than I've tried patched version of flash_eraseall but it was not >able to see blocks also. > > >3) I've changed nand_bbt.c file (in the patched kernel) where simply >comment the bad blocks checking. Have booted from it and _successfully_ >used patched flash_eraseall. > >4) Than I've start the patched kernel _with bad blocks checking_ but these >(previously erased blocks) were marked like "bad blocks" again (in a >kernel booting procedure). > > >So, can you, please, provide your vision what should I do to run your >patch. Or you can send the link on the mtd line which supports yaffs2, >because I was unable to find your updates in CVS mainline :( > >Thank you, > Yuri Golovach > > > >