Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Ubuntu, JTAG and vmware fusion

Altera_Forum
Honored Contributor II
1,252 Views

OS X 10.5.5 (before apple broke usb) 

Fusion 2.04 

Ubuntu 8.10 VM 

Quartus 9.0 

 

Followed nioswiki for installation. I can configure the FPGA through the GUI or command line, but then I am unable to "nios2-download" the kernel image. It sits there without any feedback after pressing enter. I am then unable to re-configure, quartus reports jtag chain is busy. It takes re-starting the jtagd to be able to configure again, but again I can not download the image. I also have a WindowsXP SP3 VM that works just fine ... but it would be nice to have a single vm for uclinux development. 

 

Any Ideas?  

 

Rick
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
558 Views

in my installation I was not able to have the usbf file system mount automatically at system start. So I use this: 

 

====================================================== 

file ~/bin/m:# ! /bin/bash 

mount_usbfs 

if [ "$1" = "" ]; then zi=zImage; 

else zi=$1; fi; 

 

if [ "$2" = "" ]; then sof=default.sof; 

else sof=$2; fi; 

 

echo 

echo -e "\033[31m ... configuring $sof ...\033[0m"  

nios2-configure-sof $sof 

echo 

echo -e "\033[31m... downloading $zi ...\033[0m" 

nios2-download -g $zi 

====================================================== 

file ~/bin/mount_usbfs:# !/bin/bash 

if mount | grep usbfs; then 

echo usbfs is mounted 

else 

echo mounting usbf 

mount_a 

fi 

====================================================== 

file ~/bin/mount_a:# !/bin/bash 

sudo mount -a 

====================================================== 

-Michael
0 Kudos
Reply