
Linux Kernel
Eric_tao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[转载] linux启动流程分析(1)---bootloader启动内核过程
原文链接:http://www.eetop.cn/blog/html/45/11145-560.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?111452006-11-01===转载 2010-01-02 09:35:00 · 693 阅读 · 0 评论 -
Linux kernel内核中的atoi,itoa等函数
转自:http://blog.youkuaiyun.com/samantha_sun/article/details/6799145对于普通应用程序,可以通过包含头文件stdlib.h和stdio.h,string.h等,然后调用需要的itoa(),atoi()等函数,但是对于Linux内核来说,无法使用那些C库中的函数。对此Linux内核里有了相应的实现:对于atoi()用sim转载 2012-12-25 18:02:09 · 2747 阅读 · 0 评论 -
CS8900 U-boot 网卡驱动分析
<br />【概述】 本文描述了CS8900网卡在u-boot环境下的相关操作,包括初始化,数据发送/接收等过程的解析等。<br /><br />【环境描述】硬件平台:EBD2410开发板(S3C2410+CS8900A)U-boot版本:V1.1.4<br />【其他描述】在include/configs/smdk2410.h中,定义如下:#define CONFIG_DRIVER_CS8900 1#define CS8900_BASE 0x19000300#define CS8900_原创 2010-07-07 19:02:00 · 2817 阅读 · 0 评论 -
CS8900 Linux 网卡驱动分析
<br /><br />【概述】<br /> 该文描述了CS8900A网卡芯片,在Linux中的驱动程序的原理,以SMDK2410平台为例。<br /><br /> CS8900A在该驱动中,仍工作于IO访问模式。<br /><br /> 本文详细描述了作为Linux网络设备驱动,需要实现的几个函数的工作原理,这几个函数为:<br /><br /> --cs8900_probe<br /><br /> --cs8900_start<br /><br /> --cs8900原创 2010-07-07 20:21:00 · 2108 阅读 · 0 评论 -
Linux启动时对命令行参数的解析
<br /><br />【参考】<1>Linux启动bootargs参数分析:http://blog.chinaunix.net/u3/99423/showart_2213279.html<br /><2>Linux 2.6内核启动传递命令行的过程分析:http://soft.zdnet.com.cn/software_zone/2007/1017/561631.shtml<br /><br />【环境】 Linux内核版本:V2.6.20<br /> <br />【简介】 在嵌入式系统中原创 2010-07-02 11:54:00 · 5432 阅读 · 1 评论 -
Linux内核启动参数的传递
<br /><br />参考:<br />u-boot向内核传递参数解析:http://blog.chinaunix.net/u3/109474/showart_2205327.html<br />vivi学习(十七):vivi与Linux kernel的参数传递情景分析(下):http://tech.sunplusedu.com/space/post-6910.aspx <br />【环境】<br />Linux内核版本:V2.6.20<br />U-boot版本:V1.1.4<br />【简介】<br原创 2010-07-02 11:57:00 · 4116 阅读 · 0 评论 -
【转载】do_initcalls 的原理
原文链接:http://hi.baidu.com/sunorr/blog/item/c757d9de8599555394ee3740.html 前言 宏定义__define_initcall(level,fn)对于内核的初始化很重要,它指示 编译器在编译的时候,将一系列初始化函数的起始地址值按照一定的顺序 放在一个section中。在内核初始化阶段,do_initcalls()转载 2010-01-07 15:23:00 · 1194 阅读 · 0 评论 -
[转载]解析linux根文件系统的挂载过程
原文链接:http://blog.chinaunix.net/u1/51562/showart_1108170.html 解析linux根文件系统的挂载过程------------------------------------------本文系本站原创,欢迎转载!转载请注明出处:http://ericxiao.cublog.转载 2010-01-03 18:59:00 · 738 阅读 · 0 评论 -
[转载] linux启动分析(5)---start_kernel续
原文地址:http://www.eetop.cn/blog/html/45/11145-2154.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?1114507-05-21====转载 2010-01-02 09:49:00 · 882 阅读 · 0 评论 -
[转载] linux启动流程分析(4)---汇编部分(2)
原文地址:http://www.eetop.cn/blog/html/45/11145-1396.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?111452007-02-14==转载 2010-01-02 09:44:00 · 595 阅读 · 0 评论 -
mkimage的使用
mkimage使用详解参考:http://buaadallas.blog.51cto.com/399160/107808mkimage在制作映象文件的时候,是在原来的可执行映象文件的前面加上一个0x40字节的头,记录参数所指定的信息,这样uboot才能识别这个映象是针对哪个CPU体系结构的,哪个OS的,哪种类型,加载内存中的哪个位置, 入口点在内存的那个位置以及映象名是什么。U原创 2010-01-03 13:00:00 · 827 阅读 · 0 评论 -
[转载] linux启动分析(5)---C程序入口函数start_kernel
原文地址:http://www.eetop.cn/blog/html/45/11145-2016.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?1114507-05-09====转载 2010-01-02 09:48:00 · 692 阅读 · 0 评论 -
[转载] linux启动流程分析(4)---汇编部分(3)
原文地址:http://www.eetop.cn/blog/html/45/11145-1512.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?111452007-03-08==转载 2010-01-02 09:45:00 · 636 阅读 · 0 评论 -
[转载] linux启动流程分析(3)---内核解压缩过程
原文地址:http://www.eetop.cn/blog/html/45/11145-571.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?111452006-11-06===转载 2010-01-02 09:40:00 · 748 阅读 · 0 评论 -
[转载] linux启动流程分析(4)---汇编部分(5)
原文地址:http://www.eetop.cn/blog/html/45/11145-1838.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?1114507-04-18====转载 2010-01-02 09:47:00 · 660 阅读 · 0 评论 -
[转载] linux启动流程分析(4)---汇编部分(4)
原文地址:http://www.eetop.cn/blog/html/45/11145-1746.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?1114507-04-02====转载 2010-01-02 09:46:00 · 623 阅读 · 0 评论 -
[转载] linux启动流程分析(4)---汇编部分(1)
原文地址:http://www.eetop.cn/blog/html/45/11145-1367.ht ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?111452007-02-08====转载 2010-01-02 09:42:00 · 681 阅读 · 0 评论 -
[转载] linux启动流程分析(2)---内核启动地址的确定
原文地址:http://www.eetop.cn/blog/html/45/11145-562.html ================================Author: taoyuetaoEmail:tao_yuetao@yahoo.com.cnBlog:http://www.eetop.cn/blog/?111452006-11-03===转载 2010-01-02 09:39:00 · 960 阅读 · 1 评论 -
定位Oops的具体代码行
Reference: http://blog.youkuaiyun.com/unbutun/article/details/4730227[Not clean up]1: objdump xxx.ko -D > xxx_dump2: find the code line in the dump filee.g.: 0>[ 111.318529] EIP: [] XXX_set_f原创 2012-12-18 13:39:14 · 614 阅读 · 0 评论