DBox2 Enigma using gcc 4.7 uclibc and kernel 2.6

Sammlung von Anleitungen und HowTos für dBox2
MastaG
Interessierter
Interessierter
Beiträge: 20
Registriert: Montag 6. Mai 2013, 11:17

DBox2 Enigma using gcc 4.7 uclibc and kernel 2.6

Beitrag von MastaG »

Hi guys,

I'm trying to build an enigma image for my Nokia Dbox2 but it fails.
My host is Fedora 18 x86_64.
I already got far :)
I had to downgrade patch to 2.5.9 and install static glibc and static libstdc++ to succesfully build the toolchain.

I configured with:

Code: Alles auswählen

./configure --with-webif=standard --with-mhw-epg --with-epg=standard \
--with-cvsdir=/home/mastag/dbox2 --with-etherwake --with-filesystem-tools=e2fsprogs,dosfstools \
--with-gcc47 --with-boxtype=dbox2 --enable-ide --enable-uclibc \
--enable-kernel26 --enable-xfs --enable-mmc --enable-nfsserver --enable-aformat \
--enable-cdkVcInfo --enable-clock --enable-dboxshot --enable-dvbsnoop \
--enable-eraseall --enable-fbshot --enable-ipkg --enable-logomask --enable-msgbox \
--enable-satfind --enable-shellexec --enable-sqlite --enable-sysinfo --enable-audioplay \
--enable-aviaext --enable-aviafbtool --enable-avswitch --enable-fbclear --enable-lcddump \
--enable-pluginx --enable-rcinfo --enable-ccache  --with-defaultlocale=EN \
--with-ucodesdir=/home/mastag/dbox2/ucode --enable-dropbear \
--prefix=/home/mastag/dbox2/build
/home/mastag/dbox2 contains the git apps
/home/mastag/dbox2/build is the build dir
/home/mastag/dbox2/ucode contains all ucodes

However it fails here:

Code: Alles auswählen

summary:
----------------------------------------
target cpu/boxtype:             ppc823/dbox2
kernel:                         2.6
kernel config:                  config/dbox2_kernel-2.6.config.m4
libc:                           uclibc
threads:                        nptl
target:                         powerpc-tuxbox-linux-uclibc
host:                           x86_64-unknown-linux-gnu
debug code:                     no
target prefix:                  /home/mastag/dbox2/build/cdkroot
host prefix:                    /home/mastag/dbox2/build/cdk
boot prefix:                    /home/mastag/dbox2/build/tftpboot
build prefix:                   /home/mastag/dbox2/cdk
root partition size:            0x660000
default locale:                 EN
serversupport:                  /home/mastag/dbox2/build/serversupport
checkImage:
target apps directory:          /home/mastag/dbox2/apps
boot directory:                 /home/mastag/dbox2/boot
start script directory:         /home/mastag/dbox2/cdk/root
driver directory:               /home/mastag/dbox2/driver
host apps directory:            /home/mastag/dbox2/hostapps
logo directory:                 /home/mastag/dbox2/cdk/logos
customization directory:        /home/mastag/dbox2/cdk
ucode directory:                /home/mastag/dbox2/ucode
archive directory:              /home/mastag/dbox2/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           yes / e2fsprogs
IDE/MMC: Ext3 support           yes / e2fsprogs
IDE/MMC: XFS support            yes
IDE/MMC: REISERFS support       no
IDE/MMC: VFAT support           no
CIFS kernel module:             yes
SMBFS kernel module:            no
LUFS kernel module:             yes
NFS kernel module:              yes
NFS server:                     yes
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                         yes
cdkVcInfo                       yes
blockads                        no
clock                           yes
cron                            no
dboxshot                        yes
dropbear                        yes
dvbsnoop                        yes
eraseall                        yes
Esound support:                 no
ether-wake                      yes
fbshot                          yes
gdbserver                       no
getrc                           no
hddtemp                         no
htop                            no
inadyn-mt                       no
input                           no
ipkg                            yes
kb2rcd                          no
LIRC                            no
lcshot                          no
links text mode browser         no
links graphics mode browser     no
logomask                        yes
msgbox                          yes
netio                           no
openntpd                        no
OpenVPN:                        no
procps                          no
rtc                             yes
satfind                         yes
shellexec                       yes
sqlite3 storage:                yes
strace                          no
sysinfo                         yes
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                yes
Tools: aviaext                  yes
Tools: aviafbtool               yes
Tools: avswitch                 yes
Tools: fbclear                  yes
Tools: lcddump                  yes
Tools: pluginx                  yes
Tools: rcinfo                   yes
Tools: rcsim                    yes
Tools: saa                      yes
Tools: showptsdiff              no
Tools: switch                   yes

ccache support:                 yes

----------------------------------------
ccache installdir:                      /usr/bin
cache directory                     /home/mastag/.ccache
cache hit (direct)                  2565
cache hit (preprocessed)             207
cache miss                         18597
called for link                     1950
called for preprocessing            2722
compile failed                      1839
preprocessor error                   238
bad compiler arguments               295
unsupported source language          190
autoconf compile/link               5342
unsupported compiler option           12
no input file                       1132
files in cache                     29590
cache size                         923.3 Mbytes
max cache size                       1.0 Gbytes
----------------------------------------

checking that generated files are newer than configure... done
configure: creating Makefile-archive
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rules-downcheck.pl
config.status: creating root/Makefile
config.status: creating root/etc/Makefile
config.status: creating root/etc/init.d/Makefile
config.status: creating root/etc/network/Makefile
config.status: creating root/share/Makefile
config.status: creating root/share/udhcpc/Makefile
config.status: executing depfiles commands
config.status: executing rules-downcheck-chmod commands
configure: WARNING: unrecognized options: --enable-flashrules
[mastag@intel4x cdk]$ make
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"
[mastag@intel4x cdk]$ make yadd-enigma
make -C /home/mastag/dbox2/driver \
        DRIVER_RTC=yes \
        DRIVER_MMC=yes \
        KERNEL_LOCATION=/home/mastag/dbox2/cdk/linux \
        CROSS_COMPILE=powerpc-tuxbox-linux-uclibc-
make[1]: Map '/home/mastag/dbox2/driver' wordt binnengegaan
Rules.make:1: /home/mastag/dbox2/cdk/linux/Rules.make: Bestand of map bestaat niet
make[1]: *** Er is geen regel om doel '/home/mastag/dbox2/cdk/linux/Rules.make' te maken.  Gestopt.
make[1]: Map '/home/mastag/dbox2/driver' wordt verlaten
make: *** [driver] Fout 2
Any help would be appreciated!


EDIT: Fixed
I needed the kernel 2.6 branch of the driver git repo :)