RTAI安装时的内核配置,比较全,懒了,有时间翻译

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?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值