--- In "Doug" <> wrote:
>
> --- In "j.chitte" <j.chitte@> wrote:
>
> > $ flash_eraseall_ignoreBB -j /dev/mtdblock/1
> > flash_eraseall_ignoreBB: /dev/mtdblock/1: unable to get MTD device info
>
> I can't help with the source code, but have you tried with /dev/mtd/1 instead?
>
> I had to use the "regular" eraseall utility yesterday with a 7260, and it
> worked fine with /dev/mtd/1 instead of the block device.
>
> P.S. totally unrelated (and not to hijack the thread or anything), but
> figured I better write this down for anyone who searches this list...if
> anyone out there is using kernel 2.4 with yaffs2, be sure to get the latest
> kernel 2.4 tarball with the TS-7400 in the name and compile that kernel. It
> still has a 7260 defconfig, and the yaffs2 support in it is upgraded so that
> it has checkpointing which means a practically nonexistent mount time
> compared to a 30+ second mount time I was seeing with the old version of the
> 2.4 kernel.
>
> The new kernel was giving a weird error whenever I mounted the yaffs2, and
> crashing on unmount, so that's why I did eraseall on the flash after changing
> to the new kernel. Now everything works great.
>
thanks for the suggestion.
flash_eraseall_ignoreBB /dev/mtd/1
flash_eraseall_ignoreBB: /dev/mtd/1: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 7ca0000 -- 99 % complete.
flash_eraseall_ignoreBB: /dev/mtd/1: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 7cc0000 -- 99 % complete.
flash_eraseall_ignoreBB: /dev/mtd/1: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 7ce0000 -- 99 % complete.
flash_eraseall_ignoreBB: /dev/mtd/1: MTD Erase failure: Input/output error
It repeated that for what appears to be every damn block. This sucks.
It would be cool if TS could start complying with license and copyright a bit
more seriously. It should not be up to users or copyright owners to notify
them.
If you use GPL you publish the source next to any binaries , it's that simple.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|