Latest Kodi master + LibreElec master for WeTek_Play + some patches source from newclock5 branch
LibreELEC-WeTek_Play.arm-8.0-devel-20160720071849-r23442-g4c096bd.tar
Latest Kodi master + LibreElec master for WeTek_Play + some patches source from newclock5 branch
LibreELEC-WeTek_Play.arm-8.0-devel-20160720071849-r23442-g4c096bd.tar
MN88473 module is no longer build in LibreELEC Master.
Kodi-Sitting:~ # modprobe mn88473
modprobe: FATAL: Module mn88473 not found in directory /lib/modules/4.6.3
According to the discussion to the mentioned pull request [aml] Use amlvideo driver for audio/video sync by codesnake · Pull Request #9896 · xbmc/xbmc · GitHub it's enough to only set CONFIG_V4L_AMLOGIC_VIDEO=y
That on it's own did not work for me
Patch #9896 from codesnake is merged. Can someone compile a new LE8 testbuild for WetekPlay please?
you need to modify kernel also use..
diff --git a/projects/WeTek_Play/linux/linux.arm.conf b/projects/WeTek_Play/linux/linux.arm.conf
index 54d36d2..03b6055 100644
--- a/projects/WeTek_Play/linux/linux.arm.conf
+++ b/projects/WeTek_Play/linux/linux.arm.conf
@@ -1264,13 +1264,13 @@ CONFIG_POST_PROCESS_MANAGER_3D_PROCESS=y
# V4L2 Video Support
#
# CONFIG_V4L_AMLOGIC_VIDEO is not set
-# CONFIG_V4L_AMLOGIC_VIDEO2 is not set
-
+CONFIG_V4L_AMLOGIC_VIDEO2=y
+CONFIG_V4L_AMLOGIC_VIDEO=y
#
# Amlogic ion video support
#
-# CONFIG_VIDEOBUF2_ION is not set
-# CONFIG_AMLOGIC_IONVIDEO is not set
+CONFIG_VIDEOBUF2_ION=y
+CONFIG_AMLOGIC_IONVIDEO=y
#
# Deinterlace driver
Here is a complete build
MEGA
Now that kodi includes the latest amlogic patches you need to modify kernel config tomake use of them - now everything wrks fine on wetek play live tv with tvh on my end
use following diff
diff --git a/projects/WeTek_Play/linux/linux.arm.conf b/projects/WeTek_Play/linux/linux.arm.conf
index 54d36d2..03b6055 100644
--- a/projects/WeTek_Play/linux/linux.arm.conf
+++ b/projects/WeTek_Play/linux/linux.arm.conf
@@ -1264,13 +1264,13 @@ CONFIG_POST_PROCESS_MANAGER_3D_PROCESS=y
# V4L2 Video Support
#
# CONFIG_V4L_AMLOGIC_VIDEO is not set
-# CONFIG_V4L_AMLOGIC_VIDEO2 is not set
-
+CONFIG_V4L_AMLOGIC_VIDEO2=y
+CONFIG_V4L_AMLOGIC_VIDEO=y
#
# Amlogic ion video support
#
-# CONFIG_VIDEOBUF2_ION is not set
-# CONFIG_AMLOGIC_IONVIDEO is not set
+CONFIG_VIDEOBUF2_ION=y
+CONFIG_AMLOGIC_IONVIDEO=y
#
# Deinterlace driver
So help please, cannot compile latest master since lirc 0.9.4 was included.. tried make clean and delete ccache but i always end up with error below. trying to build for RPi2 and WetekPlay
libtool: link: /home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/irrecord.o -Wl,-rpath -Wl,/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi/lib/.libs /home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi/lib/.libs/liblirc.so -ldl -march=armv7ve -mabi=aapcs-linux -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -Os -flto -march=armv7ve -mtune=cortex-a7 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -Wl,-soname -Wl,libirrecord.so.0 -o .libs/libirrecord.so.0.0.0
armv7ve-libreelec-linux-gnueabi-gcc-5.3.0: error: /home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi/lib/.libs/liblirc.so: No such file or directory
Makefile:527: recipe for target 'libirrecord.la' failed
make[4]: *** [libirrecord.la] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: link: (cd ".libs" && rm -f "liblirc_client.so.0" && ln -s "liblirc_client.so.0.4.0" "liblirc_client.so.0")
libtool: link: (cd ".libs" && rm -f "liblirc_client.so" && ln -s "liblirc_client.so.0.4.0" "liblirc_client.so")
libtool: link: ( cd ".libs" && rm -f "liblirc_client.la" && ln -s "../liblirc_client.la" "liblirc_client.la" )
In function '__read_alias',
inlined from 'rec_buffer_clear' at /home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/lib/receive.c:237:7:
/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/bits/unistd.h:39:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer
return __read_chk (__fd, __buf, __nbytes, __bos0 (__buf));
^
libtool: link: (cd ".libs" && rm -f "liblirc_driver.so.0" && ln -s "liblirc_driver.so.0.0.0" "liblirc_driver.so.0")
libtool: link: (cd ".libs" && rm -f "liblirc_driver.so" && ln -s "liblirc_driver.so.0.0.0" "liblirc_driver.so")
libtool: link: ( cd ".libs" && rm -f "liblirc_driver.la" && ln -s "../liblirc_driver.la" "liblirc_driver.la" )
In function '__read_alias',
inlined from 'rec_buffer_clear' at /home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/lib/receive.c:237:7:
/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/bits/unistd.h:39:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer
return __read_chk (__fd, __buf, __nbytes, __bos0 (__buf));
^
libtool: link: (cd ".libs" && rm -f "liblirc.so.0" && ln -s "liblirc.so.0.0.0" "liblirc.so.0")
libtool: link: (cd ".libs" && rm -f "liblirc.so" && ln -s "liblirc.so.0.0.0" "liblirc.so")
libtool: link: ( cd ".libs" && rm -f "liblirc.la" && ln -s "../liblirc.la" "liblirc.la" )
make[4]: Leaving directory '/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi/lib'
Makefile:457: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi/lib'
Makefile:641: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi'
Makefile:438: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/mark/src/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/lirc-0.9.4/.armv7ve-libreelec-linux-gnueabi'
Makefile:9: recipe for target 'release' failed
make: *** [release] Error 2
making a clean build fixed this
On latest master, kodi fails to start on wetek-play with following error
/usr/lib/kodi/kodi.bin: error while loading shared libraries: libvorbisenc.so.2: cannot open shared object file: No such file or directory