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++
12746 Discussions

Loading a Filesystem onto the uKit?

Altera_Forum
Honored Contributor II
1,197 Views

Greetings, 

 

My apologies for what is probably a simple question, but I am new to uClinux and uKit development. 

 

I've been going through the "Microtronix Nios II Linux Distrubution Quick Start Guide" and I have successfully compiled a new kernel and uploaded to the uKit device. I've also created a filesystem and an application. I would now like to upload the filesystem and mount it in Linux. Unfortunately the procedure specified in the document (right-click on romfs.bin and select upload) is not working for the following reason: 

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.4, Built June 20, 2005 

------------------------------------------------ 

Expected integer value for option 'base' 

Value was: '' 

Using default value: -1 

Aug 5, 2005 2:13:56 PM - (SEVERE) nios2-flash-programmer: No flash base specifie 

 

I had this problem before when uploading the kernel, but I was able to set up the HW configuration (under the Run -> run menu) and get it to work. I can't seem to do the same thing here. 

 

I've looked through the "Microtronix Nios II Linux Distribution Reference Guide", but I don't see how to upload the filesystem along with the kernel, or just how to upload the filesystem. In addition, I'm assuming I need to mount the filesystem following the upload, but I'm not sure exactly how to do that. 

 

For reference, I have the Microtronix uKit with 16 MB SDRAM. I'm really not trying to do anything specific at the moment, just upload and link a filesystem (located in the SDRAM) to the linux kernel that I've already generated. If anyone can help or point me to additional documentation, I'd appreciate it. Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
479 Views

Problem solved. 

 

It turned out to be an installation problem. One of two things happened: 

 

1> There was a corrupt file in the Quartus installation package 

OR 

2> I installed the contents of the Microtronix uKit installation CD before installing the contents of nios2linux-1.4.zip. 

 

Once everything was installed properly, it worked as specified in the documentation.
0 Kudos
Reply