自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (4)
  • 收藏
  • 关注

原创 shell mount根据uuid挂载设备

【代码】shell根据uuid挂载设备。

2022-10-07 14:46:41 482 1

原创 C++实现过滤目录下指定文件并删除其他文件及目录

首先遍历目录下的所有文件和目录,然后删除指定文件之外的所有文件和目录,指定文件只位于顶层目录。代码:dirtest.cpp#include <iostream>#include <stdio.h>#include <string.h>#include <unistd.h>#include <stdlib.h>#include <sys/stat.h>#include <dirent.h>using

2020-11-26 10:16:49 770

原创 海思Hi3559av100 sample代码库与qt代码的融合

1、将qt工程放在mpp/sample目录下,与vio等同级2、生成Makefile在qt工程目录下执行/opt/qt5.9.7_hi3559av100/bin/qmake3、修改Makefilea、增加上层目录的Makefile.paraminclude ../Makefile.paramb、CFLAGS 由“=”改为“+=”c、INCPATH 由 “=”改...

2019-07-24 18:11:09 2268 1

原创 shell实现看门狗功能

新建一个shell脚本vi wd.sh内容如下:#!/bin/shcnt=0while [ $cnt -lt 3 ]do sleep 2 cmd=`ps | grep demo | grep -v grep | awk '{printf $4}' | awk -F/ '{printf $3}'` if [ ${cmd}"A" = demo"A" ] then #...

2019-07-24 17:42:49 1932 1

原创 海思Hi3559av100移植Qt5.9.7

1、下载源码http://download.qt.io/archive/qt/5.9/5.9.7/single/2、解压tar -xvf qt-everywhere-opensource-src-5.9.7.tar.xz3、进入源码目录将目录qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs下的文件夹“linux-arm-gnu...

2019-07-17 15:55:12 4046 3

原创 海思Hi3559av100移植samba文件服务器

下载地址https://download.samba.org/pub/samba/1、解压源码tar -xvf samba-3.0.37.tar.gz2、进入源码目录cd samba-3.0.37/source/3、配置hi3559av100./configure CC=aarch64-himix100-linux-gcc LD=aarch64-himix100...

2019-07-16 20:43:13 1050 2

原创 海思Hi3559av100交叉编译移植tslib

部分来自网络,并整理验证。确认已安装以下组件apt-get install autoconf automake libtool1、下载源码:https://github.com/libts/tslib选择zip下载2、编译进入解压后的目录./autogen.sh./configure --prefix=/opt/tslib_hi3559av100 --host...

2019-07-16 18:23:29 1238 1

原创 海思Hi3519V101使用串口1、2、3

第一步修改内核dts修改文件:hisi-hi3519v101-hmp-demb.dts路径:/home/year/hisi/Hi3519V101_SDK_V1.0.5.0/osdrv/opensource/kernel/linux-3.18.y/arch/arm/boot/dts搜索uart0,在下方添加&uart0 { status = "okay";};&am...

2019-07-12 00:27:48 1372

原创 海思Hi3559av100移植ntfs-3g

参考文章:https://blog.csdn.net/zhen_song/article/details/79020502配置:./configure CC=aarch64-himix100-linux-gcc --build=i386 --host=aarch64-himix100-linux --prefix=/home/year/test/ntfs-3g/ntfs-3g_ntfs...

2019-06-20 18:09:44 952

原创 海思通过udev实现自动挂载U盘和SD卡

(来自网络并修改验证)vi /etc/udev/rules.d/10-my-dev.rules按“i”进入编辑模式,修改完后按“ESC键”并输入“wq”保存退出ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /mnt/%k"ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="...

2019-06-20 17:34:10 1932

原创 海思调试串口增加登录密码

(来自网络并修改验证)海思默认的调试串口没有加密码,在发布产品的时候我们往往会给串口加密,按如下操作即可实现.1.修改inittab文件vi /etc/inittab将#::askfirst:-/bin/sh改为::askfirst:-/bin/login,再将::respawn:/sbin/getty -L ttyS000 115200 vt100 -n root -I "Au...

2019-05-17 10:47:54 1856

sample_hifb.c

海思hi3559av100跑Qt、tslib需要的hifb程序 Usage : ./sample_hifb /****************index******************/ please choose the case which you want to run: 0: ARGB8888 standard mode 1: ARGB1555 BUF_DOUBLE mode 2: ARGB1555 BUF_ONE mode 3: ARGB1555 BUF_NONE mode 4: ARGB1555 BUF_DOUBLE mode with compress 5: ARGB8888 BUF_DOUBLE mode with compress 6: ARGB8888 Qt /****************device******************/ 0) VO device 0#, default. 1) VO device 1#. /****************intf******************/ 0) VO HDMI output, default. 1) VO BT1120 output. 2) VO MIPI_TX output.

2019-07-16

OS08A20 sensor datasheet

OmniVision's OS08A20 is the first 8-megapixel image sensor to combine Nyxel™ technology with OmniVision's PureCel® pixel architecture, which allows the OS08A20 to capture ultra-high definition (UHD) 4K2K video and images that are bright and crisp in all lighting conditions. This makes it an ideal imaging solution for professional surveillance systems, as well as other nascent security applications such as body-worn cameras.

2019-01-10

IMX226 Datasheet

IMX226 Datasheet IMX226 Datasheet IMX226 Datasheet

2018-07-02

标准24色色卡

标准24色色卡,调试sensor时方便测试。标准24色色卡,调试sensor时方便测试。标准24色色卡,调试sensor时方便测试。

2018-07-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除