Beagle board-xbmc Compilation

Source: Internet
Author: User

First install the development environment using the Angstrom that comes with the BB Board:
Opkg update
Opkg upgrade
Opkg install xbmc-Dev
Opkg remove -- autoremove xbmc-Doc xbmc-dev xbmc -- force-removal-of-dependent-packages
Opkg install task-SDK-native
The opkg install boost-dev libmad-dev libsamplerate0-dev libvorbis-dev libfribidi-dev libmysqlclient-dev libpcre-dev liblzo2-dev
Opkg install libcdio-dev libsdl-1.2-dev pulseaudio-dev ncurses-dev libsdl-mixer-1.2-dev enca-dev libjasper-dev libmms-dev libxinerama-Dev
Opkg install xineramaproto-dev curl-dev libjpeg-dev Python-dev libsdl-image-1.2-dev libsmbclient-dev libfaad-dev FLAC-dev prepare-dev FFMPEG
Opkg install libgles-omap3-x11wsegl libgles-omap3 libgles-omap3-dev omap3-sgx-modules

InstallXbmc-Dev and OpenGL ES-related packagesThen you can test the running effect.

# Compile
Download the xbmc source code that supports beagleboard (the source code on GitHub does not have a gsoc-2010-beagleboard branch and has not been tested for normal operation)
Git clone git: // xbmc.git.sourceforge.net/gitroot/xbmc/xbmc
Git checkout gsoc-2010-beagleboard
./Bootstrap. Angstrom
./Configure-- Enable-gles -- enable-OMAP-Overlay-- Prefix =/usr -- sysconfdir =/etc -- cache = config. cache -- disable-optical-drive-- Enable-external-libraries

# Note: if the -- enable-external-libraries option is not enabled, various external libraries will be compiled, and the built-in libraries will be used to save space and time ^_^
Make & make install

Make needs to be compiled for N hours, so it's okay to run with a hanging board. Let's play with it ^_^

# Run:

Run Echo 1>/sys/devices/platform/omapdss/manager0/alpha_blending_enabled first.

You can also use the generated omapdss toggle tool to enable the Alpha color mixing support. Otherwise, the xbmc will run with the invalid shader error.

16 BPP supported (Angstrom default 24bpp ):

# Modify xbmc/winsystemegl. cpp and re-compile xbmc
// # Define rgba8888
# Define rgb565
The internal kernel is also set to the corresponding 16bpp. the uenv.txt parameter dvimode = 1024x768mr-16 @ 60.

Attached uenv.txt (note that the console is available. ttys2 is used for the earlier kernel version, and ttyo2 is used for the new kernel version. Modify the corresponding network settings to start from NFS, the advantage of nfs startup is that the PC file system is large enough to be fast enough and easy to modify)

Console = ttys2, 115200n8
Loaduimage = ext2load MMC 0: 2 0x80200000/boot/uImage-2.6.32
Mmcroot =/dev/mmcblk0p2
Dvimode = 1024x768mr-16 @ 60
Optargs = mem = 80 m @ 0x80000000 mem = 384m @ 0x88000000
Mpurate = 1000.
Buddy = none
VRAM = 0: 8 m, 1: 4 m, 2: 4 m
Mmcrootfstype = NFS
Mmcroot =/dev/nfs RW nfsroot = 192.168.1.9:/opt/xbmc_rootfs rootwait = 4 IP = 192.168.1.8: 192.168.1.1: 255.255.255.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.