Buildroot: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(add ALSA tip for i.MX6)
(known problems)
Line 26: Line 26:
* don't forget to configure your Audio Output (up to 3 possible on i.MX6)
* don't forget to configure your Audio Output (up to 3 possible on i.MX6)
* on IRC fritsch advised to manually create ALSA config files for each output. Ex: [http://sprunge.us/XdZe] & [http://sprunge.us/HIZL]. Otherwise you are not able to select Audio Output other than first/default one.
* on IRC fritsch advised to manually create ALSA config files for each output. Ex: [http://sprunge.us/XdZe] & [http://sprunge.us/HIZL]. Otherwise you are not able to select Audio Output other than first/default one.
** one may ask why it's not already in mainline ALSA...
== Known problems ==
* kodi doesn't handle tslib touchscreens correctly (/at all ?)
** even if ts_calibrate was done, pointer is still not calibrated when kodi is launched...


== Further reading ==
== Further reading ==

Revision as of 13:14, 15 April 2015

Buildroot (BR) is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation: http://buildroot.uclibc.org/

It allows experimented embedded hackers to generate a custom/minimal kodi distribution.

Using Buildroot, kodi was successfully run on i.MX6 platforms (like Armadeus APF6Dev or Wandboard) and Raspberry Pi.

Installation

  • Buildroot will generate you Linux kernel and rootfs images so you have to know how to update these on your embedded board.
  • kodi version integrated in BR as of 02/2015 is 14.1-Helix

i.MX6 platforms

  • Use BR 2015.05 (soon coming) version
  • Options to activate:
    • glibc toolchain
    • Target packages ---> Hardware handling ---> -*- Freescale i.MX libraries ---> i.MX platform (imx6q) + imx-vpu + gpu-viv-bin-mx6q
    • Target packages ---> Libraries ---> Multimedia ---> [*] libfslvpuwrap
    • Target packages ---> Audio and video applications ---> [*] kodi ---> [*] alsa

RPi

  • TBDL

Usage

  • kodi is launched by default at boot

i.MX6 platforms

  • don't forget to configure your Audio Output (up to 3 possible on i.MX6)
  • on IRC fritsch advised to manually create ALSA config files for each output. Ex: [1] & [2]. Otherwise you are not able to select Audio Output other than first/default one.
    • one may ask why it's not already in mainline ALSA...

Known problems

  • kodi doesn't handle tslib touchscreens correctly (/at all ?)
    • even if ts_calibrate was done, pointer is still not calibrated when kodi is launched...

Further reading

See also