Reviving DiskOnChip
Err, anybody know the spells and incantations required to bring a DiskOnChip back to life?
According to M-Systems there are ways to do this (eg: dformat /win:xxx /unformat) but they don't seem to work for me, (wrong kind of pointy hat I guess).
docpmap /e appears to frag the thing completely, full stop, goodnight vienna.
I include an excerpt from an email that opens the lid (very slightly) on some of their secret squirrel stuff in case it's of use/information to anyone.
If anyone has the full monty on the M-Systems utilities, ie: what the commands really do, what their commandline parameters really are and which sub-sets actually work, I'd be externally grateful.
Alternatively, has anyone got some other utilities to achieve, stable, working, reliable and robust DOCs?
Have I been stupid? (don't answer that!) or just unlucky?
Thanks in advance and desperation,
Trev.
<<Snip>>
dformat /win:e400 /log:<filename> - this will save the bad block table in
the file <filename> just to be on the safe side. I still owe you this answer
from a previous email if I remember correctly. you can later use dformat /win:e400 /uselog:<filename> - if you accidentally used docpmap /e.
then
dformat /win:e400 /unformat - this will return the DOC to it's original condition where the flash is totally erased and bad blocks are marked.
dformat /win:e400 /s:doc122.exb - this will return the firmware to the doc
and format it ready for the file system
There is a manual in the physical pack but unfortunately all the secrets such as these undocumented options are not documented there and in the help
message when you write dformat with no parameters, sorry :-)
<</Snip>>
Signature · 10 lines
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 [email protected]
Quoted 2 lines · [email protected] said:
Err, anybody know the spells and incantations required to bring a DiskOnChip back to life?
ISTR I found that dformat /win:e400 /s:doc110.exb did it for me on at least one occasion.
If you're stuck, grab a good one, and take a complete image of it using the /dev/mtd0 device (see nanddump.c for inspiration). Copy that onto your broken one.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to [email protected]