compiled an image but is it the right one?

The forum for our foreign guests... Please post in English
Antworten
kalehrl
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 22. Februar 2011, 14:38

compiled an image but is it the right one?

Beitrag von kalehrl »

Hello
I wanted to build a dm500 image using the latest CVS.
I compiled an image successfully using the script posted here on the forum to checkout:

Code: Alles auswählen

#!/bin/sh
REPLIST="apps boot cdk driver hostapps sandbox"
for f in  $REPLIST ; do
   git clone git://git.code.sf.net/p/tuxbox-cvs/$f $f
done
then I ran:

Code: Alles auswählen

./prepare dm500
and then:

Code: Alles auswählen

make flash-enigma-squashfs-all
and got in cdkflash folder the following files and some other:
enigma-squashfs.img1x
enigma-squashfs.img2x
Are these images for dm500 or for dbox2?
The linux kernel used is strange for me because it is is 2.4.x.x and, if I remember correctly, dreambox images are built on 2.6.x.x kernel.
What should I do to make dm500 image?
Thank you
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: compiled an image but is it the right one?

Beitrag von dbt »

I've never builded for dreambox, but probably you must checkout the correct branch for dreambox or even the oldmake branch.
For example:
move to the cdk-directory

Code: Alles auswählen

$ cd cdk
Check your local available branches:

Code: Alles auswählen

$ git branch
* master
You see only the master branch, so you must checkout your favourite branch

Code: Alles auswählen

$ git checkout -b dreambox origin/dreambox
Branch dreambox set up to track remote branch dreambox from origin.
Switched to a new branch 'dreambox'
$ git branch
* dreambox
  master
If it this what you want, you can work as usual. Note: I'm not sure, but it's possible that you need also another branch for apps and this was also necessary with CVS.
kalehrl
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 22. Februar 2011, 14:38

Re: compiled an image but is it the right one?

Beitrag von kalehrl »

Thank you for your reply dbt.
Maybe before I go into all that, I should try to build it with the branches I already have.
I just did:

Code: Alles auswählen

make distclean
and

Code: Alles auswählen

make clean
I edited the prepare_dream file and used dm500 instead of default dm7000.
I ran:

Code: Alles auswählen

./prepare_dream
and it finished fine:

Code: Alles auswählen

summary:
----------------------------------------
target cpu/boxtype:             ppc405/dreambox dm500
kernel:                         2.6
kernel config:                  config/dbox2_kernel-2.6.config.m4
libc:                           glibc/gcc 3.4.6
threads:                        nptl
target:                         powerpc-tuxbox-linux-gnu
host:                           i686-pc-linux-gnu
debug code:                     no
target prefix:                  /home/kalehrl/Templates/cvs/root/cdkroot
host prefix:                    /home/kalehrl/Templates/cvs/root/cdk
boot prefix:                    /home/kalehrl/Templates/cvs/root/tftpboot
build prefix:                   /home/kalehrl/Templates/cvs/cdk
root partition size:            0x660000
default locale:                 deutsch
serversupport:                  /home/kalehrl/Templates/cvs/root/serversupport
checkImage:
target apps directory:          /home/kalehrl/Templates/cvs/apps
boot directory:                 /home/kalehrl/Templates/cvs/boot
start script directory:         /home/kalehrl/Templates/cvs/cdk/root_dream
driver directory:               /home/kalehrl/Templates/cvs/driver
host apps directory:            /home/kalehrl/Templates/cvs/hostapps
logo directory:                 /home/kalehrl/Templates/cvs/cdk/logos
customization directory:        /home/kalehrl/Templates/cvs/cdk
ucode directory:                NONE
archive directory:              /home/kalehrl/Templates/cvs/cdk/Archive
GNU server:                     ftp.gwdg.de/pub/misc/gnu/ftp/gnu
default server:                 www.tuxbox.org/cvsdata/files
update http prefix:
used busybox-m4-config:         config/busybox.config.m4
IDE support:                    yes
MMC support:                    yes
fdisk standalone:               no
mount standalone:               no
fstab default fs:               ext3
IDE/MMC: Ext2 support           no
IDE/MMC: Ext3 support           yes / e2fsprogs
IDE/MMC: XFS support            no
IDE/MMC: REISERFS support       no
IDE/MMC: VFAT support           no
CIFS kernel module:             no
SMBFS kernel module:            no
LUFS kernel module:             no
NFS kernel module:              no
NFS server:                     no
Samba server:                   no
Automount:                      yes
Neutrino UPnP-support:          no
Neutrino Audioplayer:           yes
Neutrino Movieplayer:           yes
Neutrino Pictureviewer:         yes
Neutrino Mount:                 yes
Neutrino Drive-Setup:           no
Neutrino dvbsub                 yes
Neutrino EPG plus               yes
Radiotext support:              yes
FLAC support:                   no
CURL version:                   old
German keymaps:                 no

aformat                         no
cdkVcInfo                       no
blockads                        no
clock                           no
cron                            no
dboxshot                        no
dropbear                        no
dvbsnoop                        no
eraseall                        no
Esound support:                 no
ether-wake                      no
fbshot                          no
gdbserver                       no
getrc                           no
hddtemp                         no
htop                            no
inadyn-mt                       no
input                           no
ipkg                            no
kb2rcd                          no
LIRC                            no
lcshot                          no
links text mode browser         no
links graphics mode browser     no
logomask                        no
msgbox                          no
netio                           no
openntpd                        no
OpenVPN:                        no
procps                          no
rtc                             boxtype not supported
satfind                         no
shellexec                       no
sqlite3 storage:                no
strace                          no
sysinfo                         no
tuxcal                          no
tuxcom                          yes
tuxmail                         yes
tuxtxt (internal)               yes (yes)
tuxwetter                       no
vncviewer                       no
wget                            no

Enigma: dbswitch                yes
Enigma: movieplayer             yes
Enigma: ngrab                   yes
Enigma: rss                     yes
Enigma: script                  yes
Enigma: weather                 no

FX2: C64 Emulator               no
FX2: lcdcirc                    no
FX2: Lemmings                   no
FX2: Mastermind                 no
FX2: MineSweeper                no
FX2: Outdoor                    no
FX2: PacMan                     no
FX2: Satfind                    no
FX2: Snake                      no
FX2: Sokoban                    no
FX2: Sol                        no
FX2: Solitair                   no
FX2: Sudoko                     no
FX2: Tank                       no
FX2: Tetris                     no
FX2: Vier gewinnt               no
FX2: Yahtzee                    no

Tools: audioplay                no
Tools: aviaext                  no
Tools: aviafbtool               no
Tools: avswitch                 no
Tools: fbclear                  no
Tools: lcddump                  no
Tools: pluginx                  no
Tools: rcinfo                   no
Tools: rcsim                    yes
Tools: saa                      yes
Tools: showptsdiff              no
Tools: switch                   yes

ccache support:                 no
This seems K fro dreambox but I need now the command to build the image.
I tried: but I get the following warning:
You probably do not want to build all possible targets.
Sensible targets are, e.g. yadd-enigma or flash-neutrino-jffs2-2x.
If you REALLY want to build everything, then "make everything"
kalehrl
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Dienstag 22. Februar 2011, 14:38

Re: compiled an image but is it the right one?

Beitrag von kalehrl »

I managed to compile the image using this command:

Code: Alles auswählen

make flash-enigma-squashfs
If somebody wants to test it, here it is.
Is there any way I can remove a single package, change a setting and then recompile it?
I would like to add maxvar patch.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Antworten