Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Ankündigungen
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

problems with menuconfig

Altera_Forum
Geehrter Beitragender II
1.553Aufrufe

Hello everybody!! 

 

At the beginning I must admit that I am a beginner so please prepare for some dumb questions :) 

I followed all the wiki tutorials concerning uClinux on DE2 board with Nios 2, I've built toolchain, compiled default kernel, downloaded it on device and everything looked fine (I am using .sof and .ptf also from nioswiki). But the problem is when I want to do something more than just default kernel configuration e.g. when I try to add lcd 16207 driver from the menuconfig, I have errors while building lcd_16207.o : 

drivers/char/lcd_16207.c: In function `cleanup_module': drivers/char/lcd_16207.c:362: error: void value not ignored as it ought to be when I try to add drivers for pio buttons I also have crash: 

drivers/char/altera_pio_button.o /media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:20:35: linux/devfs_fs_kernel.h: No such file or directory /media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:87: warning: initialization from incompatible pointer type /media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c: In function `button_start': /media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:113: error: `SA_INTERRUPT' undeclared (first use in this function) /media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:113: error: (Each undeclared identifier is reported only once /media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:113: error: for each function it appears in.) I don't know if these are errors in .c files or I am doing something wrong... I am afraid to crash somenthing by myself so I did not edit any of these files manually.  

Thx for any help!
0 Kudos
3 Antworten
Altera_Forum
Geehrter Beitragender II
715Aufrufe

hi,ronix5000: 

did you have resloved your problem?I have met it too,and don't know how to do it? 

Please tell me how if you have finish it?
Altera_Forum
Geehrter Beitragender II
715Aufrufe

Hello, same problem for me LCD_16207.h doesn't exist in linux2.6/driver/char 

dose somebody know where comes from the problem ?
Altera_Forum
Geehrter Beitragender II
715Aufrufe

i use file lcd_1607.c & lcd_16207.h downloaded from this link  

 

http://www.ccm.ece.vt.edu/twiki/bin/view/main/linuxonnios2installation 

 

make, download and boot succesful
Antworten