1)将eop驱动的oflash文件拉入虚拟机中,记录文件所在目录
book@www.100ask.org:/work/eopdrv$ ls
eop-nand.sh eop-nor.sh oflash
2)修改环境变量
book@www.100ask.org:~$ sudo vim /etc/environment
[sudo] password for book:
# 在末尾增加 oflash 文件的路径 ' :/work/eopdrv '
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/work/tools/gcc-3.4.5-glibc-2.3.6/bin:/work/eopdrv"
3)生效环境变量
book@www.100ask.org:~$ source /etc/environment
done