全志V853 摄像头初体验

  1. 选上SDK里面的摄像头demo
make menuconfig --->
	Allwinner  --->
		eyesee-mpp  --->
			[*]     mpp sample virvi2vo
  1. 在sdk根目录下执行cmpp_p,然后打开Makefile,修改:
kunyao@AwExdroid89:~/workspace/a_tina/package/allwinner/eyesee-mpp/middleware$ git diff .
diff --git a/allwinner/eyesee-mpp/middleware/Makefile b/allwinner/eyesee-mpp/middleware/Makefile
index 37cb9be5e..454b9045d 100755
--- a/allwinner/eyesee-mpp/middleware/Makefile
+++ b/allwinner/eyesee-mpp/middleware/Makefile
@@ -1405,6 +1405,8 @@ define Package/$(PKG_NAME)/install
        find $(SRC_COMPILE_DIR)/media -maxdepth 1 -name "libmedia_mpp.so" -exec $(CP) {} $(1)/usr/lib/eyesee-mpp \;
        find $(SRC_COMPILE_DIR)/sample/configfileparser -maxdepth 1 -name "libsample_confparser.so" -exec $(CP) {} $(1)/usr/lib/eyesee-mpp \;
        #       $(INSTALL_BIN) $(SRC_COMPILE_DIR)/logcat/alogcat.sh $(1)/bin/alogcat
+       $(CP) $(SRC_COMPILE_DIR)/sample/sample_virvi2vo/sample_virvi2vo $(1)/usr/bin
+       $(CP) $(SRC_COMPILE_DIR)/sample/sample_virvi2vo/sample_virvi2vo.conf $(1)/usr
 endef

 #define Package/$(PKG_NAME)/InstallDev

  1. roofs改到,不然pack的时候会报错
tina/device/config/chips/v853/configs/vision/linux$ git diff .
diff --git a/configs/vision/linux/sys_partition.fex b/configs/vision/linux/sys_partition.fex
index c24583f..b258e87 100755
--- a/configs/vision/linux/sys_partition.fex
+++ b/configs/vision/linux/sys_partition.fex
@@ -54,7 +54,7 @@ size = 4096

 [partition]
     name         = rootfs
-    size         = 34304
+    size         = 68608
     downloadfile = "rootfs.fex"
     user_type    = 0x8000

4.重新编译打包把固件烧到开发板里去

sample_virvi2vo /usr/sample_virvi2vo.conf

摄像头开启,屏幕显示实时预览

原贴链接:https://bbs.aw-ol.com/topic/1457/
全志在线开发者交流企鹅群(客服机器人24小时在线解答):498263967
资源获取、问题讨论可以到全志在线开发者社区进行:https://www.aw-ol.com
全志及开发者最新动态可以关注全志在线微信公众号

你可能感兴趣的:(全志V853,linux,全志,全志V853,嵌入式,摄像头)