获得最新的内核源代码树
现在从官方可以获得内核源代码。
一是内核源代码开始稳定在2.4.17发行版。
For one, the kernel sources have started to stabilize around the 2.4.17 release.
使用下面的命令制作内核源代码树的一个备份拷贝。
Make a back-up copy of this kernel source tree using the command.
所以,强烈建议使用最新的补丁和主流内核源代码。
Also, instead of downloading and patching kernel source code, you may retrieve the code using git.
原始Ksplice工具(如果有内核源代码的话)
内核源代码的程序包名是kernel-source。
使用目录名mydroid安装Android内核源代码。
Use the directory name mydroid to install the Android kernel source.
usr/src/linux-2.4.17 :内核源代码树的目录。
or g:查找Linux内核的相关信息和内核源代码存档。
Kernel.org: Find information about the Linux kernel and the kernel source code archive.
移动到Android内核源代码的根目录,输入make,然后等待一会。
Move up to the root directory of the Android kernel source, type make, then go get some coffee.
这个压缩文档包含EVMS 用户空间工具以及我们需要应用到内核源代码树的补丁。
This archive contains the EVMS userspace tools as well as patches that we need to apply to a kernel source tree.
如果只考虑一个程序的话,那么可以研究应用程序本身、它的动态链接库和内核源代码。
If there were only the one program, a worthwhile approach would be to scour the application, its dynamically linked libraries, and the kernel sources.
另一种SDK较少见,即Android内核源代码,被保存在名为git的存储库中。
Another, less commonly known SDK is the Android kernel source, which is stored in what is known as a git repository.
现在我们可以通过改为使用内核源代码树开始的目录来启动开发机器上的gdb程序了。
Now we are ready to start the gdb program on your development machine by changing to the directory where your kernel source tree starts.
服务包CD中所包含的是内核最新版本的内核源代码,不能与此补丁一起使用。
The service pack CDs contain the kernel source for later versions of the kernel, which will not work with the patches.
您还可以手工修改内核源代码来导出另外的函数,用于重新编译并加载新内核后的测试。
You can also manually modify the kernel source to export additional functions for test after rebuilding and rebooting the new kernel.
在使用lxc之前,首先需要下载Linux内核源代码,应用适当的lxc补丁,然后构建、安装和启动它。
Before being able to use LXC, you need to download Linux kernel source code, apply an appropriate LXC patch, then build, install, and boot it.
清单12展示了如何在您的主机上完成这一过程(假设mydroid目录包含所有Android内核源代码)。
Listing 12 shows how you can do this on your host computer (assuming that the mydroid directory contains all the Android source kernel code).
这个步骤会执行很长时间,因为Git正在将内核源代码(这有数百兆大)从kernel.org传输到本地机器上。
This step will take a long time, as Git is transferring the kernel source (which is hundreds of megabytes in size) from kernel.org to your local machine.
这意味着为了创建支持EVMS的内核,我们应该对从kernel.org下载的现成的内核源代码树应用这些补丁。
That means that in order to create an EVMS-enabled kernel, we should apply these patches against a stock kernel source tree that we download from kernel.org.
现在我们已经知道如何使用Git来获取Linux内核源代码和其他Git管理的项目了,接下来可以选择使用Git来管理下一个开发项目。
Now that you know how to use Git to obtain both the Linux kernel source and other Git-managed projects, you might choose to use Git to manage your next development project.
GLOBUSToolkit 3.0 (gt3)alpha4respectivebeta,还提供内核源代码或二进制代码。
GLOBUS Toolkit 3.0 (GT3) alpha 4 respective beta. Core sources or binaries are available.
要让EVMS启动和运行起来,得先获取evms源代码压缩文档,然后将它解压缩,并用其中所包含的内核补丁给内核源代码树打补丁。
To get EVMS up and running, we'll grab the EVMS source archive, unpack it, and use the included kernel patches to patch a kernel source tree.
第一个名为linux ,它含有支持XFS 的内核源代码树,而第二个称为cmd ,它包含各种XFS 用户空间程序源代码。
The first is called linux and contains an XFS-enabled kernel source tree, and the second is called cmd and includes sources for the various XFS userspace programs.
这个补丁修改Linux内核源代码树中的现有文件,因此如果您将它应用于某个内核,而该内核不是它本应修补的那个版本,则可能出问题。
This patch modifies existing files in the Linux kernel source tree, so it will likely have problems if you apply it to a kernel other than the one that it's designed to patch against.
导航到Android内核源代码的外部目录,创建一个名为cloud的子目录,然后将cloud . c和Android. mk文件全部放入该目录中。
Navigate to the external directory of the Android kernel source, create a subdirectory named cloud, and put both the cloud.c and the Android.mk files into it.
关于如何使用ksymoops,内核源代码 /usr/src/linux/Documentation/oops-tracing.txt 中或 ksymoops手册页上有完整的说明可以参考。
There are complete instructions on how to use ksymoops in the kernel source /usr/src/linux/Documentation/oops-tracing. txt or on the ksymoops man page.
这个命令需要两个输入:一个补丁文件和正在运行的内核的完整源代码树,其中包含已经应用的所有补丁。
The command requires two inputs: a patch file and the entire source tree for the running kernel, including any previous patches that have already been applied.
所有的都是从源代码编译来的,所以它像闪电一样快。你总是可以选择是否升级内核,哪些软件可以,哪些软件不可以在你的系统上运行。
Everything is compiled from source so it's lightning fast, and you always get the choice of whether to upgrade the kernel and which software does or doesn't run on your system.
应用推荐