QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1281|回复: 1

自己编译的内核skyeye1_2_2跑不起来

[复制链接]
发表于 2007-5-25 20:54:30 | 显示全部楼层 |阅读模式
linux-2.4的内核,用ARMulator是没有问题的,
但是我用skyeye-1_2_2 rel就不行

[root@rt-linuxpt uclinux2]# /root/skyeye-1.0.0/binary/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 = (null), server TCP port is 12345
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8090210
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
can't find device module: (null)
log_info: log is off.
log_info:log file is /tmp/test.log, fd is 0x833db68
log_info: log start clock 3200000
log_info: log end clock 3330000
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./boot.rom
停在这里一直没动.....

如果
[root@rt-linuxpt img]# /root/skyeyeb/binary/skyeye -e ./image.bin
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80766f8
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM   boot.rom
Segmentation fault
这个image.bin是testbuilt中,肯定可用的

skyeye.conf:
[root@rt-linuxpt img]# more skyeye.conf
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=boot.rom
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000

除非skyeye.conf变为
[root@rt-linuxpt img]# more skyeye.conf.ori
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000,file=./image.bin,boot
=yes
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./boot.rom
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000

然后直接运行
/root/skyeyeb/binary/skyeye,就可以跑image.bin了,但是对于我自己编译的内核却怎么样也不行(我的内核armulator肯定可用的)
发表于 2007-5-25 23:36:36 | 显示全部楼层
应该用:
root/skyeyeb/binary/skyeye -e ./linux
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 14:20 , Processed in 0.060648 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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