Is DOC Address 0xC8000 Something Special?
Shuh C Chang
schang at 3inet.com
Tue May 1 23:05:22 EDT 2001
I knew that there got to be some genius out there who can give this 0xC8000
address some special meaning. Now you mention it, it just brings back the
good old memory when the first CGA color monitor came out in the early 80s.
That's where the video RAM starts for the color video adaptor. No wonder it
looks so awefully familiar to me, but I just never bother to look back.
Just like the old Chinese saying, "You can no longer smell the fragrance
once you are in a room full of orchid long enough."
Nonetheless, I thought this was an ancient problem of a dinosaur in the old
DOS dynasty. Is this still a problem as real as in the old days?
So far, I have tried with Griffith/Woodhouse's suggestions such as:
- cycles*4 in doc2001.c & doc2000.c
- fixed probe & auto probe
- Commenting out DOC_SINGLE_DRIVER in docprobe.c
- Changing MTD_READECC to MTD_READ in nftlmount.c
but to no avail.
So far I have *yet* to find the answer/solution. Like I mentioned in my
original posting, addresses at 0xD0000 and 0xD8000 work well. I am still
trying different options. I would welcome any suggestions from the pundits
On a related note, I would suggest adding some notes to the MTD HOWTO
document about the DOC itself. The DOC chip must be in a *good format*
(don't know what it means yet) before you can even nftl_format or fdisk
through /dev/mtd0 and /dev/nftla, etc. One example that I have is that
during the experiment of installing the mtd/nftl drivers, one DOC
(Millennium) was zapped. The DOC chip could not be recognized until it is
"reburned" with a good "image file" using M-System's own docpmap DOS
utility. The "good image file" was a bootable kernel in ext2 fs. We used
it for the original M-System's binary driver. As I mention above, I don't
know what constitutes a "good format," but the one I had worked.
The DOC chip was so corrupted that even the dformat wouldn't work and dinfo
wouldn't recognized the DOC. Only forcing a "reburning" of an image with
docpmap would restore the DOC to its working condition.
It's a pity. I would love to use the dd command in the Linux world for
"burning" the image. However, before you *fix* the format on DOC, you
cannot access to it from Linux, let along using the dd command. Having to
use the DOS docpmap utility for a rescue makes me feel a little bit uneasy
I guess once I sorted out all the problems that I have at hand, maybe I can
prepare that part of the document if anyone is interested.
----- Original Message -----
From: "Ollie Lho" <ollie at sis.com.tw>
To: "Shuh C. Chang" <schang at 3inet.com>
Cc: <mtd at infradead.org>
Sent: Tuesday, May 01, 2001 7:54 PM
Subject: Re: Is DOC Address 0xC8000 Something Special?
> Shuh C Chang wrote:
> > Dear MTD fans:
> > I would like to ask the developers in this list if any of you have ever
> > experienced a DiskOnChip (DOC) problem not being recognized at address
> > 0xC8000 ONLY by docprobe.
> The C segment is usually used by VGA BIOS and is mapped (shadow) to your
> DRAM, not on any ISA device.
More information about the linux-mtd