Hello all...

I'm having trouble mounting one of my MTD flash partitions.  I issue 
        # mount -t jffs /dev/mtdblock2 /mnt     (and get)
        mount: special device /dev/mtdblock2 does not exist.

I have a ARM (720T - EP7312) board running Linux (BlueCat - kernel
2.2.12-1).  I have my one flash device (8M x 16 28F128J3 Intel StrataFlash)
partitioned into 2 partitions (only 4M is being used at the moment). The
device has 128K blocks so my layout is:

0-29 (dedicated to kdi which loads to RAM)
30-31 (r/w jffs)

Here's what makes me think Linux knows about the partitions:
        # cat /proc/mtd         (gives)
        mtd0: 01000000 "Flash on a EP7312 board"
        mtd1: 003c0000 "Flash on a EP7312 board"
        mtd2: 00040000 "Flash on a EP7312 board"

I have provided the kernel parameter at boot time: (Do I need to give the
0-29 since the first partition is not jffs?)

        "... ep7312_part_conf=\"0-29:30-31\" ..."

I have included the following when building the kernel:

        CONFIG_BLUECAT_FFS=y
        CONFIG_MTD_CFI=y
        CONFIG_MTD_CFI_PROBE=y
        CONFIG_MTD_CFI_INTELEXT=y
        CONFIG_MTD_EP7312=y
        CONFIG_MTD_EP7312_PART=":"   # I set this in the kernel parameters
        CONFIG_MTD_CHAR=y
        CONFIG_MTD_BLOCK=y

Any ideas why I am getting "... does not exist"?  I realize some of this
stuff is BlueCat specific, but I would assume what I'm missing is not
BlueCat specific.

Thanks,
John Bahr

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to