QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: shang79

HelloWorld on Skyeye,新手请进!

[复制链接]
发表于 2006-7-17 23:53:47 | 显示全部楼层
很不错的初学例子,可惜是非操作系统下的,能否给个uclinux下的application的hello world的例子,这样会经典的很啊!
回复

使用道具 举报

发表于 2006-10-4 17:24:22 | 显示全部楼层
请问哪儿有下载呀?
发一个给我吧
[email protected]
回复

使用道具 举报

发表于 2006-11-3 19:30:51 | 显示全部楼层
好贴
回复

使用道具 举报

发表于 2006-11-5 21:52:24 | 显示全部楼层
我安装的是cygwin,为什么不出GDB的信息,而是如下的信息,如我想在cygwin上面使用gdb那么请问如何做,谢谢

[rurality@QingYangOS /arm/src/hello_skyeye]$skyeye -e hello
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x4117d0
log_info: Error logon value 2
log_info: log is off.
log_info:log file is ./sk1.log, fd is 0x100f02b4
log_info: log start clock 0
log_info: log end clock 200000
SKYEYE: use arm7100 mmu ops
exec file "hello"'s format is elf32-little.
load section .text: addr = 0x01000000  size = 0x00000044.
load section .rodata.str1.4: addr = 0x01000044  size = 0x0000000c.
load section .data: addr = 0x01002000  size = 0x00001000.
not load section .comment: addr = 0x00000000  size = 0x00000012 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x00000078 .
not load section .debug_info: addr = 0x00000000  size = 0x000000c2 .
not load section .debug_line: addr = 0x00000000  size = 0x00000075 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000040 .
not load section .debug_frame: addr = 0x00000000  size = 0x00000020 .
not load section .debug_str: addr = 0x00000000  size = 0x0000004d .
start addr is set to 0x01000000 by exec file.
helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld
helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld
helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld
N 12 :p 1000038,i 1afffffb,R fffd0fff,100004e,1000047,6c,0,0,0,0,0,0,0,0,0,10020
00,1000010,1000040,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 13 :p 100002c,i e4d23001,R fffd0fff,100004e,1000047,6c,0,0,0,0,0,0,0,0,0,10020
00,1000010,1000034,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 14 :p 1000030,i e1520001,R fffd0fff,100004e,1000048,6c,0,0,0,0,0,0,0,0,0,10020
00,1000010,1000038,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 15 :p 1000034,i e5003fe3,R fffd0fff,100004e,1000048,6c,0,0,0,0,0,0,0,0,0,10020
00,1000010,100003c,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 16 :p 1000038,i 1afffffb,R fffd0fff,100004e,1000048,6c,0,0,0,0,0,0,0,0,0,10020
00,1000010,1000040,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 17 :p 100002c,i e4d23001,R fffd0fff,100004e,1000048,6c,0,0,0,0,0,0,0,0,0,10020
00,1000010,1000034,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 18 :p 1000030,i e1520001,R fffd0fff,100004e,1000049,6f,0,0,0,0,0,0,0,0,0,10020
00,1000010,1000038,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 19 :p 1000034,i e5003fe3,R fffd0fff,100004e,1000049,6f,0,0,0,0,0,0,0,0,0,10020
00,1000010,100003c,C d2,S 0,0,0,0,0,0,0,M 12,B 2,E 0,I 0,P 0,T 0,L 0,D 0,
N 1a :p 1000038,i 1afffffb,R fffd0fff,100004e,1000049,6f,0,0,0,0,0,0,0,0,0,10020
回复

使用道具 举报

发表于 2006-11-6 11:32:19 | 显示全部楼层
只能用arm-elf-gdb进行远程调试,或者用skyeye比较老的版本。
回复

使用道具 举报

发表于 2006-11-22 21:13:51 | 显示全部楼层
用arm-linux-xx3.3.2工具编译,还是出现楼上的错误:
arm-linux-ld -p -X -Thello.lds  start.o hello.o -o hello
arm-linux-ld: hello:没有足够的空间保存程序头,试用 -N 进行连接
arm-linux-ld: final link failed: 错误的值
并且 hello.lds和Start.S中的错误都已经改过来了啊.
初学者,不知道怎么回事?
回复

使用道具 举报

发表于 2006-12-11 16:23:36 | 显示全部楼层
你好
我使用的是1.2-RC8,结果在中途停止了,不知道是水木原因
zjz@19216811:~/SoftWare/Hello4Skyeye> skyeye hello
SKYEYE: If you have ELF kernel file, please use -e option to indicate your ELF f ormat kernel filename
SKYEYE: If you only have kernel binary image, you should put the filename of ker nel binary image in skyeye.conf file
Non-option argument hello
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x805a020
log_info: log is off.
log_info:log file is ./sk1.log, fd is 0x80b1228
log_info: log start clock 0
log_info: log end clock 200000
SKYEYE: use arm7100 mmu ops
在以后就什么也没有了,是我的安装有问题,还是其他的原因呢?
回复

使用道具 举报

发表于 2006-12-11 17:01:43 | 显示全部楼层
That is very clear, you should read the message:
SKYEYE: If you have ELF kernel file, please use -e option to indicate your ELF f ormat kernel filename
SKYEYE: If you only have kernel binary image, you should put the filename of ker nel binary image in skyeye.conf file
回复

使用道具 举报

发表于 2006-12-12 12:38:31 | 显示全部楼层
能说的具体点么?第一次使用Skyeye,真是不太明白
回复

使用道具 举报

发表于 2006-12-12 17:14:05 | 显示全部楼层
明白啥意思了,谢谢提示,同时感谢搂主提供一个这么好的例子,终于在Linux环境下成功运行Skyeye了
回复

使用道具 举报

发表于 2006-12-23 10:27:14 | 显示全部楼层
我也碰到了楼上的问题了,到现在也不明白为什么?
回复

使用道具 举报

发表于 2006-12-23 11:55:39 | 显示全部楼层
run  "skyeye -h" to see the help message
回复

使用道具 举报

发表于 2007-2-14 20:06:48 | 显示全部楼层
我make的时候怎么是只有下面一句:
make: nothing to be done for 'all'.
之后就没了,什么意思啊.
回复

使用道具 举报

发表于 2007-2-15 09:21:40 | 显示全部楼层
你先make clean一下。在运行 make
回复

使用道具 举报

发表于 2007-5-21 10:19:08 | 显示全部楼层

可否给我也发一份

你好,能给我也发送一份hello4skyeye吗?
[email protected]非常感谢!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-1 22:36 , Processed in 0.052025 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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