How-to- Cross compiling oscam for your own sat receiver

  • How-to- Cross compiling oscam for your own sat receiver


    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.


    new2

    Dont forget to hit the thanks button!!!!!!!!!!!!!



    :41_002:



    Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, your use of the content, downloads and files, or any part thereof, is made solely at your own risk and responsibility. Viewing Pay TV without a valid subscription is illegal. !! Linuxsat-Support.com cannot be held responsible for the content of any information stored or posted on this forum.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!