摘要: 采用NFS挂载根文件系统启动开发板出现:1 nfs xxx is not responding,still trying2 nfs xxx is OK3 nfs xxx is not responding,still trying4 ...............不断的出现没有回应。。成功。。要很长... 阅读全文
posted @ 2016-01-04 22:19 青春没有尾巴 阅读(2321) 评论(0) 推荐(0) 编辑
摘要: 1、安装tftpd-hpa :1 sudo apt-get install tftpd-hpa2、在根目录创建一个tftp共享文件夹:1 sudo mkdir /tftpboot3、修改tftp共享文件夹权限为777 :1 sudo chmod 777 /tftpboot4、配置tftpd-hpa:... 阅读全文
posted @ 2016-01-04 22:13 青春没有尾巴 阅读(781) 评论(0) 推荐(0) 编辑
摘要: 在Windows下编写的代码放在Linux下用vim打开之后中文注释全乱了:原因就是编码格式不一致,解决办法:打开vim配置文件: sudo vim /etc/vim/vimrc在最后添加三行代码以支持utf-8编码:1 set fileencodings=utf-8,ucs-bom,gb18030... 阅读全文
posted @ 2016-01-04 22:03 青春没有尾巴 阅读(118) 评论(0) 推荐(0) 编辑
摘要: struct cdev结构体:1 struct cdev {2 struct kobject kobj; /* 内嵌的kobject对象 */3 struct module *owner; /* 所属模块 */4 const struct file_operations *o... 阅读全文
posted @ 2016-01-04 20:32 青春没有尾巴 阅读(274) 评论(0) 推荐(0) 编辑