Difference between revisions of "ECE497 Notes on Creating the ICASSP Image"

From eLinux.org
Jump to: navigation, search
(/home/root: Added path to root.tar.bz2)
(Removed ECE497 category)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:ECE497]]
+
This is out of date a could be removed.
 +
 
  
 
Here's the changes I've made to the image Daniel sent me.
 
Here's the changes I've made to the image Daniel sent me.
Line 30: Line 31:
 
# Then
 
# Then
 
<pre>
 
<pre>
$ cp /home/root/bin/gles2_bc_autogain /usr/bin
+
# cp /home/root/bin/gles2_bc_autogain /usr/bin
 +
# cd /usr/share
 +
# ln -s /home/root/esc-media .
 
</pre>
 
</pre>
This will set the autogain on the PS EYE web cam when running the spinning cube demo.
+
The first line will set the autogain on the PS EYE web cam when running the spinning cube demo. The second two put the esc-media where all the GStreamer demos look for it.
 
+
== GStreamer ==
+
  
I'm not presenting GStreamer, but I'd like to have the demosLots of media at '''/usr/share/gst-media'''
+
Check to see if this worked by double-clicking on the ''Big Buck Bunny'' icon on the desktopThe movie should start playing in gnome-mplayer.
  
 
== opkg ==
 
== opkg ==
Line 53: Line 54:
  
 
<pre>
 
<pre>
chsh -s bash root
+
chsh -s /bin/bash root
 
</pre>
 
</pre>

Latest revision as of 15:34, 24 October 2012

This is out of date a could be removed.


Here's the changes I've made to the image Daniel sent me.


Serial port garbage

This fixed the problem. I'll keep testing to be sure it's really needed.

I have simply added the following two lines to root's .profile:

stty -parenb -parodd cs8 -inpck -istrip 
echo 0 > /sys/class/tty/ttyS2/device/sleep_timeout

A better fix would probably be to just add the second line to a rc.d startup script somewhere.

This suggestion came from this posting.

Removed TI proxy

In the browser, under Edit menu, Preferences, then the network tab.

/home/root

I have a brand now /home/root. Get it here. You need to get root.tar.bz2 and BigBuckBunny_640x360.m4v and their md5 sums, then:

  1. Run md5sum on each to be sure they transfered okay.
  2. Untar root.tar.bz2 in place of /home/root.
  3. Once done put BigBuckBunny_640x360.m4v in /home/root/esc-media.
  4. Then
# cp /home/root/bin/gles2_bc_autogain /usr/bin
# cd /usr/share
# ln -s /home/root/esc-media .

The first line will set the autogain on the PS EYE web cam when running the spinning cube demo. The second two put the esc-media where all the GStreamer demos look for it.

Check to see if this worked by double-clicking on the Big Buck Bunny icon on the desktop. The movie should start playing in gnome-mplayer.

opkg

I've installed the following via opkg

$ opkg update
$ opkg install synergy
$ opkg install gnome-mplayer
$ opkg install htop
$ opkg install alsa-dev

Make bash the default shell

chsh -s /bin/bash root