请教skyeye的问题
环境Fedora 9
skyeye 1.2.6_rc1
下载skyeye-testsuite-1.2.5
运行
skyeye-testsuite-1.2.5/linux/s3c2410/s3c2410x-2.6.14下的 test case
一切正常
按照http://skyeye.wiki.sourceforge.net/Linux#tocLinux2提示
下载kernel 2.6.20,
make s3c2410_defconfig
make menuconfig
关闭
--> [ Character Driver] --> -->8250/16550 and compatible serial support
修正scripts/mod/sumversion.c
make
顺利生成vmlinux
$ cat > skyeye.conf
#skyeye config file sample
cpu:arm920t
mach: s3c2410x
#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x01000000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
#net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
lcd:type=s3c2410x,mod=gtk
load_addr:base=0x30000000, mask=0xFFFFFF
dbct:state=on
$ skyeye -e vmlinux
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x806e7e0
lcd_mod:1
Your elf file will be load to: base address=0x30000000,mask=0xffffff
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000size = 0x0001d000.
SKYEYE:NumInstrs 0, mem_write_byte addr = 30008000 no bank
有谁能告诉我怎么解决这个问题的?
如果把testsuite里面的配置文件也copy过来也是类似的问题。
Kernel使用系统自带的arm-gp2x-linux来编译的
是编译器的问题么?
还是skyeye配置的问题? 把内存基地址改为3000_0000开始入下,用下面的skyeye.conf
#skyeye config file sample
cpu:arm920t
mach: s3c2410x
#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0x30000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x30800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0x31000000, size=0x01000000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
#net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
lcd:type=s3c2410x,mod=gtk
load_addr:base=0x30000000, mask=0xFFFFFF
dbct:state=on 为什么需要修改内存的基地址?
能解释一下么? 以前运行2410 linux在SkyEye上,需要用把物理内存起始地址修改为 0xc000_0000 ,主要是为了调试方便。
现在在SkyEye-1.2.5之后已经不存在这个问题,我们不需要修改内核,只要按照实际的内存起始地址来写Skyeye.conf就可以了。
0x3000_0000是2410物理内存的首地址,你可以查看2410手册来获得。wiki上的文档,我会尽快全部更正过来。 非常感谢!!困惑好久了!! 原帖由 ksh 于 2008-10-21 21:33 发表 http://www.linuxfans.org/bbs/images/common/back.gif
以前运行2410 linux在SkyEye上,需要用把物理内存起始地址修改为 0xc000_0000 ,主要是为了调试方便。
现在在SkyEye-1.2.5之后已经不存在这个问题,我们不需要修改内核,只要按照实际的内存起始地址来写Skyeye.conf就可以了 ...
现在可以不改了吗,我试了一下好像还是不行啊,我用的9200的linux
页:
[1]