Skip to contentSkip to conversation

MTD_open: permission denied

DISCUSSION Brent Roberts 1 participant 1 message Oct 27, 2005 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello all.

When attempting to do a 'flash_eraseall /dev/mtd1" I get "/dev/mtd1:
permission denied". It seems that MTD_open attempts but fails here.

I'm using a DiskOnChip TSOP 192 MB. All neccesary kernel drivers are compiled into the kernel as far as I know. I am able to fdisk and mkfs.ext2 /dev/inftla1, and mount it, write to it, etc.

/proc/mtd looks like this:
mtd0: 0c000000 00004000 "DiskOnChip 2000 (INFTL Model)"
mtd1: 00010000 00004000 " DiskOnChip BDK partition"
mtd2: 0bfdc000 00004000 " DiskOnChip BDTL partition"

Any suggestions as to why permission is denied?

Thanks.

-Brent Roberts