发布时间 : 星期六 文章R16 Tina开发v1.1更新完毕开始阅读15941978a55177232f60ddccda38376baf1fe081
刷机
1. 开发板拿到的时候是安卓,先使用PhoenixSuit刷入sun8iw5p1_tina_evb_card0_dong.img 2. 然后再刷入我们自己的img。自己的img需要刷两次,确保成功无误
刷机操作
1. 打开PhoenixSuit软件。在‘在线更新’页面,选择所需刷入的img
2. 3. 4. 5. 6.
连接上开发板与pc,安装配置好驱动,ADB 开机开发板 点击reset
然后长按vol+,直到弹出提示 选择两次‘是’,开始刷机
检查烧录成功如否
如上图显示,opencv已安装成功
应用程序编写与安装
参考cameratest
1. 应用程序文件夹下,有Makefile与src文件夹。这个makefile是供linuxmenuconfig识别
使用。这个有一个约定俗成的规范(百度一下)。
############################################## # OpenWrtMakefile for helloworld program #
# Most of the variables used here are defined in # the include directives below. We just need to # specify a basic description of the package, # where to build our program, where to find # the source files, and where to install the # compiled program on the router. #
# Be very careful of spacing in this file. # Indents should be tabs, not spaces, and # there should be no trailing whitespace in # lines that are not commented. #
############################################## include $(TOPDIR)/rules.mk
# Name and release number of this package PKG_NAME:=cameratest PKG_VERSION:=0.0.1 PKG_RELEASE:=1