Development for DS107+ (and other Marvell ARM based systems)

All discussions/development regarding the Marvell mv5281 Chip can be placed here.
Forum rules
Please note the disclaimer before modifying your Synology Product.

Development for DS107+ (and other Marvell ARM based systems)

Postby ldesnogu » Tue May 22, 2007 10:19 am

I will hopefully receive my DS107+.128 this week :)

During that time, I have been looking for the underlying architecture and software.

Marvell provides no documentation for their 88f5281 chip, however looking on the Web, I gathered the following information:
- the 88f5281 is an ARMv5TEJ compliant chip based on Feroceon (Marvell own implementation of ARM processor)
- the DS107+ is using it in little-endian mode (which makes it incompatible with other ARM based Synology that are big-endian)
- the DS107+ firmware has been compiled using EABI (which also makes it incompatible with other ARM based Synology :) )
- the DS107+ firmware has been compiled using CodeSourcery ARM gcc compiler (release 2005Q1B)
- the libc used is the 2.3.2.

I think this is enough information to get started, though I would prefer to have the GPL package available...

Cheers
ldesnogu
Novice
Novice
 
Posts: 57
Joined: Sat May 19, 2007 4:18 pm

Postby ed_x » Sun Jun 03, 2007 1:58 pm

Have you found anything so far? Compiling using ELDK doesn't work properly, even with options like -mfloat-soft. I'm kinda stuck at this point of not being able to compile properly.
ed_x
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 21, 2006 12:31 am

Postby ldesnogu » Sun Jun 03, 2007 4:28 pm

ed_x wrote:Have you found anything so far? Compiling using ELDK doesn't work properly, even with options like -mfloat-soft. I'm kinda stuck at this point of not being able to compile properly.

I don't think I will spend anymore time on this until Synology releases GPL'ed part of the DS107+ firmware, and given how my enquiries are being ignored, I am afraid this could last long, sorry.
ldesnogu
Novice
Novice
 
Posts: 57
Joined: Sat May 19, 2007 4:18 pm

Postby MrWGT » Wed Jun 20, 2007 1:21 am

Hi..
ed_x wrote:Have you found anything so far? Compiling using ELDK doesn't work properly, even with options like -mfloat-soft. I'm kinda stuck at this point of not being able to compile properly.
I compiled a toolchain (maybe not the best but working) with crosstool 0.43 and the following files:

earm.config
armv5te.dat
armv5te.sh

These files can be downloaded there: http://www.mitlaender.de/linux/ct0_43-ds107+.tar.gz

With this toolchain i was able to compile gdb 6.6: http://www.mitlaender.de/linux/gdb-6.6.tar.gz The file contains gdb and libthread_db.tar.gz. libthread_db.tar.gz must be extracted to /lib!

Kind regards

Gerd
MrWGT
I'm New!
I'm New!
 
Posts: 8
Joined: Tue Jun 19, 2007 10:13 pm

Postby Betonmöwe » Fri Jun 22, 2007 9:55 am

Hi..

this toolchain works like a charm! Now, I have the midnight commander on my ds-107+ :D

Thanks a lot!


Betonmöwe
Betonmöwe
I'm New!
I'm New!
 
Posts: 1
Joined: Wed Jun 20, 2007 3:13 pm

Postby Betonmöwe » Fri Jun 22, 2007 9:55 am

Hi..

this toolchain works like a charm! Now, I have the midnight commander on my ds-107+ :D

Thanks a lot!


Betonmoewe
Betonmöwe
I'm New!
I'm New!
 
Posts: 1
Joined: Wed Jun 20, 2007 3:13 pm

Postby ed_x » Fri Jun 22, 2007 3:57 pm

Cool, I'll try it tonight. Ofcourse, I'll try to get python running so we can download from usenet again :D . Is it a native toolchain or does it run on x86?
ed_x
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 21, 2006 12:31 am

Postby MrWGT » Fri Jun 22, 2007 4:11 pm

Hi...
ed_x wrote:Cool, I'll try it tonight. Ofcourse, I'll try to get python running so we can download from usenet again :D . Is it a native toolchain or does it run on x86?
It's a cross compilation toolchain.

Kind regards

Gerd

PS: What do you want to download from usenet... ;)
MrWGT
I'm New!
I'm New!
 
Posts: 8
Joined: Tue Jun 19, 2007 10:13 pm

Postby sunsetdk » Fri Jun 22, 2007 4:37 pm

Perhaps er silly question. But how do i install this toolchain? and does this mean that i can install IPKG packages?

Is the question might show i know VERY little about linux.
sunsetdk
Beginner
Beginner
 
Posts: 24
Joined: Sun Apr 22, 2007 6:07 pm
Location: Denmark

Postby ed_x » Fri Jun 22, 2007 4:59 pm

No, unfortunately it does not enable ipkg. It allows you to compile applications for the CPU of the DS-107+. Perhaps, with this compiler, a new ipkg repository can be set up.
@MrWGT: y'know, the usual stuff being posted on usenet ;) I'm still curious for the performance of SABnzbd on this new machine.
ed_x
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 21, 2006 12:31 am

Postby MrWGT » Fri Jun 22, 2007 6:18 pm

Hi...
ed_x wrote:No, unfortunately it does not enable ipkg. It allows you to compile applications for the CPU of the DS-107+. Perhaps, with this compiler, a new ipkg repository can be set up.
@MrWGT: y'know, the usual stuff being posted on usenet ;) I'm still curious for the performance of SABnzbd on this new machine.
Hm... My 12MBit dsl is waiting... :) so... hurry with phyton... ;)

Gerd
MrWGT
I'm New!
I'm New!
 
Posts: 8
Joined: Tue Jun 19, 2007 10:13 pm

Postby sunsetdk » Fri Jun 22, 2007 10:12 pm

can anyone tell me if i can compile SVN server with this toolchain? If so can anyone tell me how to :)
sunsetdk
Beginner
Beginner
 
Posts: 24
Joined: Sun Apr 22, 2007 6:07 pm
Location: Denmark

Postby sunsetdk » Tue Jun 26, 2007 5:30 am

I'll take that as a no. :(
sunsetdk
Beginner
Beginner
 
Posts: 24
Joined: Sun Apr 22, 2007 6:07 pm
Location: Denmark

Postby MrWGT » Tue Jun 26, 2007 7:28 am

Hi..
sunsetdk wrote:I'll take that as a no. :(
You can... But i'm not ready with compiling it because you must compile a lot of other stuff first to build subversion at last.

And that other stuff must on some parts be patched (Makefile, configure) to be able to crosscompile it.

Kind regards

Gerd

PS: So far i've compiled expat, termcap, zlib, berkely db. Next is apr-util and apr and after that (maybe) subversion. But i cannot spend many time on that "hobby".
MrWGT
I'm New!
I'm New!
 
Posts: 8
Joined: Tue Jun 19, 2007 10:13 pm

Postby sunsetdk » Tue Jun 26, 2007 8:55 am

Thanks for the answer. And i hope that you do get time to compile subversion :)

But thanks alot for the energy you put into it :)
sunsetdk
Beginner
Beginner
 
Posts: 24
Joined: Sun Apr 22, 2007 6:07 pm
Location: Denmark

Next

Return to Marvell mv5281 Development Room

Who is online

Users browsing this forum: No registered users and 1 guest