Outline SkyEye简介 SkyEye的安装 ● SkyEye的安装 ●试用skyeye ●下载skyeye源代码,编译并安装 居动Lix执行自己的程序 编译1i1 小结和作业 4口4四1是14P刀00 陈香兰(xlanchenoustc,edu,cn)(升界丸应 收人式择作系统 November 28.2014 6/46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Outline . 1. SkyEye简介 .2 SkyEye的安装 SkyEye的安装 试用skyeye 下载skyeye源代码,编译并安装 .3 启动Linux执行自己的程序 4. 编译linux 5. 小结和作业 陈香兰(xlanchen@ustc.edu.cn) (计算机应用教研室@计算机学院嵌入式系统实验室 嵌入式操作系统 @苏州研究院中国科学技术大学Fall 2014) November 28, 2014 6 / 46
Outline SkyEye简个 ②SkyEye的安装 ●SkyEye的安装 o试用skyeye 。下载skyeye源代码,编译并安装 。名动Lux执行自己的程序 。添加he11o到uc1inux的根文件系统中 。在ArmLinux中运行hel1o @编译1inu o编译armlinux o编举CLinu 小结和作业 4口4四1是14P刀00 陈香兰(xlanchenoustc,ed加.cn)(计年丸应 收人式择作系统 November 28.2014 7 /46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Outline . 1. SkyEye简介 .2 SkyEye的安装 SkyEye的安装 试用skyeye 下载skyeye源代码,编译并安装 .3 启动Linux执行自己的程序 添加hello到uclinux的根文件系统中 在ArmLinux中运行hello 4. 编译linux 编译armlinux 编译µCLinux 5. 小结和作业 陈香兰(xlanchen@ustc.edu.cn) (计算机应用教研室@计算机学院嵌入式系统实验室 嵌入式操作系统 @苏州研究院中国科学技术大学Fall 2014) November 28, 2014 7 / 46
SkyEye的安装 ●Linux操作系统 ~当前使用的主机操作系统是ubuntu-14.04或者Kubuntu-14.04 ubuntu-14.04自帝的编译器是gcc-4.8.2 Windows+MingWcygwin ·请自行摸索 ●在Kubuntu上安装SkyEye有两种安装方法 ①直接安装二进制代码 sudo apt-get install skyeye ©下载源代码,编译并安装 4口4四1是14P,刀00 陈香兰(xlanchenoustc,edu,cn)(计异机立 长人式操作香统 November 28.2014 8/46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SkyEye的安装 1. Linux操作系统 ▶ 当前使用的主机操作系统是ubuntu-14.04或者Kubuntu-14.04 ▶ ubuntu-14.04自带的编译器是gcc-4.8.2 2. Windows+MingW或cygwin ▶ 请自行摸索 在Kubuntu上安装SkyEye有两种安装方法 1. 直接安装二进制代码 sudo apt − get install skyeye 2. 下载源代码,编译并安装 陈香兰(xlanchen@ustc.edu.cn) (计算机应用教研室@计算机学院嵌入式系统实验室 嵌入式操作系统 @苏州研究院中国科学技术大学Fall 2014) November 28, 2014 8 / 46
在ubuntu-14.04上直接安装skyeye ●在ubuntu-14.04中,使用命令 sudo apt-get install skyeye 安装skyeye-1.2.5,版本有些老o ●使用 sky tab 可以出现完整的skyeye命令 skyeye -h SkyEye 1.2.5 Bug report:skyeye-developerolists.gro.clinux.org Usage:skyeye [options]-e program [program args] Default mode is STANDALONE mode Options: -e exec-file the (ELF executable format)kernel file name. -1 load_address,load_address_mask Load ELF file to another address,not its entry. -b specify the data type is big endian when non"-e"option. -d in GDB Server mode (can be connected by GDB). -c config-file the skyeye configure file name. -h The SkyEye command options,and ARCHs and CPUs simulated. 东奇兰(xlanchenoustc,ed加,cn)(计并款 收人式推作系蛇 November 28.2014 9/46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 在ubuntu-14.04上直接安装skyeye 在ubuntu-14.04中,使用命令 sudo apt − get install skyeye 安装skyeye-1.2.5,版本有些老。 使用 sky < tab > 可以出现完整的skyeye命令 . skyeye -h . . SkyEye 1.2.5 Bug report: skyeye-developer@lists.gro.clinux.org Usage: skyeye [options] -e program [program args] Default mode is STANDALONE mode —————————————————————— Options: -e exec-file the (ELF executable format)kernel file name. -l load_address,load_address_mask Load ELF file to another address, not its entry. -b specify the data type is big endian when non ”-e” option. -d in GDB Server mode (can be connected by GDB). -c config-file the skyeye configure file name. -h The SkyEye command options, and ARCHs and CPUs simulated. 陈香兰( —————————————————————— xlanchen@ustc.edu.cn) (计算机应用教研室@计算机学院嵌入式系统实验室 嵌入式操作系统 @苏州研究院中国科学技术大学Fall 2014) November 28, 2014 9 / 46
在ubuntu-14.04上直接安装skyeye --Architectures and CPUs simulated by SkyEye- -ARM architectures at91 1pc s3c4510b s3c44b0x s3c44b0 s3c3410x ep7312 1h79520 ep9312 cs89712 sa1100 pxa_lubbock pxa_mainstone at91rm92 s3c2410x s3c2440 sharp_1h7a400 ns9750 BlackFin architectures-- bf533 bf537 陈香兰(xlanchenoustc,edu,cn】 (计机应 做人式操作系统 November 28.2014 9/46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 在ubuntu-14.04上直接安装skyeye . . ———– Architectures and CPUs simulated by SkyEye————- ——– ARM architectures ——— at91 lpc s3c4510b s3c44b0x s3c44b0 s3c3410x ep7312 lh79520 ep9312 cs89712 sa1100 pxa_lubbock pxa_mainstone at91rm92 s3c2410x s3c2440 sharp_lh7a400 ns9750 ——– BlackFin architectures —- bf533 bf537 陈香兰(xlanchen@ustc.edu.cn) (计算机应用教研室@计算机学院嵌入式系统实验室 嵌入式操作系统 @苏州研究院中国科学技术大学Fall 2014) November 28, 2014 9 / 46