mtd mount problem

Eugene Surovegin ebs at ebshome.net
Fri Apr 22 11:53:37 EST 2005


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



More information about the Linuxppc-embedded mailing list