嵌入式开发环境搭建实验.docx
《嵌入式开发环境搭建实验.docx》由会员分享,可在线阅读,更多相关《嵌入式开发环境搭建实验.docx(23页珍藏版)》请在三一办公上搜索。
1、合肥学院嵌入式系统设计实验报告(20 13 - 20旦第2学期)专业: 实验项目:嵌入式开发环境搭建实验实验时间:2014 年 4 月 28 日实验成员:指导老师:电子信息与电气工程系2014年4月制一、实验目的1、了解嵌入式开发的软件工具2、虚拟机VM的安装3、ubuntu操作系统的安装4、Linux 下配置 TFTP5、配置NFS服务6、实现简单应用程序开发二、实验内容首先安装VMware虚拟机,一步一步,比较简单,接着安装ubuntu-10.04.4操作系统环 境,搭建嵌入式交叉编译环境,配置TFTP服务和NFS服务,最后编写简单应用程序,并 且会使用Makefile进行简化,尤其其对于
2、大程序的优越性。三、实验设备硬件:1、pc机软件:1、虚拟机(VMware)2、ARM 的操作系统(ubuntu-10.04.4)四、实验过程1、虚拟机的安装下载虚拟机软件一步一步安装:VMvi/are Worlcstation SetupEnter License Keyoptional You can enter this information later.LiCEnse Key: (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX)ZY3 8 A-AD D 8 7-H 84 RP-QZY7X-XPAZFEnter Skip VMwarrWorkstation 7.1Rests
3、 rt NowRestar t LaterVM/i/are Worlcstation SetupSetup Wizard CompleteThe setup wizard needs to restart your system in order to complete its operationSj dick Restart Now to initiate a reboot or R&start Later if you plan to restart your system later.我们选择了自定义安装,对一些设置进行了自定义:New Virtual Machine WizardWel
4、come to the New Virtual Machine WizardWhat type af ccnfiguratian do you want?Typical (recommended)Create a Workstation 6 .-5-7. k virtual machine in a few easy steps.a Custom (aduanoed)VMware,Workstation 71Create a virtual machine with advanced optionsT such 己w 日 SCSI controller typ巳 virtual disk ty
5、pe snd carnpatibility with older VMware products. Cancel同意我们也设置了密码,有利于安全:以上使我们的操作系统配置,由于不会有很多的内存需要,我们还是多设置了一些。Ubuntu -WorkrtatianFite Edk 站 a W Teom Windown HHp3JWdM 占 r* PowrEd OnA 9 Fawa ite-t3 Ubuntu - Vivi ware Workstali onFile Edit Vi VM TeamWindows Help juLJn 即敏聆口重国有度回整身毋&dflbsrx |疗 Ham* X7 修
6、Poiwed Oflj3 UbuntuB V FavoriUis Vulndows XP Professior j3 UbuntuubuntuinA ddcm the virtuisl screen M?end kegckeE 繇 y Install ie ire taino Lbum.沙:t.切此YZI 3 I|T口uct irrpLit io thd VMdick inside 口r p=Fw Obrl+G.系统配置过程中:E-io- 5FJ3Sa Hujl-fuel futDhsE_v - E-J=d.lD! 14. -HJ 刊Ff 况44 -EQ3 =n w y3ZMZ-L.E 挡 -
7、8H US aMmd MM-=一 J53SSS6W5cldx 金 F.E3sE-tEu-山fl5 4Lu is #日|国-屈nlnlQI-asQ. 一G- .- aTT 昌 M is 主Tr nIEIIJInml一f.ujh4日EE-I。KS蝶根mmunqD101-Tri寸ISHl4I!ia - -32-Laar Jr-is! 1d+-q-lud Ju FPXI -ll.d-H 口二 nd.EEV.LF 口I2、搭建嵌入式交叉编译环境:gwhuigiiMHintu:manjefugubtintuALftficaLoFB Places SEfiemmdo root1 for deftaiLft.
8、Inaicuehubmtu.-S cd/Docuits-basA- EfDMsantu No MKh tile or directoryI Hajouetnubwi u j -S LtID:-: .nt-s uBnpLes-.des-ktop P,:nawh照wmi-q L D&niwt5-prnljiMi-c:C4-4-3-tjir.fz-jehLjtKPtu- -4 tar xvrf amWindD 巧T, r?tUE In 四LT rnmjitr.Ubunlu - VM-.jre.-LslalioflmnuM! pclpr nitvriecy pr*ss CH*Al|-的 UbwluB
9、FzwriteSft WMow 附 We航毋Ub如i is:殖商皿Sidaberx IPlaces t喔 Applications Places System %门3 0 0 maxuehuubuntu:-W 4】 通 Tue Apr 29, 8:32 PM。. ejhlieIiu 。函 maxuehuE Desktop_ File SystemI 回 Network一 Floppy DriveTrashE DocumentsB Music_a| PicturesIS Videos 或 DownloadsFile Edit View Terminal Help opt/FriendlyARH/
10、tDalschain/4.4.3/sliare/doc7pwl./pwl-user O.T-html/ftYZnode.png opt/FriendlyARH/tD0lsch0ir/4.4r3/sliare/dcic/pwUpwl-iJser-Q,7-htnf.l/cla55Pariia_Wat c hd og_L ibra ry_l_lPen din g_E lemen t - htnl 0pt/FriendlyARH/tD0L5chain/4.4 F 3/ sti a re/d oc /pwL/ p wl - u se r - 0.7 - h tml/c la ss Pa rma_Watc
11、hdog_Library_l_lWatchdog, htmlopt/F riendLyAFJ1/t0alschain/4.4一 3/share/dac/pwl/pwl-user-0.7-html/pages.htnl opt/F riendlyARJI/tDalschain/4.4.3/share/dQc/pwl/pwl-user-0.7 - h tml/c la ss Pa ma Wat chdng_Libra ry_l_lHandler. htmlopt/FriendLyAFJl/inalschain/4.4一3/share/dac/pwl/pwl-user-O.T-html/gaph l
12、egend.pn gopt/F riendLyAFJ1/toal5chain/4.4.3/share/dac/pwl/pwl-user-0.7 - h tml/c la ss Pa r ma Wat chdog Library l_lHandler _Furction-members.htmlopt/F r 1 e nd ly ARfl/t do Is c ha in /4.4.3/ghare/dcK7ptfl7pwl-iiser-o. 7-htnfil/classPama Wat chdog Library 1 lDoubly Linked object, htmlopt/F rieidly
13、ARMHD0chain/,4. L s/share/doc/pwl/pwl-user-o .7-htiril/classPama Wat chdog Library l_inandler Flag.litirlopt/F riendlyARM/tDalschain/. L 3/sfiare/doc/pwl/pwl-user-0 .T-html/classPama Wat c hd ogL Lb ra rv_l_lE List-neinbers.h tmlopt/FriendlyARii/toalschain/4. .3/sfiare/doc/pwUpwl-user-0.7-htriUdoxyg
14、en. png opt/FriendLyARM/tDalschain/ .1.3/sfiare/doc/pwl/fdl.ps.gz opt/FriendlyAFJl/tDalschain/ .3/share/doc/pwUpwl-user-0.7.ps.gzopt/FriendlyARM/tDalschain/ .4.3/sfiare/doc/pwl;gpl.txtopt/FriendLyARM/toalschain/ .4.3/sfiare/doc/|pwV/README opt/FriendlyARM/tDalschaLn/4.4.3/sliare/doc/pwL/pwl-user O.T
15、.pdt opt/FriendlyARM/tDalschain/4.4.3/sfiare/doc/pwL;gpl.ps.gz opt/FriendlyARH/tDalschain/4.4.3/3liare/acLocaUopt/F riend LyARN Ado la chain /4.4.3/ sha re/ncl ocd 1/ ppl_c k m4opt/FriendlyARM/tD0lsch0ir/4.4r3/5fiare/acLocaUppl.i4 msxuehuubuntu;smasuehiu - File Browser 也maxuehuuburrtu:-Plain Text t
16、Tab Width: B t Ln L Col 1INS应用程序 位暨 系琉*) ? 雨* 邕5用日星期六上午5:33 处 .2砒 03 Q Q rootubuntu: *文件(F)编it(E)查看(V)堵端(T)蒂助(H)roatPubuntu:fi arm-1inux-gcc -vUsing built-in specs.Target: arm-nDne-liriux-gnueabiConfigured with: /opt/FriendlyARM/mini?44D/buiild-tQQlschain/working/src/gcc-4l .4.3/configure - -build=i
17、3B6- build_redhat-Linux-gnu -ha&t-i366-build_redhat- ll inux-gnu -target=arm-none-Linux-gnueabi -prefix=/opt/FriendlyARMHoDlschainl /4. 4.3 -with-sysroot=/opt/FriendlyARB/toDlchain/A. 4. S/arin-none-lLnuK-gnueabl i/5ys- root -enable-languages=c, C+ - -disable-mjltikib -with-arch=anrv41 - -1 with-cpu
18、=ar(i9?0t -with-tun&=arm920t -with-flaat=soft -with-pkgversion=ctngl -1.6.1 - -disable-sjIj-exceptions -enable-_cxa_atexit - -with-gmp=/opt/Friendl 1/ARM/toolschainM. 4.5 - -with-mpf r=/opt/rrienidlyARri/toolschain/4.4.5 -with-pl pl=/opt/FriendlyAFIM/taolschain/4.4一3 -with-clDog=opt/FriendlyARM/tDol
19、schainl /4.4.3 -with- mpc=/opt/ FriendlyARJI/toQl.schain/4.4.3 -with-local-prefix-/opt, FriendlyARJ1/tDolschain/4.4.3/arm-none-Linux-gnueabi/sys-root -disable-nls -I -enable-threads=posix -enable-symvers=gnu -enable-c99 -enable-long-long -I enable-target-op tspaceThread model: pasixgcc version 4.4.3
20、 (ctng-1.6.1) rooteubuntu: t |03 rootubuntu:3、Linux 下配置 TFTP:4胃应用程序位置系统, 2俺$可 m明3日星期六上午5:35 a O nxt O字 rootubuntu:-文件(F)蝙崩E)查看(V)终端(T)帮助(H)enable-ta rget- optspaceThread model: posixgcc version 4.4.3 (ctng-1.6.1)rootubuntu: S sudD apt-get install tftp-tipa tftpd-hpa正在垓取软林包列表,完成正在分析软性包的赦桢关系耕正在诙取状态信息.
21、,完成下列软件包是自动安技的并且现在不需蚩了:linux-headers-2.B.32-58 linux-headers-2.6.32-58-generic使用apt-get autoremove来删除它们建议安装的轼件包:syslinux-comiTion下列【新】软件包将被安装:tftp-hpa tftpd-hpa升税了 0个轼:件包,新安装了 2个较杵包,要卸载a个软件包,有0个软件包未被骨SU需要下就71-4kB的软件包n解压端后会消耕掉2&6kB的额外空间。【警告1 :下列软性包不能诩过股证!tftp-hpa tftpd-hpa|不轮验证就安装这些软杵包吗? WN 回 rDotubu
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 嵌入式 开发 环境 搭建 实验
链接地址:https://www.31ppt.com/p-5179263.html