Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ubuntu committed Dec 19, 2009
0 parents commit eac49f7
Show file tree
Hide file tree
Showing 3,719 changed files with 954,397 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
24 changes: 24 additions & 0 deletions tdt/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
As our project has reached puberty we decided that it is time to release it to the world
and to take it somewhere more public.

For that we have created a git repository with the most important parts of our project the
build environment,
kernel sources(patches),
all tdt applications,
enigma2 source,
drivers sources.

What this package does not contain are any proprietary video and audio firmwares + headers
and also the proprietary pti driver, but we replaced this with an open source version.

This Packets does not contain any proprietary stuff and is therefor completely legal.

This git repository will soon be available for you for cloning, but this will be only for a limited time, max 1 week.
We hope that you will put it to good use, hopefully you will clone it to an open source git hoster like gitorous or github.

All this means of course that Team Ducktales wont be Team Ducktales as we know an love it any longer,
but we are sure that the era of sh4 based settopboxes featuring enigma2, neutrino and vdr has just began.

R.I.P. The Ducktales Team ( * October 2007 \u0197 December 2009 )
Welcome The OpenSource Ducktales Team ( * December 2009 )

183 changes: 183 additions & 0 deletions tdt/TDT_TUTORIAL
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
..,,,uuuuuuux-
.XJ$$$$$$$$$$$$$R"
:<???????$$$P???" ... uuuux ,ucdL
'''''` :<$$$: .dWWW>:;$$::$$F":J$$"''
,uuuouuu, .uu xcd:x$u.:J$$$ :J$P9$>;$$F.<$$h=`?$h
:$$$$$$$$$$b, .uz ucd xJ$$$:J$6d$$F':$$$F:J$P;3$>J$P.:3$,,,;J$$E
:d$$$$$$$$$$$$c::$$F;$$FJ$$P":<$$$$P` :J$$$:J$P???$>$$??:????`???"
::?"'<Xio::??$$$>J$$ :t$P;$P` :3$$P$$u::$$$P:??' `?F'
'' :d$$P `:9$$>$$F;J$><$C,,u;$$P:?$$h:3$$>
:<$$$' <8$$>$$X<J$$:<$$$$F:??' `"":J$$$
:3$$P :d$$$:$$$$$P `:???' :<P???"
::$$$' .d$$$$'`????" '::::
.:d$$6ud$$$$F
.;cJJ$$$$$$$PF'
::9$$$$$$$PF"
`'?????""''
,,, ::::::::::::..
,z$$$$$ :::::::::::::::::.
e$$$$$$$$ ::::::::::::::::::::
d$$$$$$$$$$;`::::::::::::::::::::
::."$$$$$$$$$ :::::::::::::::::::::
:::::."$$$$$$$ ::::::::::::::::::::
::::::::."$$$$$b ::''''''''':::::::'
`:::::::::`$$P" . :''''<<<<<<;. `'
`:::::::: "".,.----=--..`'<<<<<<;
`:::'',-'` .::::::::::`'- `<<<<; .::.
`,-`.::::::::::' .. `::. .:::::::::
,-'.:::::::::::' dMMMMMMx :::::` .`::::::::
,'.::::::::::::: dMMMMMMMMMM ``` JMMM `:::::
,'.:::::::::::' . MMP',ccc "MMM Mb MMMMM `:::
; :::::::::::' nM MM',$$$$$$b "Mb4M,M c,`? :'
; ::::::::::: xMMMMM'J$$$$$$$$b )MMMMM.`$$.
' :::`::::::: dMMMMM'J$$$$$$$$$$F MMMMMM $$$.
:: <`::::: JMMMMM',$$$$$$$$$$$P MMMMMM $$$$
`:::`bc,.. ,edMMMM $$$$$$$$$$$$F MMMMMM $$$$ .
` ,nMMMMMMMMTMMMM P""?$$$$$$$$".MTT4MM ?$$F;P""?x_
,d)MMMMMMP'dMMMMM $$$$$$P .cCc. $ cCc L~
,MMMMMMM ,c, 4MMr $$$$$ .CCCC> 4 CCC> L"
P)MMMMM> $$?$ "MM $$$$" CCCCC' ,, CC> % `
' MMMTMMM `b $$c.?b $$$" `CCC'-""___,,,,,__
M" `?, ??$c,,,,,,cc$7= _,cc$$$$PP"""""??$$$$
" `"b,_ "?$$$$$$$$$$P"" .. ,d"
`?$b `,,,,,,.`;;;;;;'j"
n ?$c`;;;;;;;`',;;; F
,;-;MM "$b;;;;;,,;;;'j"
,!!!!! MMMM,`?$c,_`` _,,cd'
!!!!!!!; MMMMMMn, `"""""''
. !!!!!!!!!, `"TT';!!!!>
,;!!!> !!!!!!!!!!!!! `<!!!! !;,
!!!!!!!!! '!!!!!!!!!!! !!! !!> !!!!!!;;



TDT Open Source Package
------------------------

This package contains most of the sources to build complete TDT images
for the following settopboxes:

- ufs910
- ufs922
- tf7700
- fortis hdbox (still very buggy)

Host Installation & Building:
------------------------------

- To build an image you need to install some packages on your host system.

* git
* ccache
* rpm
* make
* automake 1.8
* autoconf
* patch
* gcc
* cpp (auch gcc oder c++)
* tar
* bzip2
* gzip
* ncurses-devel (libncurses5-dev bei debian)
* flex
* bison
* gawk
* e2fsprogs-devel
* texinfo
* gettext
* gettext-devel (gibts nich bei debian?)
* cfv
* fakeroot
* xfsprogs-devel (xfslibs-dev bei debian)
* zlib1g-dev (zlib-devel)
* libtool
* g++
* swig
* pkg-config


- For ubuntu-hosts you have to link the sh to bash:

ln -s /bin/bash /bin/sh
(delete an existing /bin/sh before)

- Now clone your git repository from the server...

git clone Servername\make.git

- now change to the build directory:

cd dt/cvs/cdk

- For debian-based systems only:

export PATH=$PATH:/sbin:/usr/sbin


- and type in one of the following commands to configure the build enviroment:

./make.sh (ufs910)
./make_ufs922.sh
./make_tf7700.sh
./make_hdbox.sh


- if there are no errors (missing packages) type:

make yaud-enigma2

to build an enigma2 image. This will probably take very long (min 2h max 6h)

- after finishing the build you can find the nfs-root in the following directory

tufsbox/release


- the kernel is located in the boot subfolder of the release directory

tufsbox/release/boot/uImage

PROBLEMS:
---------

- openSuSE 11.0: If you have trouble compiling lirc, remove all occurance of lirc/lircd in
cvs/cdk/make/contrib-libs.mk cvs/cdk/make/release.mk cvs/cdk/make/yaud.mk

- if you have problems like this

In Datei, eingef�gt von ../../lib/base/smartptr.h:4,
von ../../lib/base/eptrlist.h:7,
von ../../lib/base/ebase.h:12,
von enigma_python_wrap.cxx:2807:
../../lib/base/object.h:166:4: Warnung: #warning use non optimized implementation of refcounting.
enigma_python_wrap.cxx: In function �int SWIG_AsPtr_std_string(PyObject*, std::string**)�:
enigma_python_wrap.cxx:3131: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt strict-aliasing-Regeln
enigma_python_wrap.cxx: In function �RESULT SwigFromPython(ePtr<gPixmap>&, PyObject*)�:
enigma_python_wrap.cxx:3455: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt strict-aliasing-Regeln
enigma_python_wrap.cxx:3455: Fehler: �SWIGTYPE_p_ePtrTgPixmap_t� wurde in diesem G�ltigkeitsbereich nicht definiert
enigma_python_wrap.cxx: In function �PyObject* New_iRecordableServicePtr(const ePtr<iRecordableService>&)�:

you have to use an older swig version (e.g. 1.3.33)

IMPORTANT DIRECTORIES:
-----------------------

tdt/cvs/cdk - the build directory
tdt/cvs/cdk/linux - a link to the kernel directory (will be installed from build)

tdt/cvs/apps/enigma2 - e2 source code
tdt/cvs/apps/misc/tools - tools like evremote2, fp_control etc

tdt/cvs/driver/frontends - frontend and tuner driver
tdt/cvs/driver/cic - ci controller driver
tdt/cvs/driver/player2 - STM's great player patched by TDT
tdt/cvs/driver/multicom - the copo/fw commuincation driver
tdt/cvs/driver/avs - av switch driver
tdt/cvs/driver/stgfb - patch stmfb version
tdt/cvs/driver/e2_proc - the e2 proc main part
tdt/cvs/driver/vfd - ufs910 vfd driver
tdt/cvs/driver/nuvoton - fp driver for hdbox
tdt/cvs/driver/micom - fp driver for ufs922
tdt/cvs/driver/tffp - fp driver for tf7700
tdt/cvs/driver/ufs922_fan - ufs922 fan control driver
20 changes: 20 additions & 0 deletions tdt/custom/autofs-local.sh-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh

set -x

#Usage:
#/home/user/ufs910/mt_build/custom/autofs-local.sh /home/user/ufs910/mt_build/tufsbox/cdkroot /home/user/mt_build/ufs910/cvs/cdk

targetprefix=$1
prefix=$targetprefix
buildprefix=$2

NEWROOT=$prefix
MYFILES=$prefix/../../myfiles


# Create symlinks for convenient access of automounted directories
( cd $1 && \
ln -sf /var/tmp/autofs/video media/video && \
ln -sf /var/tmp/autofs/bilder media/bilder \
)
20 changes: 20 additions & 0 deletions tdt/custom/automount-local.sh-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh

set -x

#Usage:
#/home/user/ufs910/mt_build/custom/automount-local.sh /home/user/ufs910/mt_build/tufsbox/cdkflash /home/user/ufs910/mt_build/cvs/cdk

flashprefix=$1
prefix=$flashprefix
buildprefix=$2

NEWROOT=$prefix/root
MYFILES=$prefix/../../myfiles


# Create symlinks for convenient access of automounted directories
( cd $NEWROOT && \
ln -sf /var/tmp/autofs/video media/video && \
ln -sf /var/tmp/autofs/bilder media/bilder \
)
115 changes: 115 additions & 0 deletions tdt/custom/root-local.sh-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
#!/bin/sh

set -x

#Usage:
#/home/user/ufs910/mt_build/custom/root-local.sh /home/user/ufs910/mt_build/tufsbox/cdkflash /home/user/mt_build/ufs910/cvs/cdk

flashprefix=$1
prefix=$flashprefix
buildprefix=$2

NEWROOT=$prefix/root
MYFILES=$prefix/../../myfiles


#----------------------------------------------
# Additional targets
#----------------------------------------------

#make flash-netkit-ftp

#----------------------------------------------
# IP configuration
#----------------------------------------------

IPADDRESS=192.168.1.100
NETWORK=192.168.1.0
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
HOSTNAME=ufs910
DOMAIN=home.local
NAMESERVER1=10.1.1.201
NAMESERVER2=192.168.1.201
NAMESERVER3=192.168.1.202
WORKGROUP=UFS910

#----------------------------------------------
# Adapt interfaces configuration

#[ ! -d $NEWROOT/etc/network ] && mkdir -p $NEWROOT/etc/network
#[ -f $MYFILES/etc/network/interfaces ] && \
# cp $MYFILES/etc/network/interfaces $NEWROOT/etc/network/interfaces

[ -f $NEWROOT/etc/network/interfaces ] &&
sed -e "s/192.168.1.210/$IPADDRESS/g" \
-e "s/192.168.1.0/$NETWORK/g" \
-e "s/255.255.255.0/$NETMASK/g" \
-e "s/192.168.1.255/$BROADCAST/g" \
-e "s/192.168.1.1/$GATEWAY/g" \
-i $NEWROOT/etc/network/interfaces

#----------------------------------------------
# Adapt hostname file

egrep -q "$HOSTNAME" $NEWROOT/etc/hostname || \
cat >>$NEWROOT/etc/hostname <<EOF
$HOSTNAME
EOF

#----------------------------------------------
# Adapt hosts file

egrep -q "$HOSTNAME" $NEWROOT/etc/hosts || \
cat >>$NEWROOT/etc/hosts <<EOF
$IPADDRESS $HOSTNAME
EOF

#----------------------------------------------
# DNS stuff

egrep -q "$DOMAIN" $NEWROOT/etc/resolv.conf || \
cat <<EOF >> $NEWROOT/etc/resolv.conf
search $DOMAIN
nameserver $NAMESERVER1
nameserver $NAMESERVER2
nameserver $NAMESERVER3
EOF

#----------------------------------------------
# Autofs stuff
#----------------------------------------------

[ -f $MYFILES/etc/auto.ufs910 ] && \
cp $MYFILES/etc/auto.ufs910 $NEWROOT/etc

# uncomment of the lines below if you want to customize timeout
#sed -e 's/^TIMEOUT=300/TIMEOUT=600/g' -i $NEWROOT/etc/default/autofs
#sed -e 's|/etc/auto.ufs910 --timeout=30|/etc/auto.ufs910 --timeout=60|g' -i $NEWROOT/etc/auto.master

#----------------------------------------------
# Adapt samba
#----------------------------------------------

#replace samba config file or adapt the existing one

#[ -f $MYFILES/etc/samba/smb.conf ] && \
# cp $MYFILES/etc/samba/smb.conf $NEWROOT/etc/samba

[ -f $NEWROOT/etc/samba/smb.conf ] && \
sed -e "s/^interfaces = 192.168.1.100\/24/interfaces = $IPADDRESS\/24/g" \
-e "s/^workgroup = MSHEIMNETZ/workgroup = $WORKGROUP/g" \
-i $NEWROOT/etc/samba/smb.conf

#----------------------------------------------
# Adapt NFS server
#----------------------------------------------

[ -f $NEWROOT/etc/exports ] && ( \
egrep -q "/var" $NEWROOT/etc/exports || \
cat >>$NEWROOT/etc/exports <<EOF
/var *(rw,sync,no_subtree_check)
/tmp/usb/0 192.168.1.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)
EOF
)
Loading

0 comments on commit eac49f7

Please sign in to comment.