- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Moin,
My current HW is a CyclonII NIOS devboard; i started with loading the board with the standard.sof example design and the tryOutuClinux. Everything worked OK. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Next, i've downloaded and built the uClinuxDist like explained in the wiki. Seems to compile without errors; at least i have a zImage lying around at the ususal place with a sensible size. During the build i had to do amake vendor_hwselect SYSPTF=~/std_2C35.ptf
there - as also stated in the wiki - http://nioswiki.jot.com/wikihome/operating...x/linuxhwselect (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/linuxhwselect) i had no other choice than altera_avalon_cfi_flash, when asked where to upload the kernel. Now i'm unsure, if my brandnew zImage will overwrite the contents of any flashmemories located on the devboard, if loaded. Is that the case? If yes - what do i have to change to get an Image like the tryOutuClinux, running completly from RAM, not altering any flashes? Another Question - slightly off topic: Looks like i have severe problems doing own designs with the SOPC, wich contain DDR-SDRAM. I'm really confused by the error messages, don't know exactly which pins have to be assigned manually, which names of signals must not be changed,stuff like this. Is it just the normal "beginners-pain-in-the-a*" or do i read not enough documentation? Cheers, WK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Don't worry about the cfi flash. It is actually dummy, because we use initramfs instead of romfs. So the zImage is built to be run from SDRAM. There is no flash programming required, unless you want it.
About the DDR SDRAM, you may post it on the general discussion forum. You MUST set your board trace delay in the DDR workbench. After you generate in SOPC builder, a contrain scipt will be created and the quartus will automatically run it. After that, you will still need to place the other DDR pins which are not placed by the contrain script, namely clock,address, ras/cas etc. There are some contrains on these SSTL2 pin placements. You should read the spec of your fpga to find them.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thanks for the information. The first "self" compiled uClinux seems to run http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Also the DDR-SDRAM problem seems to be solved. I was just trying do do a "design" on the CyclonII-NIOS Evalboard, so track lengths etc. were not the issue. It was the naming of the signals from the SOPC to the pins of the device, which caused the error-msgs. When the pins of the device have names like e.g.: ddr_a_from_the_ddr_sdram_0[0], then i get the errors, when the pins have names like ddr_a[0] then the design compiles. Cheers, WK
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page