Jump to content


Photo

Compiling DM500 image

Compiling DM500

  • Please log in to reply
18 replies to this topic

#1 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 27 February 2012 - 21:17

Good afternoon, I'm trying to build an image for the dm500 and after I read the following articles (art 1, art 2 and art 3) I started to build. I will mention the steps I performed:

cd / root
svn co https://openpli.svn....t/openpli/trunk openpli
cd openpli
cd cdk
chmod 755 make_cdk_image
. /make_cdk_image /root/openpli/cdk /root/tom dm500

everything was going ok, I opened another terminal and began to read the file buildlog.txt ...after some minutes this error occurred:

tar: linux-2.6.9/include/asm-arm/fiq.h: Can not open: No such file or directory
tar: linux-2.6.9/include/asm-arm/bug.h: Can not open: No such file or directory
tar: linux-2.6.9/include/asm-arm/dma-mapping.h: Can not open: No such file or directory
tar: linux-2.6.9/include/asm-arm/bitops.h: Can not open: No root @ debian: ~ / tom #

Please I would like to ask for help because I am newbie compiling images. Can someone link me a full newbie tutorial ?

the log file is attached

anyway Thank you everyone!

Attached Files



Re: Compiling DM500 image #2 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 27 February 2012 - 21:38

It's easy. See line 903:

tar: linux-2.6.9/drivers/scsi/qla1280.c: Cannot write: No space left on device

So, your harddisk is full and therefore it can't compile the Linux kernel.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #3 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 28 February 2012 - 00:27

First i would like to say thank you dAD200 ! i solved this problem and found new one hehehe here we go look if you can help me please;


( rm -rf binutils-2.15.91.0.2 || /bin/true ) && bunzip2 -cd Archive/binutils-2.15.91.0.2.tar.bz2 | tar -x && ( rm -rf build || /bin/true ) && mkdir build
bunzip2: Archive/binutils-2.15.91.0.2.tar.bz2 is not a bzip2 file.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[3]: *** [.binutils] Error 2
make[3]: Leaving directory `/root/openpli/trunk/cdk/cdk'
make[2]: *** [bootstrap_gcc] Error 2
make[2]: Leaving directory `/root/openpli/trunk/cdk/cdk'
make[1]: *** [.glibc] Error 2
make[1]: Leaving directory `/root/openpli/trunk/cdk/cdk'
make: *** [.bootstrap] Error 2

Re: Compiling DM500 image #4 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 February 2012 - 10:52

That's a corrupted binutils-2.15.91.0.2.tar.bz2 file (because it couldn't be found on the webserver). If you search for "binutils-2.15.91.0.2.tar.bz2" on internet, you will find a good one. Store it in the directory cdk/Archive and start the build again.

You may find more of those errors. Check this thread:
http://openpli.org/f...post__p__244898
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #5 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 28 February 2012 - 15:50

Good morning, sometimes people can get helped and realize its goal, but they somehow forget who helped ... I'm different, with your help, knowledge and dedication ... I could build image and have no words to express how happy Im at this moment. People like you have an important value to the world. thank you dAF2000 and everyone of PLI Project.

log:

root@debian:~/tom# ls -lh
total 17M
-rw-r--r-- 1 root root 11M Feb 28 09:40 buildlog.txt
-rw-r--r-- 1 root root 1.8M Feb 28 09:40 OpenPLi-beta-dm500-20120228-245.img
-rw-r--r-- 1 root root 1.6M Feb 28 09:40 OpenPLi-beta-dm500-20120228-245.zip
-rw-r--r-- 1 root root 1.7M Feb 28 09:40 OpenPLi-beta-dm500-old-framebuffer-20120228-245.img
-rw-r--r-- 1 root root 1.6M Feb 28 09:40 OpenPLi-beta-dm500-old-framebuffer-20120228-245.zip

tail -f of build log last lines; ...
-------------------------------------------------------------------------------------------------------------------
598016 bytes (598 kB) copied, 0.00154638 s, 387 MB/s
adding: OpenPLi-beta-dm500-old-framebuffer-20120228-245.img (deflated 10%)

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


Thank you ! :D

Attached Files



Re: Compiling DM500 image #6 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 February 2012 - 15:57

You're welcome.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #7 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 February 2012 - 15:59

By the way, these builds are not right. They should be around 5.78 MB.
Check the buildlog.txt for any errors.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #8 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 28 February 2012 - 18:39

Hello, i tried and found no erros, could you check if its ok ?

Re: Compiling DM500 image #9 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 28 February 2012 - 18:54

Sorry my mistake i found this error;

find: `/root/pli/openpli/cdk/root/cdkflash/root/lib/autofs/': No such file or directory
I: Using ld.so.1 as dynamic linker.
I: library reduction pass 1
585 symbols, 585 unresolved
Library not found: libcrypto.so.0.9.7 in path: /root/pli/openpli/cdk/root/cdkroot/lib : /root/pli/openpli/cdk/root/cdkflash/root//var/lib : /root/pli/openpli/cdk/ro$
make[1]: *** [/root/pli/openpli/cdk/root/cdkflash/.lib] Error 1
make[1]: Leaving directory `/root/pli/openpli/cdk/cdk'
make: *** [rebuild-flash] Error 2
Makefile:3241: warning: overriding commands for target `/root/pli/openpli/cdk/apps/tuxbox/funstuff/lcd-savers/Makefile'
Makefile:3223: warning: ignoring old commands for target `/root/pli/openpli/cdk/apps/tuxbox/funstuff/lcd-savers/Makefile'
rm /root/pli/openpli/cdk/root/cdkflash/root/etc/fstab
rm: cannot remove `/root/pli/openpli/cdk/root/cdkflash/root/etc/fstab': No such file or directory
make: [/root/pli/openpli/cdk/root/cdkflash/.part_dreamfiles] Error 1 (ignored)
cp /root/pli/openpli/cdk/cdk/linux/arch/ppc/boot/images/zImage.treeboot /root/pli/openpli/cdk/root/cdkflash/boot/root/platform/kernel/os
/root/pli/openpli/cdk/root/cdkflash/mkcramfs-e -eb /root/pli/openpli/cdk/root/cdkflash/boot /root/pli/openpli/cdk/root/cdkflash/boot-cramfs.img
Super block: 76 bytes

thank you !

Re: Compiling DM500 image #10 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 February 2012 - 19:03

The error is not at the end, but somewhere in the start. Just search for "error" in the build log and you'll find it. Also check the link I gave. I think you have the libflac error too.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #11 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 28 February 2012 - 19:57

Hello, i followed the link that you gave me and installed libogg-dev, the file libflac-dev i already had. after it i restarted new compilation from step one svn co http:// .... when process finished i got the same 1.8MB files and i tried the command- ./make_cdk_image /root/openpli/trunk/cdk/ /root/tom/ dm500 again and got new files with 3.2M ;

root@debian:~/tom# ls -lh
total 13M
-rw-r--r-- 1 root root 76K Feb 28 13:49 buildlog.txt
-rw-r--r-- 1 root root 3.3M Feb 28 13:49 OpenPLi-beta-dm500-20120228-245.img
-rw-r--r-- 1 root root 3.1M Feb 28 13:49 OpenPLi-beta-dm500-20120228-245.zip
-rw-r--r-- 1 root root 3.2M Feb 28 13:49 OpenPLi-beta-dm500-old-framebuffer-20120228-245.img
-rw-r--r-- 1 root root 3.1M Feb 28 13:49 OpenPLi-beta-dm500-old-framebuffer-20120228-245.zip

Reading the buildlog i saw this :

I: Using ld.so.1 as dynamic linker.
I: library reduction pass 1
585 symbols, 585 unresolved
Library not found: libcrypto.so.0.9.7 in path: /root/openpli/trunk/cdk/root/cdkroot/lib : /root/openpli/trunk/cdk/root/cdkflash/root//var/lib : /root/openpli/trunk/cdk/root/cdkflash/root//var/lib : /root/openpli/trunk/cdk/root/cdkflash/root//var/lib
make[1]: *** [/root/openpli/trunk/cdk/root/cdkflash/.lib] Error 1
make[1]: Leaving directory `/root/openpli/trunk/cdk/cdk'
make: *** [rebuild-flash] Error 2
Makefile:3241: warning: overriding commands for target `/root/openpli/trunk/cdk/apps/tuxbox/funstuff/lcd-savers/Makefile'
Makefile:3223: warning: ignoring old commands for target `/root/openpli/trunk/cdk/apps/tuxbox/funstuff/lcd-savers/Makefile'
rm /root/openpli/trunk/cdk/root/cdkflash/root/etc/fstab
rm: cannot remove `/root/openpli/trunk/cdk/root/cdkflash/root/etc/fstab': No such file or directory
make: [/root/openpli/trunk/cdk/root/cdkflash/.part_dreamfiles] Error 1 (ignored)
cp /root/openpli/trunk/cdk/cdk/linux/arch/ppc/boot/images/zImage.treeboot /root/openpli/trunk/cdk/root/cdkflash/boot/root/platform/kernel/os
/root/openpli/trunk/cdk/root/cdkflash/mkcramfs-e -eb /root/openpli/trunk/cdk/root/cdkflash/boot /root/openpli/trunk/cdk/root/cdkflash/boot-cramfs.img
Super block: 76 bytes

Should i put the file libcrypto.so.0.9.7 in this path /root/openpli/trunk/cdk/root/cdkroot/lib : /root/openpli/trunk/cdk/root/cdkflash/root//var/lib : /root/openpli/trunk/cdk/root/cdkflash/root//var/lib : /root/openpli/trunk/cdk/root/cdkflash/root//var/lib

Thank you !

Attached Files


Edited by umbradomini, 28 February 2012 - 20:00.


Re: Compiling DM500 image #12 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 February 2012 - 20:11

At the start of the log file you will find "bunzip2: Archive/libpng-1.2.8.tar.bz2 is not a bzip2 file."

This is a similar error you had before. Search for libpng-1.2.8.tar.bz2 on internet and store it in cdk/Archive again. I think after that you will have a working image.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #13 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 28 February 2012 - 21:28

Hello my dear friend dAF2000, i download libpng-1.2.8.tar.bz2 and still had Error in file log, but following what you said i tried to search for Error and found missing this file libungif-4.1.3.tar.bz2, then i download and restarted compiling and finally got this:

root@debian:~/tom# ls -lh
total 25M
-rw-r--r-- 1 root root 1.8M Feb 28 15:25 buildlog.txt
-rw-r--r-- 1 root root 6.0M Feb 28 15:25 OpenPLi-beta-dm500-20120228-245.img
-rw-r--r-- 1 root root 5.8M Feb 28 15:25 OpenPLi-beta-dm500-20120228-245.zip
-rw-r--r-- 1 root root 6.0M Feb 28 15:25 OpenPLi-beta-dm500-old-framebuffer-20120228-245.img
-rw-r--r-- 1 root root 5.8M Feb 28 15:25 OpenPLi-beta-dm500-old-framebuffer-20120228-245.zip

do you think i got sucess now ? thank you very much !

Re: Compiling DM500 image #14 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 February 2012 - 22:02

Yes, that looks fine to me.
If you want to be sure, just download the latest daily build from our website and check if the sizes match. The sizes could differ about a few hundreds of bytes, but that's no problem.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #15 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 1 March 2012 - 00:32

Hello dear dAF2000 finally with your help of course I managed to build an image with 100% success, working properly! I would like to know which file I edit to put the credits for your help! Also I would like to make me available to you ever need anything I'll be available. thank you !

root@debian:~/tom# ls -lh
total 25M
-rw-r--r-- 1 root root 1006K Feb 29 09:06 buildlog.txt
-rw-r--r-- 1 root root 6.0M Feb 29 09:06 OpenPLi-beta-dm500-20120229-245.img
-rw-r--r-- 1 root root 5.8M Feb 29 09:06 OpenPLi-beta-dm500-20120229-245.zip
-rw-r--r-- 1 root root 6.0M Feb 29 09:06 OpenPLi-beta-dm500-old-framebuffer-20120229-245.img
-rw-r--r-- 1 root root 5.8M Feb 29 09:06 OpenPLi-beta-dm500-old-framebuffer-20120229-245.zip
root@debian:~/tom#

by the way, if i use other satellites.xml there is some problem ? if no should i put in /etc/ folder ? thank you !

Re: Compiling DM500 image #16 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 2 March 2012 - 09:22

That's good to hear!

But you don't need to put my name somewhere in the image for the credits. If you really want to: Enigma itself is in apps/tuxbox/enigma/src. In one of those files there's the About screen. But still: my name is already many times in the PLi source code ;)

As far as I know, there's no problem to use a different satellites.xml file.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #17 umbradomini

  • Member
  • 17 posts

+1
Neutral

Posted 5 March 2012 - 13:08

Good morning!

Utiliizing this topic that helped me too much i would like to ask another question hehehe you seen the following happens: I put in a channel and the channel does not open, then I change to another channel and change back again to the first channel that I tried to open and then it opens ...

Thank you !

Re: Compiling DM500 image #18 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 6 March 2012 - 11:57

That looks to me a problem with the softcam. I've seen that before. I assume you don't have this problem if you switch between FTA channels?
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compiling DM500 image #19 ben10

  • Member
  • 1 posts

0
Neutral

Posted 29 April 2015 - 19:43

Dear friends
As the friend umbradomini, I'm trying to build an image for my dreambox Dm500s.
I followed the same steps for compiling published in the post, but I'm not getting thatsize of generated files are correct.
I was wondering if anyone cold give me a hand?
 
Thank you in advance any help from teammates.
 
 

 

Attached Files




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users