QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1395|回复: 1

為什麼我的執行和 Hello4Skyeye 的範例不同?

[复制链接]
发表于 2008-3-12 17:36:05 | 显示全部楼层 |阅读模式
為什麼我依照Hello4Skyeye 的例子, 下 skyeye -e hello 就直接跑到一直顯示 helloworldhelloworld....
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x41a800
log_info: log is off.
log_info:log file is ./sk1.log, fd is 0xad22bc
log_info: log start clock 0
log_info: log end clock 200000
SKYEYE: use arm7100 mmu ops
big_endian is false.
uart_mod:0, desc_in:, desc_out:, converter:
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 = 0x000000d5 .
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 = 0x00000060 .
call ARMul_InitSymTable,kernel filename is hello.
start addr is set to 0x01000000 by exec file.
helloworldhelloworldhelloworld.............................
而不會有範例中所說(如下圖)的 tar, load, run 等步驟呢?
(SkyEye) tar s
(SkyEye) load
(SkyEye) run


QUOTE:
***************************************************************
**** ****
**** SkyEye Simulator Ver 0.8.6 with GDB 5.3 Interface ****
**** ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --
target=arm-elf"...(no debugging symbols found)...
(SkyEye) tar s
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x813dae4
log_info: log is off.
log_info:log file is /tmp/sk1.log, fd is 0x829e0e0
log_info: log start clock 0
log_info: log end clock 200000
SKYEYE: use arm7100 mmu ops
Connected to the simulator.
(SkyEye) load
Loading section .text, size 0x98 vma 0x1000000
Loading section .data, size 0x1000 vma 0x1002000
Start address 0x1000000
Transfer rate: 33984 bits in <1 sec.
(SkyEye) run
Starting program: /home/shang/HelloForSkyeye/hello
helloworldhelloworldhelloworldhelloworldhelloworldhelloworld
helloworldhelloworldhelloworldhelloworldhelloworldhelloworld
helloworldhelloworldhelloworldhelloworld
发表于 2008-3-12 17:38:23 | 显示全部楼层
Old version of SkyEye need to run the following command:
(SkyEye) tar s
(SkyEye) load
(SkyEye) run

But now it is deprecated.......  In new version of SkyEye , you just run :
skyeye -e helloworld
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 00:49 , Processed in 0.065415 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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