Accessing DiskonChip

Sanal Kumar p_sanalk at yahoo.com
Thu Jan 9 07:26:53 EST 2003


Hi David ,

Sorry for not explaining the problem in detail.
I have read the howto's on the infradead .
But still I dont understand how to create a partition
on Disk on chip
and have filesystem on it.
I have tried with nftl_* .But I could not do anything.

Could you please explain what I need to do for making
the filesystem on DOC.


Boot Messages
--------------

out-of-line wait
_DoC_WaitReady called for out-of-line wait
.
. _DoC_WaitReady called for out-of-line wait

Could not find valid boot record
Could not mount NFTL device

and using nftl_format I tried to format the diskon
chip But I get an error like the following

NFTL_open
ENODEV: thisNFTL = 0, minor = 23808, ip = c94ac4c0, fp
= c965caa0
NFTL_open
ENODEV: thisNFTL = 0, minor = 23809, ip = c94ac6e0, fp
= c965ca20 The only thing I could do was

dd if=XXXX of=/dev/mtd0



I am adding part of my .config here.
-----------------------------------
#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=3
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_BOOTLDR_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set #
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
# CONFIG_MTD_BLOCK is not set
# CONFIG_MTD_BLOCK_RO is not set
# CONFIG_FTL is not set
CONFIG_NFTL=y
CONFIG_NFTL_RW=y #
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
# CONFIG_MTD_GEN_PROBE is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set #
# Mapping drivers for chip access
# #
# Self-contained MTD device drivers
#
#
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLKMTD is not set #
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC1000 is not set
CONFIG_MTD_DOC2000=y
CONFIG_MTD_DOC2001=y
CONFIG_MTD_DOCPROBE=y
# CONFIG_MTD_DOCPROBE_ADVANCED is not set
CONFIG_MTD_DOCPROBE_ADDRESS=0
# CONFIG_MTD_DOCPROBE_HIGH is not set
# CONFIG_MTD_DOCPROBE_55AA is not set #
# NAND Flash Device Drivers
#
# CONFIG_MTD_NAND is not set


TIA
Best Regards
Sanal

--- David Woodhouse <dwmw2 at infradead.org> wrote:
> 
> p_sanalk at yahoo.com said:
> >  I have added nftl support. So i need to support
> make a filesystem on
> > disk on chip How can I do that. 
> 
> Might have been useful had you included this
> information in your first 
> message. The HOWTO should suffice to get you going
> from that point.
> 
> --
> dwmw2
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the linux-mtd mailing list