linux内核在编译RTAI时的配置说明
来源:互联网 发布:java鱼雷价目表 编辑:程序博客网 时间:2024/05/18 09:07
可以先用命令:cat /proc/cpuinfo 查看cpu类型
cat /proc/cpuinfo,可以看到如下行:
model name : Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
因此, Processor type and features ---> Processor Family对应的CPU类型为:core 2/newer Xeon
配置如下:
---------------------------------------------------------------------------------------------------------------
Enable loadable module support ---> enabled [*]
Enable Loadable module support ---> Module versioning support ---> disabled
Processor type and features ---> Processor Family ---> Core 2/newer Xeon
Processor type and features ---> HPET Timer Support ---> disabled
Processor type and features ---> Preemtible Kernel (Low-Latency Desktop) (PREEMPT=y)
Processor type and features ---> Interrupt pipeline ---> enabled [*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> enabled [*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Deprecated /proc/acpi files ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Deprecated power /proc/acpi directories ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Future power /sys interface ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Deprecated /proc/acpi/event support ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> AC Adapter ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Battery ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Button ---> enabled[*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Video ---> module [M]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Fan ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Dock ---> enabled [*]
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Processor ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Disable ACPI for systems before Jan 1st this year ---> 0
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Debug Statements ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> PCI slot detection driver ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Container and Module Devices ---> disabled
Power management and ACPI options ---> ACPI (Advanced Configuration and Power Interface) Support ---> Smart Battery System ---> disabled
Power management and ACPI options ---> APM (Advanced Power Management) BIOS support ---> disabled
Power management and ACPI options ---> CPU Frequency scaling ---> disabled
If you are using an older RTAI patch you may get the following error:
include/linux/ipipe.h:76:2: error: #error "CONFIG_NR_CPUS is too large, please lower it."
To fix this disable sparse irq numbering (CONFIG_SPARSE_IRQ=n):
Processor type and features ---> Support sparse irq numbering ---> disabled
If you have a multi cores CPU or SMP system, don't choose a processor family which has no TSC (time stamp counter).
This means that for example you can not choose 586/K5/5x86/6x86/6x86MX as Processor family if you have a dual cores CPU.
In conclusion, choose the most suitable processor family for your machine.
NOTE: No need to disable High Memory Support for RTAI 3.7.1 and newer
NOTE: No need to disable Symmetric multi-processing support for the uniproccesor machine for RTAI 3.7.1 and newer.
But if you don't have a multi cores CPU or SMP system, you can disable it to improve the performance
NOTE: There was supposedly no need to disable Module Versioning Support for RTAI 3.7.1, but it seems to be needed for the latest RTAI (3.8.1 or magma).
I don't know if this is an RTAI problem or emc2, since I could run the RTAI latency test but not the emc2 stuff.
NOTE: No need to turn off debugging if building packages with the ubuntu debian/rules sy
---------------------------------------------------------------------------------------------------------------
- linux内核在编译RTAI时的配置说明
- Linux+RTAI实时内核编译
- ubuntu内核编译及RTAI的安装
- Linux+RTAI实时内核编译所遇到的问题及解决方法
- RTAI安装时的内核配置,比较全,懒了,有时间翻译
- LINUX内核目录文件说明以及配置并编译内核的方法
- linux 内核编译说明
- linux内核的配置编译
- Linux升级时不升级内核的配置说明
- 在RedHat linux 8.0下完整详尽的内核编译步骤和说明
- 转 :在RedHat linux 8.0下完整详尽的内核编译步骤和说明 kilvon
- linux内核配置编译
- Linux内核配置编译
- linux 内核配置、编译、
- Linux编译内核的详细配置
- Linux编译内核的详细配置
- Linux 内核的配置编译安装
- Linux编译内核的详细配置
- socket perror 为operation on non-socket 解决
- RTAI和EMC2在ubuntu10.04.3上的安装
- linux时间管理 之 延时操作
- 正则表达式(更新中......)
- 你做过的最有效的提高你的编程水平的一件事情是什么
- linux内核在编译RTAI时的配置说明
- SQL Server安装中错误"该性能计数器注册表配置单元已损坏。若要继续,必须修复该性能计数器注册表配置单元"的解决
- 【笔记】Google ADK与arduino 开发环境搭建(USB HOST SHIELD + ARDUINO ROMEO兼容控制板(mega、uno同样适用))
- WordPress 通过文章ID获取文章标题、内容等信息
- 笔试题二【解答】
- ubuntu10.04.3LTS下的各种服务配置
- COM编程入门不得不看的文章 :第一部分 什么是COM,如何使用COM
- Facebook开放平台 - 创建应用
- 数组解决约瑟夫环问题