嵌入式 Linux 应用:概述 ---毕业设计外文翻译

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

毕业设计外文资料翻译(译文)题目名称:EmbeddedLinuxapplications:Anoverview学院:计算机科学技术专业年级:计算机科学与技术07级学生姓名:xx班级学号:1班16号指导教师:xx二○一一年四月十日译文题目:EmbeddedLinuxapplications:Anoverview原文题目:嵌入式Linux应用:概述原文出处:Internetsource::AnoverviewLinuxnowspansthespectrumofcomputingapplications,includingIBM'stinyLinuxwristwatch,hand-helddevices(PDAsandcellphones),Internetappliances,thinclients,firewalls,industrialrobotics,telephonyinfrastructureequipment,andevencluster-basedsupercomputers.Let'stakealookatwhatLinuxhastoofferasanembeddedsystem,andwhyit'sthemostattractiveoptioncurrentlyavailable.One.EmergenceofembeddedsystemsThecomputersusedtocontrolequipment,otherwiseknownasembeddedsystems,havebeenaroundforaboutaslongascomputersthemselves.Theywerefirstusedbackinthelate1960sincommunicationstocontrolelectromechanicaltelephoneswitches.Asthecomputerindustryhasmovedtowardeversmallersystemsoverthepastdecadeorso,embeddedsystemshavemovedalongwithit,providingmorecapabilitiesforthesetinymachines.Increasingly,theseembeddedsystemsneedtobeconnectedtosomesortofnetwork,andthusrequireanetworkingstack,whichincreasesthecomplexitylevelandrequiresmorememoryandinterfaces,aswellas,youguessedit,theservicesofanoperatingsystem.Off-the-shelfoperatingsystemsforembeddedsystemsbegantoappearinthelate1970s,andtodayseveraldozenviableoptionsareavailable.Outofthese,afewmajorplayershaveemerged,suchasVxWorks,pSOS,Neculeus,andWindowsCE.Two.Advantages/disadvantagesofusingLinuxforyourembeddedsystemAlthoughmostLinuxsystemsrunonPCplatforms,Linuxcanalsobeareliableworkhorseforembeddedsystems.Thepopularback-to-basicsapproachofLinux,whichmakesiteasierandmoreflexibletoinstallandadministerthanUNIX,isanaddedadvantageforUNIXguruswhoalreadyappreciatetheoperatingsystembecauseithasmanyofthesamecommandsandprogramminginterfacesastraditionalUNIX.Thetypicalshrink-wrappedLinuxsystemhasbeenpackagedtorunonaPC,withaharddiskandtonsofmemory,muchofwhichisnotneededonanembeddedsystem.AfullyfeaturedLinuxkernelrequiresabout1MBofmemory.However,theLinuxmicro-kernelactuallyconsumesverylittleofthismemory,only100KonaPentiumCPU,includingvirtualmemoryandallcoreoperatingsystemfunctions.Withthenetworking2stackandbasicutilities,acompleteLinuxsystemrunsquitenicelyin500KofmemoryonanIntel386microprocessor,withan8-bitbus(SX).Becausethememoryrequiredisoftendictatedbytheapplicationsneeded,suchasaWebserverorSNMPagent,aLinuxsystemcanactuallybeadaptedtoworkwithaslittleas256KBROMand512KBRAM.Soit'salightweightoperatingsystemtobringtotheembeddedmarket.AnotherbenefitofusinganopensourceoperatingsystemlikeEmbeddedLinuxoveratraditionalreal-timeoperatingsystem(RTOS),isthattheLinuxdevelopmentcommunitytendstosupportnewIPandotherprotocolsfasterthanRTOSvendorsdo.Forexample,moredevicedrivers,suchasnetworkinterfacecard(NIC)driversandparallelandserialportdrivers,areavailableforLinuxthanforcommercialoperatingsystems.ThecoreLinuxoperatingsystemitselfhasafairlysimplemicro-kernelarchitecture.Networkingandfilesystemsarelayeredontopofthemicro-kernelinmodularfashion.Driversandotherfeaturescanbeeithercompiledinoraddedtothekernelatrun-timeasloadablemodules.Thisprovidesahighlymodularbuilding-blockapproachtoconstructingacustomembeddablesystem,whichtypicallyusesacombinationofcustomdriversandapplicationprogramstoprovidetheaddedfunctionality.Anembeddedsystemalsooftenrequiresgenericcapabilities,which,inordertoavoidre-inventingthewheel,arebuiltwithoff-the-shelfprogramsanddrivers,manyofwhichareavailableforcommonperipheralsandapplications.Linuxcanrunonmostmicroprocessorswithawiderangeofperipheralsandhasareadyinventoryofoff-the-shelfapplications.Linuxisalsowell-suitedforembeddedInternetdevices,becauseofitssupportofmultiprocessorsystems,whichlendsitscalability.Thiscapabilitygivesadesignertheoptionofrunningareal-timeapplicationonadualprocessorsystem,increasingtotalprocessingpower.SoyoucanrunaLinuxsystemononeprocessorwhilerunningaGUI,forexample,simultaneouslyonanotherprocessor.TheonedisadvantagetorunningLinuxonanembeddedsystemisthattheLinuxarchitectureprovidesreal-timeperformancethroughtheadditionofreal-timesoftwaremodulesthatruninthekernelspace,theportionoftheoperatingsystemthatimplementstheschedulingpolicy,hardware-interruptsexceptionsandprogramexecution.Sincethesereal-timesoftwaremodulesruninthekernelspace,acodeerrorcanimpacttheentiresystem'sreliabilitybycrashingtheoperatingsystem,whichcanbeaveryseriousvulnerabilityforreal-timeapplications.Anoff-the-shelfRTOS,ontheotherhand,isdesignedfromthegroundupforreal-timeperformance,andprovidesreliabilitythroughallocatingcertainprocessesahigherprioritythanotherswhenlaunchedbyauserasopposedtobysystem-levelprocesses.Processesareidentifiedbytheoperatingsystemasprogramsthatexecutein3memoryorontheharddrive.TheyareassignedaprocessIDoranumericalidentifiersothattheoperatingsystemmaykeeptrackoftheprogramscurrentlyexecutingandoftheirassociatedprioritylevels.Suchanapproachensuresahigherreliability(predictability)withtheRTOStimethanLinuxiscapa

1 / 26
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功