|
谷歌搜本站效率更高
| 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下,我不知道是我配置的问题还是本来就不会现,如果您知道,请告诉我;   
|
|
|
|
|
|
|
| → 评论内容 (点击查看)
|
|
| 姓名: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 , |
|
|
|
| → 发表我的评论 |
|
|
|
|
|
|
|
| |