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

From eLinux.org
Jump to: navigation, search
m (Initial page)
 
(Removed ECE497 category)
 
(21 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.
 +
 
 +
 
 +
== 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 <code>.profile</code>:
 +
<pre>
 +
stty -parenb -parodd cs8 -inpck -istrip
 +
echo 0 > /sys/class/tty/ttyS2/device/sleep_timeout
 +
</pre>
 +
A better fix would probably be to just add the second line to a rc.d startup script somewhere.
 +
 
 +
This suggestion came from this [http://groups.google.com/group/beagleboard/browse_thread/thread/d23c15e3c9fcb8fc 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 [http://www.rose-hulman.edu/~yoder/Beagle/ here].  You need to get '''root.tar.bz2''' and '''BigBuckBunny_640x360.m4v''' and their md5 sums, then:
 +
 
 +
# Run md5sum on each to be sure they transfered okay.
 +
# Untar '''root.tar.bz2''' in place of /home/root. 
 +
# Once done put '''BigBuckBunny_640x360.m4v''' in /home/root/esc-media.
 +
# Then
 +
<pre>
 +
# cp /home/root/bin/gles2_bc_autogain /usr/bin
 +
# cd /usr/share
 +
# ln -s /home/root/esc-media .
 +
</pre>
 +
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
 +
 
 +
<pre>
 +
$ opkg update
 +
$ opkg install synergy
 +
$ opkg install gnome-mplayer
 +
$ opkg install htop
 +
$ opkg install alsa-dev
 +
</pre>
 +
 
 +
== Make bash the default shell ==
 +
 
 +
<pre>
 +
chsh -s /bin/bash root
 +
</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