全部博文(333)
发布时间: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 .........【阅读全文】
发布时间: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.........【阅读全文】
发布时间:2016-10-12 15:53:28
NFS系统无法挂载的问题:手动挂载,需要加参数 -o nolock。例如:mount -t nfs -o nolock 192.168.1.46:/home/tom/rootnfs /mnt自动挂载:修改启动参数kernel bootargs ,将启动参数改为手动配置,然后增加参数nfsroot=192.168.1.46:/home/tom/rootnfs,proto=tcp,nfsvers=3,nolock ip=192.168.1.110其中1.........【阅读全文】
发布时间:2016-10-10 15:52:38
Hi, when configuring my PetaLinux project withImage Packaging Configuration ---> Root filesystem type = SD cardand building the project and then trying to generate the rootfs CPIO using the command$ petalinux-package --image -c rootfs --format initramfswhich I do a.........【阅读全文】