“MYZR Android4.4.2 双屏异步APK 测试手册”的版本间的差异

来自明远智睿的wiki
跳转至: 导航搜索
 
第1行: 第1行:
 
<div>
 
<div>
  
= '''文档说明(document instruction)''' =
+
= '''文档说明''' =
 
----
 
----
== '''系统环境说明(system invironment instruction)''' ==
+
== '''系统环境说明''' ==
 
*编译主机CPU架构:64位 <br>
 
*编译主机CPU架构:64位 <br>
<span style="background:#CCCCCC">compife CPU architecture of host:64 bit</span><br>
 
 
*编译主机系统:Linux <br>
 
*编译主机系统:Linux <br>
<span style="background:#CCCCCC">compife host system:Linux</span><br>
 
 
*Linux发行版:Ubuntu <br>
 
*Linux发行版:Ubuntu <br>
<span style="background:#CCCCCC">Linux release version:Ubuntu</span><br>
 
 
*Ubuntu版本类型:服务器版 <br>
 
*Ubuntu版本类型:服务器版 <br>
<span style="background:#CCCCCC">Ubuntu version type:server version</span><br>
 
 
 
*Ubuntu版本号:12.04.5 <br>
 
*Ubuntu版本号:12.04.5 <br>
<span style="background:#CCCCCC">Ubuntu version model:12.04.5 </span><br>
 
 
*Ubuntu系统类型:x86-64 <br>
 
*Ubuntu系统类型:x86-64 <br>
<span style="background:#CCCCCC">Ubuntu system type:x86-64 <br></span>
 
 
  <span style="color:red">注意:开发主机请使用ubuntu 12.04.5 x86-64(桌面版或服务器版均可),使用其他发行版的Linux或Ubuntu的其它版本可能会遇到的不必要的问题。 <br></span>
 
  <span style="color:red">注意:开发主机请使用ubuntu 12.04.5 x86-64(桌面版或服务器版均可),使用其他发行版的Linux或Ubuntu的其它版本可能会遇到的不必要的问题。 <br></span>
<span style="background:#CCCCCC"><span style="color:red">note:for host please use ubuntu 12.04.5 x86-64(either desk version or server version is ok),it may cause unnecessory problems if use other release versions of Linux or other versions of Ubuntu。 </span>)<br></span>
 
  
  
 
+
== '''操作说明 ''' ==
== '''操作说明(operation instruction) ''' ==
 
 
1)文档中以“$”开头的行,其后是Linux命令。 <br>
 
1)文档中以“$”开头的行,其后是Linux命令。 <br>
<span style="background:#CCCCCC">the lines start with “$" in document,will be followed by Linux command。</span><br>
 
 
2)文档中所有的Linux命令建议手动输入到Linux主机执行(直接复制、粘贴到Linux主机上执行,可能会执行失败)。 <br>
 
2)文档中所有的Linux命令建议手动输入到Linux主机执行(直接复制、粘贴到Linux主机上执行,可能会执行失败)。 <br>
<span style="background:#CCCCCC">it is recommended to enter manually all Linux commands in document to host for execution(direct copying,pasting to host for execution may cause a failed execution)。</span> <br>
 
 
3)文档中的Linux执行命令,如果空格后的下一个字符是“-”的(如:sudo apt-get –y install之类的),请手动输入到Linux主机执行(直接复制、粘贴到Linux主机上执行,通常会执行失败)。 <br>
 
3)文档中的Linux执行命令,如果空格后的下一个字符是“-”的(如:sudo apt-get –y install之类的),请手动输入到Linux主机执行(直接复制、粘贴到Linux主机上执行,通常会执行失败)。 <br>
<span style="background:#CCCCCC">in Linux commands in the document,if following space is “-”(i.e:sudo apt-get –y install such as),please enter manually to host for execution(direct copying,pasting to host for execution may cause a failed execution)。</span> <br>
 
 
4)文档中所有一行没写完的Linux命令请手动输入到Linux主机执行,(因为复制、粘贴命令不能包含类似“换行符”之类的特殊字符)。 <br>
 
4)文档中所有一行没写完的Linux命令请手动输入到Linux主机执行,(因为复制、粘贴命令不能包含类似“换行符”之类的特殊字符)。 <br>
<span style="background:#CCCCCC">for any line with unfinished Linux command in document,please enter manually to host for execution(because copying,pasting command can't contain special charaters such as“line break”)。</span> <br>
 
 
5)按文档输入并执行Linux命令时注意观察命令的执行结果与文档图片中的是否一致,以确认命令是否输入有误及是否执行失败。) <br>
 
5)按文档输入并执行Linux命令时注意观察命令的执行结果与文档图片中的是否一致,以确认命令是否输入有误及是否执行失败。) <br>
<span style="background:#CCCCCC">when enter and execut Linux commands based on document,please see if result of executing command is consistent with document image,to identify whether there was mistake of command input or a failure of executionx。</span> <br>
 
 
6)第一遍编译请严格按照文档进行,否则可能出现莫名其妙的错误。<br>
 
6)第一遍编译请严格按照文档进行,否则可能出现莫名其妙的错误。<br>
<span style="background:#CCCCCC">please conduct compilation strictly based on document for the first time, otherwise some unexpected errors will occur.</span><br>
 
  
  
== '''截图说明(screenshot instruction)''' ==
+
== '''截图说明''' ==
 
为使视图看起来简洁整齐,截图中的命令提示符统一使用<span style="color:green">myzr</span>$。<br>
 
为使视图看起来简洁整齐,截图中的命令提示符统一使用<span style="color:green">myzr</span>$。<br>
<span style="background:#CCCCCC">in order for the view to look neat and tidy为,please use uniformly all command prompts as <span style="color:green">myzr</span>$。</span><br>
 
 
== '''图片中的Linux命令(Linux command in Linux image)''' ==
 
== '''图片中的Linux命令(Linux command in Linux image)''' ==
 
在文档的图片中观察“<span style="color:green">myzr</span>$”开头的行可以直观的看到输入的Linux命令。<br>
 
在文档的图片中观察“<span style="color:green">myzr</span>$”开头的行可以直观的看到输入的Linux命令。<br>
<span style="background:#CCCCCC">in document image obverve the lines started with “<span style="color:green">myzr</span>$”,you can see visualy Linux commands inputed。<br></span>
 
 
开发板接上1024X600的LVDS屏和接上1920X1080的HDMI屏,启动板子,进入U-BOOT控制终端。<br>
 
开发板接上1024X600的LVDS屏和接上1920X1080的HDMI屏,启动板子,进入U-BOOT控制终端。<br>
<span style="background:#CCCCCC">connect 1024X600 LVDS screen and 1920X1080 HDMI screen with develpment board,boot the board,and enter U-BOOT control terminal。</span><br>
+
 
= '''预备工作(preparation)''' =
+
= '''预备工作''' =
 
----
 
----
 
 
 
1.设置环境变量<br>
 
1.设置环境变量<br>
<span style="background:#CCCCCC">set environment variables</span><br>
 
 
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off fbmem=10M androidboot.hardware=freescale<br>
 
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off fbmem=10M androidboot.hardware=freescale<br>
 
2.把显示的视频复制到/data/app目录(需要biheng.mp4名字的MP4格式视频)<br>
 
2.把显示的视频复制到/data/app目录(需要biheng.mp4名字的MP4格式视频)<br>
<span style="background:#CCCCCC">copy the vedio shown to /data/app directory(need video in MP4 format and named as biheng.mp4)</span><br>
 
 
chmod 777 /data/app/ (串口终端)<br>
 
chmod 777 /data/app/ (串口终端)<br>
<span style="background:#CCCCCC">chmod 777 /data/app/ (serial interface terminal)</span><br>
 
 
adb push biheng.mp4 /data/app<br>
 
adb push biheng.mp4 /data/app<br>
 
<br>
 
<br>
第61行: 第39行:
 
<br>
 
<br>
 
3.安装APK软件<br>
 
3.安装APK软件<br>
<span style="background:#CCCCCC">install APK software</span><br>
 
 
adb install myzr_disp.apk <br>
 
adb install myzr_disp.apk <br>
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_2.png]]<br>
 
[[文件:MYZR_Android4.4.2_2.png]]<br>
 
<br>
 
<br>
= '''测试(test)''' =
+
= '''测试''' =
  
 
----
 
----
 
默认启动后如下图所示:<br>
 
默认启动后如下图所示:<br>
<span style="background:#CCCCCC">after boot with following default :</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_3.png]]<br>
 
[[文件:MYZR_Android4.4.2_3.png]]<br>
 
<br>
 
<br>
 
点击[[文件:MYZR_Android4.4.2_4.png]]应用,出现以下界面:<br>
 
点击[[文件:MYZR_Android4.4.2_4.png]]应用,出现以下界面:<br>
<span style="background:#CCCCCC">click[[file:MYZR_Android4.4.2_4.png]] application,come out with following interface:</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_5.png]]<br>
 
[[文件:MYZR_Android4.4.2_5.png]]<br>
 
<br>
 
<br>
 
接着点击Show all displays选项,会出现以下界面:<br>
 
接着点击Show all displays选项,会出现以下界面:<br>
<span style="background:#CCCCCC">then click option of Show all displays,come out with following interface:</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_6.png]]<br>
 
[[文件:MYZR_Android4.4.2_6.png]]<br>
 
<br>
 
<br>
 
先点上面的Button按键,出现对应屏的显示信息。(上面对应的是LVDS)点击[[文件:MYZR_Android4.4.2_7.png]]可以返回。<br>
 
先点上面的Button按键,出现对应屏的显示信息。(上面对应的是LVDS)点击[[文件:MYZR_Android4.4.2_7.png]]可以返回。<br>
<span style="background:#CCCCCC">press the top Button key fistly,information shown on the corresponding screen。(corresponding screen on the top is LVDS)click [[file:MYZR_Android4.4.2_7.png]] to return。</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_8.png]]<br>
 
[[文件:MYZR_Android4.4.2_8.png]]<br>
 
 
  
 
<br>
 
<br>
 
点击下面的Button按键,出现对应屏的显示信息。(下面对应的是HDMI)点击[[文件:MYZR_Android4.4.2_9.png]]可以返回。<br>
 
点击下面的Button按键,出现对应屏的显示信息。(下面对应的是HDMI)点击[[文件:MYZR_Android4.4.2_9.png]]可以返回。<br>
<span style="background:#CCCCCC">press Button key on bottom,information shown on the corresponding screen。(corresponding screen on the bottom is HDMI)click [[file:MYZR_Android4.4.2_9.png]] to return。</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_10.png]]<br>
 
[[文件:MYZR_Android4.4.2_10.png]]<br>
 +
 
这里设置的环境变量以HDMI默认做为副屏的,可以点击HDMI的CheckBox选项实现播放视频的效果:<br>
 
这里设置的环境变量以HDMI默认做为副屏的,可以点击HDMI的CheckBox选项实现播放视频的效果:<br>
<span style="background:#CCCCCC">here set environment variables with HDMI as subpanel,click option of HDMI CheckBox to realize playing of video:</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_11.png]]<br>
 
[[文件:MYZR_Android4.4.2_11.png]]<br>
 
<br>
 
<br>
 
可以看到HDMI开始播放视频。如果再点击HDMI的CheckBox选项的话,就关闭视频。<br>
 
可以看到HDMI开始播放视频。如果再点击HDMI的CheckBox选项的话,就关闭视频。<br>
<span style="background:#CCCCCC">HDMI start to play video。click the option of HDMI CheckBox again,then the video will be  closed。</span><br>
+
 
 
再重复点击LVDS的CheckBox选项:<br>
 
再重复点击LVDS的CheckBox选项:<br>
<span style="background:#CCCCCC">then press once more LVDS的CheckBox option:</span><br>
 
 
<br>
 
<br>
 
[[文件:MYZR_Android4.4.2_12.png]]<br>
 
[[文件:MYZR_Android4.4.2_12.png]]<br>
 
<br>
 
<br>
 
可看到显示的图片,按 返回,可以重新LVDS的CheckBox选项,图片是随机显示的。<br>
 
可看到显示的图片,按 返回,可以重新LVDS的CheckBox选项,图片是随机显示的。<br>
<span style="background:#CCCCCC">can visialize image shown,press back,to LVDS的CheckBox option,image shown is random。</span><br>
+
 
 
</div>
 
</div>

2018年7月27日 (五) 10:13的最新版本

文档说明


系统环境说明

  • 编译主机CPU架构:64位
  • 编译主机系统:Linux
  • Linux发行版:Ubuntu
  • Ubuntu版本类型:服务器版
  • Ubuntu版本号:12.04.5
  • Ubuntu系统类型:x86-64

  注意:开发主机请使用ubuntu 12.04.5 x86-64(桌面版或服务器版均可),使用其他发行版的Linux或Ubuntu的其它版本可能会遇到的不必要的问题。


操作说明

1)文档中以“$”开头的行,其后是Linux命令。
2)文档中所有的Linux命令建议手动输入到Linux主机执行(直接复制、粘贴到Linux主机上执行,可能会执行失败)。
3)文档中的Linux执行命令,如果空格后的下一个字符是“-”的(如:sudo apt-get –y install之类的),请手动输入到Linux主机执行(直接复制、粘贴到Linux主机上执行,通常会执行失败)。
4)文档中所有一行没写完的Linux命令请手动输入到Linux主机执行,(因为复制、粘贴命令不能包含类似“换行符”之类的特殊字符)。
5)按文档输入并执行Linux命令时注意观察命令的执行结果与文档图片中的是否一致,以确认命令是否输入有误及是否执行失败。)
6)第一遍编译请严格按照文档进行,否则可能出现莫名其妙的错误。


截图说明

为使视图看起来简洁整齐,截图中的命令提示符统一使用myzr$。

图片中的Linux命令(Linux command in Linux image)

在文档的图片中观察“myzr$”开头的行可以直观的看到输入的Linux命令。
开发板接上1024X600的LVDS屏和接上1920X1080的HDMI屏,启动板子,进入U-BOOT控制终端。

预备工作


1.设置环境变量
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off fbmem=10M androidboot.hardware=freescale
2.把显示的视频复制到/data/app目录(需要biheng.mp4名字的MP4格式视频)
chmod 777 /data/app/ (串口终端)
adb push biheng.mp4 /data/app

MYZR Android4.4.2 1.png

3.安装APK软件
adb install myzr_disp.apk

MYZR Android4.4.2 2.png

测试


默认启动后如下图所示:

MYZR Android4.4.2 3.png

点击MYZR Android4.4.2 4.png应用,出现以下界面:

MYZR Android4.4.2 5.png

接着点击Show all displays选项,会出现以下界面:

MYZR Android4.4.2 6.png

先点上面的Button按键,出现对应屏的显示信息。(上面对应的是LVDS)点击MYZR Android4.4.2 7.png可以返回。

MYZR Android4.4.2 8.png


点击下面的Button按键,出现对应屏的显示信息。(下面对应的是HDMI)点击MYZR Android4.4.2 9.png可以返回。

MYZR Android4.4.2 10.png

这里设置的环境变量以HDMI默认做为副屏的,可以点击HDMI的CheckBox选项实现播放视频的效果:

MYZR Android4.4.2 11.png

可以看到HDMI开始播放视频。如果再点击HDMI的CheckBox选项的话,就关闭视频。

再重复点击LVDS的CheckBox选项:

MYZR Android4.4.2 12.png

可看到显示的图片,按 返回,可以重新LVDS的CheckBox选项,图片是随机显示的。