摸摸索索了那么久,第一次安装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版本下载。感觉版本相近并且比较新。希望这一次可以成功安装并且打补丁成功。
今日写文背景音乐《永夜》
无需对白
夜幕已掀开
无关成败
不惧
看见未来
所行无碍
桃花盛开
在光明之外
氤氲淡彩
等待
故人归来
梦回边塞
快看 红尘归来
快看 苍穹绽开
快看 万物为伴
快看
我看见了云海 如晦如梦幻
我唤来了星繁 似灭似绚烂
我翻过了绿洲 无边且无岸
我亲吻了河川 春去春又来