[HowTo] Working complilation toolchain for D series

Here is information about customize your D series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.
Post Reply

User avatar
juusso
SamyGO Moderator
Posts: 10116
Joined: Sun Mar 07, 2010 6:20 pm

[HowTo] Working complilation toolchain for D series

Post by juusso » Fri Nov 09, 2012 2:58 pm

Yes, i know we need some more detailed how to set-up compilation toolchain, but briefly, C-D-E series toolchains are available on http://opensource.samsung.com.

Here is working D series toolchain for ubuntu (i use vmware and ubuntu image)

How to prepare complilation toolchain for D series

A. Long way: 1. download VDLinux-armv7a8-toolchain-lite_20100630.tgz
2. copy file to /opt directory
3. Extract:

Code: Select all

sudo su
cd /opt
tar -xzvf ./VDLinux-armv7a8-toolchain-lite_20100630.tgz
4. Rename it to simplicify usage in future:
mv ./VDLinux-armv7a8-toolchain-lite_20100630 ./VDLinux-armv7a8
5. Export path to your toolchain`s bin directory:

Code: Select all

export PATH=$PATH:/opt/VDLinux-armv7a8/bin
Done. You have compilation toolchain for C/D series. But to compile rtmpgw we need compile openssl and zlib and place it to right places.
6. Navigate to

Code: Select all

cd /opt/VDLinux-armv7a8/arm-v7a8-linux-gnueabi/libc/usr/
7. download compiled libs:

Code: Select all

wget http://tinyurl.com/sgodown/firmwares/Toolchain/openssl_libs_v7a8.tgz
8. Extract:

Code: Select all

tar -xzvf ./openssl_libs_v7a8.tgz
9. Download, compile and install zlib...

Code: Select all

cd /opt
wget http://tinyurl.com/sgodown/firmwares/Toolchain/zlib-1.2.7.tar.gz
tar -xzvf ./zlib-1.2.7.tar.gz
cd ./zlib-1.2.7
10. configure and make using attached script:

Code: Select all

./configure
sh +x ./zlib_build_ECHOP.sh
If no errors, you`re ready to compile.
B. Short way (recomended)
1. Go to /opt dir and download toolchain

Code: Select all

sudo su
cd /opt
svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-GAS_GAP VDLinux-armv7a8
2. Export path to your toolchain`s bin directory:

Code: Select all

export PATH=$PATH:/opt/VDLinux-armv7a8/bin
How to compile?

Example: Compiling rtmpdump:
1. go to your project dir, (for example /projects)

Code: Select all

cd /projects
git clone git://github.com/aajanki/rtmpdump.git
cd ./rtmpdump
2. replace Makefiles with attached ones:

Code: Select all

wget http://forum.samygo.tv/download/file.php?id=1498 -O Makefiles.zip
unzip -o ./Makefiles.zip
3. start compilation

Code: Select all

make clean
make all
If no errors, you get all binaries compiled. Hope this helps :)
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE