摸摸索索了那麼久,第一次安裝Xenomai要做的三件事無非是下載Linux內核+Xenomai擴展+Ipipe補丁。值得注意的是我們不能隨便下載Linux內核和Ipipe補丁,雖然是最新的總是最好的但是相應的版本號一定要對應上纔行。那麼版本號的數字都有什麼含義呢?
linux內核(kernel)版本號的意義
Linux內核版本有兩種:穩定版和開發版 ,Linux內核版本號由3組數字組成:第一個組數字.第二組數字.第三組數字
第一個組數字:目前發佈的內核主版本。
第二個組數字:偶數表示穩定版本;奇數表示開發中版本。
第三個組數字:錯誤修補的次數。
例1: 2.6.18-128.ELsmp , 第一個組數字: 2 , 主版本號;第二個組數字: 6 , 次版本號,表示穩定版本(因爲有偶數);第三個組數字 18 , 修訂版本號 , 表示修改的次數,頭兩個數字合在一齊可以描述內核系列。如穩定版的2.6.0,它是2.6版內核系列。128: 表示這個當前版本的第5次微調patch , 而ELsmp指出了當前內核是爲ELsmp特別調校的 EL : Enterprise Linux ; smp multiple processor (symmetric multiprocessing ) : 表示支持多處理器 , 表示該內核版本支持多處理器
——更詳細的內容介紹閱讀原文
所以我們建議選擇第二組數字爲偶數的版本號碼。
什麼是LINUX?WHAT IS LINUX?
Linux is a clone of the operating system Unix, written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net. It aims towards POSIX and Single UNIX Specification compliance.
It has all the features you would expect in a modern fully-fledged Unix, including true multitasking, virtual memory, shared libraries, demand loading, shared copy-on-write executables, proper memory management, and multistack networking including IPv4 and IPv6.
它具有現代完整的Unix所期望的所有特性,包括真正的多任務、虛擬內存、共享庫、需求加載、寫時共享拷貝可執行文件、合適的內存管理,以及包括IPv4和IPv6在內的多棧網絡(專業術語的翻譯有問題)。
它需要在什麼設備硬件上運行ON WHAT HARDWARE DOES IT RUN?
Although originally developed first for 32-bit x86-based PCs (386 or higher), today Linux also runs on (at least) the Compaq Alpha AXP, Sun SPARC and UltraSPARC, Motorola 68000, PowerPC, PowerPC64, ARM, Hitachi SuperH, Cell, IBM S/390, MIPS, HP PA-RISC, Intel IA-64, DEC VAX, AMD x86-64, AXIS CRIS, Xtensa, Tilera TILE, AVR32, ARC and Renesas M32R architectures.
Linux is easily portable to most general-purpose 32- or 64-bit architectures as long as they have a paged memory management unit (PMMU) and a port of the GNU C compiler (gcc) (part of The GNU Compiler Collection, GCC). Linux has also been ported to a number of architectures without a PMMU, although functionality is then obviously somewhat limited.
Linux has also been ported to itself. You can now run the kernel as a userspace application - this is called UserMode Linux (UML).
這回我們選擇了Linux內核4.14.183和Ipipe4.14.y版本下載。感覺版本相近並且比較新。希望這一次可以成功安裝並且打補丁成功。
今日寫文背景音樂《永夜》
無需對白
夜幕已掀開
無關成敗
不懼
看見未來
所行無礙
桃花盛開
在光明之外
氤氳淡彩
等待
故人歸來
夢迴邊塞
快看 紅塵歸來
快看 蒼穹綻開
快看 萬物爲伴
快看
我看見了雲海 如晦如夢幻
我喚來了星繁 似滅似絢爛
我翻過了綠洲 無邊且無岸
我親吻了河川 春去春又來