|
编译了linux内核,并且按照论坛置顶贴《skyeye使用简介》所示,在 uclinux-dist 目录下建立了skyeye配置文件 skyeye.conf,并且在/usr/src/uclinux-dist依次执行了如下命令:
skyeye linux-2.4.x/linux
(gdb)target sim
(gdb)load
(gdb)run
有时候结果如下所示:
[marrow@localhost uClinux-dist]$ 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安装的有问题?~ |
|