This example is based on compiling for a DM8000 which uses a Mipsel binary
compiled on a x86 based linux system
1. Create a user named oscam on your system
Login to your x86 linux server with root, download and unpack Toolchain
cd /home/oscam
wget http://www.streamboard.gmc.to/wbb2/t...reambox.tar.gz
tar xfvz Toolchain_mipsel-tuxbox-linux.Dreambox.tar.gz
Now your unpacked toolchain is here as below
/home/oscam/mipsel-unknown-linux-gnu/
Files with .tar.bz2 use tar xfvj
2. Login to your x86 server with oscam user and download the source repository
svn co oscam - Revision 5155: /trunk oscam-svn
Now your OScam source is here /home/oscam/oscam-svn/
3. Modify the Modules / Add-ons for the OScam binary.
To see the Dialog Box you need to install Packages example on Ubuntu:
apt-get update
apt-get install -y htop automake make cmake cmake-curses-gui subversion libusb-dev libssl-dev libssh-dev gdb dialog g++ gcc
After install type
cd oscam-svn
./config.sh
Now you can add or remove the Modules of your OScam binary
4. Create a build directory in oscam-svn
cd oscam-svn
mkdir build_dir
cd build_dir
5. vi install.sh
#!/bin/sh
export MYPATH=$PATH
export PATH=/home/oscam/mipsel-unknown-linux-gnu/bin:$MYPATH
make clean
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/toolchain-mipsel-tuxbox.cmake ..
make
chmod 755 install.sh
6. Execute the shell script
./install.sh
The output will be located in the build_dir
Now you will have compiled your own oscam suitable for mips processors with all the selected modules as per your preference.
Next just transfer you file over to your sat receiver and dont forget to chmod 755 your new file.
No comments:
Post a Comment