Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Ubuntu, JTAG and vmware fusion

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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