Forum Discussion
Altera_Forum
Honored Contributor
20 years ago/dev/mtd2 shows up. I added it via my file system project (i.e., @mtd2,c,90,2). The CFI probe seems to work, and reports the partitions correction:
ISI flash device: 1000000 at 1000000 Probing for chip type phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 Using buffer write method phys_mapped_flash: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Using ISI specific partition definition Creating 4 MTD partitions on "phys_mapped_flash": 0x00200000-0x005f8000 : "ROMfs" mtd: Giving out device 0 to ROMfs 0x00000000-0x00200000 : "kernel" mtd: Giving out device 1 to kernel 0x00700000-0x00800000 : "Flash FS" mtd: Giving out device 2 to Flash FS 0x00800000-0x01000000 : "FPGA Cores" mtd: Giving out device 3 to FPGA Cores Is it sufficient that the devices show up as follows?# ls -la /dev/mt* crw------- 1 root root 90, 0 Jan 1 1970 /dev/mtd0 crw------- 1 root root 90, 1 Jan 1 1970 /dev/mtd1 crw------- 1 root root 90, 2 Jan 1 1970 /dev/mtd2 crw------- 1 root root 90, 3 Jan 1 1970 /dev/mtd3 brw------- 1 root root 31, 2 Jan 1 1970 /dev/mtdblock2 I enabled the block and char mtd drivers in the kerel config...I just can't seem to nip this one. Mike --- Quote Start --- originally posted by smcnutt@Oct 17 2005, 08:22 AM hi mikewest,
># ./erase.exe /dev/mtd2
> mtd_open
> file open error
does /dev/mtd2 exist ... as a character mode device? and did you enable the char
mode mtd driver in you kernel?
regards,
--scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10405)
--- quote end ---
--- Quote End ---