总结
来源:互联网 发布:sobel算子边缘检测矩阵 编辑:程序博客网 时间:2024/04/29 14:55
Patch:其主要是用于给内核源码打补丁。
内核树和重新编译内核是不同的:
设置共享文件夹
:先要安装vmtools,然后再用vmware设置共享文件夹,然后再在虚拟机里面mount -t vmhgfs
.host:/vmsharefolder /mnt/hgfs/即可。
编译内核步骤:
注意
在Ubuntu下,安装kernel-package这个包之后,就可以使用make-kpkg了。
sudo apt-get install kernel-package
make-kpkg --initrd kernel_image kernel_headers
使用这种命令生成 两个.deb
cd..
ls
这应该会看到有两个.deb文件,一个是kernel-image,一个是kernel-headers。
编译完成后,安装:
sudo dpkg -i*.deb
Comedi linux control and measurement device interface
Introduction
The Comedi project develops open-source drivers, tools, and libraries for data
acquisition.
Comedi is a collection of drivers for a variety of common data acquisition plug-in
boards. The drivers are implemented as a core Linux kernel module providing common
functionality and individual low-level driver modules.
Comedilib is a user-space library that provides a developer-friendly interface to
Comedi devices. Included in the Comedilib distribution is documentation, configuration
and calibration utilities, and demonstration programs.
Kcomedilib is a Linux kernel module (distributed with Comedi) that provides the same
interface as Comedilib in kernel space, suitable for real-time tasks. It is effectively
a "kernel library" for using Comedi from real-time tasks.
内核树和重新编译内核是不同的:
设置共享文件夹
:先要安装vmtools,然后再用vmware设置共享文件夹,然后再在虚拟机里面mount -t vmhgfs
.host:/vmsharefolder /mnt/hgfs/即可。
编译内核步骤:
注意
在Ubuntu下,安装kernel-package这个包之后,就可以使用make-kpkg了。
sudo apt-get install kernel-package
make-kpkg --initrd kernel_image kernel_headers
使用这种命令生成 两个.deb
cd..
ls
这应该会看到有两个.deb文件,一个是kernel-image,一个是kernel-headers。
编译完成后,安装:
sudo dpkg -i*.deb
安装完会自动更新grub,重开机选择新内核即可。若开机失败,可选择旧内核开机。移除新内核,并重新编译与安装。
之后开机时要狂按esc键,选择adcance 之后进入选择要进入的系统。正常的内核和RTAI的内核版本不一致:正常的内核版本:Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux
打补丁的版本是:Linux Ubuntu 3.4.6 rati 4.0 #1 SMP tue mar 24 07:48:21 PDT 2015 i686 i686 i686 GNU/Linux
是不是保证两个的内核版本一致就可以正常启动了?
Comedi linux control and measurement device interface
Introduction
The Comedi project develops open-source drivers, tools, and libraries for data
acquisition.
Comedi is a collection of drivers for a variety of common data acquisition plug-in
boards. The drivers are implemented as a core Linux kernel module providing common
functionality and individual low-level driver modules.
Comedilib is a user-space library that provides a developer-friendly interface to
Comedi devices. Included in the Comedilib distribution is documentation, configuration
and calibration utilities, and demonstration programs.
Kcomedilib is a Linux kernel module (distributed with Comedi) that provides the same
interface as Comedilib in kernel space, suitable for real-time tasks. It is effectively
a "kernel library" for using Comedi from real-time tasks.
0 0
- 总结
- 总结
- 总结
- 总结
- 总结!
- 总结
- 总结.
- 总结。
- 总结
- 总结
- 总结
- 总结
- 总结
- 总结
- 总结
- 总结
- 总结
- 总结
- linux 内核编译 传统方法和新方法
- session简介
- Quest Central for db2 安装图解
- Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
- 高效看源代码网络汇总
- 总结
- 揭秘阿里服务互联网金融的关系数据库——OceanBase
- 08 将奇数排在偶数之前
- HTTP与HttpServlet
- Win7下使用VMware Workstation 12 Pro安装OS X 10.8(2015-12-30 10:28)
- UVa 10603 BFS+优先队列
- TCP协议采用三次握手建立链接与断开链接
- Things Need To Be Done in 2016
- Android打包提示Export Aborted