|
发表于 2005-9-25 17:06:38
|
显示全部楼层
按照REAME文件里面的说明
在终端里面使用SKYEYE命令,格式如下:
SKYEYE -E ELF格式文件 -C 配置文件
一般是skyeye -e vmlinux -c skyeye.conf执行ELF格式文件vmlinux
如果要skyeye运行的文件是bin格式,就不用-e 指定文件格式了
bin文件一般直接在skyeye.conf文件中用file=指定,ksyeye会自动加在文件到指定地址空间,使用boot=yes参数可以让skyeye加载完文件后从指定地址空间执行
和以前的一样,如果没有指定配置文件,skyeye会在当前目录下面搜索skyeye.conf例如:
#skyeye.conf文件
cpu: pxa25x
mach: pxa_lubbock
mem_bank: map=M, type=RW, addr=0xa0000000, size=0x01000000,file=zImage,boot=yes
mem_bank: map=M, type=RW, addr=0xa1000000, size=0x01000000,file=./ramdisk.img
mem_bank: map=M, type=RW, addr=0xa2000000, size=0x02000000
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
lcd:state=on,type=pxa,mod=gtk
在终端上
root@ubuntu:~/rootfs # skyeye
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file the (ELF executable format)kernel file name.
-d in GDB Server mode (can be connected by GDB).
-c config-file the skyeye configure file name.
-h This Help Display
------------------------------------------------------------------
debugmode= 0, filename = skyeye.conf, server TCP port is 12345
cpu info: xscale, pxa25x, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x808d470
lcd_mod:0
dbct info: turn off dbct!
"dbct" option parameter error!
SKYEYE: use xscale mmu ops
Loaded RAM zImage
Loaded RAM ./initrd_minigui.img
Uncompressing Linux.............................................................. done, booting the kernel.
`Linux version 2.6.10 (root@ubuntu) (gcc version 3.4.1) #1 Tue Sep 20 22:47:03 CST 2005 |
|