After the make distclean I run ./make.sh and question build: y ? , I write: ./build -j2, not y(es).After the make distclean you should run ./make.sh, not ./build. ./build does not accept any parameters, so adding -j2 has no effect. The build environment uses parallel makes automatically; ./make.sh first determines the number of CPU cores and then adds a -jx to each make command with x the number of cores.
Regards,
Audioniek.
It has worked..
I think faster than if you only choose to Y.
Geändert von turulbird (22.06.2016 um 14:32 Uhr)
No. At this point the shell script only tests for a negative answer in five different forms. If you type anything else (including a single Enter), it is is interpreted as yes and the build will start. The input is not used for anything else. I you type ./build -j2 you have totally misunderstood how dash works; you cannot pass options or commands in this way.
Regards,
Audioniek.
Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
Sats: Astra 1, 2 & 3, Hotbird
Main activity: building my own E2 images for Fortis receivers
I start enter or y, then ctrl+c, after ./build -j2.
Geändert von turulbird (22.06.2016 um 23:29 Uhr)
Apparently you have not had a look at the various scripts. At the end of make.sh you find this:
This means that when the user inputs N, n, No, NO or no, the script will exit (the prompt will appear).Code:read -p "Do you want to start the build now (Y*/n)? " case "$REPLY" in N|n|No|NO|no) echo -e "\nOK. To start the build, execute ./build in this directory.\n" exit;; *) $CURDIR/build;; esac
As said before, any other input executes $CURDIR/build, which in this case is exactly the same as ./build.
For some reason you insist on calling ./build with augument -j2. Build is a generated script and can look like this:
As can been seen there is not a single $1 anywhere, so the argument is not processed at all.Code:#!/bin/bash if [ ! -e ./config.status ] && [ -e ./lastChoice ]; then CURDIR=`pwd` CURRENT_PATH=${CURDIR%/cdk} export PATH=/usr/sbin:/sbin:$PATH CONFIGPARAM=`cat lastChoice` echo echo "Performing autogen.sh..." echo "------------------------" ./autogen.sh echo echo "Performing configure..." echo "-----------------------" echo ./configure $CONFIGPARAM fi make yaud-enigma2-pli-nightly
You can of course edit the -j2 in but this does not speed up things. First, the build environment will probably try to build multiple modules in parallel, something it was not designed for and may lead to problems due to failing dependencies. Another reason is that it may decide to build two modules in parallel but this will then lead to each module being built with just one core, which is what you do not want: the other core builds the other module. The net result is that the modules are no longer built in sequence which leads to chaotic screen output. I predict that this approach will be slower than the current one (modules built in sequence, individual modules built with parallel processes) as there is more housekeeping to do. Things in the git are done in certain ways for a reason, these these reasons have been carefully thought through years ago.
Just do ./make.sh, Enter, sit back and watch the fastest build possible. Please?
Regards,
Audioniek.
- - - Aktualisiert - - -
@max,
Danke fuer den Tipp. Ich hatte gedacht das waere so einfach aber kriegte das nicht richtig hin; deswegen die etwas "dumme" Loesung. Deine Loesung ist getestet worden (und ist bis ein winziges Detail richtig), lauft wie gewuenscht und ist inzwischen in meinem git.
Gruesse,
Audioniek.
Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
Sats: Astra 1, 2 & 3, Hotbird
Main activity: building my own E2 images for Fortis receivers
I can test tomorrow afternoon, run only enter (y).
So far, the neutrino within an hour -j2 might run with.
Neutrino or Enigma2 try?
I want now is a working enigma2 or neutrino usb...
Geändert von turulbird (23.06.2016 um 21:54 Uhr)
total 46M
-rw-r--r-- 1 33 jún 24 13:11 ufs910_enigma2_USB_CDK-rev985.md5
-rw-r--r-- 1 46M jún 24 13:11 ufs910_enigma2_USB_CDK-rev985.tar.gz
Fihished 48 minutes.
Run only Y, enter, LM17.3 32 bit; does not work.Code:LOADING MODULES Setting new flags init embxshell init embxmailbox init embxshm init mme_host init AVS init stmfb init player init player 191 insmod: can't insert '/lib/modules/ksound.ko': invalid module format insmod: can't insert '/lib/modules/player2.ko': unknown symbol in module, or unknown parameter insmod: can't insert '/lib/modules/sth264pp.ko': unknown symbol in module, or unknown parameter insmod: can't insert '/lib/modules/stmalloc.ko': unknown symbol in module, or unknown parameter init lircd init frontpanel ............................. Rebooting...
More recently gstreamer error during construction, but will not stop.
The fault is not with me is.
Geändert von turulbird (24.07.2016 um 22:27 Uhr)
Error?:
total 46MCode:/bin/sh ../../../libtool --mode=install /usr/bin/install -c gst-plugin-scanner gst-ptp-helper '/home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/lib/gstreamer-1.0' libtool: warning: '../../../gst/libgstreamer-1.0.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gst-completion-helper-1.0 /home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/bin/gst-completion-helper-1.0 make install-exec-hook make[6]: Entering directory `/home/turulbird/StartHere-Audioniek/cdk/gstreamer-1.8.1/libs/gst/helpers' /bin/mkdir -p /home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/share/bash-completion/helpers && \ cd /home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/bin && \ /usr/bin/install -c `echo "gst-completion-helper-" | sed 's,x,x,'`1.0 \ /home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/share/bash-completion/helpers/gst-completion-helper-1.0 && \ rm `echo "gst-completion-helper-" | sed 's,x,x,'`1.0 libtool: warning: '../../../gst/libgstreamer-1.0.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gst-plugin-scanner /home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/lib/gstreamer-1.0/gst-plugin-scanner make[6]: Leaving directory `/home/turulbird/StartHere-Audioniek/cdk/gstreamer-1.8.1/libs/gst/helpers' libtool: warning: '../../../gst/libgstreamer-1.0.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gst-ptp-helper /home/turulbird/StartHere-Audioniek/tufsbox/cdkroot/usr/lib/gstreamer-1.0/gst-ptp-helper make install-data-hook
-rw-r--r-- 1 33 jún 26 18:18 ufs910_enigma2_USB_CDK-rev988.md5
-rw-r--r-- 1 46M jún 26 18:18 ufs910_enigma2_USB_CDK-rev988.tar.gz
-- Finished --------------------------------------------- 70 minutes <===> 48 minutes (previous).
Geändert von turulbird (26.06.2016 um 18:21 Uhr)
First start:
Only WAIT 1 min on vfd endless...
Next start:Code:INIT: version 2.88 booting WAIT 1 min grep: /proc/mounts: Input/output error grep: /proc/mounts: Input/output error grep: /proc/mounts: Input/output error [mountvirtfs] Mount /dev in tmpfs [mountvirtfs] Copying device nodes to /dev grep: /proc/mounts: Input/output error mount: mounting tmpfs on /ram failed: Input/output error cp: can't stat '/ram/dev': Input/output error mount: /etc/mtab: Input/output error mount: mounting /ram/dev on /dev failed: Input/output error 4096+0 records in 4096+0 records out 4194304 bytes (4.0MB) copied, 0.069936 seconds, 57.2MB/s 4096+0 records in 4096+0 records out 4194304 bytes (4.0MB) copied, 0.068824 seconds, 58.1MB/s load a firmware copLoadFile (file /boot/audio.elf) ustslave: Kernel Version: 24 base_address 0x10400000 seeking to 0 seeking to 5f00 seeking to 12320 seeking to 1aa20 seeking to 173100 seeking to 173138 seeking to 173170 seeking to 1b9058 seeking to 1b9060 seeking to 1b9068 seeking to 1b9070 seeking to 1d0920 seeking to 1d0a00 load v firmware copLoadFile (file /boot/video.elf) [5] cannot open input file /boot/video.elf Starting DEBUG Interface /etc/init.d/rcS: line 163: /etc/init.d/mountall: Input/output error [hostname] Hostname: ufs910 starting telnetd LOADING MODULES Model not found init embxshell init embxmailbox init embxshm init mme_host
Welcome endless...
Geändert von turulbird (26.06.2016 um 19:29 Uhr)
No, there is a difference between errors and warnings:
E2 requires a lot more modules than Neutrino, therefore the build takes much longer.-- Finished --------------------------------------------- 70 minutes <===> 48 minutes (previous).Code:libtool: warning: '../../../gst/libgstreamer-1.0.la' has not been installed in '/usr/lib' libtool: warning: '../../../gst/libgstreamer-1.0.la' has not been installed in '/usr/lib'
Regards,
Audioniek.
Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
Sats: Astra 1, 2 & 3, Hotbird
Main activity: building my own E2 images for Fortis receivers
The both is enigma2...
Unfortunately this does not work.
Maybe the thousandth....
REV 991 only booootiiingggg.....
Geändert von turulbird (06.07.2016 um 15:40 Uhr)