Buildroot: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(add ALSA tip for i.MX6)
No edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
Buildroot (BR) is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation: http://buildroot.uclibc.org/
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.
It allows experienced 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.
Using Buildroot, kodi was successfully run on i.MX6 platforms (like [http://www.armadeus.org Armadeus APF6Dev] or [http://www.wandboard.org Wandboard]]) and [[Raspberry Pi]].


==Installation==
==Installation==
* Buildroot will generate you Linux kernel and rootfs images so you have to know how to update these on your embedded board.
* 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
* As of 02/2015 kodi version integrated in BR is: ''14.1-Helix''


===i.MX6 platforms===
===i.MX6 platforms===
Line 25: Line 25:
=== i.MX6 platforms ===
=== i.MX6 platforms ===
* 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.
* A team developer (IRC Nickname: ''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...
* kodi developpers seem to prefer use kodi internal ffmpeg instead of official one. BR uses official one by default.


== Further reading ==
== Further reading ==
Line 31: Line 38:
* http://buildroot.uclibc.org/downloads/manual/manual.html
* http://buildroot.uclibc.org/downloads/manual/manual.html


== See also ==
* [[Raspberry Pi]]


[[Category:Linux]]
[[Category:Linux]]
[[Category:Raspberry Pi]]
[[Category:Raspberry Pi]]
[[Category:Embedded distro]]
[[Category:Embedded distro]]
[[Category:Wandboard]]

Latest revision as of 05:13, 10 July 2020

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 experienced 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.
  • As of 02/2015 kodi version integrated in BR 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)
  • A team developer (IRC Nickname: 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...
  • kodi developpers seem to prefer use kodi internal ffmpeg instead of official one. BR uses official one by default.

Further reading