XBMC buildroot environment for the AmLogic system
C Shell C++ Python Perl Awk Other
#41 Compare This branch is 219 commits ahead, 15 commits behind Pivosgroup:master.
Latest commit fc20ee8 Aug 20, 2013 J1nx Merge branch 'develop'
Permalink
Failed to load latest commit information.
board
boot
configs
docs
fs
linux
package
scripts
target
toolchain
.defconfig
.gitignore
CHANGES
COPYING
Config.in
Makefile
README.md

README.md

Get a build host.

You need 32-bit (i386) libraries for the code sorcerer toolchain. One simple way to do this is in an i386 chroot or virtual machine.

Install the build pre-reqs.

In a fresh minimal Debian Unstable install,

% sudo apt-get install git build-essential zip gawk libtool gettext  \
      automake autoconf  nasm unzip gettext flex bison libsdl-image1.2 \
      liblzo2-2 lzma python openjdk-7-jre-headless \
      texinfo libxml-parser-perl wget pkg-config swig cpio zlib1g-dev \
      libgmp-dev libmpfr-dev subversion
      libncurses5-dev autopoint

Note that as of current (2012-10-10) Debian Unstable, python defaults to python 2.7. Earlier pythons (or python3) will not work.

Set up a key to sign the image

% keytool -genkey -keystore ~/.android/debug.keystore -v -alias \
      androiddebugkey -dname "CN=Android Debug,O=Android,C=US" -keypass \
      android -storepass android -keyalg RSA -keysize 2048 -validity 10000

Build

First configure the source tree for the device you want to compile the image for. The following devices are supported at this moment;

  Pivos XIOS DS M1 == amlogic_xios-xbmc_defconfig

  Pivos XIOS DS M3 == amlogic_xios_m3-xbmc_defconfig

  Refee/OE Smart TV Box == amlogic_f16ref_gbox_1-xbmc_defconfig

  GBox Midnight v2.0+ == amlogic_f16ref_gbox-xbmc_defconfig
  
  GBox Midnight v2.0 == amlogic_f16ref_gbox_1-xbmc_defconfig

  Sumvision Nano M1 (non slim) == amlogic_stvmc-xbmc_defconfig (Actually the same as the xios M1)

  Sumvision Nano M3 (slim) == amlogic_stvmc-xbmc_defconfig

  Geniatech/MyGica Enjoy TV 510b == amlogic_stvmc-xbmc_defconfig

  MyGica A11 == amlogic_stvmc_mygica-a11-xbmc_defconfig

So run one of the following commands

% make amlogic_xios-xbmc_defconfig

or

% make amlogic_xios_m3-xbmc_defconfig

or

% make amlogic_f16ref-xbmc_defconfig

or

% make amlogic_stvm3-xbmc_defconfig

or

% make amlogic_stvmc-xbmc_defconfig

or

% make amlogic_stvmc_mygica-a11-xbmc_defconfig

Then build the update file

% make