资源描述:
《嵌入式linux操作系统Chapter 2.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter2.BasicConceptsAswesawinthepreviouschapter,thereisarichvarietyofembeddedLinuxsystems.ThereareneverthelessafewkeycharacteristicsthatapplyuniformlytomostembeddedLinuxsystems.Thepurposeofthischapteristopresenttoyouthebasicconceptsandissuesthatyouarelikelytoencounterwhendevelopinganysortofembed
2、dedLinuxsystem.Manyofthesubjectsintroducedherearediscussedinfargreaterdetailinotherchapters.Theyareintroducedheretogiveyouabettersenseofhowtheentiresystemcomestogether.ThechapterstartsbydiscussingthetypesofhostsmostcommonlyusedfordevelopingembeddedLinuxsystems,thetypesofhost/targetdevelopmentsetup
3、s,andthetypesofhost/targetdebugsetups.ThesesectionsaremeanttohelpyouselectthebestenvironmentfordevelopingembeddedLinuxsystemsor,iftheenvironmentisalreadyspecifiedandcan'tbechanged,understandhowyourparticularsetupwillinfluencetherestofyourdevelopmenteffort.Thechapterthenpresentsdetailsofthestructur
4、ecommonlyfoundinmostembeddedLinuxsystems.IpresentthegenericarchitectureofanembeddedLinuxsystem,Iexplainthesystemstartup,thetypesofbootconfigurations,andthetypicalsystemmemorylayout.2.1TypesofHostsInChapter3,IcoverthehardwaremostcommonlyfoundinembeddedLinuxtargets.Eachpossibletargetsystemcanbedevel
5、opedbyawidevarietyofhosts.Inthefollowing,Idiscussthetypesofhostsmostcommonlyused,theirparticulars,andhoweasyitistodevelopembeddedLinuxsystemsusingthem.2.1.1LinuxWorkstationThisisthemostcommontypeofdevelopmenthostforembeddedLinuxsystems.ItisalsotheoneIrecommend,becausedevelopingembeddedLinuxsystems
6、requiresthatyoubecomequitefamiliarwithLinuxandthereisnobetterwayofdoingthisthanusingitforyoureverydaywork.AstandardPCisyourmostlikelyLinuxworkstation.Donotforget,nonetheless,thatLinuxrunsonavarietyofhardwareandthatyouarenotlimitedtousingaPC.I,forexample,regularlyuseanApplePowerBookrunningLinuxform
7、yembeddedwork.ItlacksanRS232serialport,butthisiseasilyfixedbyaddingaUSBserialdongle.YoumayuseanyofthestandardLinuxdistributionssuchasDebian,Mandrake,RedHat,SuSE,orYellowDogonyourhost.Infact,Iassumeyouarerunningac