Forum Discussion
Altera_Forum
Honored Contributor
20 years agohow towrite makefile for driver?
hello friend i am using nios IDE.i have written module.c and makefile like CODE: ifneq ($(KERNELRELEASE),)# kbuild part of makefile obj-m := module.o else# Normal Makefile A...
Altera_Forum
Honored Contributor
20 years agoNice to see that you were sucessfull.
try insmod instead of insmode. In addition i would propose to make a ftp connection to transfer your files (programs and module) on your board. It is much easier than to include the new file to your filesystem and upload to your board again and again and again and again... :-). nfs would work, too.