摘要: 1.解压缩文件: # tar xvf dnw_for_linux.tar.gz 2.然后切换到下面的目录,编译usb驱动模块: # cd dnw_for_linux/secbulk # make -C /lib/modules/2.6.33.6-147.fc13.i686/build/ M=/home/lhc/Desktop/dnw_for_linux/secbulk/ modules (注 意:相应路径要替换成你机器的路径。/lib/modules/2.6.33.6-147.fc13.i686/build/目录中 “2.6.33.6-147.fc13.i686”是当前启动内核版本,... 阅读全文
posted @ 2011-09-23 22:02 wanyao 阅读(3745) 评论(0) 推荐(0) 编辑
摘要: 最近搭建嵌入式开发环境,安装minicom后启动时出现Device /dev/ttyS0 lock failed我另一个终端可能没有关闭minicom,再打开一个终端时出现提示: Device /dev/ttyS0 lock failed: Operation not permitted. 之前yum的时候也出现过进程占用情况,是在/var/run里删掉yum.pid解决的。现在这个问题类似的 查看哪个进程在用minicom吧: [root@localhost lll]# ps auxf |grep minicom root 4973 0.0 0.4 5620 2456 ? S Oct26 0 阅读全文
posted @ 2011-09-23 21:44 wanyao 阅读(4269) 评论(0) 推荐(0) 编辑
摘要: 2.6.14 内核移植说明文档 一、编译内核 1. make distclean 或者 make mrproper如果你是新下载的内核,那这一步就不用了。但如果你用的是别人移植好的内核,那最好在编译内核之前先清除一下中间文件,因为你们用来编译内核的交叉编译工具可能不同。 2.修改 Makefile主要是以下两项: 1 ) ARCH = arm2) CROSS_COMPILE = /usr/local/arm/3.4.1/bin/arm-linux-注 :在我的宿主机上有不少的交叉编译工具,而我又不习惯每次都传递参数,所以我选择写进 Makefile ,如果你的交叉编译工具存放在不同的目录或者使 阅读全文
posted @ 2011-09-23 19:30 wanyao 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 【问题】系统启动后,虽然nand驱动表现正常,但是最后挂载rootfs时候出错:Kernel command line: root=/dev/mtdblock2 rw init=/linuxrc console=ttyAMA1,115200 mem=64M rootfstype=yaffs2。。。。。。。。AS353X NAND Driver, (c) 2010 austriamicrosystemsas353x_nand_probeNand clock set to 24000000Nand:res->start at e60000Nand:mapped registers at c4 阅读全文
posted @ 2011-09-23 19:16 wanyao 阅读(7830) 评论(0) 推荐(0) 编辑
摘要: 最近学习Linux ARM开发,按着手册上的说明移植内核,在建立编译环境时首先在内核最外层的目录下使用make menuconfig命令,例如:[root@wanyao linux-2.6.30.4]# make menuconfig结果出错了,出错信息如下:*** Unable to find the ncurses libraries or the*** required header files.*** 'make menuconfig' requires the ncurses libraries.****** Install ncurses (ncurses-deve 阅读全文
posted @ 2011-09-20 09:02 wanyao 阅读(10392) 评论(0) 推荐(0) 编辑
摘要: 刚安装完Centos6,yum安装软件时经常遇到这种问题:Packages skipped because of dependency problems:一般都是用yum install *** --skip-broken后来在网上找到了解决方案:1、将/etc/yum.repos.d文件夹下所有repos文件转移,然后把用的那个repo拷贝回来(保证repo所在目录只有你的那1个文件)2、yum clean all3、再yum install安装看看 阅读全文
posted @ 2011-09-19 20:55 wanyao 阅读(8365) 评论(0) 推荐(0) 编辑
摘要: 编辑器加载中...kernel-ntfs-2.6.32-71.el6.i686.rpm 阅读全文
posted @ 2011-09-18 22:07 wanyao 阅读(1332) 评论(6) 推荐(1) 编辑
摘要: These days I install a CentOs but I can't input in Chinese .This make me upset.Then I know it's the problem of yum.Then I changed the yum source.第1步wget http://mirrors.ustc.edu.cn/centos/CentOS-Base.5.mirrors.repo -O /etc/yum.repos.d/CentOS-Base.repo备份yum配置文件,修改yum配置文件。cp /etc/yum.repos.d/Ce 阅读全文
posted @ 2011-09-15 09:28 wanyao 阅读(4118) 评论(0) 推荐(0) 编辑
摘要: 刚装完CentOs但不能上网,很是纠结。service network restart出现下面错误:Error: Connection activation failed: Device not managed by NetworkManager原因:系统中有两个服务在管理网络,所以需要停掉一个解决方案:1、Remove Network Manager from startup Service#chkconfig NetworkManager off2. Add Default NetManager#chkconfig network on3.Stop NetworkManager first 阅读全文
posted @ 2011-09-14 21:08 wanyao 阅读(1584) 评论(0) 推荐(0) 编辑
摘要: 一、检测pppoeconf软件是否安装 $ dpkg -s pppoeconf出现如下说明已安装:{{Package: pppoeconfStatus: install ok installedPriority: optionalSection: netInstalled-Size: 340Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>Architecture: allVersion: 1.19ubuntu1Depends: whiptail-provider | whiptail, ppp 阅读全文
posted @ 2011-08-01 01:46 wanyao 阅读(5442) 评论(0) 推荐(0) 编辑