Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Dec 22, 2014 5:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Sat Oct 07, 2006 4:11 pm 
Offline
Regular Member

Joined: Wed Sep 07, 2005 6:08 am
Posts: 81
Anyone looked at the toolchain downloadable from codesourcery ?

[url=http://www.codesourcery.com/gnu_toolchains/arm/releases/2005q3-2:e2951]http://www.codesourcery.com/gnu_toolchains/arm/releases/2005q3-2[/url:e2951]


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 4:23 pm 
Offline
Newbie

Joined: Sun Oct 01, 2006 9:52 pm
Posts: 68
wow, will test it out..


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 5:21 pm 
Offline
Regular Member

Joined: Wed Sep 07, 2005 6:08 am
Posts: 81
I have managed to cross compile wget with this toolchain


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 5:38 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
This is good. Does wget work? How much setup was invloved with codesourcery? Did you download and rebuild the source?

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 6:15 pm 
Offline
Regular Member

Joined: Wed Sep 07, 2005 6:08 am
Posts: 81
wget is working
Here is what I did on a Linux PC. (they also have a toolchain for windows)

1. Download without source ([url=http://www.codesourcery.com/gnu_toolchains/arm/releases/download?version=2005q3-2&pkg_prefix=arm&target=arm-none-linux-gnueabi&host=i686-pc-linux-gnu:9ccb6]URL[/url:9ccb6])
2. Unpack. (I unpacked to /opt/crosstool/gcc-3.4.4-glibc-2.3.6/)
3. Get the wget source
4. Unpack wget
5. configure
./configure CC=/opt/crosstool/gcc-3.4.4-glibc-2.3.6/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc --host arm-none-linux-gnu --prefix ~/wget
6. make install

This will put wget into ~/wget/bin. I copied this over to the ls pro


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 6:25 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
this is great news. i have extracted mine to /opt/arm (along with my EDLK toolchain). Will give wget a go as you have managed to do this already. Thanx for th ping.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 6:39 pm 
Offline
Newbie

Joined: Sun Oct 01, 2006 9:52 pm
Posts: 68
great news... time for us to hack more... anyone could get NFS working please?


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 7:00 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Not having much luck here. this is what happens:

root@lapzone:/usr/src/wget-1.10.2# ./configure CC=/opt/arm/arm-none-linux-gnueabi/bin/gcc --build arm-none-linux-gnu
configure: configuring for GNU Wget 1.10.2
checking build system type... arm-none-linux-gnu
checking host system type... arm-none-linux-gnu
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... /opt/arm/arm-none-linux-gnueabi/bin/gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 7:05 pm 
Offline
Regular Member

Joined: Wed Sep 07, 2005 6:08 am
Posts: 81
Need to set --host rather than --build
Also need to set prefix otherwise it will make and try to install into /usr/bin


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 7:16 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Cheers for the push, got it working (been working on R2000A assembly all day so trying to get the right hat on). UI did the following:

./configure CC=/opt/arm/bin/arm-none-linux-gnueabi-gcc --host arm-none-linux-gnu --prefix ~/wget

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sat Oct 07, 2006 7:47 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Executable did not work. it built it as an i686 ELF and not ARM. Will have a look at what is wrong :(

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sun Oct 08, 2006 5:33 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
A new day is great. Found the error of my ways and now wget is going. On to the next missing piece of the puzzle.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sun Oct 08, 2006 11:08 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
i recommend to share all the stuff everyone is able to compile in a central place.

[url=http://buffalo.nas-central.org/download/uploads/LS_Pro_temporary/:a40fa]http://buffalo.nas-central.org/download/uploads/LS_Pro_temporary/[/url:a40fa]

everyone can upload to there.

yuji, lb_worm...both of you already know how to upload
javascout, you have a private message with the user/pass/host to access the upload-folder in the downloadsection.

EDIT: i downloaded most of the codesourcery toolchain stuff (linux toolchain, windows toolchain, source of the toolchain) and i am uploading everything.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
 Profile  
 
PostPosted: Sun Oct 08, 2006 3:24 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Good idea. Will upload what I have built so far.

Just uploaded my wget build.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sun Oct 08, 2006 4:02 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Got the debootstrap working. Have not got a switch or router where I am so can not test the download but the app runs which is a start.

Managed to reducec the list of processes running on the box. As I said before, I have extracted the kernel and initrd now.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group