- 博客(2)
- 收藏
- 关注
原创 驱动基本机构
字符驱动 定义字符设备 struct cdev test; 取得设备号 MKDEV 初始化字符设备 void cdev_init(struct cdev *cdev, const struct file_operations *fops) 向系统添加字符设备 int cdev_add(struct cdev *p, dev_t dev, unsigned count) 删除字符设备 void c...
2021-09-05 21:01:46 63
原创 raspberry pi 编译相关
ubuntu 18.04下将mp4视频转为h264编码格式的mp4视频 sudo apt install ffmpeg ffmpeg -i try.MP4 -vcodec h264 try.h264 vim 中查看16进制 :%!xxd 解压tar.xz文件 xz -d xxx.tar.xz 解决GitHub下载速度太慢的问题 执行 sudo vi /etc/hosts 追加 219.76.4.4 github-cloud.s3.amazonaws.com ...
2021-09-02 10:38:21 88
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人