mtd mount problem

Eugene Surovegin ebs at ebshome.net
Fri Apr 22 11:55:52 EST 2005


On Thu, Apr 21, 2005 at 06:53:37PM -0700, Eugene Surovegin wrote:
> 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.

Oops, sorry, I failed to notice /dev/mtdblockX. Stupid me. Ignore this 
noise.

-- 
Eugene



More information about the Linuxppc-embedded mailing list