Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu Dec 14, 2017 9:11 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 98 posts ]  Go to page 1 2 3 4 57 Next
Author Message
PostPosted: Mon Nov 13, 2006 1:41 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
Is it possible to install freelink using this full-blown debian server method?

frontalot doesn't mention which debian install image to use... is it kind of generic?

would one of sylver's debian for kuro images work as well (as long as it was for an HG, installed on an HG)?

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Mon Nov 13, 2006 2:07 am 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
davy_gravy wrote:
would one of sylver's debian for kuro images work as well (as long as it was for an HG, installed on an HG)?


I cannot see why not at this point, you would just have to partition the drive yourself on a knoppix workstation. You could extract the tmpimage.tz contained in any HG distribution probably. (I've found that this works in reverse for the Kuro-HG, it will run openlink, Freelink and a stock LS distro) the only issue would be if things smehow didn't work, you'd have to attach to a workstation to fix things.

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Nov 13, 2006 2:55 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
thanks, ramuk

ramuk wrote:
You could extract the tmpimage.tz



How does one do this? from what you are suggesting it should work w/ freelink..


can any valid, complete filesystem be simply untarred in a properly formatted, journaled, ext2 hdx1 partition, and the LS/HG would boot it? Would this work w/ a sylver debian? specifically, what images was frontalot talking about?

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Mon Nov 13, 2006 4:50 am 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
Open up the image.dat file using some sort of unzip program
Using the password found in the faq: http://buffalo.nas-central.org/index.php?title=Template:FirmwareFAQ#What_is_the_password_for_the_mipsel-hdhlan_2.x _firmware_image.dat.3F

Then you can extract the tmpimage.tgz, copy it over somewhere, you would essentially be using the same method as with a kurobox:
http://www.kurobox.com/mwiki/index.php/Debian_install

But you'd have to attach the hard drive to a linux workstation to do the partitioning, and unpack the tarball (tgz file) onto the
hard drive from there. Then you could hook everything back up, and pray hard.

Trouble is, if you got into EM mode on the LS, the only way to get out of it would be to reflash your LS using the firmware updater.

This is all theory of course, I haven ot tried it with an LS, I've pretty much stuck to the firmware updater for my LS.

davy_gravy wrote:
can any valid, complete filesystem be simply untarred in a properly formatted, journaled, ext2 hdx1 partition, and the LS/HG would boot it? Would this work w/ a sylver debian? specifically, what images was frontalot talking about?


You know I don't know, you can always find out yourself.

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Nov 13, 2006 5:16 am 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
davy_gravy wrote:
frontalot doesn't mention which debian install image to use... is it kind of generic?


This is a quite old article you know, I don't think anyone uses it now since FreeLink has been packaged up. I expect he was talking about a kuro-debian distribution in the article.... which I suppose could still be done.

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Nov 13, 2006 8:34 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
the easier way would be to flash the telnet/ftp-enabled firmimg.bin to the flash....then it would be dead easy to get sylvers image working...you could untar the timpimage.tgz to /dev/hda1 while in EM mode.

_________________
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
   
PostPosted: Mon Nov 13, 2006 12:39 pm 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
mindbender wrote:
the easier way would be to flash the telnet/ftp-enabled firmimg.bin to the flash.


I forgot about this.... I never had the courage to try it out myself, but this would essentialy give kuro-like functionality to the LS EM mode, then it would be easy, just like a kurobox

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Nov 13, 2006 9:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
mindbender wrote:
the easier way would be to flash the telnet/ftp-enabled firmimg.bin to the flash

ramuk wrote:
give kuro-like functionality to the LS EM mode


I took the plunge/bait/whatever and flashed my KuroHG w/ uboot a little over a week ago. I can say that I am very happy with being able to :

a. very predictably get into EM mode by simple pushing the red init button just after the power light stops blinking (although it take 1-2 minutes for the telnet interface to open up)

b. get out of it predictably -absolutely no need to open up the machine

c. easy access to it w/ telnet & ftp.

Before uboot on the KuroHG, it was bit of a pain... very happy with it now.

mindbender wrote:
telnet/ftp-enabled firmimg.bin to the flash


OK. I'm up for this - if I can get easy access like that for my LS-HG, I'd be so much better off if I didn't have to work w/ the flasher program...

What is the best way to go?

Just use the firmimg.bin in downloads.nas-central.org/flash_development/telnet_and_ftp_enabled_ramdisks/HG/ ?

I have read through your thread regarding telnet&ftp-enabled firmware... and I do understand that this has some uncertainties to it...still, I'm interested...

What is the difference in robustness/functionality w/ this and uboot ? How do they compare?

Use one or the other? Both?

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Tue Nov 14, 2006 12:05 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
there are 2 different versions of the ramdisks available.

1) just enhanced ramdisks inside the firmimg.bins.
they use the stock kernel and just have telnet + ftp-enabled + root-access.
they are made for those guys without UBoot.
2) enhanced firmimg.bins + 2.4.33.3-kernel
this is made for UBoot users....it does not have the check for NGNG in flash which sometimes prevents you from booting to the ramdisk without writing to the flash (swap OKOK to NGNG in the right flash partition)

they all are robust. question is:

1) which box??
2) which bootloader?

if you want the best handling then flash UBoot.

_________________
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
   
PostPosted: Tue Nov 14, 2006 11:32 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
I went to 2.4.33.3 (EM Mode firming.bin update) on my HG (I use UBoot too) and it works great :up:

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Wed Nov 15, 2006 1:18 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
lb_worm wrote:
I went to 2.4.33.3 (EM Mode firming.bin update) on my HG (I use UBoot too) and it works great


can I order one of those to go... Uboot, telnet&ftp-enabled firmimg.bin , w/ 2.4.33 kernel - all on an HG

ie. how to do this ? I just want to make sure I get the
-right version,
-the right order and
-the right locations in flash...

any help would be appreciated. It looks kind of productively busy in the other thread that I originally had posted the question in... though it seems as if it has resurfaced here... :)

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Wed Nov 15, 2006 2:48 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
OK, does this sound right?

on my HG,

Code:
cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00300000 00010000 "mtd_firmimg"
mtd1: 00070000 00010000 "mtd_bootcode"
mtd2: 00010000 00010000 "mtd_status"
mtd3: 00080000 00010000 "mtd_conf"
mtd4: 00400000 00010000 "mtd_allflash"


download/wget the uboot for hg

cd to its location on my LS-HG's hd,
untar it &

Code:
cksum u-boot-hg.flash

I didn't see a checksum posted - anyone know?

and then

Code:
dd if=u-boot-hg.flash of=/dev/mtdblock1 bs=1k 
 
cmp u-boot.bin /dev/mtd1


hoping for

Code:
cmp: EOF on u-boot-hg.flash
?


------------------------------------------


I'm unsure if this http://buffalo.nas-central.org/download/flash_development/telnet_and_ftp_enabled_ramdisks/HG/firmimg.bin is the firmimg.bin that I should use. Is this the right one?

would this get flashed to mtd0?

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Wed Nov 15, 2006 7:37 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
davy_gravy wrote:
I'm unsure if this http://buffalo.nas-central.org/download/flash_development/telnet_and_ftp_enabled_ramdisks/HG/firmimg.bin is the firmimg.bin that I should use. Is this the right one?

would this get flashed to mtd0?


it is good that you are unsure because it is the wrong one. it won`t harm to flash this firmimg.bin because it is only the telnet/ftp/root-enabled version with the stock kernel. and it has this check for "NGNG" in /dev/mtd2 which is annoying for UBoot users. (just do a "cat /dev/mtd2 > file_mtd2.txt" and look at the file...the kernel checks at bootup if NGNG can be found inside and if not it would refuse to load the EM Mode even if you want to trigger that from UBoot.)

you should use this one:
http://buffalo.nas-central.org/download/flash_development/uboot/u-boot-firmimg.bins/linux-2.4.33.3-list.mg.2/

but i recommend to flash UBoot first...you can do everything else later. UBoot is more important than the firmimg.bin.

i compared the procedure you are describing with this article here:
http://buffalo.nas-central.org/index.php?title=U-boot_bootloader#Flashing_U-Boot_from_Linux

and it looks ok.
i agree with you that it would be good to have a chksum for the binaries here....also i think it would be good to have a ram-version of UBoot here....we should post them somewhere obvious.

the procedure should be the same as with the kurobox HG

_________________
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
   
PostPosted: Wed Nov 15, 2006 11:36 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
mindbender wrote:
it is good that you are unsure because it is the wrong one.


Thats a good thing for me to know. ;) But is mtd0 the right location?

And does the firmimg.bin in u-boot-firmimg.bins/linux-2.4.33.3-list.mg.2 have telnet enabled?


If everything was good, I was thinking...

download/wget the firmimg.bin for hg that you give the link to (http://buffalo.nas-central.org/download/fl ... list.mg.2/)

cd to its location on my LS-HG's hd,
untar it &

Code:
cksum firmimg.bin


(if there is a cksum available)

and then

Code:
dd if=firmimg.bin of=/dev/mtdblock0 bs=1k 
 
cmp firmimg.bin /dev/mtd0




fingers crossed, again hoping for

Code:
cmp: EOF on firmimg.bin

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Wed Nov 15, 2006 11:38 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
mtd0 is correct for the firming image. The bootcode (UBoot) lives in 1 and OKOK/NGNG @ 2.

_________________
LS used as PVR and streaming source


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

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