Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2047 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1201 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 15 August 2017 - 09:51

I am talking not about that. I got the folder /lib/i386-linux-gnu. This is acceptable for 64-bit systems, but script 1 reacted to this and install packages of both versions. For 64-bit systems, we need to check whether packages with the name *: i386 are accidentally installed.
Now script 1 using dvbmediasink branch "gst-1.0" in case 17.04.
The subsink was old. Therefore, I don't delete v. 0.10. Also a little remade scripts. But the subtitles at 17.04 don't work. Crash.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1202 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 18 August 2017 - 12:33

I successfully started lirc-0.9.4c-9 on the kernel 4.10 (Ubuntu 17.04) and now I can control e2pc with the 'Serial IR type home-brew'. So, if someone is interested, I can write an instruction.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1203 atari

  • Senior Member
  • 28 posts

0
Neutral

Posted 18 August 2017 - 19:32

@1455 can you add yours mods to git?

tnx



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1204 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 18 August 2017 - 20:25

atarl, the work is almost finished. Understand correctly, if I describe every action to a rollback, every mistake, it will take a very long time.

Of course, I can, but after a while it will be another dead git repository. I'm now basically changing the patch, so you can see the difference yourself. :)

I just transferred what was done before me to the current state. :)


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1205 atari

  • Senior Member
  • 28 posts

0
Neutral

Posted 18 August 2017 - 20:41

i install on 2 pc on one was compile & run ok

on other i get:

(Reading database ... 420765 files and directories currently installed.)
Preparing to unpack .../libxine-e2pc_1.2.8-e2pc-1_amd64.deb ...
Unpacking libxine-e2pc (1.2.8-e2pc-1) ...
dpkg: error processing archive /opt/enigma2pc-RC5-hevc/xine-lib-1.2-vdpau/libxine-e2pc_1.2.8-e2pc-1_amd64.deb (--install):
 trying to overwrite '/usr/share/locale/sk/LC_MESSAGES/libxine2.mo', which is also in package libxine2-bin 1.2.6-1build5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for xine-ui (0.99.9-1.2) ...
Updated the MIME types in xine's menu file.
Errors were encountered while processing:
 /opt/enigma2pc-RC5-hevc/xine-lib-1.2-vdpau/libxine-e2pc_1.2.8-e2pc-1_amd64.deb
it updated 16.04 64bit



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1206 atari

  • Senior Member
  • 28 posts

0
Neutral

Posted 18 August 2017 - 20:56

btw great job, last ime when i compile it it was lot of manual paching to make it work

is it poslible to make ver for samsing udh tv J, I see root is now working, oscam too, im not sure what is cpu inside



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1207 Shadowman94

  • Senior Member
  • 41 posts

0
Neutral

Posted 18 August 2017 - 22:12

@atari

You need to manual remove old libxine package first, after u can install new. :)


Edited by Shadowman94, 18 August 2017 - 22:12.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1208 Shadowman94

  • Senior Member
  • 41 posts

0
Neutral

Posted 18 August 2017 - 22:14

I successfully started lirc-0.9.4c-9 on the kernel 4.10 (Ubuntu 17.04) and now I can control e2pc with the 'Serial IR type home-brew'. So, if someone is interested, I can write an instruction.

Great job! :D It would be great if u can write a short instruction, how we can install lirc on newer kernel :)



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1209 atari

  • Senior Member
  • 28 posts

0
Neutral

Posted 18 August 2017 - 23:28

@shadowman94 tnx it worked but i get new error:

 

/opt/enigma2pc-RC5-hevc/enigma2/dvbsoftwareca/dvb_softwareca.c:239:21: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  dvb_class->devnode = dvb_devnode;
                     ^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/opt/enigma2pc-RC5-hevc/enigma2/dvbsoftwareca/dvb_softwareca.o' failed
make[2]: *** [/opt/enigma2pc-RC5-hevc/enigma2/dvbsoftwareca/dvb_softwareca.o] Error 1
Makefile:1524: recipe for target '_module_/opt/enigma2pc-RC5-hevc/enigma2/dvbsoftwareca' failed
make[1]: *** [_module_/opt/enigma2pc-RC5-hevc/enigma2/dvbsoftwareca] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-32-generic'
Makefile:7: recipe for target 'default' failed
make: *** [default] Error 2

An error occured while building OpenPliPC - section dvbsoftwareca
 



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1210 WanWizard

  • PLi® Core member
  • 68,612 posts

+1,739
Excellent

Posted 18 August 2017 - 23:36

The codebase is very sentitive to the version of gcc used to compile.

 

The current develop codebase compiles with gcc 5.4, newer ones will have errors like this pop up. Have a look at the pending PR https://github.com/O...e-core/pull/313 for fixes for newer gcc versions. 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1211 Shadowman94

  • Senior Member
  • 41 posts

0
Neutral

Posted 18 August 2017 - 23:40

@atari

 

U need to apply my patch for 4.9+ kernels, u can found it in patches folder :)



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1212 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 19 August 2017 - 08:15

Shadowman94, there are still some problems. Unlike the old versions there are no repeats. I will be grateful if you help me understand the reason. People write that they also have this problem with version 094 but I can't  able to launch others versions.

Installaton lirc in Ubuntu 17.04 step by step.

1) Installing packages:

dpkg --remove ir-keytable
apt-get install lirc

2) Create a group and add the user:

sudo groupadd lirc
sudo usermod -aG lirc root; sg lirc lirc-setup

3) The program 'lirc-setup' does not work properly. So create a new file /etc/lirc/lirc_options.conf:

[lircd]
nodaemon        = False
driver          = default
device          = /dev/lirc0
output          = /var/run/lirc/lircd
pidfile         = /var/run/lirc/lircd.pid
plugindir       = /usr/lib/x86_64-linux-gnu/lirc/plugins
permission      = 666
allow-simulate  = No
repeat-max      = 600
#effective-user =
#listen         = [address:]port
#connect        = host[:port]
#loglevel       = 6
#uinput         = ...
#release        = ...
#logfile        = ...

[lircmd]
uinput          = False
nodaemon        = False

[modinit]
code = /bin/setserial /dev/ttyS0 uart none; /sbin/modprobe serial_ir
code1 = /bin/setfacl -m g:lirc:rw /dev/lirc0
# code2 = ...

# [lircd-uinput]
# release-timeout = 200

4) Run the program irrecord. W: Run in a terminal the programm 'irrecord' even if you is root as sudo (!):

cd /etc/lirc/lircd.conf.d
service lircd stop
sudo irrecord -n -d /dev/lirc0 -H default MyRemote.conf

5) Delete in the resulting file all "0xFFFFFFFFFFFFFFFF" after "0x........":

  name  MyRemote
  bits           32
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9046  4440
  one           621  1614
  zero          621   495
  ptrail        619
  repeat       9044  2203
  gap          107282
  toggle_bit_mask 0x0

      begin codes
          KEY_OK                   0x08F7F807
          KEY_UP                   0x08F700FF
      end codes

end remote

6) You can use your old config from previous versions, by adding 08F7 (or what you got after irrecord) after '0x....', or use toggle_bit_mask. Or you can add the following lines (if they are not) to lead the code to the form '0x....':

  pre_data_bits   16
  pre_data       0x8F7

7) Rename unused files in the folder /etc/lirc/lircd.conf.d by add an ending '.dist'

8) Start lirc again:

service lircd start

PS. It also works with https://git.linuxtv....media_build.gitIt does not work with https://bitbucket.or...Cat/media_build.

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1213 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 19 August 2017 - 08:23

<- This is only for the 'Serial IR type home-brew' and it works after reboot.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1214 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 20 August 2017 - 10:50

I'm not at home at the moment. Try this:

[lircd]
nodaemon        = False
driver          = devinput
device          = /dev/input/by-path/platform-serial_ir.0-event-ir
output          = /var/run/lirc/lircd
pidfile         = /var/run/lirc/lircd.pid
plugindir       = /usr/lib/x86_64-linux-gnu/lirc/plugins
permission      = 666
allow-simulate  = No
repeat-max      = 100
#effective-user =
#listen         = [address:]port
#connect        = host[:port]
loglevel       = 6
#uinput         = ...
#release        = ...
logfile        = /var/log/lirc.log

[lircmd]
uinput          = False
nodaemon        = False

[modinit]
code = /bin/setserial /dev/ttyS0 uart none
code1 = /sbin/modprobe serial_ir
# selection protocol:
code2 = /bin/echo rc-5 > /sys/class/rc/rc0/protocols
#code3 = /bin/setfacl -m g:lircd:rw /dev/lirc0

# [lircd-uinput]
# release-timeout = 200

What will happen then?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1215 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 22 August 2017 - 13:47

Sorry, I found a mistake!
a) apt-get install setserial
B) lirc_options.conf must not contain more than one space near ' = '. The correct format should be this:

# Generated by lirc-setup
[lircd]
nodaemon = False
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/x86_64-linux-gnu/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 100
loglevel = 6
logfile = /var/log/lirc.log

[lircmd]
uinput = False
nodaemon = False

[modinit]
code = /bin/echo lirc > /sys/class/rc/rc0/protocols
code1 = /bin/setfacl -m g:lirc:rw /dev/lirc0
code3 = /bin/setserial /dev/ttyS0 uart none; /sbin/modprobe serial_ir

Log files:
/root/.cache/irrecord.log
/root/.cache/mode2.log
/var/log/kernel.log


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1216 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 4 September 2017 - 16:44

Switched Enigma2pc-RC6 to sigc++-2.0 for 17.04. But the timeshift in 17.04 still does not work.

[eDVBChannel] getLength failed - can't seek relative to end!

The reason is not exactly in the core. Suspicions on python 2.7.13


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1217 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 8 September 2017 - 13:06

Question to the developers.
I install on 'Zesty' the patched version python-2.7.12 in a separate folder and assign it to ~/.bashrc

alias python='/usr/local/e2/bin/python2.7'

Then I enter the command

. ~/.bashrc

Checking

python -V

I also add to ./configure

LDFLAGS="-L/usr/local/e2/bin/python2.7"

Everything is going, but enigma persistently writes in config.log

result: /usr/bin/python

Similarly, if I install gcc5 and in ~/.bashrc

alias gcc='/usr/bin/gcc-5'

How to make use of these libraries not from /usr/bin but those that I want?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1218 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 24 September 2017 - 15:40

If you still have not lost interest. B)

An interesting feature of the RC6 in Ubuntu-17.04. If you run /TESTS/VALGRIND.sh, then the timeshift and subtitles are working. I have a guess, and your opinion?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1219 Removed #163940

  • Guest

0

Posted 27 November 2017 - 13:35

What is the currently recommended version of Ubuntu to use for this? I am installing in VirtualBox on a Windows 7 64 Bit host.

 

I tried first with 11.10 x86. That one did not even have git and I could not install it.

 

So, I am trying now with 16.04.3 desktop x64.

 

I got around not finding dvb headers by using: CPP="gcc -E -P" ./build_openpliPC.sh -p4

 

I applied the xine patch from this thread. However, xine still does not compile because of a lot of errors with ffmpeg: https://pastebin.com/DifHFrXQ

 

Any help would be greatly appreciated. Thanks!

 



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1220 WanWizard

  • PLi® Core member
  • 68,612 posts

+1,739
Excellent

Posted 27 November 2017 - 13:43

All our buildservers run Ubuntu 16.04. My own buildserver runs Fedora 26.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users