【求助】skyeye下运行hello的错误

内核编译和嵌入式产品的设计与开发
回复
luthlee
帖子: 1
注册时间: 2008-04-17 9:50

【求助】skyeye下运行hello的错误

#1

帖子 luthlee »

环境:
skyeye版本:skyeye_1_2_3_Rel
arm-elf-tools:arm-elf-tools-20040427.sh

目的:
要在没有操作系统和u-boot的情况下运行用arm-elf-gcc交叉编译过的执行文件。写了个hello.c,交叉编译出二进制文件hello放在了skyeye的/binary下,并如网上介绍的那样编写了skyeye.conf文件,使启动后第一条指令指向hello。
***********************************************************************
cpu:arm920t
mach:at91rm92

mem_bank:map=M,type=RW,addr=0x00000000,size=0x00004000,file=./hello,boot=yes
mem_bank:map=M,type=R,addr=0x00100000,size=0x00010000
mem_bank:map=M,type=RW,addr=0x20000000,size=0x02000000
mem_bank:map=I,type=RW,addr=0xfffa0000,size=0x00060000
***********************************************************************

问题:
直接运行#./skyeye
出现如下信息:

**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************

big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name at91rm92, mach_init addr 0x805bc50
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM ./hello

之后就停在这条提示,没有任何反应,请问是什么问题?如何能执行hello?
谢谢!
回复