From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.ebshome.net (gate.ebshome.net [64.81.67.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gate.ebshome.net", Issuer "gate.ebshome.net" (not verified)) by ozlabs.org (Postfix) with ESMTP id 9C64167AC7 for ; Fri, 22 Apr 2005 11:53:40 +1000 (EST) Date: Thu, 21 Apr 2005 18:53:37 -0700 From: Eugene Surovegin To: J?rn Engel Message-ID: <20050422015337.GC20046@gate.ebshome.net> References: <20050421103234.ED367C1510@atlas.denx.de> <200504211502.48761.Schramel.Linux@go.bartec.de> <20050422013134.GB27755@wohnheim.fh-wedel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20050422013134.GB27755@wohnheim.fh-wedel.de> Cc: PPC_LINUX Subject: Re: mtd mount problem List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Apr 22, 2005 at 03:31:34AM +0200, J?rn Engel wrote: [snip] > 1. Erase the flash partition. Either > o eraseall /dev/mtdX or > o cat file_filled_with_0xff > /dev/mtdblockX Huh? I fail to see how options you listed are equivalent. By "cat"ing file filled with 0xff you cannot erase flash, period. Only eraseall (or erase, if partition occupies 1 erase block) flash can be erased. -- Eugene