Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Wed Jul 18, 2018 7:20 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Apr 21, 2010 4:09 pm 
User avatar

Joined: Sun Oct 07, 2007 11:29 pm
Posts: 27
Location: Germany
Hello everybody,

I need your experience and knowledge in this case.
For testing and native compiling micro_evtd for Kurobox, TeraStation, Linkstation Pro/Live I set up an old 40GB harddisk in my LS Live v2 with Stock Firmware 1.06 and made it an Open Stock firmware.

Now I have to decide how I get an build environment on it and which one.
According to some forum posts the libc version of the stock fw is important too, to avoid compilation errors, etc.

Possible solutions I found or assume:
  1. IPKG repository from NSLU2
    • Is this what some people refer to as "optware"?
    • I read that cs08q1armel should be used for libc 2.5. Is there a list what repo to use for what glibc? Or is locking at the included libc-dev package enough?
    • Anything else I have to take care about or check before installing?
    • Important known problems?
  2. Official Buffalo native toolchain
    • Is there any officially released native toolchain by Buffalo, which can be cross-compiled and installed onto the device?
    • What about libc incompatibilities?
  3. Downloading one of the hundreds files here on NAS-Central.org
    • There are so many, which are recommended or serve a special purpose?
    • What about libc incompatibilities?

Any specific or general information is greatly appreciated.
Did I miss anything on the Wiki or forum? Please give links including a short comment.

Thanks in advance

This post will be updated with the new information as they arrive.

Here are the information for my specific case (if more info is need, then just PM me or contact me over my homepage):
Linkstation Live V2 (HS-DHGL) with Open Stock Firmware 1.06
# uname -a
Linux HS-DHGL57E #81 Wed Mar 7 11:17:24 JST 2007 armv5tejl unknown
# ls -la /lib/libc.*
lrwxrwxrwx    1 root     root           13 Apr 20 19:57 /lib/libc.so.6 -> libc-2.3.6.so
# /lib/libc.so.6
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Compiled by GNU CC version 3.4.4 (release) (CodeSourcery ARM 2005q3-2).
Compiled on a Linux 2.6.12-rc3 system on 2006-01-26.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        GNU Libidn by Simon Josefsson
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:

Linkstation Live V2 (HS-DHGL)(LSL2) with Debian Lenny incl. 2.6.26-2 kernel.

PostPosted: Mon Oct 11, 2010 5:11 pm 

Joined: Thu Apr 10, 2008 5:39 pm
Posts: 73
Location: HK
You can forget about compatibility with the stock glibc if you install you own sysroot together with your new build environment. I have compiled my own new build environment recently consist of the latest tools:

1) gcc/c++ 4.5.1
2) eglibc 2.10
3) binutils 2.20.51

The new environment is installed under /opt (similar to the optware approach) so it won't affect programs came with the stock.

If anyone interested I can upload the whole things here but I don't know how I can get upload access.


LinkStation Live V2, Stock Firmware: 1.20-0.76 Japan w/EXT3 root-fs & JFS Data Partitions

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 5 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:
Powered by phpBB® Forum Software © phpBB Limited