原创 skyeye的问题及解决方法

2010-8-9 23:19 5422 8 8 分类: 软件与OS

第一次用skyeye,从网上下到了它的testsuit,可是执行时确总是出现各种问题,先将解决方法描述如下:


1. skyseye的正确命令格式如下(用skyeye -h查看):


#skyeye -h
SkyEye 1.3.0
Bug report: skyeye-simulator@googlegroups.com
Usage: skyeye [options] -e program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-l load_address,load_address_mask
                    Load ELF file to another address, not its entry.
-b                  specify the data type is big endian when non "-e" option.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  The SkyEye command options, and ARCHs and CPUs simulated.
------------------------------------------------------------------
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
最简单的正确命令方式是“ skyeye -c 配置文件名称 -e 可执行文件名称 ”。注意,如果不按照上面的格式执行直接使用“ skyeye 可执行文件名称 ”则程序也不会报错,但是在执行时会报告如下错误:Bus read error, can not find corresponding bank for addr 0x7f14,pc=0x7f00。


其次,在官方提供的testsuit中中配置文件中有uart:mod=term配置的,需要将term修改为xterm,否则在启动xterm时会报告类似“xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1”的错误。


注意以上两点后,应该就可以用skyeye进行正确的仿真了。

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
我要评论
0
8
关闭 站长推荐上一条 /3 下一条