Linux WetekPlay - Compile latest build
#1
Compiling OpenElec for the WetekPlay:
Requirements:
*buntu with installed "build-essentials"

first follow the steps: http://wiki.openelec.tv/index.php?title=...rom_source
and execute
Code:
PROJECT=WeTek_Play ARCH=arm make release
to compile a stable OE-build and make sure everything works.

For the latest OpenElec test-builds (master-branch) from github, follow this steps:
Code:
#Ubuntu 15.04 lacks the following dependencies, so add them:
sudo apt-get install curl gawk gperf xsltproc openjdk-8-jre-headless libncurses5-dev texinfo ccache u-boot-tools

Code:
#Milhouse scripts have following dependencies:
sudo apt-get install pv pxz pigz pastebinit

Code:
# Create a working directory ("projects"), clone the OpenELEC repo and install scripts to automate the build
mkdir projects
cd projects
git clone git://github.com/OpenELEC/OpenELEC.tv.git
wget -q www.nmacleod.com/public/oebuild/oebuild.tar.gz -O - | tar xzf -
Once you've completed the above, the following should be sufficient to start a successful WetekPlay-build:
for the latest OE-vanilla build:
Code:
PROFILE=wetek-nightly ./autobuild.sh
for OE with Milhouse-patches:
Code:
PROFILE=wetek ./autobuild.sh

Also read the file README.1ST file which is included in oebuild.tar.gz (and will be included inside future tar releases). Other files you should read: profiles.README and README.
Please use the standard Confluence skin for testing

Here is the original post: http://forum.kodi.tv/showthread.php?tid=...pid2092814
Thx @Milhouse
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#2
After compiling, I have a running build, but no audio:
Code:
18:43:25 309.834564 T:2700108816   DEBUG: Thread JobWorker 2700108816 terminating (autodelete)
18:43:25 309.835297 T:2820293648   DEBUG: Thread JobWorker 2820293648 terminating (autodelete)
18:43:26 311.114990 T:3039052336  NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:43:26 311.115265 T:3039052336  NOTICE: No Devices found - retry: 2
18:43:28 312.644989 T:3039052336  NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:43:28 312.645172 T:3039052336  NOTICE: No Devices found - retry: 1
18:43:29 314.223938 T:3039052336  NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:43:29 314.224182 T:3039052336  NOTICE: Found 0 Lists of Devices
18:43:29 314.241364 T:3039052336   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm.so)
18:43:30 314.410645 T:3039052336   DEBUG: LIRC: Update - NEW at 293282:6c 0 KEY_DOWN_UP devinput (KEY_DOWN_UP)
18:43:30 314.421265 T:3039052336   DEBUG: LIRC: Update - NEW at 293293:6c 0 KEY_DOWN devinput (KEY_DOWN)
18:43:30 314.421661 T:3039052336   DEBUG: OnKey: 167 (0xa7) pressed, action is Down
18:43:30 314.437378 T:3039052336   DEBUG: LIRC: Update - NEW at 293309:6c 0 KEY_DOWN_UP devinput (KEY_DOWN_UP)
18:43:30 314.451233 T:3039052336   DEBUG: LIRC: Update - NEW at 293322:67 0 KEY_UP devinput (KEY_UP)
18:43:30 314.451721 T:3039052336   DEBUG: OnKey: 166 (0xa6) pressed, action is Up
18:43:30 314.494354 T:3039052336  NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:43:30 314.494629 T:3039052336  NOTICE: No Devices found - retry: 4
18:43:31 316.026245 T:3039052336  NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:43:31 316.026520 T:3039052336  NOTICE: No Devices found - retry: 3
18:43:33 317.613892 T:3039052336  NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
18:43:33 317.614166 T:3039052336  NOTICE: No Devices found - retry: 2
this are the devices:
Code:
OpenELECwetek:~ # cd /dev/
block/   bsg/     bus/     char/    disk/    dvb/     fd/      input/   mqueue/  net/     pts/     shm/     snd/
OpenELECwetek:~ # cd /dev/snd/
OpenELECwetek:/dev/snd # ll
total 0
drwxr-xr-x    2 root     root          60 Nov 14 18:38 by-path
crw-rw----    1 root     audio     116,   4 Nov 14 18:38 controlC0
crw-rw----    1 root     audio     116,   3 Nov 14 18:38 pcmC0D0c
crw-rw----    1 root     audio     116,   2 Nov 14 18:38 pcmC0D0p
crw-rw----    1 root     audio     116,  33 Nov 14 18:38 timer
OpenELECwetek:/dev/snd # cd by-path/
OpenELECwetek:/dev/snd/by-path # ll
total 0
lrwxrwxrwx    1 root     root          12 Nov 14 18:38 platform-soc-audio -> ../controlC0
and here is the full debug-log:
http://pasted.co/f0b9da84
sorry, it was too big to paste it on pastebin Wink
What can I do to get audio?
I'll change the first thread, if all the problems are solved.

Edit: It has noting to do with the "on top"-build. The current master has no audio too Sad

Thx again
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#3
I've no idea about the WeTek, to be honest - it's not really hardware I can give any advice on. You probably need to grab the attention of @codesnake (if that's the same codesnake who did a lot of the WeTek stuff on OpenELEC).

I'm also not sure what you eventually built - presumably you have built top of tree OpenELEC + top of tree Kodi.

I've build the wetek profile here - not that I've any WeTek hardware so can't test anything - and due to all the kodi patches in the WeTek_Play project folder it's not currently possible/practical to use FernetMenta's VideoPlayer commits right now without fixing/rebasing all of those WeTek patches, so I've built with regular DVDPlayer - did you do the same?

You could try the wetek-nightly profile in which case you're building plain OpenELEC master (with whatever Kodi it references, not top of tree Kodi) and no extra patches - if that has no audio then that would mean OpenELEC master doesn't currently have working audio for WeTek_Play. Unless there's something extra missing from the build that no other platform requires...
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#4
I built the wetek profile. So top of everything. Wink Do you have a link to your build with regular DVD-Player?
I will test wetek nightly tomorrow.
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#5
(2015-11-15, 00:17)Solo0815 Wrote: I built the wetek profile. So top of everything. Wink Do you have a link to your build with regular DVD-Player?
I will test wetek nightly tomorrow.

DVDPlayer is what you should be building when using the current oepull.dat/ipatches.dat.

Building the WeTek_Play project with the VideoPlayer patches doesn't currently work due to all of these project patches, most of which conflict with the VideoPlayer commits in one way or another. As I'm not familiar with these patches I have no idea whether they can be dropped or not.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#6
I compile AMLogic / OpenELEC all the time for a S805 ODROID C1+

Is OpenELEC master compiling with Kodi Jarvis without errors when doing the usual clone and then executing ?
Code:
PROJECT=WeTek_Play ARCH=arm make release

Why is Millhouse's script being introduced when you cannot even get the vanilla OE version running with sound ?

These are the two critical sound patches:
https://github.com/OpenELEC/OpenELEC.tv/...ices.patch
https://github.com/OpenELEC/OpenELEC.tv/...C958.patch

Reply
#7
(2015-11-15, 14:18)wrxtasy Wrote: Why is Millhouse's script being introduced when you cannot even get the vanilla OE version running with sound ?

Yes agreed, validating the build machine is configured correctly and capable of producing a working build would be the first step by creating a build using only the "standard" OpenELEC build procedure and not my scripts.

A "nightly" build using my scripts should then produce the same result as the standard build procedure, so that would be the second thing to try (assuming the OP is able to produce a working build using the "standard" build procedure).

All WeTek_Play builds using my scripts should be including the commits in the WeTek_Play project directory, so should be including the sound patches, but maybe they're not playing well with top of tree kodi (which is what my master builds are using).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#8
The reason for this topic were the latest PVR-addons. With the current OE-master, they can't be enabled, because they are too old. At least on the OE-side. Before using this script, I compiled OE 5.9.x, 6.0 and master without problems. Haven't tested audio on master, due to the missing PVR -> The Wetek mainly build for PVR.

Audio-Problem:
The current master (nightly) and milhouses "on top" builds are both without audio. I posted it in the Wetek-forums also, so codesnake hopefully fixes it.
Edit:
The working OE6.0 on Wetek has the same audio-device as OE-master. Kodi just doesn't use /dev/snd and wants to have /dev/mixer
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#9
Confirmed same problem no audio on vanilla openelec master on wetek
Reply
#10
Does reverting PR:4411 have any effect? I'm currently reverting 4411 in my RPi builds as it breaks i2s audio boards such as Hifiberry.

It's possible Solo0815 already reverted this PR when using my build scripts, in which case it's not the problem (@Solo0815: search for 4411 in oepull.dat).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#11
Provide a full kodi Debug Log and the output of aplay -l

From the snippet you posted it seems the kernel does not have ALSA devices / userspace has no alsa support.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#12
Quote:Provide a full kodi Debug Log and the output of aplay -l

From the snippet you posted it seems the kernel does not have ALSA devices / userspace has no alsa support.
The debug-log is in the second post:
http://pasted.co/f0b9da84
do you need a "dmesg"-log also?
I'll post the output of "aplay -l" when my wife has finished watching TV-Shows Wink

I also don't think, that reverting the PR 4411 has anything to do with it, because it also happens on vanilla OE "pre"-7
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#13
(2015-11-19, 18:48)Solo0815 Wrote: I also don't think, that reverting the PR 4411 has anything to do with it, because it also happens on vanilla OE "pre"-7

Not sure what you mean by OE "pre"-7 - is that master, or openelec-6.0? If you mean master, then #4411 merged to master on 2 Nov, or 17 days ago.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#14
Pre-7 because of this: https://github.com/OpenELEC/OpenELEC.tv/...320fd64531
Code:
# OS_VERSION: OS Version
-  OS_VERSION="6.0"
+  OS_VERSION="7.0"
I'll use the word "master" in the future (I promise) and try to compile the latest master without PR 4411

Edit:
trying to build the latest version with your script gave:
Code:
REVERTED PATCH FAILED TO APPLY (https://github.com/OpenELEC/OpenELEC.tv/commit/ce6a19e2369ef0344bbff6a033905f226ea56cf6)

I had to comment the corresponding line in oepull.dat
building right now ...
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#15
(2015-11-19, 19:10)Solo0815 Wrote: I had to comment the corresponding line in oepull.dat
building right now ...

Yeah, master is a moving target... as of a few hours ago you no longer need the last four lines in oepull.dat that were reverting various problem commits.

Edit: I've updated www.nmacleod.com/public/oebuild/oebuild.tar.gz
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply

Logout Mark Read Team Forum Stats Members Help
WetekPlay - Compile latest build0