Page 1 of 1

[HowTo] Working complilation toolchain for D series

Posted: Fri Nov 09, 2012 2:58 pm
by juusso
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:
SpoilerShow
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 :)

Re: [HowTo] Working complilation toolchain for D series

Posted: Fri May 24, 2013 8:29 pm
by Mkò
this toolchain works for arm c series to?
this info shoted and longest way are only for d series?
could you provide the info for get the tollchain for c series? in the forum there are info for b series d series es series but for c series is missing...
thx
mk?

Re: [HowTo] Working complilation toolchain for D series

Posted: Fri May 24, 2013 9:06 pm
by Denny
Mk? wrote:this toolchain works for arm c series to?
this info shoted and longest way are only for d series?
could you provide the info for get the tollchain for c series?
thx
mk?
basicly toolchain is also okey for C serie except some special asm stuff or you want to rebuild kernel where you need to modify makefiles etc...,

but C serie is aswell very easy to install :

download some C Serie Opensource package like "UE40C8000.zip" form Samsung OS Server, inside of almost each file you have such one : arm_v7_vfp_le_20091117.tgz

extract this file to "/opt" directory , you should have it then in /opt/arm_v7_vfp_le, to do not set on each compile the PATH , add PATH variable it in root?s directory "/root/.bashrc" or in user?s directory "/home/user/.bashrc".

an example of my export :

Code: Select all

export PATH=$PATH:/opt/arm_v7_vfp_le/bin:/opt/VDLinux-armv7a8/bin:/opt/VDLinux-mips34kc/bin:/opt/STM/STLinux-2.2/devkit/sh4/bin:/opt/codesourcery/bin:/opt/mipsel-unknown-linux-gnu/bin/:/opt/VDLinux-armv7a8v2r2/bin:/opt/toolchains/uclibc-crosstools-gcc-4.2.3-3/usr/bin:/opt/android_test/toolchain/arm-linux-androideabi-4.4.x/bin/:/opt/VDLinux-arm-v7a15v3r1/bin:/opt/VDLinux-arm-v7a8v3r1/bin:/opt/VDLinux-arm-v7a9v3r1/bin

Re: [HowTo] Working complilation toolchain for D series

Posted: Tue Aug 13, 2013 8:25 am
by juusso
You can catch working toolchain from our svn as well:
  • For GAS* and GAP* firmwares:

    Code: Select all

    svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-GAS_GAP VDLinux-armv7a8
  • For MST*

    Code: Select all

    svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-MST10 VDLinux-mips34kc-toolchain-lite-20100223

Re: [HowTo] Working complilation toolchain for D series

Posted: Fri Dec 12, 2014 3:54 pm
by blueScholar
Hello

Was anyone able to successfully attach GDB-Server to Process 61 (exeDSP)?
All the librarys appear to be stripped and im definitly not in the mood for compiling all the libraries again...

Are there any known solutions? (or does anyone have parts of the sourcecode of exeDSP =) =) =) )

Thanks!
BlueScholar

** PS **
Toolchain worked great, GDB-Server is running on the TV... but as described it crashes when i attach to prozess 61.... :*(

Re: [HowTo] Working complilation toolchain for D series

Posted: Mon May 11, 2020 10:34 am
by CodeAsm
I get a 403
http://forum.samygo.tv/download/file.php?id=1498
...
HTTP request sent, awaiting response... 403 Forbidden
2020-05-11 11:30:29 ERROR 403: Forbidden.

Code: Select all

wget http://forum.samygo.tv/download/file.php?id=1498 -O Makefiles.zip
I probably have no use for it tho, i am just browsing the forum. my tv doesnt work anyway. but its a broken link on this site so I guess maybe this needs fixing?

Re: [HowTo] Working complilation toolchain for D series

Posted: Mon May 11, 2020 10:56 am
by zoelechat
Link is not broken, you just can't download file if you're not logged to forum. Best option is to simply... click on link :D