自己编译的内核skyeye1_2_2跑不起来
linux-2.4的内核,用ARMulator是没有问题的,但是我用skyeye-1_2_2 rel就不行
# /root/skyeye-1.0.0/binary/skyeye
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye program
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/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:
# 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变为
# 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肯定可用的) 应该用:
root/skyeyeb/binary/skyeye -e ./linux
页:
[1]