Compiling DM500 image
umbradomini 27 Feb 2012
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!
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
dAF2000 27 Feb 2012
It's easy. See line 903:
So, your harddisk is full and therefore it can't compile the Linux kernel.
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.
umbradomini 28 Feb 2012
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
( 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
dAF2000 28 Feb 2012
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
You may find more of those errors. Check this thread:
http://openpli.org/f...post__p__244898
umbradomini 28 Feb 2012
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 !
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 !
Attached Files
dAF2000 28 Feb 2012
By the way, these builds are not right. They should be around 5.78 MB.
Check the buildlog.txt for any errors.
Check the buildlog.txt for any errors.
umbradomini 28 Feb 2012
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 !
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 !
dAF2000 28 Feb 2012
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.
umbradomini 28 Feb 2012
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 !
Edited by umbradomini, 28 February 2012 - 20:00.
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.
dAF2000 28 Feb 2012
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.
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.
umbradomini 28 Feb 2012
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 !
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 !
dAF2000 28 Feb 2012
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.
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.
umbradomini 1 Mar 2012
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 !
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 !
dAF2000 2 Mar 2012
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.
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.
umbradomini 5 Mar 2012
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 !
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 !
dAF2000 6 Mar 2012
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?
ben10 29 Apr 2015
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.