Forum Discussion
Altera_Forum
Honored Contributor
16 years agoin 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