上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 41 下一页
摘要: 内核版本: linux-2.6.30.4文件:linux-2.6.30.4/arch/arm/kernel/entry-common.Slinux-2.6.30.4/arch/arm/kernel/calls.Scalls.S: 1: /* 2: * linux/arch/arm/ker... 阅读全文
posted @ 2014-05-07 23:01 dolinux 阅读(1616) 评论(0) 推荐(0)
摘要: uboot kernel uboot 1、Uboot编译流程分析: uboot是如何编译生成的? 2、根据include/configs/$(target).h可以生成include/autoconf.mk。 3、Uboot_env 分析 4、uboot 之 run_command函数的实现 5、u 阅读全文
posted @ 2014-05-07 21:51 dolinux 阅读(907) 评论(0) 推荐(0)
摘要: GNUARM汇编指令(2008-10-29 00:16:10)标签:linuxgnuarm汇编指令it分类:技术文摘第一部分 Linux下ARM汇编语法尽管在Linux下使用C或C++编写程序很方便,但汇编源程序用于系统最基本的初始化,如初始化堆栈指针、设置页表、操作 ARM的协处理器等。初始化完成... 阅读全文
posted @ 2014-05-07 21:41 dolinux 阅读(788) 评论(0) 推荐(0)
摘要: 随着数字信号处理理论和算法的发展,多抽样率信号处理在多媒体 信号处理领域显得越来越重要。为了减少计算复杂度和存储复杂度,采样速率转换技术是十分必要的,音频重采样算法可以用来实现音频信号任意采样速率之间的转 换。 本文首先简要介绍了多抽样率信号处理的基本概念和原理,设计了三种音频重采样算法,分别是基于... 阅读全文
posted @ 2014-05-07 19:24 dolinux 阅读(2397) 评论(0) 推荐(0)
摘要: stddef.h#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) list.h#ifndef _LINUX_LIST_H #define _LINUX_LIST_H#include #inclu... 阅读全文
posted @ 2014-05-06 18:54 dolinux 阅读(1481) 评论(0) 推荐(0)
摘要: 转载:http://blog.csdn.net/npy_lp/article/details/7335187内核源码:linux-2.6.38.8.tar.bz2 目标平台:ARM体系结构 进程是处于执行期的程序以及它所管理的资源(如打开的文件、挂起的信号、进程状态、地址空间等等)的总称。注意,... 阅读全文
posted @ 2014-05-06 14:52 dolinux 阅读(2833) 评论(0) 推荐(0)
摘要: 转载:http://www.cnblogs.com/kungfupanda/p/3708799.htmlchrpath是用来改变程序的depends lib 的搜索路径的,比如我们一般使用$ldd application linux-vdso.so.1 => (0x00007fff89844000)... 阅读全文
posted @ 2014-05-06 13:37 dolinux 阅读(855) 评论(0) 推荐(0)
摘要: 转载:http://coolsky.blog.51cto.com/177347/1230332Linux系统中,在root帐号下使用rm * -rf是非常危险的,一不小心就可能删除系统中的重要文件。通常运维工程师或者系统工程师会用一些特殊的方法,来防止误删除系统文件和重要的配置文件,比较常用的方法是... 阅读全文
posted @ 2014-05-06 09:06 dolinux 阅读(3216) 评论(0) 推荐(1)
摘要: 转载: http://blog.csdn.net/fanqipin/article/details/8019512一.input子系统简介: linux系统中,input输入子系统驱动主要可以分为:设备驱动层、input core层和input handler事件处理层。设备驱动层为具体用户设... 阅读全文
posted @ 2014-05-03 22:08 dolinux 阅读(885) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-05-02 22:32 dolinux 阅读(460) 评论(0) 推荐(0)
摘要: 更多文档:http://pan.baidu.com/s/1jGzEzbw输入子系统在内核中的位置:/driver/inputdrivers/input/input.c: input_init ---> err = register_chrdev(INPUT_MAJOR, "input", &inpu... 阅读全文
posted @ 2014-05-02 22:28 dolinux 阅读(717) 评论(0) 推荐(0)
摘要: 时钟配置及分配tq2440的晶振频率是12MHz,在uboot中有如下语句:#define S3C2440_CLKDIV 0x05 /* FCLK:HCLK:PCLK = 1:4:8, UCLK = UPLL */ //HJ 100MHz#define S3C244... 阅读全文
posted @ 2014-05-01 22:13 dolinux 阅读(756) 评论(0) 推荐(0)
摘要: http://files.cnblogs.com/pengdonglin137/reg_tool_tq2440.7z 阅读全文
posted @ 2014-05-01 20:16 dolinux 阅读(550) 评论(0) 推荐(0)
摘要: 转载:http://www.cntronics.com/sensor-art/80022840【导读】电感、磁珠和零欧电阻在电路中是常见的身影。对于这三者在电路中的作用及它们之间的区别,相信还有很多工程师不是很清楚。不过没关系,小编在此为大家奉上一篇关于电感、磁珠和零欧电阻的区别的文章。希望可以解除... 阅读全文
posted @ 2014-04-30 13:05 dolinux 阅读(902) 评论(0) 推荐(0)
摘要: Linein和Micin的区别及使用 我们的电脑声卡上,一般都会有Linein和Micin两个接口,翻译成中文就是“线性输入”和“麦克风输入”,这两个都是输入端口,但是还是有区别的: 1、Linein端口:该端口主要用于连接电吉他、电子琴、合成器等外界设备的音频信号输出的录音,由于这些设备本身输出功... 阅读全文
posted @ 2014-04-29 16:24 dolinux 阅读(2583) 评论(0) 推荐(1)
摘要: 《Linux命令行与shell脚本编程大全》笔记 wkss其他:http://www.cnblogs.com/pengdonglin137/p/3528303.html一、基本命令二、基本结构差缺补漏:一、基本命令1、stat命令2、cat命令-n 给所有行加上行号-b 只给有文本的行加行号3、ta... 阅读全文
posted @ 2014-04-28 11:49 dolinux 阅读(317) 评论(0) 推荐(0)
摘要: 摘自:《嵌入式Linux应用开发完全手册》 ( Target : smdk2410 $1 Architecture: arm $2 CPU: arm920t $3 BOARD: smdk241... 阅读全文
posted @ 2014-04-28 09:22 dolinux 阅读(297) 评论(0) 推荐(0)
摘要: 转载: http://lijingyou2008.blog.163.com/blog/static/16086962007841067376/ 引导加载程序(boot loader) 会引导操作系统。当机器引导它的操作系统时,BIOS 会读取引导介质上最前面的 512 字节(即人们所知的 主引导记录(master boot record,MBR))。在单一的 MBR 中只能存储一个操作系统的... 阅读全文
posted @ 2014-04-26 12:07 dolinux 阅读(1479) 评论(0) 推荐(0)
摘要: 摘自 http://hi.baidu.com/zaoyuan1217/blog/item/fd69575660366b4fd10906b9.html 要列出当前目录下所有的文件名和目录名直接使用ls命令即可。 但如何只列出文件名而不列出目录呢? 查遍了ls 的帮助,也没看到有这个现成的选项。 幸好这个问题还是比较常见的,网上已经有了一些解答,但实验之后,我发现看到的几... 阅读全文
posted @ 2014-04-26 08:24 dolinux 阅读(2337) 评论(0) 推荐(0)
摘要: 转载:http://bbs.tianya.cn/post-worldlook-544367-1.shtml目前,华为推出了自己的四核手机,用自己的SOC,所以很多不明就里的人开始嚷嚷国产处理器的骄傲,又有很多人扯什么架构什么的,概念模糊得一塌糊涂,连 最基本的知识都没有,就开始盲目喝彩,所以,我有必... 阅读全文
posted @ 2014-04-25 23:50 dolinux 阅读(7434) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-25 23:36 dolinux 阅读(579) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-25 10:17 dolinux 阅读(426) 评论(0) 推荐(1)
摘要: 转载:http://blog.csdn.net/adaptiver/article/details/72259801. 引子编译2.6.35.7 kernel版本的时候发现,“2.6.35.7“的内核版本编译成功后生成的版本号变成了“2.6.35.7+”,为什么后面会多一个加号呢?问题出现在linu... 阅读全文
posted @ 2014-04-24 16:18 dolinux 阅读(1040) 评论(0) 推荐(1)
摘要: 平台:Hi3531PHY:RTL8211现象:在uboot中执行ping命令的时候,总是超时。过程:使用uboot自带的phy操作命令mii读出的数据全是0xff。这里要介绍一下uboot中的phy寄存器操作命令mii。关于uboot中的mii命令可以参见common/cmd_mii.c。注意:在使... 阅读全文
posted @ 2014-04-23 16:07 dolinux 阅读(20770) 评论(1) 推荐(0)
摘要: http://pan.baidu.com/s/1sjIwswP 阅读全文
posted @ 2014-04-12 09:26 dolinux 阅读(365) 评论(0) 推荐(0)
摘要: http://pan.baidu.com/s/1jGJW2jG 阅读全文
posted @ 2014-04-12 09:23 dolinux 阅读(262) 评论(0) 推荐(0)
摘要: 转载:http://www.embeddedlinux.org.cn/html/yingjianqudong/201403/23-2820.html Linux内核是一种单体内核,但是通过动态加载模块的方式,使它的开发非常灵活 方便。那么,它是如何编译内核的呢?我们可以通过分析它的Makefile入 阅读全文
posted @ 2014-04-11 19:43 dolinux 阅读(2342) 评论(0) 推荐(0)
摘要: 转载:https://www.linux.com/learn/linux-career-center/44184-the-kernel-newbie-corner-kernel-debugging-with-proc-qsequenceq-files-part-3Finally, after two installments of the basics of debugging with sequence files, we're going to finish off by demonstrating the power of sequence files with an examp 阅读全文
posted @ 2014-04-05 13:46 dolinux 阅读(472) 评论(0) 推荐(0)
摘要: 转载:https://www.linux.com/learn/linux-career-center/39972-kernel-debugging-with-proc-qsequenceq-files-part-2-of-3This week, we'll pick up where we left off last week and continue discussing simple kernel and module debugging using seq_file-based proc files. And given the amount of material left t 阅读全文
posted @ 2014-04-05 13:45 dolinux 阅读(407) 评论(0) 推荐(0)
摘要: 转载:https://www.linux.com/learn/linux-career-center/37985-the-kernel-newbie-corner-kernel-debugging-using-proc-qsequenceq-files-part-1Over this column and the next one (and possibly the one after that, depending on how detailed we get), we're going to discuss kernel and module debugging using pro 阅读全文
posted @ 2014-04-05 13:41 dolinux 阅读(397) 评论(0) 推荐(0)
摘要: 转载:http://blog.csdn.net/kasalyn/article/details/17097639The __KERNEL__ macro is defined because there is programs (like libraries) that include kernel code and there is many things that you don't want them to include. So most modules will want the__KERNEL__ macro to be enabled.When you compile y 阅读全文
posted @ 2014-04-05 12:52 dolinux 阅读(638) 评论(0) 推荐(0)
摘要: 应用案例:当前目录下有若干目录,有多个目录下有一个名叫build.sh的脚本,但是没有可执行权限,现在要将所有的build.sh假如可执行权限。pengdl@debian:~/work/SDK_3520D/Hi3520D_SDK_V1.0.2.2c/source/opensource$ find -name build.sh -exec ls -l {} +-rw------- 1 pengdl pengdl 275 Jan 26 11:33 ./freetype-1.3.1/build.sh-rw------- 1 pengdl pengdl 42 Jan 26 11:35 ./fus... 阅读全文
posted @ 2014-04-04 22:23 dolinux 阅读(272) 评论(0) 推荐(0)
摘要: 更多文档:http://pan.baidu.com/s/1sjzzlDFlinux poll/select用法及在字符驱动中的简单实现 1.poll和select 使用非阻塞I/O 的应用程序常常使用poll, select, 和epoll 系统调用. poll, select 和epoll 本质上有相同的功能: 每个都允许一个进程来决定它是否可读或者可写一个或多个文件而不阻塞。 这些调用也可阻塞进程直到任何一个给定集合的文件描述符可用来读或写。因此, 它们常常用在必须使用多输入输出流的应用程序, 而不必粘连在它们任何一个上。相同的功能常常由多个函数提供, 因为2 个是由不同的团队在几乎相同时 阅读全文
posted @ 2014-04-02 09:57 dolinux 阅读(639) 评论(0) 推荐(0)
摘要: 1、http://pan.baidu.com/s/1dDrGeKL2、http://wenku.baidu.com/link?url=qPa_jfkEZCbERnwMYWLwm9EZJ_ebMRJAWifPrQVPDEZuXTpu22epmNDQ1dkL3y0HDTgFPflEgWy4Q_XthkZG4NhSjF_akUS9yFa3RNQ0dD_ 阅读全文
posted @ 2014-03-30 16:55 dolinux 阅读(190) 评论(0) 推荐(0)
摘要: 简介:为保持 Linux 内核的稳定与可持续发展,内核在发展过程中引进了可装载模块这一特性。内核可装载模块就是可在内核运行时加载到内核的一组代码。通常 , 我们会在两个版本不同的内核上装载同一模块失败,即使是在两个相邻的补丁级(Patch Level)版本上。这是因为内核在引入可装载模块的同时,对模块采取了版本信息校验。这是一个与模块代码无关,却与内核相连的机制。该校验机制保证了内 核装载的模块是用户认可的,且安全的。本文将从内核模块发布者的角度思考模块版本检查机制,并从开发者与授权 root 用户的角度去使用及理解该机制。http://pan.baidu.com/s/1ntFguLj 阅读全文
posted @ 2014-03-30 16:50 dolinux 阅读(246) 评论(0) 推荐(0)
摘要: 转载:http://jingyan.baidu.com/article/dca1fa6f815023f1a44052d6.html我以前用的比较多的还是xp系统,对xp系统中的一些常见的操作还是很方便的就能够找到的,但是自从用了win7的时候就感觉有好些功能我都找不到 了,甚至有很多故障在win7的解决方法都不一样了,这个很让我头痛的事,今天我就遇到了这样的情况。不知道如何解决Win7系统中音量图标消失的问题。 但是后来我研究了下,还是找个了两个比较有效的解决方法。 方法/步骤 但是我的电脑在操作的时候系统图标一栏中的音量对应的行为中显示的是关闭,但是图标变灰了不能够切换,如图1.打开... 阅读全文
posted @ 2014-03-30 16:36 dolinux 阅读(287) 评论(0) 推荐(0)
摘要: 转载:http://blog.csdn.net/zwcq82/article/details/4295481原来对mkinitrd不是很了解。最近做内核升级,需要制作信息的initrd文件,发现出错。所以就看看了关于mkinitrd的一些资料。mkinitrd就是制作boot目录下面的initrd文件。这个文件最开始是ext2文件系统,现在基本不用了。目前都是用cpio格式的文件。该文件一般是经过gzip压缩制作的。基本流程如下:[root@localhost init]# file initrd-2.6.28.9.img initrd-2.6.28.9.img: gzip compresse 阅读全文
posted @ 2014-03-30 16:18 dolinux 阅读(3905) 评论(0) 推荐(0)
摘要: 转载:http://blog.163.com/libo_5/blog/static/156968520101016102051580/http://hi.baidu.com/wg_wang/item/f9375c2f00ca75c0ee10f1dbdebian内核编译1、到www.kernel.org/pub/liunux/kernel所需要编译的内核源代码2、安装必要的包,其中kernel-package是debian用以编译内核的工具;fakeroot是一个在系统中创建假root的工具;为dpkg在编译内核中所需udev是管理/dev和hotplug的守护进程;build-essentia 阅读全文
posted @ 2014-03-30 16:14 dolinux 阅读(1057) 评论(0) 推荐(0)
摘要: 转载:http://blog.lmtw.com/b/18215/archives/2010/71074.htmldepmod(depend module)功能说明:分析可载入模块的相依性。语 法: depmod [-b basedir] [-e] [-F System.map] [-n] [-v] [version] [-A] depmod [-e] [-FSystem.map] [-n] [-v] [version] [filename ...]补充说明:depmod可检测模块的相依性,供modprobe在安装模块时使用。参 数: -a或--all 分析所有可用的模块。 -b 如果你的模.. 阅读全文
posted @ 2014-03-30 16:09 dolinux 阅读(2163) 评论(0) 推荐(0)
摘要: 参考:《鸟哥的Linux私房菜》第26章http://hi.baidu.com/wg_wang/item/f9375c2f00ca75c0ee10f1dbhttp://www.linuxdiyf.com/bbs/thread-193762-1-1.html环境:Wind7主机+Debian6虚拟机,虚拟机软件是VirtualBox第一步、下载Linux源码首先需要看一下当前Linux使用的版本pengdl@debian:~$ uname -r2.6.32-5-686可以看到,当前使用的Linux内核版本是:2.6.32.5为了说明问题,我们也从网上下载linux-2.6.32.5(当然也可以下 阅读全文
posted @ 2014-03-30 16:05 dolinux 阅读(2083) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 41 下一页