Hi vdvoznyuk,
"as terminal i tried to use both nios2-terminal and uart terminal." I use nios2-termainal only
"do you use qsys or sopcbuilder" I use qsys. SOPC Builder is going away very soon.
and device tree or not? I have device tree build from the QSYS sopcinfo. Basically, you have to have device tree in all the latest uClinux version (3.1, 3.7)
how uclinux can boot if i download only zimage.initramfs.gz? is u-boot integrated into it? Yes, the boot loader should be already included. The default boot copier is automatically and transparently added to your system when you convert your executable file to flash programming files. Unless you wanted to have a custom boot copier, which I don't even have on my design.
i use sdram for this image. should reset address point to base address of sdram in this case? Absolutely not, the reset address I have is pointing at the flash memory which where my zIMage/firmware store at. It really depend on your design, but the DE2-115 has flash memory for you to store the zImage. Definite not pointing at the sdram because the boot copier will copy the zImage to the sdram where it will be executed.
Things I would recommend are:
- Correct the reset address to point to the right memory device
- I have the same problem you have couple days ago, but no one responded my help request. Firmware was able to load but wouldn't start up. Nonetheless, I bypassed it. Make sure your uClinux Kernel memory base address is align with the hardware sdram base address.
Which uClinux version are you using 3.1 or 3.7? I got both of them working. There are difference in between. 3.1 is with nios.h for hard coding in the base address, and 3.7 is through the menuconfig -> platform options.
Let me know if this helps.
Thanks.