Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2593252
  • 博文数量: 333
  • 博客积分: 4817
  • 博客等级: 上校
  • 技术积分: 4413
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-28 10:51
文章分类

全部博文(333)

文章存档

2017年(20)

2016年(57)

2015年(27)

2014年(20)

2013年(21)

2012年(164)

2011年(24)

发布时间:2016-12-09 16:07:03

服务概述在linux操作系统下,经常需要创建一些服务,这些服务被做成shell脚本,这些服务需要在系统启动的时候自动启动,关闭的时候自动关闭。将需要自动启动的脚本/etc/rc.d/init.d目录下,然后用命令chkconfig --add filename将自动注册开机启动和关机关闭。实质就是在rc0.d-rc6.d目录下生成一些文件连接,这.........【阅读全文】

阅读(1515) | 评论(0) | 转发(0)

发布时间:2016-12-08 11:11:23

petalinux2015.4///////////////////////////////////////////////////////source /settings.sh//放在.bash_profile脚本中petalinux-create -t project -s //安装BSP命令petalinux-create --type project --template zynq --name //为工程名pet.........【阅读全文】

阅读(2511) | 评论(0) | 转发(0)

发布时间:2016-12-06 14:16:24

当执行这个函数时:setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP,&mreq, sizeof(mreq));perror("error:");打印错误:setsockopt:no such device度娘原因:What does "IP_ADD_MEMBERSHIP: No such device"mean? It means that the tool is trying to use multicast but the networkinterface .........【阅读全文】

阅读(12167) | 评论(0) | 转发(0)

发布时间:2016-12-02 17:34:11

硬件平台:ZC706使用XSDK编译静态库时,需要设置property->c/c++Build->settings->Target Processor->target family为cortex-a9,默认是cortex-m3,底下的设置都设为Toolchain default,假如不设置如此,在编译应用程序时,会报错:Conflicting architecture profiles M/A.........【阅读全文】

阅读(4403) | 评论(1) | 转发(0)

发布时间:2016-11-17 15:48:26

转载:http://blog.csdn.net/airk000/article/details/21345159Device Tree常用方法解析Device Tree在Linux内核驱动中的使用源于2011年3月17日Linus Torvalds在ARM Linux邮件列表中的一封邮件,他宣称“this whole ARM thing is a f*cking pain in the ass”,并提倡学习PowerPC等其他架构已经成熟使用的.........【阅读全文】

阅读(2131) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册