Forum Discussion
Altera_Forum
Honored Contributor
15 years agoaltera_avalon_lcd_16207 (DE2-70)
Is there anyone who can drive the altera_avalon_lcd_16207 on DE2-70? If the answer is yes; can you help me about how to do it. I spend days to do it. I will be appreciated for replies. ...
Altera_Forum
Honored Contributor
15 years agouClinux
Copy the kernel driver (lcd_16207.c, lcd_16207.h) to uClinux-dist/linux-2.6.x/drivers/char. Edit the file Kconfig in uClinux-dist/linux-2.6.x/drivers/char to contain a section for the lcd module like the following part. config LCD_16207 # note: in the patched tree this seems to be called NIOS_LCD_16207, watch out. tristate "Nios LCD 16207 device support" depends on NIOS || NIOS2 help This driver supports the Nios LCD 16207 device. And add in the Makefile in the same directory one line. obj-$(CONFIG_LCD_16207) += lcd_16207.o Then recompile the uClinux kernel. If you use a module then you have to do modprobe lcd_16207. If you successfully loaded by the kernel then you should see this message: "Device /dev/lcd16207 registered". Create device file: mknod /dev/lcd16207 c 250 0 you will success !!