Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

Build my own Vix image

I've successfully built mips, arm and hisilicon (sf8008) release images today. The SF8008 build was failing yesterday :thumbsup:
 
I've just tried the ZGemma H9 again and it's still failing on the Hisilicon build
 
I've just tried the ZGemma H9 again and it's still failing on the Hisilicon build

So there is an easier way that Huevos has used ... but this is mine.
Go to meta-oe-alliance/meta-oe/recipes-oe-alliance/enigma2-plugins
Find enigma2-plugin-systemplugins-servicehisilicon.bb
Click on it and change the branch to OpenPli -------> SRC_URI = "git://github.com/zgemma-star/servicehisilicon.git;branch=openpli"
 
So there is an easier way that Huevos has used ... but this is mine.
Go to meta-oe-alliance/meta-oe/recipes-oe-alliance/enigma2-plugins
Find enigma2-plugin-systemplugins-servicehisilicon.bb
Click on it and change the branch to OpenPli -------> SRC_URI = "git://github.com/zgemma-star/servicehisilicon.git;branch=openpli"

I was looking through the notes on Github and saw the extra branch for openpli which reverts a change. I'm not advanced enough to figure out that I could change the URI locally, so thanks for that - it now builds

Could that change be added to the .bb file on the OE-alliance git or would that break the build for a different image? Apologies if I am using the wrong vocabulary
 
I was looking through the notes on Github and saw the extra branch for openpli which reverts a change. I'm not advanced enough to figure out that I could change the URI locally, so thanks for that - it now builds

Could that change be added to the .bb file on the OE-alliance git or would that break the build for a different image? Apologies if I am using the wrong vocabulary

Needs resolving as OpenATV (and their copies) don't have the change on their image that needs this openpli branch.
 
Create a file called "enigma2-plugin-systemplugins-servicehisilicon.bbappend".

In the file just one line.
Code:
SRC_URI = "git://github.com/zgemma-star/servicehisilicon.git;branch=openpli"

Put the file in "<your-build-folder>/meta-local/recipes-local"

Then build.
 
Thanks to you all of you for the various pointers in this thread - I've built and flashed a 5.4.002 image to my Miraclebox Micro (mbmicro) which I use in client mode and so far it seems happy over the last day, other than plugins (which to be honest I don't use on this box but just trying to get my head around the process).

I never realised how involved and how long each individual build took, definitely gives me a greater appreciation for the work that is done behind the scenes thanks :)

I did have to edit the .bb URI for mjpegtools as seems the mirror has expired on that as well now but worked fine when pointed to the direct Sourceforge link.

I've got the feeds hosted locally and baked into the site.conf and when the box enters the plugins menu I see the following request hit the Apache server:

Code:
192.168.0.242 - - [27/Oct/2020:20:45:12 +0000] "GET /feeds/openvix/release/5.4/7000s/7000s/Packages.gz HTTP/1.1" 200 65126 "-" "Python-urllib/2.7"

I didn't initially have the symlink to 7000s, just mbmicro, so added the symlinks and the Packages.gz file is being served to the box as you can see from the 200 status and size, but it just errors out at the box end.

Are you supposed to hardcode the box end in the site.conf URI to mbmicro or should it be happy with the 7000s location?

I've done an Xpeed LX3 5.4.002 build as well today and the plugins are all enumerated and working as expected for that from the same server with similar symlinks (just different box name).

Code:
192.168.0.240 - - [28/Oct/2020:11:04:59 +0000] "GET /feeds/openvix/release/5.4/inihdp/inihdp/Packages.gz HTTP/1.1" 200 63976 "-" "Python-urllib/2.7"
192.168.0.240 - - [28/Oct/2020:11:04:59 +0000] "GET /feeds/openvix/release/5.4/inihdp/3rdparty/Packages.gz HTTP/1.1" 200 6943 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.240 - - [28/Oct/2020:11:04:59 +0000] "GET /feeds/openvix/release/5.4/inihdp/all/Packages.gz HTTP/1.1" 200 47562 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.240 - - [28/Oct/2020:11:04:59 +0000] "GET /feeds/openvix/release/5.4/inihdp/inihdp/Packages.gz HTTP/1.1" 200 64013 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.240 - - [28/Oct/2020:11:04:59 +0000] "GET /feeds/openvix/release/5.4/inihdp/inihdp_3rdparty/Packages.gz HTTP/1.1" 200 312 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.240 - - [28/Oct/2020:11:05:00 +0000] "GET /feeds/openvix/release/5.4/inihdp/mips32el/Packages.gz HTTP/1.1" 200 432620 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.240 - - [28/Oct/2020:11:05:00 +0000] "GET /feeds/openvix/release/5.4/inihdp/xpeedlx3/Packages.gz HTTP/1.1" 200 14957 "-" "Wget/1.20.3 (linux-gnu)"

I'm just trying another mbmicro build now to see if it still does the same after a new flash or whether that will start working with the local plugins feed.
 
Have a look on your box at this directories contents /etc/opkg - these point to the feeds for each component - check whats in there agrees with your feeds setup
 
Thanks @twol - it does all seem to match up.

I don't need plugins but just trying to understand why that one box errors where the xpeedlx3 is ok - I'll have a dig through debug logs etc but here are those files and you can see the request to the same Packages,gz file works as well as gunzips to valid data:

Code:
root@mbmicro:/etc/opkg# ls -l
-rw-r--r--    1 root     root            86 Oct 27 14:06 3rdparty-feed.conf
-rw-r--r--    1 root     root            80 Oct 27 14:06 7000s-feed.conf
-rw-r--r--    1 root     root            98 Oct 27 14:06 7000s_3rdparty-feed.conf
-rw-r--r--    1 root     root            76 Oct 27 14:06 all-feed.conf
-rw-r--r--    1 root     root           169 Oct 27 13:46 arch.conf
-rw-r--r--    1 root     root            84 Oct 27 14:06 mbmicro-feed.conf
-rw-r--r--    1 root     root            86 Oct 27 14:06 mips32el-feed.conf
-rw-r--r--    1 root     root           845 Oct 27 13:50 opkg.conf
root@mbmicro:/etc/opkg# more 3rdparty-feed.conf 
src/gz openvix-3rdparty http://192.168.0.131/feeds/openvix/release/5.4/7000s/3rdparty
root@mbmicro:/etc/opkg# more 7000s-feed.conf 
src/gz openvix-7000s http://192.168.0.131/feeds/openvix/release/5.4/7000s/7000s
root@mbmicro:/etc/opkg# more 7000s_3rdparty-feed.conf 
src/gz openvix-7000s_3rdparty http://192.168.0.131/feeds/openvix/release/5.4/7000s/7000s_3rdparty
root@mbmicro:/etc/opkg# more all-feed.conf 
src/gz openvix-all http://192.168.0.131/feeds/openvix/release/5.4/7000s/all
root@mbmicro:/etc/opkg# more arch.conf 
arch all 1
arch any 6
arch noarch 11
arch mips32el 16
arch mbmicro 21
arch 7000s 26
arch 3rdparty 31
arch 7000s_3rdparty 36
arch private 41
arch ocram 46
arch mipsel 51
root@mbmicro:/etc/opkg# more mbmicro-feed.conf 
src/gz openvix-mbmicro http://192.168.0.131/feeds/openvix/release/5.4/7000s/mbmicro
root@mbmicro:/etc/opkg# more mips32el-feed.conf 
src/gz openvix-mips32el http://192.168.0.131/feeds/openvix/release/5.4/7000s/mips32el

The Packages.gz file seems to download fine and unpack to a larger file if I try it elsewhere.

Code:
aido@linux-openvix:~$ wget http://192.168.0.131/feeds/openvix/release/5.4/7000s/7000s/Packages.gz
--2020-10-28 13:25:58--  http://192.168.0.131/feeds/openvix/release/5.4/7000s/7000s/Packages.gz
Connecting to 192.168.0.131:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 64864 (63K) [application/x-gzip]
Saving to: ‘Packages.gz’

Packages.gz                              100%[===============================================================================>]  63.34K  --.-KB/s    in 0s      

2020-10-28 13:25:58 (205 MB/s) - ‘Packages.gz’ saved [64864/64864]

aido@linux-openvix:~$ gunzip Packages.gz 
aido@linux-openvix:~$ ls -l
total 7776
-rw-rw-r-- 1 aido aido 1844336 Sep 21  2013 mjpegtools-2.1.0.tar.gz
-rw-rw-r-- 1 aido aido  572489 Oct 28 12:46 Packages
aido@linux-openvix:~$ more Packages 
Package: alsa-state-dbg
Version: 0.2.0-r5.7
Section: devel
Architecture: 7000s
Maintainer: OE-Core Developers <[email protected]>
MD5Sum: c817d362de35b7462deb7fc671847047
Size: 812
Filename: alsa-state-dbg_0.2.0-r5.7_7000s.ipk
Source: alsa-state.bb
Description: Alsa scenario files to enable alsa state restoration - Debugging files
OE: alsa-state
HomePage: http://www.alsa-project.org/
License: MIT
Priority: optional

<snip>
The box just spits out an error after downloading that first file:Screenshot 2020-10-28 at 13.16.51.webp
 
Last edited:
Turned on debug logging, rebooted with no other changes and it started working - go figure :D

Code:
192.168.0.242 - - [28/Oct/2020:13:45:51 +0000] "GET /feeds/openvix/release/5.4/7000s/7000s/Packages.gz HTTP/1.1" 200 65124 "-" "Python-urllib/2.7"
192.168.0.242 - - [28/Oct/2020:13:45:54 +0000] "GET /feeds/openvix/release/5.4/7000s/3rdparty/Packages.gz HTTP/1.1" 200 6943 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.242 - - [28/Oct/2020:13:45:55 +0000] "GET /feeds/openvix/release/5.4/7000s/7000s/Packages.gz HTTP/1.1" 200 65161 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.242 - - [28/Oct/2020:13:45:55 +0000] "GET /feeds/openvix/release/5.4/7000s/7000s_3rdparty/Packages.gz HTTP/1.1" 200 312 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.242 - - [28/Oct/2020:13:45:55 +0000] "GET /feeds/openvix/release/5.4/7000s/all/Packages.gz HTTP/1.1" 200 47526 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.242 - - [28/Oct/2020:13:45:55 +0000] "GET /feeds/openvix/release/5.4/7000s/mbmicro/Packages.gz HTTP/1.1" 200 14600 "-" "Wget/1.20.3 (linux-gnu)"
192.168.0.242 - - [28/Oct/2020:13:45:55 +0000] "GET /feeds/openvix/release/5.4/7000s/mips32el/Packages.gz HTTP/1.1" 200 432997 "-" "Wget/1.20.3 (linux-gnu)"
I guess with these unsupported boxes there will be random behaviour - the wifes soaps are on now so I'll leave it alone but thanks again
 
Just trying to freshly build and come across Yahoo error. Looking back through this thread, I see it mentioned in this thread.

@ccs, can I ask how you got around this yahoo error as it looks like it's related to python2/3 ?
 
Last edited:
Last edited:
Hi, yes python2 got round the error, not sure if python3 is now used for 5.4, maybe someone can confirm?

This is the summary of my workarounds, I haven't tried 5.4 yet...

https://www.world-of-satellite.com/...-own-Vix-image&p=501146&viewfull=1#post501146

I seem to remember a few weeks ago an easy way to exclude a plugin if you didn't need to build it. Haven't found it yet.

This is probably it...

https://www.world-of-satellite.com/...-own-Vix-image&p=503391&viewfull=1#post503391

5.4 is python 2
 
I'm building using Ubuntu 20.04 LTS.

I did notice something in openatv readme for their 6.5 (obviously still beta):

Code:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
sudo update-alternatives --config python
select python3

Do you think it's worth doing same except "select python 2" as last command?
 
.... I just went back to 18.04 which defaults to python2.

If you want to stay on 20.04, have a look here :eek: ....

Code:
https://linuxhint.com/update_alternatives_ubuntu/
 
I'm going to try sticking with 20.04 and use update alternatives as it's mentioned in openatv readme for 6.5 but have selected Python 2 instead of 3 as the manual default.

Just re-running build again and will let you know outcome.
 
Builds fine on 18.04 :)

But think this was user error on my behalf more than version of ubuntu I was building on because I noticed the site.conf that I would paste (from a previous back-up) before freshly building had "-native" under BUILD_OPTIMIZATION but when I checked against one it freshly generated itself never had "-native" :)
 

OpenViX Feeds Status

Back
Top