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

From Compulab Mediawiki
Jump to: navigation, search
 
Line 2: Line 2:
 
Use the following username and password to login:
 
Use the following username and password to login:
 
<pre>
 
<pre>
cl-som-am57x-jessie login: root
+
cl-som-am57x-sid login: root
 
Password: 111111
 
Password: 111111
 
</pre>
 
</pre>
Line 10: Line 10:
 
{{Note|Some demos can't run if Weston is up. Stop it before running the demos.}}
 
{{Note|Some demos can't run if Weston is up. Stop it before running the demos.}}
 
<pre>
 
<pre>
root@cl-som-am57x-jessie:~# /etc/init.d/weston stop
+
root@debian-armhf:~# /etc/init.d/weston stop
 
</pre>
 
</pre>
 
* H.264 Decoding
 
* H.264 Decoding
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runIvahdH264Dec.sh</pre>
+
<pre>root@debian-armhf:~# /usr/bin/runIvahdH264Dec.sh</pre>
 
* H.265 Decoding
 
* H.265 Decoding
<pre>root@cl-som-am57x-jessie:~# /usr/bin/runH265Dec.sh</pre>
+
<pre>root@debian-armhf:~# /usr/bin/runH265Dec.sh</pre>
 
* SGX Demos
 
* SGX Demos
 
<pre>
 
<pre>
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
+
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2Coverflow &
root@cl-som-am57x-jessie:~# pkill OGLES2Coverflow
+
root@debian-armhf:~# pkill OGLES2Coverflow
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
+
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2ChameleonMan &
root@cl-som-am57x-jessie:~# pkill OGLES2Chameleon
+
root@debian-armhf:~# pkill OGLES2Chameleon
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
+
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2ExampleUI &
root@cl-som-am57x-jessie:~# pkill OGLES2ExampleUI
+
root@debian-armhf:~# pkill OGLES2ExampleUI
root@cl-som-am57x-jessie:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
+
root@debian-armhf:~# /usr/bin/SGX/demos/Raw/OGLES2Navigation &
root@cl-som-am57x-jessie:~# pkill OGLES2Navigatio
+
root@debian-armhf:~# pkill OGLES2Navigatio
 
</pre>
 
</pre>
 
* OpenGL Demo
 
* OpenGL Demo
 
<pre>
 
<pre>
root@cl-som-am57x-jessie:~# kmscube -a &
+
root@debian-armhf:~# kmscube -a &
root@cl-som-am57x-jessie:~# pkill kmscube
+
root@debian-armhf:~# pkill kmscube
 
</pre>
 
</pre>
 
* QT Demo
 
* 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@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 ==
 
== Troubleshooting ==
 
* Restore tty after running SGX demos
 
* Restore tty after running SGX demos
<pre>root@cl-som-am57x-jessie:~# echo -e "\033c"</pre>
+
<pre>root@debian-armhf:~# echo -e "\033c"</pre>
 
* Disable Matrix GUI auto start
 
* Disable Matrix GUI auto start
 
<pre>
 
<pre>
root@cl-som-am57x-jessie:~# update-rc.d matrix-gui-2.0 remove
+
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>
 
</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