Post here binaries of programs built for the CS-407/DS-107+

All discussions/development regarding the Marvell mv5281 Chip can be placed here.

Moderators: Synology Inc, Honorary Moderator

Forum rules
Please note the disclaimer before modifying your Synology Product.

Post here binaries of programs built for the CS-407/DS-107+

Postby m.aicardi » Thu Sep 06, 2007 12:20 am

With Scratchbox some of us finally succeed in building programs for the CS-407.

I have opened this thread to invite people who build programs for the CS-407 to post here the URLs of the binaries in order for us to help each other.

I have already posted the gnu/screen, and now I have built the gnu/tar program.

I have built that because the tar included in the CubeStation firmware is the one taken from BusyBox, and is limited to filenames of 100 characters maximum.

The gnu/tar has NOT this limit.

You can download the binary here.

Marco
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Postby yinka » Fri Sep 07, 2007 3:28 pm

What prefix to use? "/opt" or "/usr/local" ?
yinka
I'm New!
I'm New!
 
Posts: 9
Joined: Wed Aug 08, 2007 8:29 am

Postby ed_x » Fri Sep 07, 2007 10:52 pm

/opt, since that can easily be linked to your /volume1/opt
ed_x
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 21, 2006 12:31 am

binaries for kissdx and some libraries

Postby sivard » Sat Sep 15, 2007 8:21 pm

i've managed to build a program called kissdx on my ds-107+.
kissdx is used so you can play your music/images and videos directly on your kiss dvd recorder. For more info about kissdx, see http://kissdx.vidartysse.net/.
Download kissdx version for your ds-107+/cs-407 at http://www.sivard.nl/kissdx/kissdx.tar

In order to make it work i've also build the following libraries:
libcharset
libdvdread
libiconv
libjpeg

Look at http://www.sivard.nl/kissdx/install.txt for the installation instruction of kissdx.
Have fun with it. :lol:

Greetz
Sivard
sivard
Trainee
Trainee
 
Posts: 12
Joined: Sun Aug 05, 2007 8:50 am

Re: binaries for kissdx and some libraries

Postby m.aicardi » Sat Sep 15, 2007 9:16 pm

sivard wrote:i've managed to build a program called kissdx on my ds-107+.


I love you, man! :-)

How do you build? Using ScratchBox? Whatever else? I have problems building MANY programs (like prozilla or nano), which exit with a "Illegal instruction" error :-(

Marco
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Postby sivard » Sun Sep 16, 2007 7:39 am

I used the crosstool-0.43 with the patch from http://www.mitlaender.de/linux/ct0_43-ds107+.tar.gz which i installed under cygwin. I also tried the ScratchBox but i got the same result as you did.

This is how i installed the crosstool.

building crosstool for ds-107+ on Cygwin

-requirements install cygwin. under c:\cygwin.
read http://www.kegel.com/crosstool/current/ ... tml#cygwin before you install it.
make sure you also install the following packages:
bison
flex
gcc (and dependencies)
make
patch
wget

1. open cygwin
2. if /opt not exists, cd /, mkdir opt chmod +rwx opt.
3. cd /opt
4. download crosstool-0.43.tar.gz from http://www.kegel.com and copy it in /opt
5. tar -xzvf crosstool-0.43.tar.gz
6. download http://www.mitlaender.de/linux/ct0_43-ds107+.tar.gz and copy it in /opt/crosstool-0.43/
7. cd /opt/crosstool-0.43/
8. tar -xzvf ct0_43-ds107+.tar.gz
9. ./armv5te.sh and wait untill it is ready or fails.
note: the install program sometimes fails because it requires some libraries which might not be installed.
Just install the missing library with the setup of cygwin and run ./armv5te.sh again. Repeat this untill
all the missing libraries are installed.
10. edit the file /etc/profile.
add to the PATH variable the directory /opt/ct/crosstool/gcc-3.4.3-glibc-2.3.2/arm-v5te-linux-gnu/bin
it will look like this.
PATH=/opt/ct/crosstool/gcc-3.4.3-glibc-2.3.2/arm-v5te-linux-gnu/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH
export PATH
11. save the file and restart the prompt. check your environment with the commando "env".

12. put your files which you want to compile in e.g. /opt/ct/downloads.
13. unpack them.
14. Go to the directory.
15. use e.g. this commando to configure the package. ./configure CC='arm-v5te-linux-gnu-gcc-3.4.3' CXX='arm-v5te-linux-gnu-g++' STRIP='arm-v5te-linux-gnu-strip' --prefix=/opt --host=arm-v5te-linux-gnu --target=arm-v5te-linux-gnu --build=i686-pc-linux
16. make.
17. make install.
18. export LD_LIBRARY_PATH=/opt/lib

greetz
sivard
Last edited by sivard on Mon Sep 17, 2007 7:36 am, edited 2 times in total.
sivard
Trainee
Trainee
 
Posts: 12
Joined: Sun Aug 05, 2007 8:50 am

Postby m.aicardi » Sun Sep 16, 2007 10:15 am

sivard wrote:I used the crosstool-0.43 with the patch from http://www.mitlaender.de/linux/ct0_43-ds107+.tar.gz


This file does NOT exist anymore. It redirects to

http://www.wingt.de/mitlaender/linux/ct0_43-ds107+.tar.gz
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Postby sivard » Sun Sep 16, 2007 10:41 am

ok thanx. Changed it in the post.

Greetz
Sivard
sivard
Trainee
Trainee
 
Posts: 12
Joined: Sun Aug 05, 2007 8:50 am

Postby ikeke » Sun Sep 16, 2007 11:39 am

Thanks a lot Sivard !

Do you know if it will work for the CS-407 too or is it limited to DS-107+ ?
CS-407 and DS-107+ have the same processor but i'm not sure they use the same kernel
CS-407 | Firmware Version: 2.3 Beta | HD Model: 4x Samsung HD501LJ 500GB Raid5
DS-1010+ | Waiting for Delivery | HD Model: 3x Seagate LP 1.5 TB
http://www.nas-forum.com - Communauté Française des utilisateurs de NAS Synology
User avatar
ikeke
Seasoned
Seasoned
 
Posts: 561
Joined: Wed Oct 25, 2006 2:26 pm
Location: Lille - France

Postby sivard » Sun Sep 16, 2007 11:44 am

don't. i only have a ds-107+. But my guess would be yes. Maybe someone with a cs-407 can try to install it and let us know the results.

Greetz
Sivard
sivard
Trainee
Trainee
 
Posts: 12
Joined: Sun Aug 05, 2007 8:50 am

Postby m.aicardi » Sun Sep 16, 2007 12:20 pm

sivard wrote:Maybe someone with a cs-407 can try to install it and let us know the results.


That's what I'm trying to do right now :-)

Cheers.

Marco
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Postby m.aicardi » Sun Sep 16, 2007 1:00 pm

The CygWin packages that are not included in the default installation and that are needed are:

Code: Select all
bison
flex
gcc (and dependencies)
make
patch
wget


Manually add them before launching the ./armv5te.sh script.

Going on with the testing...
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Postby ikeke » Sun Sep 16, 2007 3:16 pm

sivard wrote:don't. i only have a ds-107+. But my guess would be yes. Maybe someone with a cs-407 can try to install it and let us know the results.

Greetz
Sivard


i own a 407, i'll try to install that as soon as i can find time to test :wink:
CS-407 | Firmware Version: 2.3 Beta | HD Model: 4x Samsung HD501LJ 500GB Raid5
DS-1010+ | Waiting for Delivery | HD Model: 3x Seagate LP 1.5 TB
http://www.nas-forum.com - Communauté Française des utilisateurs de NAS Synology
User avatar
ikeke
Seasoned
Seasoned
 
Posts: 561
Joined: Wed Oct 25, 2006 2:26 pm
Location: Lille - France

Postby ikeke » Sun Sep 16, 2007 3:18 pm

m.aicardi wrote:
sivard wrote:Maybe someone with a cs-407 can try to install it and let us know the results.


That's what I'm trying to do right now :-)

Cheers.

Marco


Cool, i can't wait to know the result, i hope everything will be fine :D
CS-407 | Firmware Version: 2.3 Beta | HD Model: 4x Samsung HD501LJ 500GB Raid5
DS-1010+ | Waiting for Delivery | HD Model: 3x Seagate LP 1.5 TB
http://www.nas-forum.com - Communauté Française des utilisateurs de NAS Synology
User avatar
ikeke
Seasoned
Seasoned
 
Posts: 561
Joined: Wed Oct 25, 2006 2:26 pm
Location: Lille - France

Postby m.aicardi » Sun Sep 16, 2007 3:33 pm

ikeke wrote:Cool, i can't wait to know the result, i hope everything will be fine :D


It's some HOURS that the snail-notebook is building the cross-compiler... (I'm on holiday in Corse, right now) Will let you know soon, I hope :-)
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Next

Return to Marvell mv5281 Development Room

Who is online

Users browsing this forum: No registered users and 1 guest