* Reviving DOCs
@ 2000-03-13 16:31 Trevor Woolven
0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woolven @ 2000-03-13 16:31 UTC (permalink / raw)
To: MTD
Firstly, thanks to everyone for their help and advice.
Secondly, I appear to have found another way...
nftl_format /dev/mtd0
fdisk /dev/nftla (sometimes a reboot is needed first)
mke2fs /dev/nftla1 (I only create one partition on the DOC at present)
Now, so far this method appears to have revived three DOC2000 devices.
I've got a few more to try yet and so the chicken count hasn't started
but so far so good.
I haven't used docpmap to revive a DOC:
docpmap /br /f:<filename> to get an image of a 'virgin' DOC
docpmap /bw /f:<filename> to write virgin image onto 'broken' DOC
...because I haven't got any 'virgin' devices left (oops!) and I needed
to rebuild a kernel with MSDOS fs support (somewhere to store the image
files) and I couldn't be bothered.
DW's idea of using nanddump needs (I believe) a utility to write the
image back onto the DOC. I've hacked nanddump into nandput but have yet
to try it out. Is it worth it?????
Cheers
Trev. (Much happier now)
--
Trevor Woolven - Director of Customer Applications Engineering
Zentropix Inc - a Lineo company
Tel: +44 (0)1273 234 647 Fax: +44 (0)1273 704 482
Visit http://www.zentropix.com/ for Real Time Linux Tools
Visit http://www.realtimelinux.org/ for Real Time Linux Information
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Reviving DOCs
@ 2000-03-13 16:49 Oron Ogdan
0 siblings, 0 replies; 2+ messages in thread
From: Oron Ogdan @ 2000-03-13 16:49 UTC (permalink / raw)
To: Trevor Woolven, MTD
Trevor Woolven Worte :
>
> docpmap /br /f:<filename> to get an image of a
> 'virgin' DOC
> docpmap /bw /f:<filename> to write virgin image
> onto 'broken' DOC
>
>
One problem with that plan is you assume all virgin flash devices are the
same.... Which they are not. each device has it's own bad block table so
this will "revive" the DiskOnChip with a bad block table which is not
correct. While this has little effect in R&D time (even bad blocks are 99.9%
working good), I would not go to manufacturing with it.
Oron
begin 600 winmail.dat
M>)\^(A80`0:0"``$```````!``$``0>0!@`(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@.3DN.24FX`6P:PT+@&<AH!UP9"DL(/))/6%U
M;#,P.&(]\"%RZ0.!=68`T'0(<3W!*]-])Q`N*;0JM0-@"Y`>8WT!0E`>`$(0
M`0```"(````\,SA#1#$W1#$N.$4T-#0W139`>F5N=')O<&EX+F-O;3X````#
M`-X_Y`0```,`"5D!`````P``@`@@!@``````P````````$8`````4H4``"=J
M`0`>``&`""`&``````#`````````1@````!4A0```0````0````Y+C``"P#+
M@`@@!@``````P````````$8`````!H4````````#``*`""`&``````#`````
M````1@`````!A0````````L``X`((`8``````,````````!&``````.%````
M````"P`$@`@@!@``````P````````$8`````#H4````````#``6`""`&````
M``#`````````1@`````0A0````````,`!H`((`8``````,````````!&````
M`!&%`````````P`'@`@@!@``````P````````$8`````&(4````````>``B`
M""`&``````#`````````1@`````VA0```0````$`````````'@`)@`@@!@``
M````P````````$8`````-X4```$````!`````````!X`"H`((`8``````,``
M``````!&`````#B%```!`````0`````````#`/$_"00``!X`,4`!````!@``
M`$]23TY/`````P`:0``````>`#!``0````8```!/4D].3P````,`&4``````
M`P#]/^0$```#`"8```````,`-@```````P"`$/____\"`4<``0```#<```!C
M/553.V$](#MP/4TM4WES=&5M<SML/4U3+4580TA!3D=%+3`P,#,Q,S$V-#DR
M,%HM,3<R,C@```(!^3\!````3`````````#<IT#(P$(0&K2Y"``K+^&"`0``
M```````O3SU-+5-94U1%35,O3U4]5$5,+4%6258O0TX]4D5#25!)14Y44R]#
M3CU/4D].3P`>`/@_`0````L```!/<F]N($]G9&%N```>`#A``0````8```!/
M4D].3P````(!^S\!````3`````````#<IT#(P$(0&K2Y"``K+^&"`0``````
M```O3SU-+5-94U1%35,O3U4]5$5,+4%6258O0TX]4D5#25!)14Y44R]#3CU/
M4D].3P`>`/H_`0````L```!/<F]N($]G9&%N```>`#E``0````8```!/4D].
M3P```$``!S`0GHL1#(V_`4``"##03CX4#(V_`1X`/0`!````!0```%)%.B``
M````'@`=#@$````.````4F5V:79I;F<@1$]#<P```!X`-1`!````.P```#Q"
M,3<X.3,P-3)!,3=$,C$Q03DX-C`P-C`Y-SA&-T4V,S`Q-$$P-3`R0&UA:6PN
M;7-Y<RYC;RYI;#X```L`*0``````"P`C```````#``80^W#K:0,`!Q".`0``
M`P`0$``````#`!$0`````!X`"!`!````90```%12159/4E=/3TQ614Y73U)4
M13I$3T-034%0+T)2+T8Z/$9)3$5.04U%5$]'151!3DE-04=%3T9!5DE21TE.
M1$]#1$]#4$U!4"]"5R]&.CQ&24Q%3D%-151/5U))5$5625)'24X``````@%_
M``$````[````/$(Q-S@Y,S`U,D$Q-T0R,3%!.3@V,#`V,#DW.$8W138S,#$T
:03`U,#)`;6%I;"YM<WES+F-O+FEL/@``:Y`=
`
end
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-13 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-13 16:31 Reviving DOCs Trevor Woolven
-- strict thread matches above, loose matches on Subject: below --
2000-03-13 16:49 Oron Ogdan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox