skyeye testsuite中arm_hello运行
来源:互联网 发布:linux bashrc 编辑:程序博客网 时间:2024/06/10 07:56
在上一篇中没有改写PATH环境变量,可以使用下面的命令:
sudo vim /etc/bash.bashrc
新增加下面语句
if [ -d /opt/skyeye/bin ] ; then
PATH=/opt/skyeye/bin:"${PATH}"
fi
保存
source /etc/profile
最后可以从任意的目录下键入skyeye启动程序。
在shell中键入skyeye命令:
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)
在skyeye的安装目录下存在testsuites目录,在该目录下存在arm_hello文件夹,该文件夹下存在文件:
arm_hello,hello.c,hello.lds,Makefile,README,skyeye.conf,start.S
这个测试case是不依赖于操作系统的helloworld
xuqiang@ubuntu:/opt/skyeye/testsuite/arm_hello$ skyeye -e arm_hello
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0x5698e0
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
SKYEYE: use arm7100 mmu ops
exec file "arm_hello"'s format is elf32-i386.
load section .text: addr = 0x01000000 size = 0x00000084.
load section .glue_7: addr = 0x01000084 size = 0x00000000.
load section .glue_7t: addr = 0x01000084 size = 0x00000000.
load section .data: addr = 0x01002000 size = 0x00001000.
not load section .bss: addr = 0x01003000 size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0000004e .
not load section .debug_info: addr = 0x00000000 size = 0x00000187 .
not load section .debug_line: addr = 0x00000000 size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000 size = 0x00000020 .
In SIM_start, Set PC to the address 0x1000000
(skyeye)run
(running)stop
运行上面的命令时,在主机上会显示一个xterm的窗口,窗口标题为"uart_instance",在上面显示程序输出。
另外可以输入”info regitsters“ 查看当前的寄存器的数值,对当前PC之后的指令进行,进行反汇编(disassemble 0x100004c)。
- skyeye testsuite中arm_hello运行
- skyeye arm_hello分析
- Skyeye中运行操作系统
- 在skyeye中运行ucos
- Skyeye-testsuite测试包的使用
- Skyeye-testsuite测试包的使用
- uClinux在skyeye中运行出现的问题
- Junit中TestSuite的使用
- 使用skyeye运行ucos
- skyeye运行uClinux
- skyeye运行vmlinux
- 运行多个TestCase中的testsuite
- FreeBSD 下 skyeye 运行 rtems
- 在skyeye上运行uclinux
- skyeye运行时段错误问题
- JAVA JUNIT中有关TestSuite的使用
- SKyeye中运行uclinux之我的尝试和失败-------最终成功
- skyeye
- JavaScript 解析读取XML文档
- 百度能否抢占移动搜索市场话语权?
- 在Delphi中,字符串查找 函数
- SWT之GridLayout使用详解
- 看看日本人对汉字的研究
- skyeye testsuite中arm_hello运行
- wxWidgets界面设计工具DialogBlocks
- MySQL的c调用
- 新手
- 提高网站Alexa排名的正确方法
- 数据库设计范式精彩总结
- 【.Net Micro Framework PortingKit – 13】LCD驱动开发
- 英语每日学1
- 如何处理客户端连接数据库?