Hi all ... I hope this is the right place for my query .... Thanks to all the devs on this project.
I've just purchased a Banana Pi M2 Berry (
spec here) and have loaded the following image: 2017-08-25-raspbian-stretch-preview-bpi-m2u-sd-emmc (
forum link here) which is based off RASPBIAN STRETCH 9.1 2017-08-16, using kernel 3.10.107.
Code:
pi@bananabox:~ $ uname -a
Linux bananabox 3.10.107-BPI-M2U-Kernel #1 SMP Thu Aug 24 08:01:24 CST 2017 armv7l GNU/Linux
My goals are:
- run current tvheadend, kodi + pvr.hts, occasional chromium use
- use HDMI for 1080p video, 5.1 audio
- use SATA port for attached 2.5" drive
Using the above system image, out of the box, preliminary tests show all hardware working, and I have smooth 1080p using VLC and sunxi VDPAU driver. Therefore I know my goals are achievable. (Though I have trouble selecting the HDMI audio device.)
However, the Raspbian Kodi packages do not work out of the box of course. I have attempted building Kodi a few times now but the configure fails during ffmpeg build, currently like this:
Code:
CC libavfilter/f_drawgraph.o
In file included from ./libavutil/intmath.h:30:0,
from ./libavutil/common.h:106,
from ./libavutil/avutil.h:288,
from ./libavutil/avassert.h:31,
from libavfilter/colorspacedsp_template.c:21,
from libavfilter/colorspacedsp.c:31:
./libavutil/arm/intmath.h: In function 'rgb2yuv_444p10_c':
./libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p));
^~~~~~~
./libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p));
^~~~~~~
./libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p));
^~~~~~~
......
./libavutil/arm/intmath.h:77:5: warning: asm operand 2 probably doesn't match constraints
__asm__ ("usat %0, %2, %1" : "=r"(x) : "r"(a), "i"(p));
^~~~~~~
common.mak:60: recipe for target 'libavfilter/colorspacedsp.o' failed
make: *** [libavfilter/colorspacedsp.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: Building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
Question 1) Is the Allwinner R40/V40 on the BPi M2 Berry actually supported by the work in this thread?
Question 2) Is there an updated requirements doc / HOWTO for building kodi? - as post #1 of this thread is very old now and I can imagine kernel and system base requirements will have shifted. Also the OP doesn't specify if a particular distro or package base is required.