搜索产品 minitos开源嵌入式操作系统 minitos Windows minitos Menu
首 页 产品展厅 精品文章 嵌入式资讯 下载中心 论坛 嵌入式城市 技术应用
 收藏社区
 免费注册
 用户登陆
 帮助中心
社区首页 业界新闻 精品文章 下载中心 minitos2站 在线学习 论坛 嵌入式提问交流学习 供求信息 留言 minitos操作系统 测试
今天是:2010年9月9日 星期四   您现在位于: miniTOS生活社区 →  skyeye安装运行的详细方法--step by step
谷歌搜本站效率更高
skyeye安装运行的详细方法--step by step
2005年4月5日  作者:  发布人:专业嵌入式网站      本文已被浏览 20691 次
skyeye安装运行的详细方法--step by step   

--------------------------------------------------------------------------------
 
一.准备工作 
1.运行平台:红旗Linux 4.0 (等同于RedHat9) 
2.从http://gro.clinux.org/projects/skyeye下载skyeye-0.8.6.tar.bz2和uclinux4skyeye-v0.2.3.tgz(网络支持); 
3.从http://159.226.40.150/lumit/resources/uClinux下载uClinux-dist-20030522.tar.gz(20040408没有试过); 
进入Toolchain/下下载交叉编译器arm-elf-tools-20030314.sh; 
二.安装 
1将下载的4个数据包copy至安装目录(这里假设为/embed),进入embed:cd /embed 
2.安装skyeye: 
2.1 解压skyeye:tar -jxvf skyeye-0.8.6.tar.bz2 
2.2 进入skyeye: cd skyeye 
2.3 预处理: ./configure --target=arm-elf --prefix=/usr/local 
2.4 编译安装: make;make install 
3.安装arm-elf-tools: 
2.1 如果arm-elf-tools-20030314.sh没有执行权限,则增加执行权限; 
2.2 安装: /arm-elf-tools-20030314.sh 
4.安装uclinux: 
2.1 解压: tar -zxvf uClinux-dist-20030522.tar.gz 
2.2 如果需要网络支持,则需要进行如下操作: 
2.2.1 解压uclinux4skyeye-v0.2.3.tgz:tar -zxvf uclinux4skyeye-v0.2.3.tgz 
2.2.2 进入uclinux4skyeye-v0.2.3\uclinux4skyeye目录,按照installguide.txt中的说明,再进入example\uclinux-dist-20030522目录, 
将linux-2.4.x__drivers__net目录下的所有文件copy到已解开的uClinux-dist目录下(uClinux-dist/linux-2.4.x/drivers/net)覆盖 
同名文件;同样将vendors__GDB__ARMulator下的所有文件copy到uClinux-dist/vendors/GDB/ARMulator覆盖同名文件; 
2.3 进入解压出的目录: cd uClinux-dist 
2.4 配置uclinux: 
2.4.1 执行:./make menuconfig 
2.4.2 选择模拟平台: Target Platform Selection-->Vendor/Product->GDB/ARMulator; 
2.4.3 如果需要网络支持(执行了2.2的操作),则需要选择Customize Kernel Settings; 
2.4.4 退出,保存; 
2.4.5 如果选择了Customize Kernel Settings(执行了2.4.3操作),则可以继续配置uclinux以支持网络: 
Network device support->Ethernet (10 or 100Mbit):' SkyEye ne2k ethernet support(for ARMUlator)'; 
退出,保存; 
2.4.6 编译生成:make dep;make 
5.配置: 
5.1 在工作目录(/embed/uClinux-dist)下建立专门用于基于AT91X40开发板的SkyEye硬件配置文件skyeye.conf: 
cpu: arm7tdmi 
mach: at91 
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000 
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000 
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./boot.rom 
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000 
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000 
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000 
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000 
net: state=on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1 
5.2 建立文件系统的链接,需要在目录/embed/uClinux-dist目录下执行如下命令: 
#ln -s images/romfs.img boot.rom 
6.运行: 
6.1 在/embed/uClinux-dist目录下:/usr/local/bin/skyeye linux-2.4.x/linux 
6.2 在skyeye环境下: 
tar sim 
... 
load 
... 
run 
7.后记: 
7.1 uclinux运行以后,uclinux中的eth0的IP是10.0.0.2(可修改/embed/uClinux-dis/vendors/GDB/ARMulator/rc文件改变); 
也可在uclinux中手动运行ifconfig命令修改:/bin/ifconfig eth0 10.0.0.x;此时即可ping通10.0.0.1; 
7.2 eth0没没出现在/dev下,我不知道是我配置的问题还是本来就不会现,如果您知道,请告诉我; 
 
 发布人:minitos
 [ → 我要发表文章 ]
上篇文章:cygwin下安装arm-elf-gcc一种简便方法
下篇文章:arm 嵌入式LINUX启动过程(1)
→ 主题所属分类:  精品文章 → 技术文章 → 『关闭窗口』
 热门文章
 
 skyeye安装运行的详细方法--step by step (20692)
 cygwin下安装arm-elf-gcc一种简便方法 (5876)
 充电器设计及镍氢电池充电方法2 (3373)
 镍氢电池充电方法及充电器(二) (2545)
 Instruction Set: Analysis of SH66x... (2309)
 FAT16文件系统格式详细说明 (2132)
 充电器设计及镍氢电池充电方法1 (1930)
 使用GDB-gnu debug (1689)
 单片机数码管显示驱动设计 (1678)
 一步一步的制作 arm-linux 交叉编译环境 (1577)
 最近更新
 
 QTE 4安装方法 (6月3日)
 真是好文,fc6安装qte,共享 (6月3日)
 超低价部分原装IGBT销售 (6月2日)
 Protel99SE快捷键大全 (6月2日)
 Protel 99 SE的功能特性 (6月2日)
 Protel 99 SE的系统组成 (6月2日)
 设计PCB时抗静电放电(ESD)的方法 (6月2日)
 模拟集成电路 (6月2日)
 数字集成电路 (6月2日)
 语音集成电路 (6月2日)
 文章搜索
 
搜索选项:            
  → 评论内容 (点击查看)
姓名:name  E-mail:iofhgnrt@ptkvyizy.co  发表时间:2010年9月6日 19时51分
评论内容:off by the U.S. military in time of crisis onboard Inertial Navigation System INS or groundbased navigation aids are still required for backup.,
姓名:name  E-mail:atjxhret@kfuiolcw.co  发表时间:2010年9月6日 19时51分
评论内容:It was founded on November   with government assistance and operated airships manufactured by The Zeppelin Corporation.,
姓名:name  E-mail:clswlokb@knyzbscc.co  发表时间:2010年9月6日 19时51分
评论内容:owned and are therefore governed by microeconomic principles in order to maximize shareholder profit.,
姓名:name  E-mail:hmagvxeu@neirepdo.co  发表时间:2010年9月6日 17时53分
评论内容:lethality rate of attacks on aircraft and the ability to use a hijacked airplane as a lethal weapon provide an alluring target for terrorism.,
姓名:name  E-mail:unxgtgey@jrgpgdws.co  发表时间:2010年9月6日 17时53分
评论内容:French security has been stepped up since terrorist attacks in France in . In response France established the Vigipirate program. ,
姓名:name  E-mail:ftuoxlre@fcukogec.co  发表时间:2010年9月6日 17时53分
评论内容:FAA ordered its inspectors March   to reconfirm that airlines are complying with federal rules after ,
姓名:name  E-mail:gjrglvha@wecmohcx.co  发表时间:2010年9月6日 15时56分
评论内容:space transportation a function begun eleven years before by an office within DOT headquarters. ,
姓名:name  E-mail:xgaiitlv@nuhgbmkx.co  发表时间:2010年9月6日 15时56分
评论内容:Soriano in  upon the advice of General Douglas McArthur and later merged with newly formed Philippine Airlines with PAL as the surviving entity.,
姓名:name  E-mail:hfghopht@mgkdvsrh.co  发表时间:2010年9月6日 15时56分
评论内容:Airspace categorised as TLZ is similar to airspace experiencing severe weather conditions in that the restrictions are expected to be of a short,
姓名:name  E-mail:uvdnsbee@iajdtayq.co  发表时间:2010年9月6日 13时58分
评论内容:The failure to close a cargo door properly on Turkish Airlines Flight  in  resulted in the loss of the aircraft  ,
  → 发表我的评论
您的姓名:  您的E-mail:

评论内容:
发表评论:  
娱乐中心 ┋ 关于本站 ┋ 站内短信 ┋ 广告服务 ┋ 友情链接 ┋ 与我在线 ┋ 版权声明  TOP
本站总访问量: 196294 人次 ┋ 最高峰 589 人在线 ┋ 当前有 9 人在线
专业嵌入式网站 [完整型] ┋页面执行时间:187.500 毫秒
Copyright © 2002-2005 minitos.com All Rights Reserved
友情链接: embed嵌入开发网 ┋ 嵌入式提问网 ┋ 嵌入式资料网 ┋ 网络站 ┋ 论坛 ┋