发布时间:2014-04-19 17:04:56
#include <linux/***.h> 是在/opt/EmbedSk/linux-2.6.30.4/include/linux下面寻找源文件。#include <asm/***.h> 是在linux-2.6.29/arch/arm/include/asm下面寻找源文件。#include <mach/***.h> 是在linux-2.6.29/arch/arm/mach-s3c2410/include/mach下面寻找源文件。#include<plat/regs-adc.h>在linux-2.6.31.........【阅读全文】
发布时间:2014-04-14 13:31:29
装的是RedHat Entprise Linux5 ,内核版本是:2.6.18-92.el5,GCC是gcc-4.1.2-42.el5,从网上下载了linux-2.6.33.3.tar.bz2,在升级编译完内核,重启后提示如下错误信息:RedHat nash Version 5.1.19.6 startingrver(2.6.33.3)mount: could not find filesystem ‘/dev/root’setuproot: moving /dev faile.........【阅读全文】
发布时间:2014-04-05 18:37:28
在调试SDIO(mmc2) wifi驱动时,当wifi驱动初始化进行到rc = request_irq(OMAP_MMC_IRQ,sdiodrv_irq,0,SDIO_DRIVER_NAME,&g_drv)时,rc返回不为零,而是-16,在errno-base.h里看到#define EBUSY 16/* Device or resource busy */可知该中断已经被使用,执行cat /proc/interrupts果然发现OMAP_MM.........【阅读全文】
发布时间:2014-04-05 18:34:00
platform_get_resource函数源码分析:/***platform_get_resource-getaresourceforadevice*@dev:platformdevice*@type:resourcetype*@num:resourceindex*/structresource*platform_get_resource(structplatform_device*dev,unsignedinttype,unsignedintnum).........【阅读全文】