AW: AW: doc 2000 unknown partition table
mfend at harris.com
Thu Nov 8 03:21:23 EST 2001
ok, i did some further test with the doc2000...
raw write/read on /dev/nftla works fine.
nftldump said this
sh-2.03# ./nftldump /dev/mtd0
NFTL Media Header found at offset 0x00100000:
Formatted Size: 983040
Second NFTL Media Header found at offset 0x00104000
Unit 64 is free
Unit 65 is free
but if i use nandwrite i get this messages
sh-2.03# ./nandwrite /dev/mtd0 eraseall.c 0x0
ECC needs a full sector write (adr: 1000 size 1d2)
Unexpected EOF in input file
if i re-read the file with nanddump i get the file but at some locations it
seems to be corrupted. for example :
D@@@-- erase the whole of a MTD device
Copyright (C) 2000 Arcom Control System Ltd
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FI
@ DER A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
$Id: eraseall.c,v 1.7 2001/04/25 07:11:19 ollie Exp $
Von: David Woodhouse [SMTP:dwmw2 at infradead.org]
Gesendet am: Mittwoch, 7. November 2001 19:53
An: Fend, Matthias
Cc: 'linux mtd'
Betreff: Re: doc 2000 unknown partition table
mfend at harris.com said:
> Partition check:
> nftla: unknown partition table
That's normal after you've just done nftl_format - there will have been
partition table on there. If you tried to write a partition table with
fdisk and it still said that, then there's something wrong. Check that
you can read and write the raw /dev/nftla device.
Also, try using the nftldump utility (on /dev/mtd0) to check that the
contents of the flash are sane.
More information about the linux-mtd