Difference between revisions of "CL-SOM-AM57x: Linux: TI SDK demo"

From Compulab Mediawiki
Jump to: navigation, search
 
Line 1: Line 1:
 
== Connection and Logging In ==
 
== Connection and Logging In ==
Login as '''root''':
+
Use the following username and password to login:
 
<pre>
 
<pre>
Debian GNU/Linux 8 cl-som-am57x-jessie ttyS2
+
cl-som-am57x-jessie login: root
 +
Password: 111111
 +
</pre>
  
cl-som-am57x-jessie login:</pre>
+
== Multimedia Examples ==
 
+
* Run pre-installed demo
== Jessie Multimedia ==
+
{{Note|Some demos can't run if Weston is up. Stop it before running the demos.}}
* Disable Matrix GUI auto start
 
 
<pre>
 
<pre>
root@cl-som-am57x-jessie:~# update-rc.d matrix-gui-2.0 remove
+
root@cl-som-am57x-jessie:~# /etc/init.d/weston stop
 
</pre>
 
</pre>
* Weston Start/Stop
+
* H.264 Decoding
:Start<pre>root@cl-som-am57x-jessie:~# /etc/init.d/weston start</pre>
 
:Stop<pre>root@cl-som-am57x-jessie:~# /etc/init.d/weston stop</pre>
 
* Run pre-installed demo
 
{{Note|Some demos can't run if Weston is up. Stop it before running the demos.}}
 
: H264 Decoding
 
 
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runIvahdH264Dec.sh</pre>
 
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runIvahdH264Dec.sh</pre>
: H265 Decoding
+
* H.265 Decoding
 
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runH265Dec.sh</pre>
 
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runH265Dec.sh</pre>
: SGX Demo
+
* SGX Demos
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &</pre>
+
<pre>
: Restore tty after running SGX demos
+
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
<pre>root@cl-som-am57x-jessie:~# echo -e "\033c"</pre>
+
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow
: QT demos
+
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
 +
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon
 +
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
 +
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI
 +
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
 +
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio
 +
</pre>
 +
* OpenGL Demo
 +
<pre>
 +
<pre>root@cl-som-am57x-jessie:~# kmscube -a &
 +
<pre>root@cl-som-am57x-jessie:~# pkill kmscube
 +
</pre>
 +
* QT Demo
 
{{Note|QT makes use of Weston. Start it before running the QT demos.}}
 
{{Note|QT makes use of Weston. Start it before running the QT demos.}}
 
<pre>
 
<pre>
 
root@cl-som-am57x-jessie:~# /etc/init.d/weston start
 
root@cl-som-am57x-jessie:~# /etc/init.d/weston start
 
</pre>
 
</pre>
Open up weston-terminal and issue:
+
:Open up weston-terminal and issue:
 
<pre>
 
<pre>
 
root@cl-som-am57x-jessie:~# cd /usr/share/qt5/examples/widgets/painting
 
root@cl-som-am57x-jessie:~# cd /usr/share/qt5/examples/widgets/painting
 
root@cl-som-am57x-jessie:~# ./affine/affine
 
root@cl-som-am57x-jessie:~# ./affine/affine
 +
</pre>
 +
 +
== Troubleshooting ==
 +
* Restore tty after running SGX demos
 +
<pre>root@cl-som-am57x-jessie:~# echo -e "\033c"</pre>
 +
* Disable Matrix GUI auto start
 +
<pre>
 +
root@cl-som-am57x-jessie:~# update-rc.d matrix-gui-2.0 remove
 
</pre>
 
</pre>
  

Revision as of 10:18, 20 April 2016

Connection and Logging In

Use the following username and password to login:

cl-som-am57x-jessie login: root
Password: 111111

Multimedia Examples

  • Run pre-installed demo
Admolition note.png Some demos can't run if Weston is up. Stop it before running the demos.
root@cl-som-am57x-jessie:~# /etc/init.d/weston stop
  • H.264 Decoding
root@cl-som-am57x-jessie:~# /usr/bin/runIvahdH264Dec.sh
  • H.265 Decoding
root@cl-som-am57x-jessie:~# /usr/bin/runH265Dec.sh
  • SGX Demos
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
<pre>root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio
  • OpenGL Demo
<pre>root@cl-som-am57x-jessie:~# kmscube -a &
<pre>root@cl-som-am57x-jessie:~# pkill kmscube
  • QT Demo
Admolition note.png QT makes use of Weston. Start it before running the QT demos.
root@cl-som-am57x-jessie:~# /etc/init.d/weston start
Open up weston-terminal and issue:
root@cl-som-am57x-jessie:~# cd /usr/share/qt5/examples/widgets/painting
root@cl-som-am57x-jessie:~# ./affine/affine

Troubleshooting

  • Restore tty after running SGX demos
root@cl-som-am57x-jessie:~# echo -e "\033c"
  • Disable Matrix GUI auto start
root@cl-som-am57x-jessie:~# update-rc.d matrix-gui-2.0 remove

TI Resources