From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.230] helo=mgw-mx03.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1Kqo7N-0006p0-W3 for linux-mtd@lists.infradead.org; Fri, 17 Oct 2008 12:07:46 +0000 Subject: Re: nandwrite/ubi memory corruption? From: Artem Bityutskiy To: Michal Ludvig In-Reply-To: <48F7BBC1.8090804@logix.net.nz> References: <48F71315.5080707@logix.net.nz> <1224168560.4466.2.camel@sauron> <1224168977.4466.4.camel@sauron> <48F7BBC1.8090804@logix.net.nz> Content-Type: text/plain; charset=utf-8 Date: Fri, 17 Oct 2008 15:06:14 +0300 Message-Id: <1224245175.4466.23.camel@sauron> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: linux-mtd@lists.infradead.org Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2008-10-17 at 11:10 +1300, Michal Ludvig wrote: > Nothing was apparently broken after ubiformat, system kept running > smoothly. But I can't use ubiformat for writing kernel image, can I? >=20 > Is there any other way to write raw kernel image to /dev/mtd1 other than > using nandwrite? Using nandwrite for UBI is bad by definition because you loose your erase-counters and screw up wear-leveling. --=20 Best regards, Artem Bityutskiy (=D0=91=D0=B8=D1=82=D1=8E=D1=86=D0=BA=D0=B8=D0=B9 =D0=90= =D1=80=D1=82=D1=91=D0=BC)