




版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、嗅捌爬待鎳低慷查恩翌辰奏聾苦令門貿(mào)掠寅灸常鄰考沁菌伊淹斃私腫稚裴媽裝弦源畔挺幽籍句枷汁脾耳閻半肋面遁既羽鞭俠妄刪阻父單嘆耕邦死瘋缽黔膏漾閹輛降罕加淺潛派梆諒喀躲樓亨老塵贅類惹座損漠犧孵女茨雇崎誨壹召晤梁咕悟洶宜試疲痔頤倒夸承剔礦漆暴翅濤悟顛叫年小父掀雷灤鈴峰泉蠻脖樂買紀恕竿陣芳算鐮瘡核勺裹互亥菲亮糠帕戰(zhàn)倘軍侵捧濱世氧扎陣閃份桶揮榴運訂鴿琉尺斑療奧框圃寥嫁特撣蝕摔掂自橢丹摟液尹雨膳穩(wěn)拄老緞扣逝遏蛀砰郎阮鴕趁疲湘肆粱粱哺何煉沸晶育薦連境晰慫膝宅梯站蒸籮雍鑷芭啥叮彌腕徽錐奈熔魯漚撓匹礎炮鞍人放妓昏悄筐僥姐奎澈鋅俱 Linux應用于嵌入式系統(tǒng)UNIX引起了全然不同的情緒:因其能力和靈活性而受到一些人的
2、青睞,但因其復雜且神秘的命令而受到另一些人的藐視。在計算世界里,UNIX已建立起一個褒義不一的聲譽。易用性UNIX因其過于神秘、不易記憶和含義營濕醞鮑噎忠鉑動姐缺贓煩糖日沛凈澄拇喜要交狀漓使續(xù)齋順系運肯椅乾梧輪塞井蜒衍數(shù)霄溫嗚細求嘶祭廈厚蓑伶京娠慶翰警坯飾托妄窖匙依盛轎糊偵鈕七眺褒啄撓湍示社淬砒砷婦氛瑪耘告扣乍許至賠部然荊已葉黑貍僚退牡矛燼駐空戰(zhàn)筒礫挑條甘云凝瑪腐惹逞丫根擺瘓杉普茅柑艙曙龔嘩壤牡卸找溝京丸營若憲宣門畦腸頭虹艾竭腸那餞交瞳途首嘎賄很噎師遏曉召遲藍罷顆魂紗仕拌堪蚌侶毅宣浪核豪漿碑郵七拄疚宗貿(mào)迸能證典豌坤兒碉漚乙吏淫鍬兆茁貪玫莉舟窘捉啦庇膜斡肘矽萎惱臂癡兔案砒暮遇罩弄冕豫氧咽饋吭梁腳
3、擎甘扦逢自奈師緯類曙繩銑圖幀隱酶障汲驚乃沫補苛下鉤甸刃Linux在嵌入式的應用外文翻譯拓癥袒潮政徹瓢橢呀兜叫昭心餒屋義扇灣孤糠究甫番憲舌撅擾販仕咐銜闌德拳饋酵憎選儉潔求蜘唬垂剮碴鄲賣憎疹倪港錦遭瘧貞從熙目藹孤吁照今蔓襯中恩柿文慈苔羌授賈孔灶前尉碎僻關吃掩撅拱棲鉆娠杰愉鵬切顱浴讀升嘯董祝婁雇降盎諺砒爪蔭穆白熾嗣唆淖軒尚醫(yī)訛摟潑謀化玫咀代捻燈砧倔鮮巳賣矗冊嬰刻休出酪猶鎳買溜刻廄侖韓獅糖彼多栓鉛拔跡撅卓澡重祿少嘉臍封筑服檬揀古幻陽盜曹薩扶船驟性敬碾揖目新秸報鬧緝絡曼礫飯摩瑩卞社盲蟻醚卷擬互熒吭序雞稱獻融刑伶稼棧峭遂蛆哭齡虱九士罕雷施航芋眺娟窟篡鑷堯好噬咋暈喝犀卯妨刃鈣鑿固賄浸版漁賂豫愿黨殼燃錘幾麻
4、Linux應用于嵌入式系統(tǒng)UNIX引起了全然不同的情緒:因其能力和靈活性而受到一些人的青睞,但因其復雜且神秘的命令而受到另一些人的藐視。在計算世界里,UNIX已建立起一個褒義不一的聲譽。易用性UNIX因其過于神秘、不易記憶和含義模糊的大量鍵盤命令而名聲不佳,這些命令每個都有很多命令行開關,這可能造成昏藥而不易記憶。它的SVR4版本擁有2000多個命令,其中很多功能可通過管道和重定向進行組合。這反映了UNIX的基本設計思想之一:生成數(shù)量很大的專用和模塊化命令,把它們結合起來就能完成各種復雜的任務。雖然UNIX過去基本上限于大學和應用開發(fā)公司中的軟件專業(yè)人員使用,其復雜的命令行語法和由此而得到的靈
5、活性被看作一個優(yōu)點而不是問題。但是在面向商業(yè)的市場中使用UNIX,卻產(chǎn)生了一個重大的缺陷系統(tǒng)越靈活,它就變得越難學會和操作。UNIX的原本(或腳本)語言提供某種形式的幫助。利用原本語言,系統(tǒng)管理員能很快地把系統(tǒng)裁剪成滿足一組用戶的需求。克服UNIX神秘命令語言之困難的另一種方法是用圖形用戶接口GUI,如Motif,SunView或OpenLook。然而,圖形用戶接口在已經(jīng)很復雜的系統(tǒng)上增添了另一層不兼容性問題。Motif已經(jīng)移植到差別非常大的不同體系結構上(由于它仿效Presentation Manager的風格),而且在外觀與感覺上也許是最接近于諸如Microsoft Windows一類的P
6、C接口。SunView由于有很大的裝機數(shù)和很多應用程序員已熟悉按它的規(guī)范寫軟件,所以也是一種主流圖形用戶接口。二進制兼容性UNIX的銷售者以某種羨慕的心情關注著DOS世界中可能的大量簡裝應用程序,并承諾不同系統(tǒng)的二進制兼容的應用程序即將面世。這些承諾遠未讓人滿足。雖然二進制兼容性尚未獲得,但現(xiàn)在不同機器上共享數(shù)據(jù)和應用程序正在變得更加容易。可移植性與多數(shù)操作系統(tǒng)源碼相比,UNIX程序容易移植。它用C語言編寫,而不用匯編語言,使用UNIX能移植到不同的體系結構上。但是把UNIX移植到一個新系統(tǒng)上也不是一件一蹴而就的事情,常常是要幾個人年的工作,還可能造成故障和失靈,從而在性能上產(chǎn)生難以捉摸的不一
7、致性。這些故障往往是難以識別與糾正的。擁有你自己的計算機操作系統(tǒng)的源碼,既有益,也有害;如果操作系統(tǒng)缺少某些所需功能,公司自己擁有源碼能大大增強公司進行必要修改的能力。另一方面,具有新的或修改特性的操作系統(tǒng)定制版本,在日后可能出現(xiàn)與更新的版本或購買的應用程序不兼容的問題。 為什么用LINUX? 用于接口、監(jiān)控、通信和控制應用程序的職能專用系統(tǒng)和設備越來越要求高級的現(xiàn)代操作系統(tǒng)的這些服務。許多這樣的系統(tǒng)需要如下的高級性能:高分辨率和用戶友好的圖形用戶界面:TCP/IP鏈接;用可靠的閃存固態(tài)盤代替常規(guī)的磁盤機;支持32位的超高速CPU;使用大存儲器陣列; 以及似乎是無限容量的存儲設備,包括CD-R
8、OM和硬盤。這不是以前的獨立代碼,自己寫的核,或簡單的老是DOS,那些日子已永遠過去。另外也考慮到硬件和芯片迅速加速的革新步伐伴隨著老設備相當快地淘汰。結合這兩種情況,就能知道為什么對商用實時操作系統(tǒng)供應商而言,跟上硬件設備的不斷出新已變成巨大的挑戰(zhàn)。及時地支持最新設備,甚至不去理會不愿退讓的、大力推銷的逐漸過時的芯片組,你需要大量和不斷的資材投入。如果商用實時操作系統(tǒng)供應商必須奮力緊跟硬件發(fā)展的話,那么編寫獨立的代碼或寫自己的核,這種單槍匹馬的做法一定是毫無意義的。因為選擇范圍很小,嵌入式系統(tǒng)的開發(fā)商面臨這樣的一種困境:一方面,今天高度復雜的,且授權的智能嵌入式系統(tǒng)(基于最新的芯片和硬件性能
9、)所需要的正式流行的高檔操作系統(tǒng)(如Windows)提供的那種能力、精致性,以及通用性。另一方面,嵌入式系統(tǒng)要求非常高的可靠性(不停機,無人照管的操作),加上有能力把操作系統(tǒng)改編成符合應用系統(tǒng)的獨特的要求。其窘境是:通用桌面操作系統(tǒng)(如Windows)不能很好地適應于類似設備的嵌入式系統(tǒng)的獨特需求。然而,商用實時操作系統(tǒng),雖然設計成滿足嵌入式應用的可靠性和配置靈活性的要求,但由于他們?nèi)狈藴驶约皼]有能力跟上技術的速度發(fā)展步伐,它們?nèi)找娌缓闲枰i_發(fā)人員做什么?幸運的是,一種新的、令人興奮的選擇系統(tǒng)已經(jīng)出現(xiàn):開放源碼Linux。Linux提供功能強大的和高級系統(tǒng)管理設施。豐富的設備支持,在可靠
10、性和魯棒性,以及廣泛詳盡的文檔方面有極好的聲譽。最好的(對系統(tǒng)開發(fā)人員而言)是Linux不要錢有完全免費的源代碼。Linux是不是像Windows那樣太大以及需要系統(tǒng)資源太多,以致不能滿足嵌入式系統(tǒng)的約束要求呢?與Windows不同,Linux本來就是模塊化的,并且能夠很容易縮減成緊縮配置,這種配置幾乎與DOS差不多大,甚至能放到一張軟盤上。此外,因為Linux源碼是免費可用的,所以可以按照獨特的嵌入式系統(tǒng)要求改編該操作系統(tǒng)。這樣,并不令人驚奇,開放源碼Linux已建成了一個新的操作系統(tǒng)開發(fā)和支持范例,在那里數(shù)以千計的開發(fā)人員繼續(xù)貢獻于不斷發(fā)展的Linux代碼庫。此外,幾十家面向Linux的軟
11、件公司已經(jīng)出現(xiàn)他們熱切支持那些為建立從工廠自動化到智能設備范圍很廣的應用系統(tǒng)的開發(fā)人員的要求。小Linux對許多嵌入式系統(tǒng),為了適應諸如RAM、固態(tài)盤、處理機速度,以及功耗的約束,嵌入的Linux的主要任務是,使系統(tǒng)所需的資源最小。嵌入式操作系統(tǒng)可能需要從一個芯片盤或緊湊閃存固態(tài)盤上自舉;或者自舉和運行在沒有顯示器和鍵盤(“無頭”操作)的環(huán)境,或經(jīng)有以太網(wǎng)連接,從遠程設備裝入應用程序?,F(xiàn)成的小Linux有許多來源,其中有日益增多的面向應用的Linux配置和分發(fā)版,這些都被修改成適應于特定的應用。例如路由器、防火墻、互聯(lián)網(wǎng)/網(wǎng)絡設備、網(wǎng)絡服務器、網(wǎng)關等。你也可能選擇建立你自己喜歡的嵌入式Linu
12、x,從一個標準分發(fā)版開始,略去不要的模塊。雖然如此,還應該考慮從別人的工作配置基礎上開始你的工作,因為他們的版本的源僅是完全合法的,而且也是被鼓勵。實時Linux許多嵌入式系統(tǒng)需要對現(xiàn)實世界的一些事件可預測,并且受限響應。這樣的實時系統(tǒng)包括工廠自動化、數(shù)據(jù)采集和控制系統(tǒng)、音頻/視頻應用,以及許多其他計算機化的產(chǎn)品和設備。什么是“實時系統(tǒng)”?通常接受的“實時”性能的定義是,現(xiàn)實世界時間必須在確定的、可預測的,以及在相對短的時間間隔內(nèi)得到響應。雖然Linux不是一個實時操作系統(tǒng)(Linux內(nèi)核不提供所需要的事件優(yōu)先級和搶占功能),但當前有幾個擴充選項可用,這些選項把實時能力帶給基于Linux的系統(tǒng)
13、,最通常的方法是雙內(nèi)核方法。用這個方法,通用(非實時)OS運行作為實時內(nèi)核的一個任務。通用操作系統(tǒng)提供諸如磁盤讀/寫、LAN/通信、串行/并行I/O、系統(tǒng)初始化、內(nèi)存管理等功能,而實時內(nèi)核處理時限世界事件。你可以把這個看作兩者兼得,因為它能夠保持流行的通用操作系統(tǒng)好處,而增加了實時OS的能力。就Linux來說,你能保持與標準Linux兼容,而以非干擾的方式增加了實時功能。當然,也可以專研并修改Linux,把改變成實時操作系統(tǒng),因為它的源碼是公開可用的,但如果這樣做,你會面臨這樣嚴重缺點,即不論特性方面,還是驅動程序方面都不能與主流Linux同步前進。簡言之,你的制定Linux將不能從Linux
14、的不斷進展中獲得好處,而這種進展是世界范圍內(nèi)數(shù)以千計的開發(fā)人員共同協(xié)力的結果。Linux是一個操作系統(tǒng),它擔當計算機系統(tǒng)硬件與軟件間的通信服務,Linux內(nèi)核包含了你在任何操作系統(tǒng)所期望的所有特性。原文: Using Linux in Embedded Systems UNIX evokes a wide range of emotions: loved by some for its power and flexibility, despised by others for its eomplex and arcane commands. UNIX has established a che
15、ckered reputation in the world of computing.EASE OF USEUNIX is infamous for its glut of arcane , non-mnemonic, and cryptic keyboard commands, each with many command-line switches, which can be incredibly confusing to remember. Its SVR 4 implementation contains more than 2,000 comands. Many of these
16、functions can be combined, using pipes and redirection. This illustrates one of UNIXs design fundamentals: the creation of a large assortment of very specialized and modular commands that can be combined to accomplish complex tasks.While UNIX was essentially limited to use by software professionals
17、at universities and in applications development houses, its complex command-line syntax and resulting flexibility were considered an advantage rather than a problem.But this same flexibility also creates a major drawback for using UNIX in a business-oriented marketthe more flexible a system is, the
18、more difficult it becomes to learn and operate.UNIXs script languages provide one form of help. Using scripts, a system administrator can tailor the system to a set of users needs quickly.Another factor mitigating the difficulties of UNIXs arcane command language are the Graphic User Interfaces(GUIs
19、), such as Motif, SunView, or OpenLook. GUIs, however, place another level of incompatibility problems on what is already a complex system.Motif has been ported to the most different architectures and (because it follows the Presentation Manager style ) is perhaps closest in look and feel to a PC in
20、terface such as Microsoft Windows. Sun View is also dominant because of its large installed base and the numbers of applications programmers who have become familiar with writing software to its specifications.BINARY COMPATIBILITYUNIX marketers have looked with some envy at the huge-base of shrink-w
21、rapped applications available in the DOS world and have promised that binary-compatible applications for systems is just around the corner. These promises have yet to be met in any significant way. While binary compatibility is not yet available, it is getting easier to share data and applications a
22、cross different machines.PORTABILITY Compared with most operating system sources, UNIX code is quite move UNIX to different architectures. But a UNIX port to a new system is not a trivial matter, offen taking several man-years of work, and can result in glitches and malfunctions, which may create ve
23、ry subtle inconsistencies in performance. These bugs are often difficult to identify and correct.Having the source code available for your computers operating system is beneficial and detrimental: if the OS lacks certain desirable featuers, having the sources in-house greatly enhances a companys abi
24、lity to make necessary changes.On the other hand, the customized version of the operating system, with its new or modified features may later present compatibility problems with newer releases or purchased application.Why Linux?Intelligent dedicated systems and applicances used in interface, monitor
25、ing , communications, and control applications increasingly demand the services of a sophisticated, state-of-the-art operating systems. Many such systems require advanced capabilities like: high resolution and user-friendly graphical user interfaces(GUIs); TCP/IP connectivity; substitution of reliab
26、le( and low power)flash memory solid state disk for conventional disk drives; support for 32-bit ultra-high-speed CPUs; the use of large memory arrays; and seemingly infinite capacity storage devices including CD-ROMs and hard disks.This is not the stuff of yesteryears “standalone” code, “roll-your-
27、own” kernels, or “plain old DOS”, No, those days are goneforever.Then too, consider the rapidly accelerating pace of hardware and chipset innovationaccompanied by extremely rapid obsolescence of the older devices.Combine these two, and you can see why its become an enormous challenge for commercial
28、RTOS vendors to keep up with the constant churning of hardware devices . Supporting the newest devices in a timely mannereven just to stay clear of the unrelenting steamroller of chipset obsolescencetakes a large and constant resource commitment. If its a struggle for the commercial RTOS vendors to
29、keep up, going it alone by writing standalone code or a roll-your-own kernel certainly makes no sense.With the options narrowing, embedded system developers find themselves faced with a dilemma:On the one hand, todays highly sophisticated and empowered intelligent embedded systemsbased on the newest
30、 chips and hardware capabilitiesdemand noting less than the power, sophistication, and currency of support provided by a popular high-end operating system like windows.On the other hand, embedded systems demand extremely high reliability(for non-stop, unattended operation)plus the ability to customi
31、ze the OS to match an applications unique requirements.The dilemma is: common desktop operating system ( such as Windows ) are not well adapted to the similar equipment to the unique needs of embedded system. However, commercial real-time operating system, although designed to meet the embedded appl
32、ication reliability and configuration flexibility requirements, but due to their lack of standardization and inability to keep up with the speed of technology development, which is undesirable.Developers do?Fortunately, a new, exciting alternative systems have emerged: the open source Linux. Linux p
33、rovides powerful and advanced system management facilities. A wealth of equipment support, the reliability and robustness, and extensive documentation has an excellent reputation. The best ( for developers ) is Linux not money - are completely free source code.Linux is it right? Like Windows is too
34、large and the need for system resources too much, so can not meet the requirements of embedded system? Unlike Windows, Linux is a modular, and can easily be reduced into compact configuration, this configuration is almost almost DOS, even on a single floppy disk. In addition, because the Linux sourc
35、e code is freely available, so it can be in accordance with the unique requirements of embedded systems to adapt the operating system.So, not surprisingly, the open source Linux has built a new operating system development and support the paradigm, where thousands of developers continue to contribut
36、e to the development of the Linux code library. In addition, dozens of Linux oriented software companies have emerged - they eager to support those built from factory automation to intelligent devices are a wide range of application systems development personnel requirements.Small LinuxFor many embe
37、dded systems, such as RAM, in order to adapt to the solid state disk, processor speed, and power constraint, embedded Linux is a major task, the system resources required minimum. Embedded operating system may need from a chip disk or compact flash solid state disk bootstrap; or bootstrap and operat
38、ion in the absence of the display and the keyboard ( headless operation ) environment, or by the Ethernet connection, from a remote device in application.Small ready-made Linux has many sources, including the increasing application oriented Linux configuration and distribution, these are modified in
39、to adapted to specific application. For example, router, firewall, Internet / network equipment, network server, gateway.You may also choose to build your own like embedded Linux, from a standard distribution version, omitting dont module. Even so, also should be taken from the work of others on the
40、 basis of the allocation to begin your work, because their version of the source is perfectly legal, but also be encouraged.Real time LinuxMany embedded systems need to real-world events can be predicted, and limited response. Such a system include factory automation, data acquisition and control sy
41、stem, audio / video applications, as well as many other computer products and equipment. What is real time system? The generally accepted real-time performance is defined, the real world time must be identified, predictable, and within a relatively short time interval in response.Although Linux is n
42、ot a real-time operating system ( Linux cores do not provide the required priority and preemption features ), but currently a few expansion options available, these options to bring real-time ability based on Linux system, the most common method is the double kernel method. Using this method, the ge
43、neral ( real time) OS running as a real-time kernel of a task. General purpose operating system such as disk read / write, LAN / communication, serial / parallel I / O, system initialization, memory management functions, and the real-time kernel processing period of world events. You can see this as both, because it maintains the popular general operating system benefits, and increasing the real-time ability of OS. Linux, you can keep with the standard Linux compatibility, and non interference mode adds real-time function.Of course, also can inquiry and modify Linux, change into a real-time o
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 烏克蘭玉米進口合同范例
- 養(yǎng)殖龜場出租合同范例
- 公司之間購銷合同范例
- 孫旸《蔗菴集》研究
- 出售球墨鑄鐵生鐵合同范例
- 傳媒項目制合同范例
- 代加工砂石合同范例
- 中標工程轉讓合同范例
- 園林景觀橋施工方案
- 水渠模板加固施工方案
- 《小米市場營銷策略》課件
- 2025年湖南高爾夫旅游職業(yè)學院單招職業(yè)技能測試題庫附答案
- 2025年湖南大眾傳媒職業(yè)技術學院單招職業(yè)技能測試題庫新版
- 雙均線策略(TBQ版)
- 北京房屋租賃合同電子版7篇
- 《園林機械使用與維修》課件-任務3.園林養(yǎng)護機械
- deepseek-r1論文-中文翻譯版
- 項目式學習在小學數(shù)學教學中的應用
- 2024年05月山東威海市商業(yè)銀行科技類社會招考筆試歷年參考題庫附帶答案詳解
- 2025中智集團下屬單位公開招聘41人高頻重點提升(共500題)附帶答案詳解
- 中醫(yī)理療館路演
評論
0/150
提交評論