RTAI3.6.1 + Linux-2.6.24.7 Compilation

Source: Internet
Author: User
RTAI3.6.1 + Linux-2.6.24.7 compilation-Linux general technology-Linux programming and kernel information, the following is a detailed reading. Use linux-2.6.24.7 and rtai3.6.1
1. Download clean kernel from kernel.org
2. ar to/usr/src
3. patch kernel.

Cd/usr/src/linux-2.6.24.7
Patch-p1-B <../rtai-3.6.1/base/arch/x86/patches/hal-linux-2.6.24-x86-2.0-
07. patch
(Note the rtai path)

4. patch madawifi

Cd-/madawifi/patches
Sudo./install. sh/usr/src/linux-2.6.24.7

5. make gconfig

Loadable module support ---> Enable loadable module support ---> enabled
Loadable module support ---> Module versioning support ---> disabled

Processor type and features ---> Preemption Model ---> Preemptible Kernel (
Low-Latency Desktop)
Processor type and features ---> Interrupt pipeline ---> enabled
Processor type and features ---> High Memory Support ---> off

All ACPI options off CPU frequency also off
For the sake of security, I am also off all experimental options, except ntfs

Not SMP
Processor type and features ---> your Ric multi-processing support --->
Disabled

You must select the correct CPU type.
Processor type and features ---> Processor family --->

6. make-kpkg clean

7. make-kpkg -- append-to-version-rtai -- revision p3 -- initrd kernel_image
Kernel_headers kernel_source
Generate three deb packages

8. cd/usr/src
Dpkg-I *. deb

Done!

It is easier to compile Rtai. make gconfig, make, and make install
In addition, my atheros wifi is pci-e
Ndiswrapper is also required
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.