marrow 发表于 2007-1-27 15:59:16

求助:Skyeye run 内核时出现错误

编译了linux内核,并且按照论坛置顶贴《skyeye使用简介》所示,在 uclinux-dist 目录下建立了skyeye配置文件 skyeye.conf,并且在/usr/src/uclinux-dist依次执行了如下命令:
skyeye linux-2.4.x/linux
(gdb)target sim
(gdb)load
(gdb)run

有时候结果如下所示:

$ skyeye linux-2.4.x/linux
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(gdb) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8183690
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
Connected to the simulator.
(gdb) load
Loading section .init, size 0xa000 vma 0x8000
Loading section .text, size 0x1a5bb8 vma 0x12000
Loading section .data, size 0x7bdc vma 0x1b8000
Start address 0x8000
Transfer rate: 14400672 bits in <1 sec.
(gdb) run
Starting program: /home/marrow/uClinux-dist/linux-2.4.x/linux

Program received signal SIGINT, Interrupt.
0x00000000 in ?? ()



还有的时候如下所示:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/marrow/uClinux-dist/linux-2.4.x/linux
SKYEYE: WARNING: illegal write word to 0x1400030 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400034 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400038 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x140003c of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400040 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400044 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400048 of 0x6ac @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400030 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400034 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400038 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x140003c of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400040 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400044 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400048 of 0x950 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400030 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400034 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400038 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x140003c of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400040 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400044 of 0x0 @ 0xea0538
SKYEYE: WARNING: illegal write word to 0x1400048 of 0x9a4 @ 0xea0538

然后就一直出现这样的内容,只好ctrl C ~
这个是我内核编译的有问题,还是skyeye安装的有问题?~

marrow 发表于 2007-1-27 16:00:36

今天又成了这样:

(gdb) run
Starting program: /home/marrow/uClinux-dist/linux-2.4.x/linux
NumInstr 5234727, io_read_word unknown addr(0xffffffe4) = 0xffffffff
R 0,0,0,0,0,0,0,0,0,0,0,0,0,0,1400030,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xffffffe8) = 0xffffffff
R 0,0,0,ffffffff,0,0,0,0,0,0,0,0,0,0,1400030,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xffffffec) = 0xffffffff
R 0,0,0,ffffffff,0,ffffffff,0,0,0,0,0,0,0,0,1400030,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xfffffff0) = 0xffffffff
R 0,0,0,ffffffff,0,ffffffff,ffffffff,0,0,0,0,0,0,0,1400030,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xfffffff4) = 0xffffffff
R 0,0,0,ffffffff,0,ffffffff,ffffffff,0,0,ffffffff,0,0,0,0,1400030,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xfffffff8) = 0xffffffff
R 0,0,0,ffffffff,0,ffffffff,ffffffff,0,0,ffffffff,0,0,ffffffff,0,1400030,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xfffffffc) = 0xffffffff
R 0,0,0,ffffffff,0,ffffffff,ffffffff,0,0,ffffffff,0,0,ffffffff,0,ffffffff,74,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,NumInstr 5234727, io_read_word unknown addr(0xfffffffe) = 0xffffffff
R 0,0,0,ffffffff,0,ffffffff,ffffffff,0,ffffffe4,ffffffff,0,0,ffffffff,0,ffffffff,2,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,SKYEYE: at91_io_write_halfword error
R 0,0,0,0,0,ffffffff,ffffffff,0,ffffffe4,ffffffff,0,0,ffffffff,0,1,19ad,C 400000db,S 0,0,0,0,0,400000d3,0,M 1b,B 5,E 0,I 0,P 0,T 0,L 0,D 0,$ ls

marrow 发表于 2007-1-27 16:01:57

我用的是Federo Core 6

skyeye-0.9.8-gdb-6.4

wangleihd 发表于 2007-1-31 16:14:31

我用的是Federo Core 6

skyeye-0.9.8-gdb-6.4

我想应该和操作系统没有任何关系.
我的skyeye没有任何问题.
我现在把我的skseye给你,你从网站下载吧.
一共四个文件:
http://www.22sun.com/soft/skyeye/skyeye
http://www.22sun.com/soft/skyeye/skyeye.conf
http://www.22sun.com/soft/skyeye/image.ram
http://www.22sun.com/soft/skyeye/linux

wangleihd 发表于 2007-1-31 16:18:55

我建议你先测试skyeye软件配置是否正常(你先跑一个好使的LINIUX,如果能正常跑起来)
那么是配置没有问题,你再去看看是不是编译时出错了.
页: [1]
查看完整版本: 求助:Skyeye run 内核时出现错误