Forum Discussion
Altera_Forum
Honored Contributor
20 years agoIt worked!
I debuged mtdchar.c, and found open permission errror from:/* You can't open the RO devices RW */
if ((file->f_mode & 2) && (minor & 1))
return -EACCES; and the minor = dev_minor >>1 , so should Dev's minor should 0, 2, 4, 8 ... to writable? why? however , I modify the mtd3,c,90,3->mtd3,c,90,4. And, It worked: <div class='quotetop'>QUOTE </div> --- Quote Start --- netflash: ftping file "Makefile" from 192.168.168.160 .. netflash: got "Makefile", length=9180 netflash: programming FLASH device /dev/mtd3 ................................[/b] --- Quote End --- but, i don't know which location(address) of flash did netflash programming?