Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi hippo,
I've got the DE2_NET.sof on the board. After that, I tried using nios2-download:nios2-download -g vmlinux and it shows <div class='quotetop'>QUOTE </div> --- Quote Start --- Using cable "USB-Blaster [USB-o]", device 1, instance 0x00 Pausing target processor: OK Downloaded 2563KB in 32.2s Verified OK Starting processor at address 0x0000000[/b] --- Quote End --- I assume it downloaded onto the board fine but the nios2-terminal I started doesn't show anything beyond this <div class='quotetop'>QUOTE </div> --- Quote Start --- connected to hardware target using JTAG UART on cable "USB-Blaster [USB-0]", device 1, instance 0 <Used hte IDE stop button or Ctrl-C to terminate>[/b] --- Quote End --- How do I actually get to type in the uClinux commandline? I also tried nios2-elf-objcopy -O binary vmlinux vmlinux.bin
bin2flash --location=0x0 --input=vmlinux.bin --output=vmlinux.flash
nios2-flash-programmer --base=0x800000 vmlinux.flash (I've verified in the nios_system.h file that the cfi flash does indeed start at that address) And it shows: <div class='quotetop'>QUOTE </div> --- Quote Start --- Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Checksummed/read 1024kB in 22.9s Erased 576kB in 20.1s Program failed Leaving target processor paused[/b] --- Quote End --- I'm assuming this is happening because the vmlinux.bin is quite large ~2.5MB (cfi flash is only 1 MB) and I'm not sure how to reduce that size by much (strip vmlinux only gets the vmlinux's original 8 MB down to about 7MB) Would appreciate very much any direction you could give on this! Thanks!