小火苗 发表于 2022-6-4 12:21

【创龙TL570x-EVM】测评06 - QT Dome测试

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">【创龙</font><font face="黑体">TL570x-EVM】测评0</font></span></span><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">6</font></span></span><span style="font-size:18.0000pt"><span style="font-family:黑体">&nbsp;<font face="黑体">- </font></span></span><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">QT Dome测试</font></span></span></span></span></p>

<p align="center" style="text-align:center">&nbsp;</p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">一、QT工程编译说明</font></span></span></span></span></p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"></span></span></p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">二、QT软件安装</font></span></span></span></span></p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">QT软件安装和环境配置,请参考PDF文件,我是按照此文档一步步操作的,挺顺利的。不得不说此教程绝对是反复测试出来的,如法炮制一点问题没有,认真。</font></span></span></span></span></p>

<p style="text-align:left">&nbsp;</p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"></span></span></p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">三、QT Dome测试</font></span></span></span></span></p>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"></span></span></p>

<ol>
        <li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">qtcreator软件大开的时候 我都是使用上图命令行进行操作,如果不这样操作QT打开的工程文件提示报错,也不显示cpp等文件信息。</font></span></span></span></span></li>
        <li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">个人习惯使用</font><font face="黑体">windows开发QT,然后将QT工程复制到linux环境进行编译</font></span></span></span></span></li>
        <li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">编译后的程序放到评估板上之后按路径进行查找,然后运行此程序,官方</font><font face="黑体">dome记得要将test.jpg图片放到一个文件夹内。</font></span></span></span></span></li>
        <li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体">LCD横屏显示图片 </span></span></span></span></li>
</ol>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体">Target# &nbsp;/etc/init.d/matrix-gui-2.0 stop Target# &nbsp;./tl_image_display test.jpg</span></span></span></span></p>

<ol start="5">
        <li style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体"><font face="黑体">LCD竖屏显示图片</font></span></span></span></span></li>
</ol>

<p style="text-align:left"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:18.0000pt"><span style="font-family:黑体">Target# &nbsp;/etc/init.d/matrix-gui-2.0 stop Target# &nbsp;./tl_image_display test.jpg</span></span><span style="font-size:18.0000pt"><span style="font-family:黑体">&nbsp;<font face="黑体">1</font></span></span></span></span></p>

<p style="text-align:left">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">四、HDMI</font><font face="宋体">显示</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">1.</font><font face="宋体">如果软件运行了,但</font><font face="Calibri">HDMI</font><font face="宋体">接口显示不出</font><font face="Calibri">QT</font><font face="宋体">画面,那说明系统处于默认显示状态下,系统默认显示为</font><font face="Calibri">LCD</font><font face="宋体">接口。所以我们需要更改一下。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">2.</font><font face="宋体">打开</font><font face="Calibri">2-1-</font><font face="宋体">评估测试手册,找到</font><font face="Calibri">1.20</font><font face="宋体">章节</font><font face="Calibri">-HDMI OUT </font><font face="宋体">接口测试</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">(</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">注:此步骤是在</font><font face="Calibri">SecureCRT</font><font face="宋体">工具下进行操作的,手册内没提,所以我提示一下</font></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">)</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><b><span style="font-size:10.5000pt"><span style="font-family:宋体"><span style="font-weight:bold"><font face="Calibri">3.</font></span></span></span></b><b><span style="font-size:10.5000pt"><span style="font-family:宋体"><span style="font-weight:bold"><font face="宋体">评估板默认通过</font> <font face="Calibri">LCD </font><font face="宋体">显示。评估板上电后快速点击空格键进入 </font><font face="Calibri">U-Boot </font><font face="宋体">命令行,执行</font></span></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><b><span style="font-size:10.5000pt"><span style="font-family:宋体"><span style="font-weight:bold"><font face="宋体">如下命令设置通过</font> <font face="Calibri">HDMI </font><font face="宋体">显示。 </font></span></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><b><span style="font-size:10.5000pt"><span style="font-family:宋体"><span style="font-weight:bold"><font face="Calibri">U-Boot# setenv optargs omapdrm.displays=1 </font></span></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><b><span style="font-size:10.5000pt"><span style="font-family:宋体"><span style="font-weight:bold"><font face="Calibri">U-Boot# saveenv </font></span></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><b><span style="font-size:10.5000pt"><span style="font-family:宋体"><span style="font-weight:bold"><font face="Calibri">U-Boot# boot </font></span></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>
页: [1]
查看完整版本: 【创龙TL570x-EVM】测评06 - QT Dome测试