Difference between revisions of "EBC Mini Project 03"

From eLinux.org
Jump to: navigation, search
m
Line 15: Line 15:
 
Write a small (less than one page) memo that highlights the features of this mini project and demo it.
 
Write a small (less than one page) memo that highlights the features of this mini project and demo it.
  
''Note:'' If you have issues with Framebuffer 2 (mmap fails), you may have to allocate memory to it.
+
''Note:'' If you have issues with Framebuffer 2 (mmap fails), it may not have memory properly allocated. Before running your application, enter this command:
 
  echo 4000000 > /sys/class/graphics/fb2/size
 
  echo 4000000 > /sys/class/graphics/fb2/size
 
Courtesy of the [http://elinux.org/BeagleBoardFAQ#omapfbplay_mmap_fails BeagleBoard FAQ]
 
Courtesy of the [http://elinux.org/BeagleBoardFAQ#omapfbplay_mmap_fails BeagleBoard FAQ]
 
{{YoderFoot}}
 
{{YoderFoot}}

Revision as of 21:13, 1 October 2012

thumb‎ Embedded Linux Class by Mark A. Yoder


This mini project is a follow up on the audioThru and videoThru labs. At this point you should have both audio and video working in their own threads in one app. This mini project starts there and adds a feature. On user input,

  1. have the Video2 display a copy of the current image in Video1. Video1 is to keep displaying live video.
  2. replay the last 5 seconds of audio, while continuing to play the live audio.

You can decide what the user input is. It may be

  1. User hits return in the terminal
  2. Sensor detects the user
  3. etc.

Keep in mind this is on the xM, so the sensors you used before may not work. For example, there is no analog in.

Write a small (less than one page) memo that highlights the features of this mini project and demo it.

Note: If you have issues with Framebuffer 2 (mmap fails), it may not have memory properly allocated. Before running your application, enter this command:

echo 4000000 > /sys/class/graphics/fb2/size

Courtesy of the BeagleBoard FAQ



thumb‎ Embedded Linux Class by Mark A. Yoder