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

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.

Postby ed_x » Fri Jun 29, 2007 5:19 pm

I've got coreutils, grep, binutils, ncurses, vim, zlib and python. Only python doesn't work properly; still giving the same errors as the ELDK compiler did. It all compiles, but is not usable. Long int in python doesn't seem to be convertible to float... something I didn't encounter when setting it up on the DS-106e. Weird.

I'd like to try to get a Java virtual machine running on it, but which machine is good to use? The Sun JDK is not open source (yet), neither is the IBM JDK (there are powerpc versions though).

[edit] Sun JDK 6u2 source seems to be available, let's try that! It would be cool to get Ninan up and running[/edit]
ed_x
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 21, 2006 12:31 am

Postby Lurch81 » Thu Jul 05, 2007 9:17 am

New GPL sources are now available! :D
Lurch81
I'm New!
I'm New!
 
Posts: 4
Joined: Thu Jun 28, 2007 1:34 pm

Postby ed_x » Sun Jul 08, 2007 11:46 pm

Yup, one copy is coming my way
ed_x
Rookie
Rookie
 
Posts: 32
Joined: Tue Nov 21, 2006 12:31 am

Download of tool chain

Postby Illerian » Wed Jul 18, 2007 8:45 am

Why isn't anyone making their tool chain downloadable for others? Is there a legal issue?
Illerian
Trainee
Trainee
 
Posts: 10
Joined: Mon Jul 16, 2007 10:04 am

Postby Franklin » Thu Jul 19, 2007 1:55 am

Topic moved to "Marvel mv5281 Development Room"
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6772
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Postby m.aicardi » Tue Jul 31, 2007 12:26 am

MrWGT wrote: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".


Will there be any chance for someone building NFS for x07? I'd neeed it (and some other progs).

If someone give me some more info on how to build for the x07 I'll do my best to give a hand for creating a new IPKG repo... We NEED it :-)

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

Postby sitetree » Tue Jul 31, 2007 7:27 am

I was able to compile nfs.ko and exports.ko:

Code: Select all
DiskStation> lsmod
Module                  Size  Used by    Tainted: P 
nfsd                   72288  0
exportfs                4672  1 nfsd
usbhid                 26052  0
usblp                  11680  0
usb_storage            32036  0
uhci_hcd               28720  0
ohci_hcd               15204  0
ehci_hcd               30280  0
ds107+_synobios        10132  0
quota_v2                9056  2
usbcore               115048  7 usbhid,usblp,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd
sg                     30464  0
ntfs                  115700  0
vfat                   10720  0
fat                    48444  1 vfat
appletalk              32952  20
psnap                   2852  1 appletalk
llc                     5876  1 psnap


I'm still looking for a simple nfs server source. Anybody an idea?
sitetree
I'm New!
I'm New!
 
Posts: 7
Joined: Tue May 22, 2007 4:33 pm

Postby m.aicardi » Tue Jul 31, 2007 8:37 am

sitetree wrote:I was able to compile nfs.ko and exports.ko:


Great!

Do you need any tester? ;-)

Cheers.

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

2.6.22 for marvell arm9 boards ready for public testing

Postby mindbender » Fri Aug 03, 2007 12:42 pm

Hello guys.

I am an admin from the community of http://www.linkstationwiki.net

I just wanted to mention that we (especially jonli447/lb_worm) are working on a vanilla kernel patch for the mv88f5281 boards since September 2006.
Last edited by mindbender on Fri Aug 03, 2007 12:49 pm, edited 2 times in total.
mindbender
Beginner
Beginner
 
Posts: 23
Joined: Fri Aug 03, 2007 12:30 pm

Postby mindbender » Fri Aug 03, 2007 12:42 pm

the DS107+ also is one.
Code: Select all
ARM (armv5tejl) based Disk-, Cube- and Rackstations:

Model:         CS-407      RS-407      DS-107+     DS-107+.128
--------------------------------------------------------------
CPU family          Marvell (arm5tejl)
CPU model      88F5281     88F5281     88F5281     88F5281
CPU speed      500 MHz     500 MHz     500 MHz     500 MHz
RAM            128 MB      128 MB       64 MB      128 MB
internal HDD   4 x SATA    4 x SATA    1 x SATA    1 x SATA
USB            2+0+?       2+0+?       2+1+?       2+1+?
eSATA          no          no          1x          1x
mindbender
Beginner
Beginner
 
Posts: 23
Joined: Fri Aug 03, 2007 12:30 pm

Postby mindbender » Fri Aug 03, 2007 12:43 pm

now we got 2.6.22 working on the Buffalo Linkstation Pro (LS Pro) and the Maxtor shared storage ii (MSS-II).

We would like to invite all C-coders/kernel-hackers to look at our announcement here:

Board index » Hardware » ARM9 Based » LS Pro/Live » Need Experienced Users to Test New arm9 Kernels

If you are interested in getting 2.6.22 working on the DS107+ you most likely need only to port the drivers for the special stuff (microcontroller, LEDs and so on) if it isn`t already inside the kernel-port.

(please forgive my 3 postings in a row. i needed 2 posting so i was allowed to post links)

best regards
-- mindbender
http://www.linkstationwiki.net
mindbender
Beginner
Beginner
 
Posts: 23
Joined: Fri Aug 03, 2007 12:30 pm

Postby polarbear » Sun Aug 05, 2007 10:18 am

I am interested to compile a few utilities for the DS-107+.

Are there any more detailed pointers what is needed to build the toolchain,
or even better, as you already built the toolchain would you be prepared to share the binaries?

I have seen the link to crosstools and CodeSourcery ARM gcc. I downloaded the latter and compiled a hello.c, which coredumps. So I assume the CodeSourcery ARM gcc I tried to use is the wrong one.
polarbear
Beginner
Beginner
 
Posts: 28
Joined: Sun Aug 05, 2007 8:54 am

Postby yinka » Wed Aug 08, 2007 8:50 am

polarbear, everything you need is in the scratchbox download area.

Install scratchbox + qemu + toolchain using the following combination:

scratchbox-core-1.0.8-i386.tar.gz
scratchbox-devkit-cputransp-1.0.2-i386.tar.gz
scratchbox-libs-1.0.8-i386.tar.gz
scratchbox-toolchain-arm-linux-ct401-2.3-1.0.4-i386.tar.gz ( this is crosstool 0.42).

The GCC version is 4.0.1 but the library is the correct version (2.3.2). This combination works for me. Be careful to select the right qemu emulation! (arm, not armeb).

I have compiled a few working utilities, but I am stuck with Perl :(

HTH

polarbear wrote:I am interested to compile a few utilities for the DS-107+.

Are there any more detailed pointers what is needed to build the toolchain,
or even better, as you already built the toolchain would you be prepared to share the binaries?

I have seen the link to crosstools and CodeSourcery ARM gcc. I downloaded the latter and compiled a hello.c, which coredumps. So I assume the CodeSourcery ARM gcc I tried to use is the wrong one.
yinka
I'm New!
I'm New!
 
Posts: 9
Joined: Wed Aug 08, 2007 8:29 am

Postby Mike » Wed Aug 08, 2007 7:18 pm

Can report that I followed yinkas information and the basic tutorial on Scratchbox. Althoug I had to go into the First chapter as well and run sb-menu to find the right q-emu as the string from the tutorial didn't work. I choose the qemu-arm-0.8.0-m2 . Not a clue if it is right or not :)

But the bottom line is IT WORKS!!

had to move the libs from /usr/local/lib to /lib but after that Midnight commander is working.

Moving on to rar now :)

Must say it's a bit tedious as im a total beginner on linux but i'm also quite proud having compiled my first linux file :)

//Mike
Mike
Student
Student
 
Posts: 65
Joined: Thu Aug 02, 2007 10:11 am

Postby polarbear » Thu Aug 09, 2007 12:44 am

This is good to hear. My attempts where on a Windows box with cygwin and as I mentioned I did not get far. Over the next few days I will try to get scratchbox installed on a Linux box. I have used it before for some Bulverde development.

I like to compile cvs so I can use the DiskStation as CVS server.
polarbear
Beginner
Beginner
 
Posts: 28
Joined: Sun Aug 05, 2007 8:54 am

PreviousNext

Return to Marvell mv5281 Development Room

Who is online

Users browsing this forum: No registered users and 1 guest