Jump to content


Photo

Building openpl2.1 from DM8000 on x64 ubuntu


  • Please log in to reply
68 replies to this topic

#1 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 21 November 2013 - 15:29

Dear enthousiastics,

 

Trying to set up an environment building openpli2.1 for dm8000, according to Dev wiki page which directs me to OpenPLi wiki page.

Unfortunately I am unable to grab the bitbake package so my next idea would be to compile that from berliOS

 

Also I notice from OpenPLi Ubuntu build howto sources are needed.

Yet trying to correlate things so start off with first command that actually seems to work fine :

 

wget "http://openpli.svn.s...oe/Makefile-2.1" -O Makefile-2.1

 

After that things start to get interesting: " Create the build environment for the machine you want to target.

MACHINE=et9x00 make -f Makefile-2.1 " - While I read on the OpenPLi Ubuntu build howto git is used to clone from sourceforge and then execute " make -f Makefile-2.1 MACHINE=dm8000 "

 

Can one give me a hand on initial start please as I am a bit confused,

possibly also because I do multitasking and simply don't focus enough ;-)

Also why I like to use 2.1 and not 4.0 is due to fact kernel drivers in 2.6 are working fine for streaming simultaneously to other enigma2 clients, thus without hicks as occurs randomly in kernel 3.2, a Dutch topic is to be found here

 

TiA!

 



Re: Building openpl2.1 from DM8000 on x64 ubuntu #2 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 November 2013 - 15:33

I think you're making this too difficult.

 

First using wget fetch the makefile.

Then run "make -f Makefile-2.1 MACHINE=dm8000" if that's finished run "make -f Makefile-2.1 MACHNINE=dm8000 image" and then wait...

 

This assumes or more or less development populated linux server.


Edited by Erik Slagter, 21 November 2013 - 15:33.

* 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: Building openpl2.1 from DM8000 on x64 ubuntu #3 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 21 November 2013 - 16:00

1/ wget http://openpli.svn.s...oe/Makefile-2.1 -O Makefile-2.1

2/ make -f Makefile-2.1 MACHINE=dm8000

 

that results in " Makefile-2.1:1: *** missing separator.  Stop. "



Re: Building openpl2.1 from DM8000 on x64 ubuntu #4 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 November 2013 - 16:03

If you get this message, most of the time it means that something were a <TAB> should be, are now <SPACE>s. Or it's totally foobar of course. Can you post the contents?


* 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: Building openpl2.1 from DM8000 on x64 ubuntu #5 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 21 November 2013 - 16:14

" wget "http://openpli.svn.s...oe/Makefile-2.1" -O Makefile-2.1 "

 

--2013-11-21 16:13:35--  http://openpli.svn.s...oe/Makefile-2.1
Resolving openpli.svn.sourceforge.net (openpli.svn.sourceforge.net)... 216.34.181.65, 216.34.181.177
Connecting to openpli.svn.sourceforge.net (openpli.svn.sourceforge.net)|216.34.181.65|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sourceforge.net/p/openpli/code/ [following]
--2013-11-21 16:13:35--  http://sourceforge.net/p/openpli/code/
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sourceforge.n...code/HEAD/tree/ [following]
--2013-11-21 16:13:36--  http://sourceforge.n...code/HEAD/tree/
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20365 (20K) [text/html]
Saving to: âMakefile-2.1â

100%[=============================================================================================================>] 20.365      87,1KB/s   in 0,2s

2013-11-21 16:13:36 (87,1 KB/s) -
âMakefile-2.1â saved [20365/20365]
 

File attached as ZIP ( Makefile-2.1 )

Attached Files



Re: Building openpl2.1 from DM8000 on x64 ubuntu #6 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 November 2013 - 16:40

Yeah LOL that's not gonna work as Makefile:

<!DOCTYPE html>
<!-- Server: sfn-web-9 -->
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]>--> <html lang="en" class="no-js"> <!--<![endif]-->
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
    <title>
  OpenPLi - Settopbox Software / Code
    / [r316] 
</title>
<meta id="webtracker" name="webtracker" content='{&#34;event_id&#34;: &#34;50987654-52bf-11e3-b316-0200ac1d293b&#34;, &#34;project&#34;: &#34;openpli&#34;, &#34;action_type&#34;: &#34;svn&#34;}' />
<script src="http://a.fsdn.com/allura/nf/1384990460/_ew_/theme/sftheme/js/sftheme/modernizr.custom.90514.js"></script>
<script src="http://a.fsdn.com/allura/nf/1384990460/_ew_/theme/sftheme/js/sftheme/jquery-1.8.0.min.js"></script>
<script src="http://a.fsdn.com/allura/nf/1384990460/_ew_/theme/sftheme/js/sftheme/header.js"></script>
<!--[if lt IE 7 ]>
  <script src="http://a.fsdn.com/allura/nf/1384990460/_ew_/theme/sftheme/js/sftheme/dd_belatedpng.js"></script>
  <script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
<![endif]-->
<link href='//fonts.googleapis.com/css?family=Ubuntu:regular' rel='stylesheet' type='text/css'>
<style type="text/css">
    @font-face {
        font-family: "Pictos";
        src: url('http://a.fsdn.com/allura/nf/1384990460/_ew_/theme/sftheme/css/fonts/sftheme/pictos-web.eot');
        src: local("☺"), url('http://a.fsdn.com/allura/nf/1384990460/_ew_/the

Edited by Erik Slagter, 21 November 2013 - 16:44.

* 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: Building openpl2.1 from DM8000 on x64 ubuntu #7 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 November 2013 - 16:45

Try this one. Rename Makefile.pli to Makefile.

Attached Files


* 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: Building openpl2.1 from DM8000 on x64 ubuntu #8 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 22 November 2013 - 09:31

OK will compare with the ones in this topic, thanks again - as you can see lots of info spread across different locations - but we'll get there :)



Re: Building openpl2.1 from DM8000 on x64 ubuntu #9 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 09:36

This is the one I use. Well actually I seem to have a made a few adjustments, the one I posted should be the original. If it doesn't work, you might want to try the one I actually use ;)


* 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: Building openpl2.1 from DM8000 on x64 ubuntu #10 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 22 November 2013 - 10:14

OK from posted Makefile.zip in this topic I updated a little bit.

 

GIT_URL = git://openpli.git.sourceforge.net/gitroot/openpli/openembedded

echo 'BB_NUMBER_THREADS = "8"' -  In my case that is fine as my i7 CPU has indeed 8 cores, however this value needs to be checked on ones PC by executing " lscpu | grep "CPU(s)" +1 ( eg if result is 4, you add +1, which makes 5 :) ), in my case will use 9

 

Now the bitbake issue, well actually that should not be an issue except it needs to be compiled as this package is unavailable in my distro ( mint16 )

 

~ # apt-get install bitbake
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitbake

 

For the ones interested, find bitbake URL here, version 1.12-0 February 18, 2011(!)



Re: Building openpl2.1 from DM8000 on x64 ubuntu #11 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 10:18

I don't have bitbake installed, you don't need it, it will be build from sources.

 

But now I think of it, the git urls on sourceforge changed some time ago, you may need to change them.


* 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: Building openpl2.1 from DM8000 on x64 ubuntu #12 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 10:19

Also the number of CPU's is not a hard limit, it's a suggestion. If you set 16 here on a dual-core cpu, it won't melt down, it just won't build as fast as possible. For the linux kernel the amount of threads * 2 is advised, because the way the makefiles work won't use all CPU's to full extend. I guess bitbake does this better.


Edited by Erik Slagter, 22 November 2013 - 10:20.

* 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: Building openpl2.1 from DM8000 on x64 ubuntu #13 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 10:22

BTW our images are built using Ubuntu. If you want minimum chance of surprises, you'd best use Ubuntu as well. Myself I use Fedora and that means manual intervention every now and then, because Fedora packages tend to be too new.


* 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: Building openpl2.1 from DM8000 on x64 ubuntu #14 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 22 November 2013 - 10:31

OK so no bitbake needed to install, I got once again misled by Persian Prince's instructions. ( Mint is Ubuntu Derivative ), let's move on



Re: Building openpl2.1 from DM8000 on x64 ubuntu #15 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 10:33

BTW this is the url that should be used nowadays for OE OpenPLi 2.1 git: git.code.sf.net/p/openpli/openembedded


Edited by Erik Slagter, 22 November 2013 - 10:33.

* 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: Building openpl2.1 from DM8000 on x64 ubuntu #16 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 22 November 2013 - 10:51

will continue later today ..

 

git clone -b 1.12 git://git.openembedded.org/bitbake
Cloning into 'bitbake'...
fatal: unable to connect to git.openembedded.org:
git.openembedded.org[0: 140.211.169.152]: errno=Connection timed out

 



Re: Building openpl2.1 from DM8000 on x64 ubuntu #17 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 10:52

Is that something that the makefile does, or do you this manually?

 

Over here the site works.


Edited by Erik Slagter, 22 November 2013 - 10:53.

* 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: Building openpl2.1 from DM8000 on x64 ubuntu #18 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 22 November 2013 - 10:54

even moreso, you should avoid installing bitbake.
If that bitbake version would ever be used, by accident, it could destroy your build cache.

Re: Building openpl2.1 from DM8000 on x64 ubuntu #19 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 22 November 2013 - 14:23

@pieterg - understood!

 

@erikslagter

yup is while executing " make -f Makefile-2.1 MACHINE=dm8000 "

 

<snip snip>
git clone -b 1.12 git://git.openembedded.org/bitbake
Cloning into 'bitbake'...
fatal: unable to connect to git.openembedded.org:
git.openembedded.org[0: 140.211.169.152]: errno=Connection timed out

make: *** [bitbake] Error 128

 

" ping 140.211.169.152 " -> PING 140.211.169.152 (140.211.169.152) 56(84) bytes of data.

will check later tonight if time allows - might be glitch here
 



Re: Building openpl2.1 from DM8000 on x64 ubuntu #20 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 November 2013 - 15:42

Or firewall etc?


* 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.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users