新闻中心

EEPW首页>嵌入式系统>设计应用> mv5100 bootrom烧写过程

mv5100 bootrom烧写过程

作者: 时间:2016-10-08 来源:网络 收藏

mv5100 bootrom烧写过程:

本文引用地址://m.amcfsurvey.com/article/201610/305859.htm

1. make bootrom,

到target/config/mv5100目录下运行

make clean

注:make出错应先运行host/x86-win32/bin下的torvars

make bootrom.bin

chmod 666 bootrom.bin

然后把生成的bootrom文件拷贝到tftp server指定的目录下,叫boot.bin

2. 设置j7跳线连接1、2,启动ppc准备下载bootrom

ppc-bug运行起来后输入niot命令配置下载信息

设置server ip地址和client ip地址,子网掩码,网关

boot file name输入. 可以测试一下乱输会有什么后果 ^_^

确定update nv ram

然后开始下载bootrom文件

在ppc-bug下运行niop命令,file name处输入boot.bin,其他默认

3. 烧写flash

运行命令md 0xfef80000

该命令查看0xfef80050处值是多少,通常为f40c0006,取前两位f4

运行命令pflash 4000:fff00 f4000100

该命令将bootrom烧写到f4000100地址处,相对于f4000000偏移100字节

可能有硬件板卡存放相关信息在前面,所以偏移了100个字节

4. 设置跳线j7连接2、3,启动vxworks



关键词:

评论


相关推荐

技术专区

关闭