
How to Install Linux and NIOS-CDK
------------------------------------


Step 1 - getting Linux (Suse)

download ISO-Image, you will find it here: http://software.opensuse.org/

then burn it with Nero or any other burning software to DVD. Now we got a bootable
openSuse installation-DVD. 



Step 2 - installing Linux

if you are (like me) a windows user, you will need a little bit place on your PC.
Best choice is an unused Partition, I used a 30 GB Partition on my PC.
I simply deleted the Partition under Windows - the Linux installation detects the free
space and offers it for the installation.

If you only have one great windows partition it isn't a problem anyway. Linux will take
space from this partition for its own use automatically. The suggested space can be
changed while the instalation. All other parts of the installation will  nearly run
by it self. You have to do some minor settings or confirmations (keybord layout, desktop
 - I took KDE, automatic login etc.), that's it.




Step 3 - installing additional software

you will need the installation DVD and an internet connection.

At first I recommend to install the "Krusader". It is a kind of Total Commander or
Norton Commander, which I used in DOS times.

You can use it for editing files, for copiing packing and opening command line windows in
the actual directory and much more.

To install it, we have to open YAST2 in the "System management". Under the entry Software
the packetmanager can be opened. Type in the searchstring "krusader", mark it and apply - ready.

Urgently we need the programs "make" and "unix2dos" (it is part of the package dos2unix).
The installation works like above. 

The programm tcsh or csh which is needed for executing C shell scripts is preinstalled on Suse,
but for Ubuntu and Debian You propably have to install it. Otherwise the environment variables
can't be set correctly.

Additionally we need to install uclpack. It can be found in the ucl directory of the BlueFlash Build.
Simply copy the uclpack binary to the bin directory (with admin permission).




step 4 - installation of CDK4NIOS

This packages we have to download, I placed it at disposal here:

http://sourceforge.net/projects/welecw2000a/files/Development/ -> CDK-NIOS 3.1 SUSE.zip

Under Linux we have to unzip the file (with krusader) into an own directory which we
can create also with Krusader somewhere in /home/username/ . Then click the single
packages with the right mouse button, a context menu will appear. Choose
open with -> install. The packetmanager demands the admin password - after that the
package will be installed.

After all installations the system has to be restarted.

note: If You are using Ubuntu or Debian -> first install alien and use it like this (with admin permission):
alien -i cdk-nios-xxxxxxxx.rpm



Step 5 - prepare sources

In this last step we need to download our sources. As point of entry we use the build 0.62
which You can get here:

http://sourceforge.net/projects/welecw2000a/files/Development/ -> BlueFlash_Build.zip

In our home directory we create a new accommodation for our sources like this:

/home/username/W2000A 

Then we copy the sources into it.

To check if we where successful, we open the directory ../Build/ then open via krusader
a command line window in this directory and type in "make clean" and then "make all".

Now the compiler should create a new flash file. If not, something went wrong in the steps before.



Good luck

Hayo (blueflash) 

p.s. I'm sorry for my poor english, but I think everyone can understand it ;-)


   