Jump to content


Photo

Openpli Quick setup Ubuntu/debian


  • Please log in to reply
572 replies to this topic

Re: Openpli Quick setup Ubuntu/debian #381 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 24 December 2014 - 08:23

Yes I just saw You're message. Seems to build fine now. However 32 Gb is really small. I do not know wubi . But gues it's using a virtual disk like vmware. When You install a full linux on it, I advice to use 80 Gb minimal hd size if You wan't to start building an image . On it.



Re: Openpli Quick setup Ubuntu/debian #382 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 December 2014 - 15:27

For those who build pli4 image self. You can now also build oscam with make instead off cmake.

 

Here an example To build latest oscam binary and list_smargo uitility.

 

It will create the binary with ssl dynamic support and static libusb support . Make an ipk for the binary only and an ipk for list_smargo .

 

I called the bb file by me oscamcvr.bb and its in my local receipes.

 

The bb file content.

DESCRIPTION = "Oscam binary, freshly compiled"
LICENSE = "GPLv3"
SRCREV ?= "${AUTOREV}"
PV = "svn${SRCPV}"
PR = "r0"
# includedir added to avoid the possible poisening off target headers by base system headers.
includedir="${STAGING_DIR_TARGET}/usr/include"
oldincludedir="${STAGING_DIR_TARGET}/usr/include"

DEPENDS = "libusb1 openssl"
RDEPENDS_${PN} = "libusb1 openssl"
RPROVIDES_${PN} = "oscamcvr"

INHIBIT_PACKAGE_STRIP = "1"

S = "${WORKDIR}/trunk"

SVNDIR = "${DL_DIR}/svn/cvroscam"
SRC_URI = "svn://www.streamboard.tv/svn/oscam;module=trunk;protocol=http;scmdata=keep"

LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

do_compile_prepend () {
	${S}/config.sh --restore --enable WITH_SSL
}

EXTRA_OEMAKE = "CROSS=${TARGET_PREFIX} \
CC='mipsel-oe-linux-gcc  -mel -mabi=32 -mhard-float -march=mips32 --sysroot=${STAGING_DIR_TARGET}' \
OSCAM_BIN=build/oscampli4 USE_LIBUSB=1 LIBUSB_LIB='${STAGING_DIR_TARGET}/lib/libusb-1.0.a -lrt' \
LIST_SMARGO_BIN=build/list_smargo CONF_DIR=/etc/tuxbox/config"

do_install () {
	install -d ${D}/usr/bin
	install -m 0755 ${S}/build/oscampli4 ${D}/usr/bin/oscamcvr
	install -m 0755 ${S}/build/list_smargo ${D}/usr/bin/list_smargo
}

PACKAGES = "${PN} enigma2-plugin-softcams-oscamcvr-utils-list-smargo"
FILES_${PN} = "/usr/bin/oscamcvr"
FILES_enigma2-plugin-softcams-oscamcvr-utils-list-smargo = "/usr/bin/list_smargo"


Re: Openpli Quick setup Ubuntu/debian #383 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 25 January 2015 - 11:33

 

For those who build pli4 image self. You can now also build oscam with make instead off cmake.

 

Here the correct example To build latest oscam binary and list_smargo uitility.

 

It will create the binary with ssl dynamic support and static libusb support . Make an ipk for the binary only and an ipk for list_smargo .

 

I called the bb file by me oscamcvr.bb and its in my local receipes.

 

The bb file content.

DESCRIPTION = "Oscam binary, freshly compiled"
LICENSE = "GPLv3"
SRCREV ?= "${AUTOREV}"
PV = "svn${SRCPV}"
PR = "r0"
# includedir added to avoid the possible poisening off target headers by base system headers.
includedir="${STAGING_DIR_TARGET}/usr/include"
oldincludedir="${STAGING_DIR_TARGET}/usr/include"

DEPENDS = "libusb1 openssl"
RDEPENDS_${PN} = "libusb1 openssl"
RPROVIDES_${PN} = "oscamcvr"

INHIBIT_PACKAGE_STRIP = "1"

S = "${WORKDIR}/trunk"

SVNDIR = "${DL_DIR}/svn/cvroscam"
SRC_URI = "svn://www.streamboard.tv/svn/oscam;module=trunk;protocol=http;scmdata=keep"

LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

do_compile_prepend () {
	${S}/config.sh --restore --enable WITH_SSL
}

EXTRA_OEMAKE = "CROSS=${TARGET_PREFIX} \
CC='${CCLD}' \
OSCAM_BIN=build/oscampli4 USE_LIBUSB=1 LIBUSB_LIB='${STAGING_DIR_TARGET}/lib/libusb-1.0.a -lrt' \
LIST_SMARGO_BIN=build/list_smargo CONF_DIR=/etc/tuxbox/config"

do_install () {
	install -d ${D}/usr/bin
	install -m 0755 ${S}/build/oscampli4 ${D}/usr/bin/oscamcvr
	install -m 0755 ${S}/build/list_smargo ${D}/usr/bin/list_smargo
}

PACKAGES = "${PN} enigma2-plugin-softcams-oscamcvr-utils-list-smargo"
FILES_${PN} = "/usr/bin/oscamcvr"
FILES_enigma2-plugin-softcams-oscamcvr-utils-list-smargo = "/usr/bin/list_smargo"


Re: Openpli Quick setup Ubuntu/debian #384 worldofd12

  • Member
  • 1 posts

0
Neutral

Posted 25 January 2015 - 19:42

Hi, I have followed the tutorial in the "OpenPli Ubuntu build howto" step by step. After I provided the Machine=dm8000 make image command, the computer spent like 12 hours then i got the following message in the command line:

 
NOTE: Tasks Summary: Attempted 3664 tasks of which 9 didn't need to be rerun and all succeeded.
 
Summary: There were 34 WARNING messages shown.
 
 Im building this image on ubuntu_12.04.5 on a virtual machine on windows 8.1
 
My question is: Am I doing this right or wrong? and if Im good with the build how can i run the image on Ubuntu?
 
 
Thank you for your care


Re: Openpli Quick setup Ubuntu/debian #385 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 25 January 2015 - 23:35

Well You have a succesfull build. But it's not to run on pc. It's for You're dm8000.


Edited by christophecvr, 25 January 2015 - 23:35.


Re: Openpli Quick setup Ubuntu/debian #386 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 30 June 2015 - 08:36

Today my build failed with:

ERROR: Task 4180 (/opt/openpli40-gst1/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.5.1.bb, do_compile) failed with exit code '1'

Any help will be welcome.

Attached Files



Re: Openpli Quick setup Ubuntu/debian #387 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 30 June 2015 - 14:12

I have same isue, think it has to to with the use off ubuntu 14.04

 

just cd to : /openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video

 

edit file video-orc.h

 

and and add the line: (at the end just before #ifdef __cplusplus)

void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n);

then continu build with MACHINE=xxxx bitbake  <your're image>


Edited by christophecvr, 30 June 2015 - 14:12.


Re: Openpli Quick setup Ubuntu/debian #388 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 30 June 2015 - 15:27

@christophecvr

 

No file "video-orc.h"

Have a file "video-orc-dist.h", but line

void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n);

is there --> line 181.

А mont ago build is successful. Strangely...

 

PS: My distro is OpenSuSE 13.1


Edited by Cofybreak, 30 June 2015 - 15:29.


Re: Openpli Quick setup Ubuntu/debian #389 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 1 July 2015 - 14:18

Аny other suggestions?



Re: Openpli Quick setup Ubuntu/debian #390 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 1 July 2015 - 14:45

Yes You have one you just looking at the wrong place.

 

It is not in source . !!! its' in build dir.

openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video

first build normally.

 

cd openpli-oe-core/build

source env.source

 MACHINE=<you're machine> bitbake <You're image  or openpli-enigma2-feed>

 

wait until the build stops You will find the error about gstreamer base.

 

cd to patch I give aboth.

 

and You will find the file video-orc.h

 

Add the line like I explained.

 

and just simply again continu build with :

 

MACHINE=<you're machine> bitbake <You're image  or openpli-enigma2-feed>



Re: Openpli Quick setup Ubuntu/debian #391 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 31 July 2015 - 11:26

pli 4 core link adapted to git hub in document.



Re: Openpli Quick setup Ubuntu/debian #392 nevermind41

  • Member
  • 1 posts

0
Neutral

Posted 24 August 2015 - 11:16

pli 4 core link adapted to git hub in documenI

With which command can I run the openpli? I compiled it ( I think so :) ) but I don.t have any idea. I installed ubuntu 14.04 running on vmware player with your tutorial.



Re: Openpli Quick setup Ubuntu/debian #393 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 3 January 2016 - 15:59

Hi, I just compiled my first "own OpenPLI" image.

 

I got some warnings during the compile process. Should I worry about it?

 

Is this OK?

openpli@openpli-virtual-machine:~/openpli40$ cd openpli-oe-core/
openpli@openpli-virtual-machine:~/openpli40/openpli-oe-core$ MACHINE=et10000 make image
Building image for et10000
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 2506 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:38
Parsing of 2065 .bb files complete (2016 cached, 49 parsed). 2554 targets, 296 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.25.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "mipsel-oe-linux"
MACHINE           = "et10000"
DISTRO            = "openpli"
DISTRO_VERSION    = "4"
TUNE_FEATURES     = "o32 fpu-hard mips32"
TARGET_FPU        = ""
meta-oe           
meta-filesystems  
meta-multimedia   
meta-networking   
meta-python       = "(detachedfrom9c926ef):9c926ef2d463e643fb0dc87f6535a12e35d039ab"
meta              = "(detachedfromeb9d896):eb9d896db2fc67bac8efd258744d06fbbee87f06"
meta-openpli      
meta-dream        = "master:f2c043e63f3d9fb62374ff62fd81ad72df70b33b"
meta-vuplus       = "(detachedfrom51fa04e):51fa04ee232bbb4e68ef8eae9e20410ae75e1346"
meta-xsarius      = "(detachedfrom6130518):6130518b5e2237f2be9c2a757d1296650f225e8e"
meta-xp           = "(detachedfromb12992d):b12992d4637f8d8ef41ac205cc5f919bc9d2df45"
meta-xtrend       = "(detachedfrom958754b):958754b524f488802fdabb2fa4063fe20d2b681f"
meta-formuler     = "(detachedfrom94e2350):94e23506d4b52977264cc5c3d89c4c719b1a0d04"
meta-hd           = "(detachedfrom29c7a9a):29c7a9a8e20baac81b479c10c4081aaff389dd3f"
meta-local        = "master:f2c043e63f3d9fb62374ff62fd81ad72df70b33b"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: QA Issue: enigma2-plugin-systemplugins-wirelesslan rdepends on wireless-tools, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-systemplugins-wirelesslan rdepends on wpa-supplicant, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-dvdburn rdepends on cdrkit, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-dvdburn rdepends on dvd+rw-tools, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-dvdburn rdepends on mjpegtools, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-dvdburn rdepends on dvdauthor, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-dvdburn rdepends on replex, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-cutlisteditor rdepends on aio-grab, but it isn't a build dependency? [build-deps]
WARNING: aio-grab: No generic license file exists for: GPL in any provider
WARNING: Failed to fetch URL ftp://metalab.unc.edu/pub/Linux/utils/file/stat-3.3.tar.gz, attempting MIRRORS if available
WARNING: /home/openpli/openpli40/openpli-oe-core/build/tmp/work/mips32el-oe-linux/sysvinit-inittab/2.88dsf-r6/sysvinit-2.88dsf ('S') don't exist, you must set 'S' to a proper value
WARNING: QA Issue: enigma2-plugin-systemplugins-blindscan rdepends on virtual/blindscan-dvbs, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: enigma2-plugin-extensions-openuitzendinggemist rdepends on python-argparse, but it isn't a build dependency? [build-deps]
WARNING: /home/openpli/openpli40/openpli-oe-core/build/tmp/work/all-oe-linux/volatile-media/2-r0/volatile-media-2 ('S') don't exist, you must set 'S' to a proper value
WARNING: QA Issue: nfs-utils requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]
WARNING: /home/openpli/openpli40/openpli-oe-core/build/tmp/work/mips32el-oe-linux/kernel-params/20110114-r0/kernel-params-20110114 ('S') don't exist, you must set 'S' to a proper value
WARNING: QA Issue: samba: configure was passed unrecognised options: --without-libtalloc [unknown-configure-option]
WARNING: QA Issue: samba: Files/directories were installed but not shipped
  /run
  /usr/lib/nss_info
  /usr/lib/idmap
  /usr/lib/rpc
  /usr/lib/pdb
  /run/lock [installed-vs-shipped]
WARNING: QA Issue: samba requires /usr/bin/perl, but no providers in its RDEPENDS [file-rdeps]
NOTE: Tasks Summary: Attempted 3763 tasks of which 2673 didn't need to be rerun and all succeeded.

Summary: There were 19 WARNING messages shown.

Now I have packed zip-file (openpli-4-et10000_usb.zip) of the image in /openpli40/openpli-oe-core/build/tmp/deploy/images/et10000/ .

 

Before I flash this extracted image to my ET10000 I want to test it on usb first.

 

How can I boot the image from an attached usb thumb drive? How do I configure my ET10000 for multi-boot?

 


VU+ Duo 4k SE 2x DVB-C / Openpli 9.x


Re: Openpli Quick setup Ubuntu/debian #394 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 3 January 2016 - 16:11

Q&A warnings are to be expected.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Openpli Quick setup Ubuntu/debian #395 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 3 January 2016 - 16:57

Ok. Fine.

 

And how do I setup multiboot on the ET10k so I can boot from a usb thumb drive?


VU+ Duo 4k SE 2x DVB-C / Openpli 9.x


Re: Openpli Quick setup Ubuntu/debian #396 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 3 January 2016 - 18:05

Just check filesizes of your build image and if they are ok make a full backup of your box (store it on a stick or PC) and flash the image. If it don't work, flash back your backup.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openpli Quick setup Ubuntu/debian #397 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 4 January 2016 - 18:44

Multiboot is not supported anyway.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Openpli Quick setup Ubuntu/debian #398 ciuko

  • Senior Member
  • 67 posts

0
Neutral

Posted 10 January 2016 - 12:48

Just check filesizes of your build image and if they are ok make a full backup of your box (store it on a stick or PC) and flash the image. If it don't work, flash back your backup.

 

Hi betacentauri, i've just built my first image for DM500HD. I would like to test it but i want to be sure to have a working backup of my current image. Which tools did you suggest to use to do a full image backup of my DM500HD image and then restore it without any problem?

 

Thanks!



Re: Openpli Quick setup Ubuntu/debian #399 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 10 January 2016 - 14:34

Hi,

I have no dreambox. So I'm not very experienced in what tools are needed for it. I think you can use dFlash to backup and flash your box.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openpli Quick setup Ubuntu/debian #400 wilsonyu

  • Member
  • 4 posts

0
Neutral

Posted 13 April 2016 - 15:11

How can i do .I cannot  access the google server, i downloaded which mutagen-1.18.tar.gz from other site. thanks.

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

WARNING: Failed to fetch URL http://mutagen.googl...gen-1.18.tar.gz, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, no output
ERROR: Function failed: Fetcher failure for URL: 'http://mutagen.googl...gen-1.18.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/vs/openpli40/openpli-oe-core/build/tmp/work/mips32el-oe-linux/python-mutagen/1.18-r1/temp/log.do_fetch.3714
ERROR: Task 1693 (/home/vs/openpli40/openpli-oe-core/meta-openpli/recipes-devtools/python/python-mutagen_1.18.bb, do_fetch) failed with exit code '1'


Edited by wilsonyu, 13 April 2016 - 15:15.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users