Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThe problem concerning uClinux uploading to UP3
Hello everyone!I need your help now... The problem is concerning uClinux uploading to UP3 board. Here is my developing enviornment: target board: UP3 Education Kit Cyclone EP...
Altera_Forum
Honored Contributor
21 years agoHi:
Thank you very much! This UP3 board is supply by Altera,using for the university NIOS competition.So we have no chose,also should build a web server on this board,based on uClinux operating system. According your suggestion,turn 'Nios PIO buttons support' off,build again,the former error disppear,but another error appears: -------------------------------------------------------- make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2li nux.kernel_0.1.5/linux-2.6.x' ive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.ker nel_0.1.5/linux-2.6.x/drivers/net/smc91111.c:2062: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2lin ux.kernel_0.1.5/linux-2.6.x/include/linux/module.h:567) /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2lin ux.kernel_0.1.5/linux-2.6.x/drivers/net/smc91111.c: In function `init_module': /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2lin ux.kernel_0.1.5/linux-2.6.x/drivers/net/smc91111.c:2173: warning: assignment from incompatible pointer type make[3]: *** [drivers/net/smc91111.o] Error 1 make[2]: *** [drivers/net] Error 2 make[1]: *** [drivers] Error 2 make: *** [_all] Error 2 --------------------------------------------------------- Then i think it's the smc9111's problem, so i turn it off other errors appear: arch/nios2nommu/lib/.checksum.o.d: done. CC arch/nios2nommu/lib/string.o arch/nios2nommu/lib/.string.o.d: done. AR arch/nios2nommu/lib/lib.a GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o init/.version.o.d: done. LD init/built-in.o LD .tmp_vmlinux1 nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .text) nios2-elf-ld: region ram is full (.tmp_vmlinux1 section .bss) nios2-elf-ld: section .data [00020000 -> 0002dfff] overlaps section .text [00020000 -> 0017b43b] nios2-elf-ld: section .init [0002e000 -> 0003a51f] overlaps section .text [00020000 -> 0017b43b] nios2-elf-ld: section .bss [0003a520 -> 0004afc7] overlaps section .text [00020000 -> 0017b43b] nios2-elf-ld: section .sbss [00020000 -> 0002003c] overlaps section .text [00020000 -> 0017b43b] make[1]: *** [.tmp_vmlinux1] Error 1 make: *** [_all] Error 2 make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2li nux.kernel_0.1.5/linux-2.6.x' ------------------------------------- I don't know how to deal with this problem. Another questions: As some other embedded developing board as ARM-9,it has some crossing complie tools(arm-gcc), using in developing application through linux. So what about NIOS-board, does NIOS has the likely gcc developing eviornment(NIOS-gcc) When i develop the U-boot, do i need to using the nios-gcc, and how,using in linux system....? Thank you again!:) Best Regards!