Ok guys, thanks for your replies, I agree with you. Now I'm focusing on how to run uClinux from flash. I followed the wiki's article "Flash Programmer", but it doesn't work. I was able to store .sof in flash and it works. The problem is when i try to store zImage.
Step followed:
1. nios2-configure-sof <file>.sof
2. sof2flash --offset=0xC00000 --input=<file>.sof --output=<file>.flash
3. nios2-flash-programmer --base=0x02000000 <file>.flash
4. elf2flash --base=0x02000000 --end=0x02ffffff --reset=0x02000000 --input=zImage --output=ext_flash.flash --boot =SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec
5. nios2-flash-programmer --base=0x02000000 ext_flash.flash
My Flash base address is 0x02000000 and its size is 16 MBytes. In vendor_hwselect i selected sdram in "Please select device to execute kernel from", the Reset Vector is located in ext_flash at the base address (0x02000000), exception vector in sdram (0x00000020).
The problem is that kernel doesn't start. If i press CPU reset botton i can see the LEDs on the LAN turn off and on again after a certain period, so it seems to be right because i set up LAN in rc file, but i can't ping the board and i cannot see anything on hyperterminal.