码迷,mamicode.com
首页 > 其他好文 > 详细

RedHat5.8 编译内核驱动

时间:2017-03-01 16:36:17      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:shell   编译内核   ever   bsp   log   art   通过   srp   yum   

/*******************************************************************
 *                     RedHat5.8 编译内核驱动
 * 说明:
 *     需要编译RedHat5.8的内核驱动,找了一下资料,并操作一下,并编译
 * 一下IO驱动,能够正常运作。
 *
 *                                 2017-3-1 深圳 南山平山村 曾剑锋
 ******************************************************************/

一、参考文档:
    1. Redhat Enterprise Linux内核源码下载网址
        http://ilinuxkernel.com/?p=22
    2. Linux下RPM软件包的安装及卸载
        http://os.51cto.com/art/201001/177866.htm
    3. RedHat5.8更改yum源 
        http://blog.csdn.net/sz_bdqn/article/details/47015863

二、安装RedHat5.8 yum源:
    1. 163 yum源:wget http://mirrors.163.com/.help/CentOS5-Base-163.repo;
    2. 把$releasever替换成5;

三、下载对应版本的Linux Kernel:
    1. 通过shell命令查看Linux Kernel版本:uname -a;
    2. 下载对应版本的Linux Kernel rpm包:ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/;
    3. 通过rmp命令安装:rpm -ivh <Linux Kernel rpm 包>4. 查看/usr/src/kernels/是否存在对应版本的内核源代码。

 

RedHat5.8 编译内核驱动

标签:shell   编译内核   ever   bsp   log   art   通过   srp   yum   

原文地址:http://www.cnblogs.com/zengjfgit/p/6484676.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!