Skip to contentSkip to conversation

Can't format my DOC

DISCUSSION Jens Nixdorf 2 participants 2 messages Jul 18, 2002 – Jul 22, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

i'm a newbie in DiskOnChip (and generally in embedded linux also) and i've had many problems to get linux to see my DOC. Now i've managed this, but i get the following messages at boot-time:

DiskOnChip 2000 found at address 0xD8000
Flash chip found: Manufacturer ID: 98, Chip ID: 75 (Toshiba TC58256FT/DC)
9 flash chips found. Total DiskOnChip size: 288 MiB
mtd: Giving out device 0 to DiskOnChip 2000
Ignoring DiskOnChip 2000 at 0xDA000 - already configured Ignoring DiskOnChip 2000 at 0xDC000 - already configured Ignoring DiskOnChip 2000 at 0xDE000 - already configured Possible DiskOnChip with unknown ChipID FF found at 0xe0000 Possible DiskOnChip with unknown ChipID FF found at 0xe2000 Possible DiskOnChip with unknown ChipID FF found at 0xe4000 Possible DiskOnChip with unknown ChipID FF found at 0xe6000 Possible DiskOnChip with unknown ChipID FF found at 0xe8000 Possible DiskOnChip with unknown ChipID FF found at 0xea000 Possible DiskOnChip with unknown ChipID FF found at 0xec000 Possible DiskOnChip with unknown ChipID FF found at 0xee000 NFTL driver: nftlcore.c $Revision: 1.82 $, nftlmount.c $Revision: 1.25 $ NFTL_notify_add for DiskOnChip 2000
NFTL_setup
Sorry, we don't support UnitSizeFactor of != 1 yet.
Could not find valid boot record
Could not mount NFTL device

So, i've read in the mtd-jffs-Howto, that i could (or should) format the chip. But if i try this with:

./nflt_format /dev/mtd0

i get always the message:

ioctl(MEMGETINFO): Inappropriate ioctl for device

Is this something with the 288 MB DOC? With dmesg i get this message:

MTD_ioctl
Invalid ioctl 80404d01 (MEMGETINFO = 80204d01)
MTD_close

What can i do?

best regards, and thanks in advance, Jens

#1 lore raw

Jens,

You might want to try reformatting your DoC with an earlier version (4.2) of the M-Sys DFORMAT utility. I believe this is still available at the M-Sys website. This should take care of the "UnitSizeFactor" problem, which has not been completely resolved yet, as far as I know.

David -- is there anything I can do to help resolve this issue? Has it already been addressed in the latest CVS code?

Regards,

Mark

Quoted 9 lines · Jens Nixdorf

DiskOnChip 2000 found at address 0xD8000
Flash chip found: Manufacturer ID: 98, Chip ID: 75 (Toshiba TC58256FT/DC)
9 flash chips found. Total DiskOnChip size: 288 MiB
mtd: Giving out device 0 to DiskOnChip 2000
...
Sorry, we don't support UnitSizeFactor of != 1 yet. Could not find valid boot record
Could not mount NFTL device