2017年6月16日

Ulipad运行源码出错

摘要: 和有道冲突 mixins目录下的Import.py的195行改为 dlg = wx.FileDialog(win,tr("File List"),win.pref.last_dir,"",'|'.join(win.filewildchar),wx.OPEN|wx.HIDE_READONLY|wx.M 阅读全文

posted @ 2017-06-16 10:50 埋头数月亮 阅读(203) 评论(0) 推荐(0) 编辑

2016年10月14日

静态申请设备号

摘要: 需要考虑占用情况 cat /proc/devices 阅读全文

posted @ 2016-10-14 11:19 埋头数月亮 阅读(128) 评论(0) 推荐(0) 编辑

2016年10月12日

ffmpeg yuv转h264

摘要: ffmpeg -s 176x144 -i container_qcif_176_144.yuv -b:v 7776k -r 25 -vcodec libx264 ds.h264 阅读全文

posted @ 2016-10-12 11:11 埋头数月亮 阅读(725) 评论(0) 推荐(0) 编辑

2016年8月26日

字符串异或比较

摘要: [40]take 14714us ######################23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 阅读全文

posted @ 2016-08-26 09:37 埋头数月亮 阅读(2718) 评论(0) 推荐(0) 编辑

2016年8月24日

移植openssl

摘要: 1、官网(ftp://ftp.openssl.org/source/old/0.9.x/)下载openssl-0.9.8k.tar.gz2、交叉编译openssl CC=arm-hisiv400-linux-gcc ./config no-asm shared --prefix=/home/shn/ 阅读全文

posted @ 2016-08-24 11:25 埋头数月亮 阅读(171) 评论(0) 推荐(0) 编辑

2016年8月15日

大内存拷贝考虑使用指针代替

摘要: 这里要实际考虑写速度和拷贝文件速度 阅读全文

posted @ 2016-08-15 14:42 埋头数月亮 阅读(286) 评论(0) 推荐(0) 编辑

字符串做异或使用union

摘要: take 21us take 3us take 5us 阅读全文

posted @ 2016-08-15 13:13 埋头数月亮 阅读(604) 评论(0) 推荐(0) 编辑

2016年8月2日

内核升级修复nfs

摘要: Not starting NFS kernel daemon: no support in current kernel. sudo gedit /etc/init.d/nfs-kernel-server # See if our running kernel supports the NFS ke 阅读全文

posted @ 2016-08-02 16:00 埋头数月亮 阅读(688) 评论(0) 推荐(0) 编辑

2016年5月25日

ubuntu安装kernel3.10.34

摘要: 参考http://www.linuxidc.com/Linux/2014-03/98818.htm 32位系统安装 wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.34-saucy/linux-headers-3.10.34-031034_3.10 阅读全文

posted @ 2016-05-25 16:15 埋头数月亮 阅读(199) 评论(0) 推荐(0) 编辑

linux 加载驱动后有permanent的解决办法

摘要: 参考http://blog.csdn.net/zmnqazqaz/article/details/38058713解决 原因是系统默认内核使用gcc与当前编译模块gcc版本不同导致的。 查看内核默认使用gcc版本 cd /lib/modules/`uname -r`/build/include/ge 阅读全文

posted @ 2016-05-25 15:55 埋头数月亮 阅读(674) 评论(0) 推荐(0) 编辑

导航