Altera_Forum
Honored Contributor
19 years agouClinux to personal NiosII board
hi,
I saw the new release of uClinux for Nios on your site: http://nioswiki.jot.com/wikihome/operating...ems/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/uclinuxdist) And I try to port the uCLinux on my board according to the site, but failed. The board is design by myself, not the Altera series board. The hardware source now is: EP1C12(FPGA), SDRAM(8Mbytes, 16bits data line), Flash(2Mbytes, 8bits data line), SRAM(512Kbtyes, 16bits data line), LED, button, UART. And I will expand LCD and key-button on it, have no Net peripheral. The question is can I port uClinux on my board? I try method your site provide, I think I should customize kernel by use "make menuconfig", but don't konw how to, cause I can't enter the custom menu by the site method. So I can't turn of the Net support and choose a series device(uart or jtag uart). And when I use "make" to creat image, there is some errors as follow: ----------------------------------------- include/linux/seccomp.h: In function `secure_computing': include/linux/seccomp.h:18: error: `TIF_SECCOMP' undeclared (first use in this function) include/linux/seccomp.h:18: error: (Each undeclared identifier is reported only once include/linux/seccomp.h:18: error: for each function it appears in.) include/linux/seccomp.h: In function `has_secure_computing': include/linux/seccomp.h:24: error: `TIF_SECCOMP' undeclared (first use in this function) In file included from arch/nios2nommu/kernel/asm-offsets.c:12: include/linux/sched.h: At top level: include/linux/sched.h:311: error: field `mmap_sem' has incomplete type make[2]: *** [arch/nios2nommu/kernel/asm-offsets.s] 错误 1 make[1]: *** [prepare0] 错误 2 make[1]: Leaving directory `/home/gaobing/download/uClinux-dist/linux-2.6.x' make: *** [linux] 错误 1 [gaobing@tu194011 uClinux-dist]$ ------------------------------------------- And I can't run zImage on the Nios SDK Shell. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Need your help, ths! giantice 18th Jan, 2007