public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Reviving DiskOnChip
@ 2000-03-10 17:34 Trevor Woolven
  2000-03-12 13:24 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Woolven @ 2000-03-10 17:34 UTC (permalink / raw)
  To: MTD

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>>
-- 
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 DiskOnChip
  2000-03-10 17:34 Reviving DiskOnChip Trevor Woolven
@ 2000-03-12 13:24 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2000-03-12 13:24 UTC (permalink / raw)
  To: Trevor Woolven; +Cc: MTD


trevw@zentropix.com 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 majordomo@infradead.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-12 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-10 17:34 Reviving DiskOnChip Trevor Woolven
2000-03-12 13:24 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox