QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4996|回复: 15

skyeye不能仿真

[复制链接]
发表于 2010-10-11 15:08:16 | 显示全部楼层 |阅读模式
我用的是VM虚拟机,
虚拟机的操作系统是fedaro10。
从skyeye官网上下载了skyeye1-3-1.tar.gz包,
解压安装后,可以到运行 #./skyeye  如下所示:

[root@localhost skyeye-1-3-1_rc1]# pwd
/home/skyeye-1-3-1_rc1
[root@localhost skyeye-1-3-1_rc1]# ./skyeye
SkyEye 1.3.1
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 not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)


我再下载了skyeye的测试包skyeye-testsuite-1-3-1.tar.gz。在测试包下我运行如下:
  1. [root@localhost 2.6.14]# pwd
  2. /home/arm/test/linux/s3c2440/2.6.14
  3. [root@localhost 2.6.14]# ls
  4. initrd.img  skyeye.conf  vmlinux
  5. [root@localhost 2.6.14]# /home/skyeye-1-3-1_rc1/skyeye -e vmlinux
  6. SkyEye 1.3.1
  7. 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 not remove or modify the annoucement of SkyEye copyright.
  8. Get more information about it, please visit the homepage http://www.skyeye.org.
  9. Type "help" to get command list.
  10. (skyeye)run
  11. (running)
  12. 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 not remove or modify the annoucement of SkyEye copyright.
  13. Get more information about it, please visit the homepage http://www.skyeye.org.
  14. Type "help" to get command list.
  15. (skyeye)
复制代码
结果没有出现内核启动时的打印信息呀?
这是怎么回事呀?
谢谢!
发表于 2010-10-11 15:46:04 | 显示全部楼层
先运行start命令然后运行run
回复

使用道具 举报

 楼主| 发表于 2010-10-12 09:00:13 | 显示全部楼层
谢谢ksh。
我用start命令,然后运行run了,程序跑起来了,如下:
Command: #/bin/demobmp
Execution Finished, Exiting
Command: /bin/sh

Sash command shell (version 1.1.1)
/>

但是到了根文件系统下时,在根文件输入ls命令时却不是查看根文件的内容。它显示如下:

/> total 7808
lrwxrwxrwx 1 root      16 2010-10-11 11:30 initrd.img -> ../../initrd.img
-rw-rw-r-- 1 root 6291456 2010-07-13 18:19 initrd_old.img
-rw-rw-r-- 1 root     409 2010-07-13 18:19 skyeye.conf
-rw-rw-r-- 1 root     383 2010-07-13 18:19 skyeye_dbct.conf
-rwxrwxr-x 1 root 1677932 2010-07-13 18:19 vmlinux*
(running)

如果我要查看我的根文件系统里的文件夹的话我怎么查呀?
另外就是skyeye的串口输出怎么显示出来。
谢谢!
回复

使用道具 举报

 楼主| 发表于 2010-10-13 08:38:51 | 显示全部楼层
(仿真是用skyeye自带的测试程序)
我用1.2.4的仿真当启动到根文件系统时就可以用ls查看根文件系统里的文件信息。
用1.3.1的就不行。这是怎么回事呀?
论坛里还有一个贴也是和我出现一样的问题,可是也没人回答。怎么会这样呢?
是我们安装的软件有问题还是软件本身的BUG呢?
郁闷+纠结。
谢谢大家!
回复

使用道具 举报

发表于 2010-10-13 08:53:59 | 显示全部楼层

回复 3# zhujunfengx 的帖子

软件本身的问题,这个问题预计在skyeye-1.3.2中解决。
你可以把skyeye中的uart选项由stdio改为term,如下:
uart:mod=term

然后串口会在另外一个term中出现,这样的话ls等执行的都是虚拟机的命令。
回复

使用道具 举报

 楼主| 发表于 2010-10-13 10:57:19 | 显示全部楼层
改成了这个出错了。它显示如下:
In create_uart_console
Child:: No such file or directory
SKYEYE Error:We need xterm to run the console of uart.Please check if you installed it correctly.

我怎么解决呢?
谢谢ksh.
回复

使用道具 举报

发表于 2010-10-13 14:00:54 | 显示全部楼层
需要安装xterm的程序
回复

使用道具 举报

 楼主| 发表于 2010-10-13 17:17:08 | 显示全部楼层
xterm的安装程序那里有呀?你能不能发一个给我呀?
[email protected]
谢谢ksh!
回复

使用道具 举报

 楼主| 发表于 2010-10-14 09:02:49 | 显示全部楼层
我的网上下载了一个xterm-235.tgz的安装程序,然后用./configure 和 make install安装后。运行skyeye中的测试程序,能打开一个uart_instance的窗口。并且也能显示内核加载的信息。但是到了加载完根文件系统后,它却不能输入任何字符。这是怎么回事呢?
它显示如下:
/bin/ash: can't access tty; job control turned off
/#

谢谢ksh!
回复

使用道具 举报

 楼主| 发表于 2010-10-16 15:15:36 | 显示全部楼层
到底是怎么回事呀?是我安装软件有问题还是软件本身有BUG呀?
郁闷呀!
大哥们!
回复

使用道具 举报

 楼主| 发表于 2010-10-18 15:11:43 | 显示全部楼层
在用SkyEye仿真测试程序的时候。能打开 uart_instance 窗口。但是在这个窗口里它却不能输入任何字符。这是怎么回事呢?
它只显示如下:
/bin/ash: can't access tty; job control turned off
/#

怎么按键盘都没有字符出现。怎么办呢?
是在VM虚拟机装的Fedaro10操作系统。
SkyEye是最新的版本。
回复

使用道具 举报

发表于 2010-10-21 17:11:38 | 显示全部楼层
我也遇到同样问题,等待答案……
Welcome to
     _      _____      __   __    _      _
    / \    /  __ \    /  \_/  \  | |    |_|                 
   / _ \   | |  | |  / /\   /\ \ | |     _ ____  _   _  _  _
  / /_\ \  | |__| | / /  \_/  \ \| |    | |  _ \| | | |\ \/ /
/ /___\ \ | |__\ \ | |       | || |___ | | |_| | |_| |/    \
/_/     \_\| |   \_\|_|       |_||_____||_|_| |_|\____|\_/\_/
           
ARMLinux for Skyeye
For further information please check:
http://www.skyeye.org/



BusyBox v1.00 (2004.12.27-02:03+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off
/ #

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2010-10-21 20:13:37 | 显示全部楼层

回复 11# zhujunfengx 的帖子

zhujunfengx, 您好, 回答您第一个贴的问题,的确在交互的时候, 输入命令会显示host的信息,而非此模拟器的kernel信息,这是一个bug.  一个暂时可以解决这个的方法:  将 skyeye.conf中的uart的选项还是改回stdio. 在输入skyeye命令时 加 -n选项,  $ skyeye -e vmlinux -n ,  使其非交互式自动启动, 这样,到了 shell的时候,再输入各种命令,就能正确显示了. 这个bug,我们将会在后面的版本于与修改. 关于将uart选项改为xterm,而您自己安装的xterm的问题,暂不清楚, 由于暂时测试平台有限, 无法复现.我们也会在后续的版本中进行更多平台的测试.   
       感谢您对skyeye的支持!
      
      thanks,
      yuanzheng.
回复

使用道具 举报

发表于 2010-10-21 20:14:26 | 显示全部楼层

回复 12# mxslgyb 的帖子

可以参考楼上本人回复!


    thanks,
    yuanzheng.
回复

使用道具 举报

发表于 2010-10-21 20:52:32 | 显示全部楼层

谢谢tsinghuayuan86的回复

根据tsinghuayuan86的回复,问题已经解决。
谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-19 18:14 , Processed in 0.085013 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表