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

From Compulab Mediawiki
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
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-sid 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>
 +
root@debian-armhf:~# /etc/init.d/weston stop
 +
</pre>
 +
* H.264 Decoding
 +
<pre>root@debian-armhf:~# /usr/bin/runIvahdH264Dec.sh</pre>
 +
* H.265 Decoding
 +
<pre>root@debian-armhf:~# /usr/bin/runH265Dec.sh</pre>
 +
* SGX Demos
 +
<pre>
 +
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
 +
root@debian-armhf:~# pkill OGLES2Coverflow
 +
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
 +
root@debian-armhf:~# pkill OGLES2Chameleon
 +
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
 +
root@debian-armhf:~# pkill OGLES2ExampleUI
 +
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
 +
root@debian-armhf:~# pkill OGLES2Navigatio
 +
</pre>
 +
* OpenGL Demo
 
<pre>
 
<pre>
root@cl-som-am57x-jessie:~# update-rc.d matrix-gui-2.0 remove
+
root@debian-armhf:~# kmscube -a &
 +
root@debian-armhf:~# pkill kmscube
 
</pre>
 
</pre>
* Weston Start/Stop
+
* QT Demo
: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>
 
: H265 Decoding
 
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runH265Dec.sh</pre>
 
: SGX Demo
 
<pre>root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &</pre>
 
: Restore tty after running SGX demos
 
<pre>root@cl-som-am57x-jessie:~# echo -e "\033c"</pre>
 
: QT demos
 
 
{{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@debian-armhf:~# /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@debian-armhf:~# cd /usr/share/qt5/examples/widgets/painting
root@cl-som-am57x-jessie:~# ./affine/affine
+
root@debian-armhf:~# ./affine/affine
 
</pre>
 
</pre>
  
 +
== Troubleshooting ==
 +
* Restore tty after running SGX demos
 +
<pre>root@debian-armhf:~# echo -e "\033c"</pre>
 +
* Disable Matrix GUI auto start
 +
<pre>
 +
root@debian-armhf:~# update-rc.d matrix-gui-2.0 remove
 +
</pre>
 +
* Exit from the Matrix GUI
 +
<pre>
 +
/etc/init.d/matrix-gui-2.0 stop
 +
</pre>
 
== TI Resources ==
 
== TI Resources ==
 
* Linux SDK examples: [http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display Processor Linux SDK Graphics and Display]
 
* Linux SDK examples: [http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display Processor Linux SDK Graphics and Display]
 
* GStreamer Pipelines examples: [http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines Example GStreamer Pipelines]
 
* GStreamer Pipelines examples: [http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines Example GStreamer Pipelines]
 
* Processor Training Multimedia: [http://processors.wiki.ti.com/index.php/Processor_Training:_Multimedia Processor Training:Multimedia]
 
* Processor Training Multimedia: [http://processors.wiki.ti.com/index.php/Processor_Training:_Multimedia Processor Training:Multimedia]
 +
 +
== See also ==
 +
* [[CL-SOM-AM57x: Linux: Automatic Installation]]
 +
* [[CL-SOM-AM57x: Linux: Manual Installation]]
 +
* [[CL-SOM-AM57x: Linux: Kernel]]
 +
* [[Linux: Development for ARM modules]]
 +
* [[Linux: Debian: Minimal ARM filesystem]]
 +
* [http://www.debian.org/doc/manuals/reference/index.en.html Debian Reference].
 +
  
 
[[Category:Linux|Getting started]]
 
[[Category:Linux|Getting started]]
 
[[Category:CL-SOM-AM57x|Linux: Getting started]]
 
[[Category:CL-SOM-AM57x|Linux: Getting started]]

Latest revision as of 06:07, 26 May 2016

Connection and Logging In

Use the following username and password to login:

cl-som-am57x-sid 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@debian-armhf:~# /etc/init.d/weston stop
  • H.264 Decoding
root@debian-armhf:~# /usr/bin/runIvahdH264Dec.sh
  • H.265 Decoding
root@debian-armhf:~# /usr/bin/runH265Dec.sh
  • SGX Demos
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
root@debian-armhf:~# pkill OGLES2Coverflow
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
root@debian-armhf:~# pkill OGLES2Chameleon
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
root@debian-armhf:~# pkill OGLES2ExampleUI
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
root@debian-armhf:~# pkill OGLES2Navigatio
  • OpenGL Demo
root@debian-armhf:~# kmscube -a &
root@debian-armhf:~# pkill kmscube
  • QT Demo
Admolition note.png QT makes use of Weston. Start it before running the QT demos.
root@debian-armhf:~# /etc/init.d/weston start
Open up weston-terminal and issue:
root@debian-armhf:~# cd /usr/share/qt5/examples/widgets/painting
root@debian-armhf:~# ./affine/affine

Troubleshooting

  • Restore tty after running SGX demos
root@debian-armhf:~# echo -e "\033c"
  • Disable Matrix GUI auto start
root@debian-armhf:~# update-rc.d matrix-gui-2.0 remove
  • Exit from the Matrix GUI
/etc/init.d/matrix-gui-2.0 stop

TI Resources

See also