Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 4 123 ... LastLast
Results 1 to 15 of 46

Thread: openvix dev build instructions

  1. #1

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts

    openvix dev build instructions

    12 - Update build-enviroment

    make update
    After following all steps up to and including step 12 (https://github.com/OpenViX/enigma2),I'm now stuck at 13 as site.conf does not exist (yet?)

    13 - Update site.conf

    - BB_NUMBER_THREADS, PARALLEL_MAKE set to number of threads supported by the CPU
    - add/modify DL_DIR = " location for build sources " to point to a location where you can save derived build sources,
    this will reduce build time in fetching these sources again.
    site.conf does not exist yet in either the current dir (:~/openvix/build-enviroment) or in 'builds' dir (builds dir doesnt exist yet either)
    After grepping, I see that BB_NUMBER_THREADS text exists in 'Makefile'

    from there, I see site.conf being referenced as $(TOPDIR)/conf/site.conf which equals $(BUILD_DIR)/conf/site.conf
    but also a reference to $(CURDIR)/site.conf:

    Now, I can see in that Makefile that it (Makefile) writes out to $(CURDIR)/site.conf

    Code:
    $(CURDIR)/site.conf:
            @echo 'SCONF_VERSION = "1"' >> $@
            @echo 'BB_NUMBER_THREADS = "$(BB_NUMBER_THREADS)"' >> $@
            @echo 'PARALLEL_MAKE = "$(PARALLEL_MAKE)"' >> $@
            @echo 'BUILD_OPTIMIZATION = "-O2 -pipe"' >> $@
            @echo 'DL_DIR = "$(DL_DIR)"' >> $@
            @echo 'SSTATE_DIR = "$(SSTATE_DIR)"' >> $@
            @echo 'INHERIT += "rm_work"' >> $@
            @echo 'BB_GIT_SHALLOW_DEPTH = "1"' >> $@
            @echo 'BB_GIT_SHALLOW = "1"' >> $@
    So, I can create this file myself but just wondering whether there's a step missing or should site.conf have been spat out after I ran 'make update'?

  2. #2

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,051
    Thanks
    404
    Thanked 669 Times in 548 Posts
    Start the build and stop it after a few seconds - a default site.conf will be built and you can edit it yourself
    Zgemma H7S running OpenVIX 6.2, Darkmotor, Triax TD110 dish, Inverto Black Ultra dual lnb
    LG 50UM7450 4K TV, Pioneer VSX-534 Atmos AVR , Panasonic UB820 region free 4K Bluray & a PS4.

  3. #3

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts
    cool. ended up doing that and got error:

    ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
    lz4c
    installed liblz4-tool to fix

  4. #4

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts
    i just had en_GB.utf8 installed as locale.

    had error:

    ERROR: OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Your system needs to support the en_US.UTF-8 locale.
    ran
    Code:
     sudo locale-gen en_US en_US.UTF-8
    to fix

  5. #5

    Title
    V.I.P
    Join Date
    Jan 2011
    Posts
    273
    Thanks
    60
    Thanked 592 Times in 197 Posts
    Quote Originally Posted by satteliter View Post
    After following all steps up to and including step 12 (https://github.com/OpenViX/enigma2),I'm now stuck at 13 as site.conf does not exist (yet?)

    So, I can create this file myself but just wondering whether there's a step missing or should site.conf have been spat out after I ran 'make update'?
    Yes, there seems to be a 12.5 step missing in the instructions! There is no site.conf to edit after running 'make update' in step 12.

    The missing step is:
    Code:
    MACHINE=vuultimo4k DISTRO=openvix DISTRO_TYPE=release make
    This will create the site.conf, so that you can edit it without starting any build instructions.

  6. The Following 2 Users Say Thank You to LraiZer For This Useful Post:

    satteliter (29-04-22),twol (29-04-22)

  7. #6

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts
    will try that.

    i kicked off a build using Ubuntu Server 22.04 in a virtuallbox VM (windows host) with 10GB ram, 4 cpus and dedicated 250GB SSD for OS, but server is hanging.

    Not responding to local console commands and ssh sessions hung.

    Seeing a lot of 'task blocked for more than 120 seconds' output (attached)

    Is this expected behaviour?openvix build virtualbox vm 10gb ram 4 cpu server non responsive.jpg

  8. #7

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts
    This was the last ssh output from the 'MACHINE=gbtrio4k DISTRO=openvix DISTRO_TYPE=release make image' command before it stopped getting updates.

    Looking at host machine CPU and memory usage, things are still working away.last ssh output .jpg
    Last edited by satteliter; 29-04-22 at 19:05.

  9. #8
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    The build is cpu intensive and also with the newer OE-A‘s (5.0 or 5.1) very heavy on memory. Even without nodejs, qt and kodi - builds can hit 24GB memory, so I would suggest over 16GB, possibly more. I have hit 34GB when building everything and nodejs & QT steps running (only!)
    Try using a swap, also how many threads are you using … is it reasonable for your CPU and under VM
    Last edited by twol; 29-04-22 at 19:48.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  10. #9

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts
    Quote Originally Posted by twol View Post
    The build is cpu intensive and also with the newer OE-A‘s (5.0 or 5.1) very heavy on memory. Even without nodejs, qt and kodi - builds can hit 24GB memory, so I would suggest over 16GB, possibly more. I have hit 34GB when building everything and nodejs & QT steps running (only!)
    Try using a swap, also how many threads are you using … is it reasonable for your CPU and under VM
    Hmm, only have 16GB on host total for now.

    As for threads,I didn't set that. My thought was just to let it go wild.

    CPU is Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)

    Bit dated but still powerful - https://www.cpubenchmark.net/cpu.php....40GHz&id=2246

    A comparison between it and new i7 1265U:

    https://www.cpubenchmark.net/compare...65U/2246vs4766

    I'll leave it running and see when it comes back.
    If it fails, I'll stop using VM and just install & boot straight to ubuntu giving it the whole 16GB.


    I used your instructions from https://www.world-of-satellite.com/s...l=1#post524637 about using the exclusions by Huevos so it should be skippingKodi and QT etc..

    Do you know how long does the build normally take from scratch? It's coming up on 5 hours for me now..
    Will give it another couple hours before killing it and booting in to Ubuntu direct.

  11. #10
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    Quote Originally Posted by satteliter View Post
    Hmm, only have 16GB on host total for now.

    As for threads,I didn't set that. My thought was just to let it go wild.

    CPU is Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)

    Bit dated but still powerful - https://www.cpubenchmark.net/cpu.php....40GHz&id=2246

    A comparison between it and new i7 1265U:

    https://www.cpubenchmark.net/compare...65U/2246vs4766

    I'll leave it running and see when it comes back.
    If it fails, I'll stop using VM and just install & boot straight to ubuntu giving it the whole 16GB.


    I used your instructions from https://www.world-of-satellite.com/s...l=1#post524637 about using the exclusions by Huevos so it should be skippingKodi and QT etc..

    Do you know how long does the build normally take from scratch? It's coming up on 5 hours for me now..
    Will give it another couple hours before killing it and booting in to Ubuntu direct.
    Hard to compare as I normally have minimal new fetches, don,t build Kodi/qt … and no memory constraint, but new complete build is about 2 1/2 hours running across all 16 cores at 100% most of the time
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  12. #11

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,051
    Thanks
    404
    Thanked 669 Times in 548 Posts
    I would forget about using a VM. You should still use at least 8GB swap along with the 16GB ram. It will still take few hours to build the first time. After that it's pretty quick.

  13. #12

    Title
    V.I.P
    Join Date
    Jan 2011
    Posts
    273
    Thanks
    60
    Thanked 592 Times in 197 Posts
    Just for INFO:

    My VmWare Virtul Machine: AMD Athlon(tm) II X4 620 Processor 2.60 GHz, 4 cores, 4 threads, 4GB ram!!!

    First build takes about 48 hours
    Update builds take about 30 mins.

    I can just about get away with 4GB ram on the VM and add second 16GB swapfile which i edited into fstab so it is setup at startup.
    Building nodejs uses 8GB ram on one thread during linking stage alone.

    I sometimes also run 'top' in a second terminal during a build to monitor memory and what is going on if any limits are reached.

    This was a recent new virtual machine setup and build bash log as an example:
    Code:
    sudo apt-get install -y autoconf automake bison bzip2 chrpath coreutils cpio curl cvs debianutils default-jre default-jre-headless diffstat flex g++ gawk gcc gcc-8 gcc-multilib g++-multilib gettext git git-core gzip help2man info iputils-ping java-common libc6-dev libegl1-mesa libglib2.0-dev libncurses5-dev libperl4-corelibs-perl libproc-processtable-perl libsdl1.2-dev libserf-dev libtool libxml2-utils make ncurses-bin patch perl pkg-config psmisc python3 python3-git python3-jinja2 python3-pexpect python3-pip python-setuptools qemu quilt socat sshpass subversion tar texi2html texinfo unzip wget xsltproc xterm xz-utils zip zlib1g-dev zstd 
    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
    sudo dpkg-reconfigure dash
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
    sudo sysctl -n -w fs.inotify.max_user_watches=524288
    git clone https://github.com/oe-alliance/build-enviroment.git -b 5.1
    make update
    free -h
    swapon --show
    sudo fallocate -l 16G /oe-a-swapfile
    sudo chmod 600 /oe-a-swapfile
    sudo mkswap /oe-a-swapfile
    sudo swapon /oe-a-swapfile
    free -h
    swapon --show
    sudo cp /etc/fstab /etc/fstab.back
    sudo nautilus
    sudo swapoff /oe-a-swapfile
    swapon --show
    free -h
    sudo swapon /oe-a-swapfile
    swapon --show
    MACHINE=xpeedlx3 DISTRO=openvix DISTRO_TYPE=developer make
    cd /home/lraizer/openvix/build-enviroment/builds/openvix/developer/inihdp
    source env.source
    bitbake openvix-image --runall=fetch
    MACHINE=xpeedlx3 DISTRO=openvix DISTRO_TYPE=developer make
    cd /home/lraizer/openvix/build-enviroment/builds/openvix/developer/inihdp
    source env.source
    bitbake openvix-image
    top
    make update
    MACHINE=xpeedlx3 DISTRO=openvix DISTRO_TYPE=developer make
    cd /home/lraizer/openvix/build-enviroment/builds/openvix/developer/inihdp
    source env.source
    bitbake openvix-image
    top
    make update
    MACHINE=xpeedlx3 DISTRO=openvix DISTRO_TYPE=release make
    MACHINE=xpeedlx3 DISTRO=openvix DISTRO_TYPE=release make image
    top
    Last edited by LraiZer; 29-04-22 at 23:13.

  14. The Following 2 Users Say Thank You to LraiZer For This Useful Post:

    abu baniaz (02-12-22),satteliter (30-04-22)

  15. #13
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,945
    Thanks
    2,062
    Thanked 5,145 Times in 3,395 Posts
    Is there any reason to build nodejs?
    Help keep OpenViX servers online.Please donate!

  16. #14

    Title
    Member
    Join Date
    Feb 2021
    Posts
    96
    Thanks
    21
    Thanked 6 Times in 4 Posts
    installed fresh ubuntu server 22.02 on raw machine - no vm
    kicked off build overnight using the kodi/qt exclusions from here [1]

    total time for build command was 232m55.226s = 3hrs 52 mins

    box specs:
    Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
    16GB swap
    16GB RAM=2 * 8GB DDR3 1600Mhz
    250 GB Samsung 840 SSD

    i can then see the zip images(incl. openvix-6.2.001.release-gbtrio4k_mmc.zip) in ~/openvix/build-enviroment/builds/openvix/release/gbmv200/tmp/deploy/images/gbmv200

    [1] https://www.world-of-satellite.com/s...l=1#post524637

  17. #15
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    Quote Originally Posted by satteliter View Post
    installed fresh ubuntu server 22.02 on raw machine - no vm
    kicked off build overnight using the kodi/qt exclusions from here [1]

    total time for build command was 232m55.226s = 3hrs 52 mins

    box specs:
    Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
    16GB swap
    16GB RAM=2 * 8GB DDR3 1600Mhz
    250 GB Samsung 840 SSD

    i can then see the zip images(incl. openvix-6.2.001.release-gbtrio4k_mmc.zip) in ~/openvix/build-enviroment/builds/openvix/release/gbmv200/tmp/deploy/images/gbmv200

    [1] https://www.world-of-satellite.com/s...l=1#post524637
    The feed ipks are also there (deploy/ipk) so you need to set that up so you pick up your feeds in the image
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.