- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
First .. I'd like to give GREAT thanks to Hippo .. and to all members of this fantastic forum .. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif I have a 2C35 board.. i was success in creating a bootable image having my application.. runs perfect on the standard processor.. i also had an overclocked (125 MHz) full featured processor .. i tested it wih my application as a single threaded program (no uClinux) .. it was working very good.. when i tried to build a new image based on the overclocked processor it did very weird hings when booting .. <div class='quotetop'>QUOTE </div> --- Quote Start --- [SOPC Builder]$ nios2-terminal 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) 45 46 47 overpass initiaUncompressing Linux... Ok, booting the kernel. Linux version 2.6.16-uc0 (tarek@localhost.localdomain) (gcc version 3.4.6)# 10 P REEMPT Tue Jun 27 16:42:49 EEST 2006 uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 256 (order: 8, 4096 bytes) overpass initialization step 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 overpass initialization step 0 1 2 3 4 5 6 7 8[/b] --- Quote End --- and it coninues counting to 47 ..then display this dummy message ... and repeat this for ever .. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif The question is :: is the problem with the " full feaured CPU " or with " OverClocking" ?? I have another question.. pls any1 help .. I had enabled the ethernet .. i want to read large files from my PC to process them on the board .. wha can i use to do so ... is there a samba client for uClinux ? or maybe Ftp ..?? but how ..?? i dont know how to configure ftp ! pls help ! Thanks a TON ..great guys http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gifLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check in sopc builder,
the interrupt vector (ie, exception vector) should be in uClinux program memory, ie sdram. If you change sopc project, you have to "make clean" the uClinux-dist-test dir. Then run "make linux_hwselect ...." again. You may use ftp, setup ftp server on pc, and use ftpget/put/wget of busybox in nios2.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hippo .. thanks for your help ..
but the default in SOPC is that the vector is loaded in SDRAM.. i did not change it . what i saw when trying to make hw_select <div class='quotetop'>QUOTE </div> --- Quote Start --- --- Please select which CPU you wish to build the kernel against: (1) cpu - Class: altera_nios2 Type: f Version: 5.1 Selection: 1 --- Please select a device to upload the kernel to: (1) ext_flash Class: altera_avalon_cfi_flash Size: 16777216 bytes Selection: 1 --- Please select a device to execute kernel from: (1) ssram Class: altera_avalon_cy7c1380_ssram Size: 2097152 bytes (2) tightly_coupled_instruction_memory Class: altera_avalon_onchip_memory2 Size: 2048 bytes (3) tightly_coupled_data_memory Class: altera_avalon_onchip_memory2 Size: 2048 bytes (4) epcs_controller Class: altera_avalon_epcs_flash_controller Size: 2048 bytes (5) ddr_sdram Class: ddr_sdram_component Size: 33554432 bytes Selection: 5[/b] --- Quote End --- i tried to change some minor settings .. now the error message is changed <div class='quotetop'>QUOTE </div> --- Quote Start --- [SOPC Builder]$ nios2-terminal 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) Error Uncompressing Linux... Ok, booting the kernel.[/b] --- Quote End --- and it hangs at this point . i tried several builds based on several ptf s .. with different cashes (Data and Instr) .. all the CPU builds gave almost the same error results.. ===== about files from my PC .. i saw an option in the eithernet called " Samba file system " .. will this make the job ?? or you sill suggest using ftp server on my PC ? .. Thanks a lot Hippo .. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SSSOOORRRRRRYYY .... Mr Hippo ..
you were totally correct.. i fixed the interrupt vector .. and booted very fine .. the CPU's performance was perfect .. much more than thought. The single threaded prog. decoded some video sequence in 0.4 sec now ..under uClinux ... the same job was done in 0.22 sec http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif .. if u dont mind.. pls reply me concerning the ftp or samba client .. thanks in advance 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
You are doing very well. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
<div class='quotetop'>QUOTE </div> --- Quote Start --- You may use ftp, setup ftp server on pc, and use ftpget/put/wget of busybox in nios2.[/b] --- Quote End --- It is easy to use ftp , http or nfs. you may setup any of these servers on PC. I didn't work through smb on nios2 yet. ( the code size is much bigger ).
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