BeagleBoard/GSoC/Ideas-2016

=Welcome!= BeagleBoard.org hopes to be accepted as a mentoring organization in the Google Summer of Code for 2011!! Here we collect project Ideas for the 2011 GSoC.

Background For a quick view of how the BeagleBoard relates to the open source development community, take a listen to Mans and Koen's interview with the Linux Outlaws. The BeagleBoard is a popular open-source hardware project utilizing the first broadly available ARM Cortex-A8 processor. Over 10,000 people are experimenting with the BeagleBoard today to bring their ideas for the future of everywhere-computing to life and you can be one of them.

Because the BeagleBoard: there are many opportunities to explore challenges in computer science in areas of
 * utilizes a complex SoC with 3 primary processing cores,
 * one for general-purpose activities such as running Linux and applications (ARM Cortex-A8),
 * one for running real-time signal processing algorithms (C64x+ VLIW fixed-point DSP), and
 * one for rendering 3D graphics (Imagination SGX), and
 * is specifically designed for low-power (typically running under 2W at full processing load), and
 * has a very small foot-print that includes standard peripheral expansion like USB,
 * optimal execution of applications/algorithms on additional instruction set architectures like ARM or C6000,
 * splitting tasks appropriately between processing cores to minimize task execution time and power consumption, and
 * integrating computation into new form-factors.

Students and mentors Student proposals can create projects from the following ideas or propose their own project based on their own ideas. From reading about previous Google Summer of Code projects, the key to success is being passionate about your project, so propose something that is extremely interesting to you, even if it not on the list. We will be glad to help students develop ideas into projects on the BeagleBoard IRC or the BeagleBoard mailing list. There are many more ideas of what can be done and we will match projects to students interest and help scope the proposal to something that can be completed in the Summer of Code time-frame.

There are more than 200 existing projects listed at http://beagleboard.org/project. If you are interested in one of those projects, talk with the project members to see if there are any aspects of their projects with which they can help you contribute. There are also several ideas on the ECE597 class project idea list.

=General requirements= All projects have the following basic requirements:
 * The project must be registered on http://beagleboard.org/project.
 * All newly generated materials must be released under an open source license.
 * Individual students shall retain copyright on their works.
 * Source code generated during the project must be released on gitorious.org, github.com, repo.or.cz, sourceforge, code.google.com, gforge.ti.com, or omapzoom.org.
 * The registration on http://beagleboard.org/project must include an RSS feed with project announcements and updates at every milestone. Sources for the RSS feed should be blogger.com, wordpress.com, or some other established blog hosting service with known reliability.
 * To help you to break your project down into manageable chunks and also help the project's mentors to better support your efforts, weekly project status reports should be e-mailed to the project's mentors and the organization administrator (Jason Kridner). Each status report should outline:
 * what was accomplished that week,
 * any issues that prevented that week's goals from being completed, and
 * your goals for the next week.

=Fundamental infrastructure projects= These projects fundamentally improve support of existing open source projects for ARM-based devices in general and the BeagleBoard in specific, bringing the broad body of high-level open source applications into smaller, lower-cost, lower-power systems that can go anywhere.

JTAG debugging
Implement, configure and document a complete open source based JTAG debugging development chain for ARM Cortex A8 in OMAP3 used on Beagle Board. This includes final port of open source JTAG software OpenOCD for OMAP3 on Beagle, and then configure and document all software (and hardware) components involved. This could look like:

ARM Cortex A8 <-> OMAP3 <-> BeagleBoard <-> Flyswatter (*) <-> OpenOCD <-> GDB <-> Eclipse (CDT)

(*) Note: Flyswatter is used as example JTAG dongle here. All OpenOCD JTAG dongles able to deal with 1.8V and configure EMUx pins correctly can be used.

Goal: Able to single step kernel code using OpenOCD, GDB, and Eclipse Existing project: OpenOCD Hardware skills: Able to monitor logic-level digital signals Software skills: C, ARMv7 assembly Possible mentors: Dirk Behme, Ceriand

'''NOTE: TinCanTools will donate Flyswatter boards for this project '''

Linux kernel improvements
Several improvements are desired in the Linux kernel to make it more useful for embedded/device applications. Goal: Improve the capabilities of the Linux kernel, especially for embedded devices including ARM Cortex-A8 and OMAP3-based devices. Existing project: linux-omap Software skills: C, ARMv7 assembly (desired), Linux kernel driver development Possible mentors: Kevin Hilman, Tony Lindgren, Khasim Syed Mohammed, Russell King

More detailed kernel improvement ideas
Expansionboard infrastructure The beagleboard needs a good way to deal with all the expansionboards out there. There is crude support for it in the beagle kernel, but it needs to get improved. Things to fix would be to use the in-kernel muxing, split it out to a seperate c file, etc.

Possible mentors: Koen, Jason

Improve bootloader support
There are many bootloaders available for the BeagleBoard and other ARM embedded devices, and all can be given improvements for ease-of-use for new users. Nevertheless, U-boot is the most used one and the one that most new Beagleboard users will come in contact with, so improving U-boot for new users gives the most benefit for the project.

More detailed bootloader improvement ideas
U-boot USB and networking support Beagleboard and Beagleboard XM both have an USB EHCI controller that is currently not supported by U-boot. XM has a USB connected ethernet controller that is also not supported. The goal of the project is to:
 * Add support for the OMAP3 EHCI controller in U-boot
 * Add support for the ethernet controller on the Beagleboard XM that is connected to the EHCI controler (make sure that with the above done, U-boot can be used to boot from the network - TFTP boot)
 * Add USB mass-storage class host support over EHCI to U-boot so that users can boot from USB flash drives.
 * Add USB OTG port (to connect to a PC to download code). This works on a branch, but isn't in good shape for getting accepted upstream.

Possible mentors: Jason Kridner, Khasim Syed Mohammed, Steve Sakoman, Dirk Behme

U-boot DVI console and input support Many new users have never seen a serial connection and struggle to set it up. Since the Beagleboard has a DVI output and a USB host controller, U-boot could be extended to: Possible mentors: Jason Kridner, Khasim Syed Mohammed, Steve Sakoman, Dirk Behme
 * support USB connected input devices (to connect a hub, keyboard, and mouse).
 * support to give console output over a DVI connected TV/Monitor

U-boot configuration header support
 * Add a boot configuration header to eliminate the need for x-loader.

Possible mentors: Jason Kridner, Khasim Syed Mohammed, Steve Sakoman, Dirk Behme

Barebox It has already been shown that the Barebox bootloader can be scaled very reasonably down to something that can fit into the on-chip memory of the OMAP3, without using the DRAM. Maintaining this sort of scalability can be critical to providing the fastest possible boot times.

Possible mentors: Nishanth Menon

=Multimedia and user experience projects=

Add DSP support to MPlayer
MPlayer is often used to play video on the Beagleboard and a lot of users are asking for it. Most are surprised that there is no DSP support (yet). Task to be performed would be to add DSP support to MPlayer using TI DSPLink and CodecEngine and the free DSP codecs that TI provides. CE support already exists in a branch of VLC, the task is to make that also work in MPlayer and do that in a memory efficient way (0-copy between ARM and DSP components)

Goal: Able to play video in MPlayer using DSP codecs Existing project: http://www.mplayerhq.hu/ Existing project: http://processors.wiki.ti.com/index.php/Codec_Engine_Overview Software skills: C Possible mentors: Vladimir Pantelic

DSP accelerated color conversion
Multimedia on the Beagleboard can already make use of the DSP, yet there are still steps like color conversion that can take a lot of CPU resources (e.g. in gstreamer). Task to be performed is to move some of that processing to the DSP side where possible, preferably to run in parallel with ARM side processing. C6Run could be used as the framework to run parts of the SW on the DSP.

Goal: Able to do e.g. DSP color conversion in a gstreamer pipeline or in FFmpeg/Mplayer Existing project: http://www.mplayerhq.hu/ Existing project: http://www.FFmpeg.org/ Existing project: https://gstreamer.ti.com/gf/project/gstreamer_ti/ Existing project: http://processors.wiki.ti.com/index.php/C6Run Software skills: C Possible mentors: ???

DSP accelerated USB webcam gadget
The Linux USB stack now has a webcam gadget, this means a Beagleboard with a connected camera can act as an USB webcam towards a host PC. Using CodecEngine and the TI DSP codecs, the webcam gadget could use the DSP to more efficiently stream already compressed video data to the host PC.

Goal: Able to stream encoded (MJPG/H264) video data to the host using the USB webcam gadget Existing project: https://patchwork.kernel.org/patch/48487/ Existing project: http://processors.wiki.ti.com/index.php/Codec_Engine_Overview Software skills: C Possible mentors: ???

Speech recognition
TI has released source for a speech recognition library that runs on the ARM processor of the OMAP3 on the BeagleBoard. This software has now a LGPL v2.1 license. Using speech recognition library, several tasks could be performed:
 * Voice recognition integrated into Ubiquity: Integrate Mozilla Firefox, Mozilla Ubiquity, and voice recognition on the BeagleBoard with a microphone. Use of a Wiimote could provide additional interactive capabilities.

Creating a gstreamer plugin for the library would improve the ability of other applications to use it.

Existing project: http://beagleboard.org/project/tiesr Possible mentors: Lorin Netsch, Sourabh Ravindran, Diego Dompe (if done with gstreamer)

Add DSP support to GNU radio
Goal: GNU Radio is a popular Software Defined Radio package for PC based computers. GNU Radio also runs on the Beagleboard and can make use of the floating point unit on the ARM. However, the DSP on the Beagleboard has tremendous potential for increasing GNU Radio's capability on small hardware. The project difficulty is based on the level of effort desired by the student, it should be fairly easy to create a standalone GNU Radio block that talks to the DSP via dsplink, or very complex to modify the GNU Radio block scheduler to launch block on the DSP directly. Existing project: GNURadio Software skills: C++ Mentors: Philip Balister

=Hardware + software projects= These are "Make"-style projects that advance general knowledge for creating and improving end products for consumers.

Multiple prototype hardware systems should be made to complete these projects. The process should be documented and be something that the mentor reproduces and that anyone else can reproduce at a reasonable expense with only some minimal hardware skills (soldering, using a volt meter, etc.).

Beagleboard Hardware Control Library
Create a user space library that makes using hardware connected to the Beagleboard expansion connectors easier to use. This includes functions to control GPIO pins (and trigger on GPIO Interrupts) and to send and receive data over I2C and SPI. All this should be well documented so that a new Beagleboard user can learn quickly how to control and interact with attached hardware.

Goal: provide a library to interface with GPIO, I2C and SPI on the Beagleboard Hardware skills: basic Software skills: C Possible mentor: ???

Adding Sense to Beagle
Sensory aware applications are becoming more mainstream with the release of the Apple iPhone. This project would combine both HW and SW to add sensory awareness to beagle. First, additional modules such as GPS, 3-axis accelerometers, Gyroscopes, Temperature Sensors, Humidity Sensors, Pressure Sensors, etc, would be added to beagle to compliment the microphone input in order to allow sensing of the real world environment. Then SW APIs would need to be layered on top to allow easy access to the sensory data for use by applications.

The Freespace module is already working with the BeagleBoard as are many other sensors. This project should seek to summarize how to connect as many sensors as possible on one place on the eLinux wiki.

Possible mentor: Mark Yoder

=Community infrastructure projects=

Updating BeagleBoard.org UI/backend
The BeagleBoard.org website is currently written in JavaScript using Helma and makes use of several Java components through JavaScript. One advantage of this is you can actually run an instance of the BeagleBoard.org web server on the BeagleBoard with a full clone of the website.
 * Improve OpenID support
 * Create Ubiquity scripts to simplify page editing
 * Add tags to project entries and improve the views
 * Import RSS feed items into pages for ranking/tagging
 * Add microblogging support integrated with the IRC channel
 * See http://code.google.com/p/beagleboard/issues/detail?id=46
 * Enable users to store http://beagleboard.org/user user profiles
 * Have the chat show Twitter and Identica update
 * Translate BeagleBoard.org into other languages
 * http://code.google.com/p/beagleboard/issues/detail?id=4
 * Update the site for the BeagleBoard-xM launch occurring in June

Software skills: JavaScript, XML, HTML/CSS Mentor: Jason Kridner

=To be classified=

BeagleChat
Easy Video Chat Client on Beagle Board. Porting Ekiga (www.ekiga.org) - an open source VoIP and video conferencing application for GNOME. The client should be able to talk to ekiga software running on PC as well as another beagle board. Optimizations would involve porting audio and video codecs on Ekiga to DSP plus supporting video streaming over USB for webcam support.

=Raw ideas that need to be fleshed out= Some additional ideas can be found on the BeagleBoard contest page and the BeagleBoard project page.


 * RTEMS BSP for Beagle board: Medium RTEMS is a free real-time operating system. This project would require developing an RTEMS Board Support Package for the Beagle board. The Beagle board has come up multiple times in our community as a excellent device for students, hobbyists, and a starting point for customized boards. I am the maintainer of RTEMS and would be willing to co-mentor this with someone from the Beagle board community. --JoelSherrill 23:12, 18 March 2010 (UTC)


 * Spectrum analyzer using the DSP: Medium Write a program that uses the DSP to take an alsa input and to all the math and a GUI on the arm that display the realtime spectrum. The DSP side needs to use xdais so other DSP programs can run at the same time.


 * Porting open-source codec to DSP (MadPlay, VLC, some of the mplayer codecs …: Medium


 * OpenGL DSP acceleration: Hard Research and implement OpenGL ES using the DSP on beagleboard.  The DSP side needs to use xdais so other DSP programs can run at the same time. Can take a look at Vincent OpenGL ES open source implementation and add DSP to it


 * beagle as DLNA/upnp renderer, server, controller, or media player.


 * Wiimote + Pico Projector + 3D art tool


 * OpenCL implementation that uses the DSP and/or NEON (could be used as framework for any dsp/neon acceleration)


 * Video extender – take in video via usb webcam, compress it using video encoder, stream it over ethernet (could be like a security camera). Could/should be implemented using DLNA protocols (e.g. view on ps3 or tv's).

=Mentors=