Forum Discussion
Altera_Forum
Honored Contributor
14 years agouclinux_on_NiosII
Hi,
I am a beginner for linux os and want to port uClinux on my board. The available hardware on my board is EP3C120F484C7 Cyclone Fpga,256MB SDRAM, EPCS64 Serial flash. According to the altera wiki , minimum hardware requirements to run uclinux are Nios II f/s core, SDRAM(minimum requirement 8MB), 4MB FLASH. In my board, Extra 4MB space in serial flash can be used for storing the Image and sdram to run the program. If I am not mistaken from the above concept point of view, I fulfill the hardware requirements. Coming to uClinux os implementation, I am facing hurdles. I am following the below steps to implement uclinux os in my board. 1. I am using Colinux for linux environment on windows pc. 2. Downloaded all required files and installed colinux. 3. Login as root user(administrator) and installed the nios2gcc tools in the root directory. 4. I downloaded Nios2-linux-20100621.tar and untar the file 5. The directories with out files extracted. The instructions says "./checkout" command must be given to check out he source. I do not have prior knowledge on version control system. I do not have git software on my pc. Pls advice me how to progress further. Pls advice me to proceed further. Kind regards, Nag.17 Replies
- Altera_Forum
Honored Contributor
Why can't you use latest uClinux from
http://www.uclinux.org/pub/uclinux/dist/ I dont think it needs nios patches ... - Altera_Forum
Honored Contributor
Hi,
Now I am using "nios2-linux-20100621.tar file". I failed toolchain build with this I am using prebuild binary toolchain. I struck at compile stage. I am able to generate header file for my sopc system. But I am not understanding how to proceed further to configure the kernel for my board. thanks, Nag - Altera_Forum
Honored Contributor
>> nios2-linux-20100621.tar
This file supposedly is too old to be useful out of the box. You need to use something else or use git to upgrade it to get more viable (and more supported) files. Linux on NIOS still is bleeding edge technology and you can only hope for creating a working system when using the most recent community stuff. -Michael - Altera_Forum
Honored Contributor
Hi,
I am one step ahead in my work. But failing in the final stage of the build compilation. I am working on uClinux without mmu. The following errors occurred during "make" the build. make[3]: *** [arch/nios2/kernel/asm-offsets.s] Error 1 make[2]: *** [prepare0] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/home/knl/nios2-linux/linux-2.6' make: *** [linux] Error 1 Can any one help me to resolve this issue. Regards, Nag - Altera_Forum
Honored Contributor
The error is earlier ...
- Altera_Forum
Honored Contributor
can I have clarification on "problem is earlier"
- Altera_Forum
Honored Contributor
make is reporting that a command it run failed.
You need the comamnd line and output of the failing command.