--- In [email protected], "bizbox67" <[EMAIL PROTECTED]> wrote: > > Hi, > I have successfully compiled a basic driver in Vmware environment on > XP Pro SP2, but when I use the command "mknod /dev/fpgadrv c 254 0" on > the Fox-board LX832 via Telnet, the system reply "Read-Only File > System" and the special file is not created. The kernel module is > correctly loaded and unloaded as I can see the Welcome and Bye messages > with the command dmesg. The driver should interface a FPGA to > read/write some registers and handle IRQ. The version of Linux is 2.6. > In order to test my command, I have created a device node on Vmware and > the node appears in /dev. > Please, does somebody can help me ? Just a precision : I am not > a "Linux-man", so I would like to minimise operation on the system ! > Many thanks in advance. > Pascal >
You can't just "as is" create a dev node, since /dev is indeed located into the read-only part of the flash. I had the same problem when I wanted to add an I2C device. You can fine on my Wiki pages how I solved it myself, maybe that's suitable for you too (it's not a "rocket science" thing, so should not be a big deal). Here's the link to the article I wrote about this. Read it through, there will be more info than you need, but just ignore that: http://www.gevawebsolutions.com/wiki/index.php?title=FB_General_Issues#Populating_.2Fvar.2Fdev.2Fi2c Read chapters 10.4 through 10.6 (or whole chapter 10, if you have the time) and you should have enough info to transform it to your needs. Best rgds, --Geert
