RTAI安装时的内核配置,比较全,懒了,有时间翻译
来源:互联网 发布:ipad 阅读 软件 酷 编辑:程序博客网 时间:2024/05/02 17:49
The con guration
I haven't found a complete and working guide about this step. In every guide, something was
missing, making me have to compile the kernel repeated times because an option or another
wasn't or was wrongly marked. So, here i will state all the con guration options I used. The
REALLY important options needed to get RTAI working without (hopefully) having to recompile
the kernel are marked with a \!<`. I will explain the most relevant options, and state ONLY the
ones I marked. Back to the kernel con guration menu, do the following:
Code maturity level options ->
{ Nothing selected
General Setup ->
{ [*] Support for paging of anonymous memory (swap) { Support for swap (virtual mem-
ory).
4{ [*] System V IPC { Allows Inter Process Communication.
{ [*] BSD Process Accounting { Allows to obtain user application information's.
Loadable Module Support ->
{ !![*] Enable loadable module support { Allows to load modules to the kernel with the
loading tools.
{ [*] Module unloading.
{ [*] Source checksum for all modules.
{ [*] Automatic Kernel module loading .
Block Layer ->
{ Nothing selected
Processor type and features ->
{ [*] Generic x86 support { Better kernel performance on x86 architecture CPU's.
{ [*] Preempt The Big Kernel Lock { Reduces latency of the kernel on desktop computers.
{ [*] Interrupt pipeline { Prevent data disturbances
{ !![ ] Local APIC support on uni processors { MUST be deactivated or the error RTAI[hal]:ERROR,
LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED will show when
running RTAI apps.
{ [*] Math emulation { Emulates co-processor for loading point operations on old CPU's.
{ [*] MTRR support
{ !![ ] Use register arguments { this MUST be deactivated.
{ [*] Compact VDSO support
Power management options ->
{ [*] Legacy Management Debug Support
{ ACPI Support {>
[*] ACPI Support { Advanced Con guration and Power Interface support.
[M] Button
[M] Video
[M] Fan
[M] Processor
[M] Thermal Zone
{ CPU Frequency Scaling {>
[*] CPU Frequency scaling { Allows to change the clock frequency of the CPU on
the
y.
[*] Relaxed speedstep capability checks { Does not perform all checks for speed up.
Bus options ->
{ [*] PCI Support
Executable le formats ->
{ [*] Kernel support for ELD binaries
Networking ->
{ Networking Options {>
[*] Packet socket: mapped IO { Speed up communications.
5 [*] Unix domain sockets { Support UNIX sockets.
[*] TCP/IP networking { And all this option's derivatives will be marked.
[*] Network packet ltering
[*]QoS and/or fair queueing
Device Drivers ->
{ Generic Driver Options {>
[*] Prevent rmware from being built.
[*] User space rmware loading support.
{ Memory Technology Devices (MTD) {>
[*] Write support for NFTL.
{ Plug and Play support {>
[*] Plug and Play support.
The rest of the options use the default con guration of the running kernel.
File Systems { Default con guration used.
Kernel Hacking ->
{ !! [ ] Compile the kernel with frame pointers { MUST be deactivated The rest of the
options use the default con guration of the running kernel.首先,需要disable掉Latency Measuring……和Tracers(2.6.38.8+rtai3.9)
Security options { Default con guration used.
Cryptographic options { Default con guration used.
Library routines { Default con guration used.
This process is complex and requires that you know your hardware if you want to optimize the
kernel's performance. The presented con guration should work in any desktop equipped with a
x86 CPU, and all the base services like USB's, wireless and cable network etc., are available.
This con guration resulted on a vmlinuz compressed kernel le vmlinuz-2.6.19-rtai of 1.396 MB
and an initrd kernel le of initrd.img-2.6.19-rtai of 5.140 MB to boot the vmlinuz kernel from the
SCSI hard disk device. Very good eh?
I haven't found a complete and working guide about this step. In every guide, something was
missing, making me have to compile the kernel repeated times because an option or another
wasn't or was wrongly marked. So, here i will state all the con guration options I used. The
REALLY important options needed to get RTAI working without (hopefully) having to recompile
the kernel are marked with a \!<`. I will explain the most relevant options, and state ONLY the
ones I marked. Back to the kernel con guration menu, do the following:
Code maturity level options ->
{ Nothing selected
General Setup ->
{ [*] Support for paging of anonymous memory (swap) { Support for swap (virtual mem-
ory).
4{ [*] System V IPC { Allows Inter Process Communication.
{ [*] BSD Process Accounting { Allows to obtain user application information's.
Loadable Module Support ->
{ !![*] Enable loadable module support { Allows to load modules to the kernel with the
loading tools.
{ [*] Module unloading.
{ [*] Source checksum for all modules.
{ [*] Automatic Kernel module loading .
Block Layer ->
{ Nothing selected
Processor type and features ->
{ [*] Generic x86 support { Better kernel performance on x86 architecture CPU's.
{ [*] Preempt The Big Kernel Lock { Reduces latency of the kernel on desktop computers.
{ [*] Interrupt pipeline { Prevent data disturbances
{ !![ ] Local APIC support on uni processors { MUST be deactivated or the error RTAI[hal]:ERROR,
LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED will show when
running RTAI apps.
{ [*] Math emulation { Emulates co-processor for loading point operations on old CPU's.
{ [*] MTRR support
{ !![ ] Use register arguments { this MUST be deactivated.
{ [*] Compact VDSO support
Power management options ->
{ [*] Legacy Management Debug Support
{ ACPI Support {>
[*] ACPI Support { Advanced Con guration and Power Interface support.
[M] Button
[M] Video
[M] Fan
[M] Processor
[M] Thermal Zone
{ CPU Frequency Scaling {>
[*] CPU Frequency scaling { Allows to change the clock frequency of the CPU on
the
y.
[*] Relaxed speedstep capability checks { Does not perform all checks for speed up.
Bus options ->
{ [*] PCI Support
Executable le formats ->
{ [*] Kernel support for ELD binaries
Networking ->
{ Networking Options {>
[*] Packet socket: mapped IO { Speed up communications.
5 [*] Unix domain sockets { Support UNIX sockets.
[*] TCP/IP networking { And all this option's derivatives will be marked.
[*] Network packet ltering
[*]QoS and/or fair queueing
Device Drivers ->
{ Generic Driver Options {>
[*] Prevent rmware from being built.
[*] User space rmware loading support.
{ Memory Technology Devices (MTD) {>
[*] Write support for NFTL.
{ Plug and Play support {>
[*] Plug and Play support.
The rest of the options use the default con guration of the running kernel.
File Systems { Default con guration used.
Kernel Hacking ->
{ !! [ ] Compile the kernel with frame pointers { MUST be deactivated The rest of the
options use the default con guration of the running kernel.首先,需要disable掉Latency Measuring……和Tracers(2.6.38.8+rtai3.9)
Security options { Default con guration used.
Cryptographic options { Default con guration used.
Library routines { Default con guration used.
This process is complex and requires that you know your hardware if you want to optimize the
kernel's performance. The presented con guration should work in any desktop equipped with a
x86 CPU, and all the base services like USB's, wireless and cable network etc., are available.
This con guration resulted on a vmlinuz compressed kernel le vmlinuz-2.6.19-rtai of 1.396 MB
and an initrd kernel le of initrd.img-2.6.19-rtai of 5.140 MB to boot the vmlinuz kernel from the
SCSI hard disk device. Very good eh?
- RTAI安装时的内核配置,比较全,懒了,有时间翻译
- linux内核在编译RTAI时的配置说明
- ubuntu内核编译及RTAI的安装
- RTAI安装与配置
- RTAI安装
- RTAI安装
- 比较全的log4j 配置
- php比较全的友好时间显示
- 有段时间看bluetooth, 里面的东西比较多。总结了一下。
- 内核时间子系统的配置
- myBatis资料(关于Mapper文件配置的,很全,有时间看看)
- Linux+RTAI实时内核编译
- RTAI和EMC2在ubuntu10.04.3上的安装
- RTAI和EMC2在ubuntu10.04.3上的安装
- vsftp配置(比较全的)转载
- dns bind 配置, 比较全的
- 比较全而标准的mysql配置
- 比较全的关于时间的操作的东西
- DOCTYPE小结,及DOCTYPE位置影响CSS菜单显示的问题
- “实例恢复的深入解析”
- [VTK]源码分析:引用计数机制
- getBoundingClientRect() 来获取页面元素的位置
- Cocos2d-x 读取PVR
- RTAI安装时的内核配置,比较全,懒了,有时间翻译
- 敏捷教练:如何打造优秀的敏捷团队
- 看看哥是如何不花钱上了这么多妹子的,粉妹子、黑木耳统统拿下……
- 启动和关闭MySQL服务
- [VTK]源码分析:以vtkConeSource理解Source
- Oracle创建表空间语法(备忘)
- hadoop编译
- 管理Oracle时常用的数据字典和动态性能视图
- 桥接模式下linux虚拟机ping不通本地主机是怎么一回事?