- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am currently using " Altera Stratix 1S10 Development Kit". I am able to creat, configure, build and upload the Kernel as well as File System successfully. For this, I followed the document " Linux Quick Start Guide " given in the package of nios2linux-1.4 The .ptf file, I loaded is " linux_1S10.ptf". The .sof file, I loaded is " standard.sof". or infact the problem remained for any other .sof. Then the problem is: When entered "nios2-terminal" in Nios-SDK shell, The following is the output: [SOPC Builder]$nios2-termial nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Then it is not reponding. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Can anyone help me, Best Regards, K V NareshLink Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif
I think the problem is that u use different configuration between .sof & .ptf, they must be the same. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif try these : open : standar.qpf then open SOPC builder and run NIOS II IDE from SOPC builder, the NIOS II IDE will automatically load the standar.ptf then followthe quickstart guide to create kernel and file system. and upload kernel then file system. finaly use quartus programmer to upload the standard.sof then go and lunch NIOS II sdk shell I hope it will work now http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you Mr. Sdhnain, for the immediate response. I tried that way, you said. Unlike to that, when I ran this Nios II IDE from SOPC builder of Standard.qpf, it didn't automatically chose that standard.ptf, but instead, explicitly it asked to specify that .ptf file. And I specified " Std_1s10.ptf", But it didn't work out. It has shown error, and the vmlinux.bin file has not generated to get it uploaded. So unfortunately, I am back to Square-1. The error it gave when buiding the kernel: cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c: In function `init_hwif_default': /cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: `na_ide_ide' undeclared (first use in this function) /cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: (Each undeclared identifier is reported only once /cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: for each function it appears in.) /cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c: In function `init_ide_data': /cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:313: error: `na_ide_ide_irq' undeclared (first use in this function) make[3]: *** [drivers/ide/ide.o] Error 1 make[2]: *** [drivers/ide] Error 2 make[1]: *** [drivers] Error 2 make: *** [_all] Error 2 make: Leaving directory `/cygdrive/f/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x' Best Regards, K V Naresh- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
why don't u specify standar.ptf instead of std_1s10.ptf ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif where did find std_1s10.ptf ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I did not find any file like standard.ptf in the package with Nios II. Instead for every development board [eg. 1c20,1s10,1s40,2s60 etc], there is separate std_board.ptf file, so in that way, it is Std_1S10, and I used this. When Nios is installed: They are at: \altera\kits\nios2\examples\verilog\niosII_stratix_1s10\standard\std_1s10.ptf \altera\kits\nios2\examples\verilog\niosII_stratix_1s40\standard\std_1s40.ptf ..... etc. Can you please tell me, in architectural point of view, How these ".ptf" and ".sof " files are related? And if I have my specific ".sof" file for my FPGA Design http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif , how can I know which ".ptf" need to be included, if both of these are to be related. Regards, K V Naresh- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi K V Naresh,
you got to use that .sof /altera/kits/nios2_50/examples/verilog/niosII_stratix_1s10/linux/linux_time_limited.sof or /altera/kits/nios2_50/examples/verilog/niosII_stratix_1s10_ES/linux/linux_time_limited.sof depending on your board.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
unfortunatily because of the weekend I am at home so I don't have tools on my PC, I can answer u monday If GOD wants it when I go to university. but why don't u try VHDL examples instead of verilog ones ? me I use vhdl http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI sdhnain,
<div class='quotetop'>QUOTE </div> --- Quote Start --- but why don't u try VHDL examples instead of verilog ones ? me I use vhdl http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif [/b] --- Quote End --- The answer is quiet simple, the nios2linux design doesn't exist in vhdl, unless you make your own.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MFM,
Can you please tell me, in architectural point of view, How these ".ptf" and ".sof " files are related? And if I have my specific ".sof" file for my FPGA Design huh.gif , how can I know which ".ptf" need to be included, if both of these are to be related. Best Regards, K V Naresh- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi K V Naresh,
<div class='quotetop'>QUOTE </div> --- Quote Start --- How these ".ptf" and ".sof " files are related?[/b] --- Quote End --- In order to work with an FPGA based platform the software developer needs a .sof file, that is used to configure the FPGA device with the processor system, and a matching .ptf file. And here some extracts: "Included with the hardware is an Altera Quartus project, as well as an SOF image file. This project contains the necessary pin-mappings for the LinuxDev board as well as schematic file with the previously mentioned components. This project may be modified and recompiled to produce a new SOF file. The SOF file contains the hardware image of the FPGA, and is downloaded to the FPGA each time a hardware modification is required. The EPCS configuration device on board can also store a new hardware image once the user is satisfied with their new image. " "The kernel is dependant on the configuration of the NIOS II processor. For example, if the memory locations of SDRAM have been changed, the kernel must be aware of this when it’s built. All of the NIOS II parameters are located in a PTF file, labeled <niosii processor name>.ptf" Maybe you need to read the full text www.fps-tech.net/docs/uclinux-ug.pdf <div class='quotetop'>QUOTE </div> --- Quote Start --- And if I have my specific ".sof" file for my FPGA Design huh.gif , how can I know which ".ptf" need to be included, if both of these are to be related.[/b] --- Quote End --- That's obvious, the SOPC Builder generated file (.ptf) is in fact used in part to generate the sof file by Quartus II.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by mfm@May 6 2006, 04:54 PM hi sdhnain,
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
but why don't u try vhdl examples instead of verilog ones ? me i use vhdl http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif --- Quote End --- The answer is quiet simple, the nios2linux design doesn't exist in vhdl, unless you make your own. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15121)</div> [/b] --- Quote End --- Hi MFM; I speak about nios2 examples not nios2linux ! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif
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