Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

Development environment

  • Thread starter Thread starter Peanut006
  • Start date Start date
P

Peanut006

Guest
Hi!

I have VU+ Ultimo and I'm interested to create OpenVIX development environment to my laptop, that I could check how it is made/works and hopefully some day contribute some code/bug fixes. But I'm not sure where to start. Is there some tutorial or helps how to do that, or maybe ready virtual machine image?

This is initial plan, please correct me if it looks stupid or something.. Here are some questions about the process. As a same time when I create my environment I could document that process to tutorial etc. for new developers..

1. I think I'll install VirtualBox and and Linux into it
* How much memory is needed to the virtual machine?
* Which Linux distro is best? Or Does it matter what it is?

2. Install and setup software needed to build the OpenVIX
* What do I need? Python?
* What is easiest way to install them? apt-get? (depends on distro)
* Do I need to configure those that they create proper build?

3. Get the source
* Are the source found from https://www.assembla.com/spaces/openvix ?
* Is the source same for all VU+ machines?

4. Do the build
* How it happens?

5. Get some IDE
* What IDE you recommend? Is NetBeans ok?

It would be great if you could answer to these questions and help me to build the environment. Some background information about me; I know linux basis; I'm software developer, but I haven't coded using python.

Thanks!
 
Thanks! I'll try those helps, it takes some time but I'll update my progress to this thread..
 
Does anyone know apt repository where from I could install bitbake using apt-get to Linux mint 14?
 
Bitbake is pulled automatically by the script I posted a link to above, not sure but I don't think you can just pull any version down.

Don't know about mint what distro is it based on ?
 
Hi,
mint is based on ubuntu. If you want to install bitbake you have to download the source and compile/install is manually.

ciao
 
Bitbake is pulled automatically by the script I posted a link to above, not sure but I don't think you can just pull any version down.

Don't know about mint what distro is it based on ?

Yeah, the script seems to download the bitbake. Tried to use APT to get it because it was in the OpenPLI help that way.. And the Mint is Ubuntu based right as Trial said. I selected Mint because it is Ubuntu based and it has pre installed audio/video codecs..
 
But now to a next feature: The build script does ask distro (OpenVIX) and machine (Vu Ultimo) what to build and after that it download lots of stuff. But after that it asks the machine again and over again when I select (only) the Vu Ultimo. Only way to get out was to break script.. Am I doing something wrong?

I think I create own custom script which have hardcoded distro and machine values..

Here is the installation diary so far: https://www.dropbox.com/s/3y4ohkuykdljmel/dev_env_installation_diary.txt
 
Last edited by a moderator:
Hi,
your build environment is not complete. Change the script in this way that it does not display the dialog boxes and does not do it in a loop then you will see what is missing.

When you have access from the internet to your computer we can make an appointment for tomorrow so that I can take a look.

ciao
 
Last edited:
If your not happy with the script then from a terminal window.

Code:
mkdir openvix
cd openvix
git clone git://github.com/oe-alliance/build-enviroment.git oe-alliance
cd oe-alliance
Machine=vuultimo DISTRO=openvix make update
This will pull down bitbake and other things that you need.
then to make an image
Code:
cd openvix
cd oe-alliance
Machine=vuultimo DISTRO=openvix make image

A regular
Code:
Machine=vuultimo DISTRO=openvix make update
Will keep you upto date with vix changes to the code.

As your doing the vuultimmo which is the default you can get away with
Code:
make -f Makefile image
as Machine=vuultimo and DISTRO=openvix are the defaults in the Makefile


.
 
Hi,
your build environment is not complete. Change the script in this way that it does not display the dialog boxes and does not do it in a loop then you will see what is missing.

When you have access from the internet to your computer we can make an appointment for tomorrow so that I can take a look.

ciao

Thanks for appointment offer, but I think I can get someting done with scruff1963's previous post :)
 
Little about the http://www.world-of-satellite.com/enigma2/openvix/openvix-builds/Build-Script/oe-alliance-build script..

1. The script is missing buildimage and updatebuildnumber functions
2. There are two infinite while loops? When should the script leave from those?
3. What is purpose of this script? Is it ment to run once to setup the environment or every time when you build the system?

I think I can continue without the script but it would be great if it would be fixed. Because it is quite confusing for those who run the script first time and are newbie like me :)
 
Little about the http://www.world-of-satellite.com/enigma2/openvix/openvix-builds/Build-Script/oe-alliance-build script..

1. The script is missing buildimage and updatebuildnumber functions
2. There are two infinite while loops? When should the script leave from those?
3. What is purpose of this script? Is it ment to run once to setup the environment or every time when you build the system?

I think I can continue without the script but it would be great if it would be fixed. Because it is quite confusing for those who run the script first time and are newbie like me :)
With the instructions I posted you don't need to run the script at all.
I have never run the script, I just assumed that it would make things easier as it is hosted here.
You need to make sure that you follow the initial instructions on
Code:
http://users.telenet.be/spstefansp/openpliubuntu.html
at least down to the
Code:
In terminal type ~$ sudo dpkg-reconfigure dash

answer no

This concludes the basic preparation for ubuntu 12.04 , for those who are running ubuntu as primary ops system, all is same except that you do not need the virtual machine.
You will not need to do these again as they are only to setup the build environment.
 
The script just allows you to build the image via a easy to use GUI rather than using a command line, you can build any of the images we support via the script and some more that we currently have not released.
 
are you using a new makefile?
or the one off openvix site?

i think its out of date thats probably why its failing.
 
Using the instructions in this thread i allways get the following error
Code:
MACHINE=vusolo2 DISTRO=openvix make image

ERROR: Traceback (most recent call last):
  File "/home/openvix/SRC/oe-alliance/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
    return func(fn, *args)
  File "/home/openvix/SRC/oe-alliance/bitbake/lib/bb/cookerdata.py", line 173, in parse_config_file
    return bb.parse.handle(fn, data, include)
  File "/home/openvix/SRC/oe-alliance/bitbake/lib/bb/parse/__init__.py", line 102, in handle
    return h['handle'](fn, data, include)
  File "/home/openvix/SRC/oe-alliance/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
    abs_fn = resolve_file(fn, data)
  File "/home/openvix/SRC/oe-alliance/bitbake/lib/bb/parse/__init__.py", line 125, in resolve_file
    raise IOError("file %s not found" % fn)
IOError: file /home/openvix/SRC/oe-alliance/meta-oe-alliance/conf/layer.conf not found

ERROR: Unable to parse /home/openvix/SRC/oe-alliance/meta-oe-alliance/conf/layer.conf: file /home/openvix/SRC/oe-alliance/meta-oe-alliance/conf/layer.conf not found
make: *** [image] Error 1

Any idee whats wrong, is the git repo git://github.com/oe-alliance/build-enviroment.git broken ?
 

OpenViX Feeds Status

Back
Top