Results 1 to 1 of 1
On a project requirement I am trying to erase data on /dev/mtd6. I have created mtd6 using mknod mknod mtd c 90 0 mknod mtd0 c 90 0 mknod mtd6 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-12-2010 #1
- Join Date
- May 2009
device error using /dev/mtd6
I have created mtd6 using mknod
mknod mtd c 90 0
mknod mtd0 c 90 0
mknod mtd6 c 90 12
After creating from command line I have written a .c file to erase like
DevFd = open( "/dev/mtd6", O_RDWR)
ioctl(DevFd, MEMGETINFO, &meminfo )
When I am trying to execute on a mips processor I am getting error saying like
Device open failed for /dev/mtd6 with errno 6
Open: No such device or address
Can anyone help me on this.
Thanks in advance