QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3742|回复: 5

Fedora 12 运行skyeye的问题

[复制链接]
发表于 2010-4-8 21:27:57 | 显示全部楼层 |阅读模式
Hi,
我在运行skyeye (1.3.0, 1.2.9, 1.2.4都是同样的问题)时碰到的问题如下:
第一类:
Bus read error, can not find corresponding bank for addr 0x3ec4,pc=0x3ec4
Bus read error, can not find corresponding bank for addr 0x3ec8,pc=0x3ec8
Bus read error, can not find corresponding bank for addr 0x3ecc,pc=0x3ecc
Bus read error, can not find corresponding bank for addr 0x3ed0,pc=0x3ed0
Bus read error, can not find corresponding bank for addr 0x3ed4,pc=0x3ed4
第二类:
/opt/skyeye/bin/skyeye
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.
Type "help" to get command list.
(skyeye)start
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
Error: Unkonw mach name "s3c44b0x"
"mach" option parameter error!
uart_mod:0, desc_in:, desc_out:, converter:
uart_mod:1, desc_in:/dev/ttyS1, desc_out:, converter:
Segmentation fault (core dumped)
我装的是Fedora 12, 不过Fedora10, 11下我也都试过了,同样的报错,只有Fedora 8上非常成功。到目前为止,我做的都是skyeye提供的测试套件(testsuite)。找了一下,似乎大多都用Ubuntu+skyeye,有谁知道请Fedoar12下这个问题怎么解决吗?
发表于 2010-4-9 09:17:40 | 显示全部楼层
第一类:
Bus read error, can not find corresponding bank for addr 0x3ec4,pc=0x3ec4
mem_bank配置不正确;

Error: Unkonw mach name "s3c44b0x"
mach配置不正确。

都是你的配置文件skyeye.conf不正确的问题吧。
回复

使用道具 举报

 楼主| 发表于 2010-4-9 22:35:54 | 显示全部楼层
谢谢knpingan的回复,
    应该不是配置的问题,我用的都是skyeye官方提供的测试套件。不过是不是改掉配置后能通过,我就不知道了。
    到目前为止,所有的证据似乎都指向skyeye + vmware linux的模式不能很好的工作,虽然在某些版本的组合下可能能稳定运行,比如Fedora8。以前也从来没想到过vmware会与这个问题有关。vmware这个软件实在方便,不知道有一天会不会出来一个解决方案。
Best regards,
回复

使用道具 举报

发表于 2010-4-10 21:00:15 | 显示全部楼层
在vmware上安装suse操作系统,然后安装skyeye1.2.9,skyeye1.3.0,这两个都能很好的运行测试用例。
回复

使用道具 举报

 楼主| 发表于 2010-4-17 12:03:10 | 显示全部楼层

suse 11.2 上运行skyeye1.2.9成功

刚才试了一下suse11.2+skyeye1.2.9
试了fedora在电脑上的安装(不用vmware),也不能运行skyeye,似乎又不是vmware的问题。
这次我装suse11.2,再用rpm -ivh skyeye-1.2.9-rc1.i386.rpm装的skyeye-1.2.9,免得自己编译弄错,但运行时不行,出现控制台(uart),上面出现四行字:
connecting locahost:39048
connecting: argument invalid
connecting: argument invalid
connecting: argument invalid
然后不再动作,检查后发现是我的网络设置中的host名称与自己实际的host名称不符。修改后可正常启动,但有些错误提示:
测试一: 结果:运行不成功
/home/share/skyeye-testsuite-1.2.9/linux/strongarm
Bus write error, can not find corresponding bank for addr 0x30,pc=0x30
Bus write error, can not find corresponding bank for addr 0x30,pc=0x30
Bus write error, can not find corresponding bank for addr 0x30,pc=0x30
测试二: 结果:运行成功,出现uart控制台,并能操作ls等命令。但也报错
/home/share/skyeye-testsuite-1.2.9/linux/s3c2410/2.4.18
(running)ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000778
ERROR: s3c2410x_io_write_word(0x4d000004) = 0x014fc081
ERROR: s3c2410x_io_write_word(0x4d00000 = 0x0030ef02
ERROR: s3c2410x_io_write_word(0x4d00000c) = 0x00000d04
ERROR: s3c2410x_io_write_word(0x4d000010) = 0x00000b09
ERROR: s3c2410x_io_write_word(0x4d000014) = 0x600a0800
ERROR: s3c2410x_io_write_word(0x4d00001 = 0x600b3400
ERROR: s3c2410x_io_write_word(0x4d00001c) = 0x000000f0
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000002
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000000) = 0xffffffff
ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000778
ERROR: s3c2410x_io_write_word(0x4d000004) = 0x014fc081
ERROR: s3c2410x_io_write_word(0x4d00000 = 0x0030ef02
ERROR: s3c2410x_io_write_word(0x4d00000c) = 0x00000d04
ERROR: s3c2410x_io_write_word(0x4d000010) = 0x00000b09
ERROR: s3c2410x_io_write_word(0x4d000014) = 0x600a0800
ERROR: s3c2410x_io_write_word(0x4d00001 = 0x600b3400
ERROR: s3c2410x_io_write_word(0x4d00001c) = 0x000000f0
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000002
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000000) = 0xffffffff
测试三:结果:运行还算成功,但也报错,且uart控制台不能输入信息。
/home/share/skyeye-testsuite-1.2.9/linux/s3c2410/s3c2410x-2.6.14
(running)ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000004) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d00000 = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d00000c) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000010) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000014) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d00001 = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d00001c) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000001
ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000778
ERROR: s3c2410x_io_write_word(0x4d000004) = 0x044fc041
ERROR: s3c2410x_io_write_word(0x4d00000 = 0x0030ef1e
ERROR: s3c2410x_io_write_word(0x4d00000c) = 0x00000d03
ERROR: s3c2410x_io_write_word(0x4d000010) = 0x00000809
ERROR: s3c2410x_io_write_word(0x4d000014) = 0x60780000
ERROR: s3c2410x_io_write_word(0x4d00001 = 0x60792c00
ERROR: s3c2410x_io_write_word(0x4d00001c) = 0x000000f0
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000779
ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000778
ERROR: s3c2410x_io_write_word(0x4d000004) = 0x044fc041
ERROR: s3c2410x_io_write_word(0x4d00000 = 0x0030ef1e
ERROR: s3c2410x_io_write_word(0x4d00000c) = 0x00000d03
ERROR: s3c2410x_io_write_word(0x4d000010) = 0x00000809
ERROR: s3c2410x_io_write_word(0x4d000014) = 0x60780000
ERROR: s3c2410x_io_write_word(0x4d00001 = 0x60792c00
ERROR: s3c2410x_io_write_word(0x4d00001c) = 0x000000f0
ERROR: s3c2410x_io_write_word(0x4d000000) = 0x00000779
测试四:结果,同样uart控制台不能输入信息。
/home/share/skyeye-testsuite-1.2.9/linux/at91rm9200/2.6.x
(running)In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffff130
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8030
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
In at91rm92_io_read_word, io error, addr=0xfffb8020
Bus read error, can not find corresponding bank for addr 0x30000000,pc=0xc00c87bc
测试五:运行成功,并可实现uart输入命令ls
(running)in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c50
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c70
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c90
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8df0
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8dd0
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8db0
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c40
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c44
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c48
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8c50
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8de0
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8de8
in mpc8560_io_write_word, error when write to PCI_ATMU.offset=0x8df0
Warning, execute mfspr in user mode, pc=0x10037ad0
附,第一次用suse,发现yast很方便管理。
再次感谢knpingan,还参考了KSH在网络上的文章。
回复

使用道具 举报

 楼主| 发表于 2010-4-18 09:59:43 | 显示全部楼层

fedora12上成功运行skyeye-1.3.0

今天fedora12上再次试配置运行skyeye,测试效果比suse11.2要好。官方的测试套件u-boot在suse11.2上不能成功。原因不明。不过我还没有自己编译,只是rpm -ivh 装了来自于官方网的1.2.9。
说说fedora12,首先,我习惯于一装好系统就升级一堆东西。如果你要装skyeye,最好先装好再说,到现在为止,我还不知道是哪个东西让我烦了这么久。总之现在OK了。系统这个东西太复杂,尤其是报错时给出的信息太有限。
安装1.3.0到fedora12时,一般只有一处报错:stropts.h找不到,解决方案有两个

其一是把skyeye-1.3.0_rc1/utils/uart_console/uart_console.c一行注释掉,当然你不能缺少库文件xulrunner之类的。
#include <sys/stropts.h>

其二的解决方案下面这个地方有
http://yayi.biz/?p=46
我把其关键地方列出来:
如果你使用的fedora版本较低,那么请注意安装这些库:
使用yum 安装以前软件
ncurses
ncurses-devel
glibc
glibc-devel
libXpm
libXpm-devel
xterm
xorg-x11-fonts-misc

如果用fedora12,则只做下面这些就够了:
然后手动创建一些文件头.用vi创建复制进去保存即可.
/usr/include/sys/stropts.h:
http://www.koders.com/c/fidB9EEB ... B5A832406EBAF5.aspx
/usr/include/bits/stropts.h:
http://www.koders.com/c/fidF9EBA ... 02539E93C698D5.aspx
/usr/include/bits/xtitypes.h:
http://www.koders.com/c/fid072C3 ... 095B0538A04988.aspx
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-22 00:46 , Processed in 0.202669 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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