Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Apr 18, 2014 9:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Mon Feb 18, 2013 11:31 am 
Offline
Total Newbie

Joined: Mon Feb 18, 2013 11:28 am
Posts: 1
Hey thanks for the info Stonie :up:


Top
 Profile  
 
PostPosted: Mon Apr 08, 2013 3:58 am 
Offline
Newbie

Joined: Mon Mar 06, 2006 6:57 pm
Posts: 60
Thanks for all the work on this thread. I am trying to upgrade my LSHG but am stuck at the u-boot phase.

I have downloaded the binaries linked from the thread to my LS at /mnt/share/u-boot (via wget) (both the flash and ram binaries)
I am following the guide http://www.linuxnotincluded.pwp.blueyon ... stall.html for flashing guidance.

The part of the guide where I have run into trouble is:

Code:
For LinkStation HG / KuroBox HG run:
# cd /mnt/share/u-boot
# dd if=u-boot-hg.flash.bin of=/dev/mtd1 bs=1k
# cmp u-boot.bin /dev/mtd1

The above commands for LinkStation HG / KuroBox HG will work on devices with the original kernel version 2.4.20 but might to work on earlier devices using kernel version 2.4.17. Please check which device corresponds to the bootloader partition on your hardware.


The second command, dd, gives an error:
Code:
LinkStation:/mnt/share/u-boot# ls
u-boot-lsppchg-flash-1.2.0-r2.bin
LinkStation:/mnt/share/u-boot# dd if=u-boot-lsppchg-flash-1.2.0-r2.bin of=/dev/mtd1 bs=1k
dd: writing `/dev/mtd1': Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.217907 seconds, 0.0 kB/s
LinkStation:/mnt/share/u-boot#

This snippit includes a 'ls' showing my binary. The error relates to the '/dev/mtd1' to which the instructions suggest 'Please check which device corresponds to the bootloader partition on your hardware' ... I am guessing this is related but I am truly out of my depth. Guessing I referred to my fstab which notes /dev/hda1, but I don't know if this is related and it didn't work anyway.

I currently have 'loader.o' (?) installed and can boot either 2.6.xx or 2.4.20. The attempts above were from 2.4.20.

Any help or direction appreciated. Eager to get the old LS up and running again.


Top
 Profile  
 
PostPosted: Sun Sep 22, 2013 8:36 am 
Offline
Total Newbie

Joined: Tue Oct 03, 2006 6:59 pm
Posts: 4
stephenblender wrote:
The second command, dd, gives an error:
Code:
LinkStation:/mnt/share/u-boot# ls
u-boot-lsppchg-flash-1.2.0-r2.bin
LinkStation:/mnt/share/u-boot# dd if=u-boot-lsppchg-flash-1.2.0-r2.bin of=/dev/mtd1 bs=1k
dd: writing `/dev/mtd1': Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.217907 seconds, 0.0 kB/s
LinkStation:/mnt/share/u-boot#


For HS/HG, you should use /dev/mtdblock1
Similarly, when flash firmware 2.4.33, use /dev/mtdblock0


Top
 Profile  
 
PostPosted: Wed Feb 05, 2014 9:50 pm 
Offline
Newbie

Joined: Tue Nov 13, 2012 3:34 pm
Posts: 19
sorry my stupid question ( and I hope, that someone answer me)

My LS HG has the latest U-boot 1.2 and the lastest FooNAs in the flash. But I didn't know, how I should install the tgz.
Should I connect the HD on my Linux PC, create a diretory with the UUID in tgz and mount this one with bind and Tar -xzvf the tgz?
I've try it, but the LS doesn't boot from teh HD.
All hints to install pointed , how I install FooNas or U-boot ... I have this one bit how I should install Wheezy, that it could boot from HD?


Top
 Profile  
 
PostPosted: Thu Feb 06, 2014 9:40 am 
Offline
Newbie

Joined: Tue Nov 13, 2012 3:34 pm
Posts: 19
If I open the file Kuro-PPC-WheezyTootfs.2012.0708.tar, I can see first of all the UUID of the HD "2b9f1143-60fb-474b-9b24-cd98f3c6b6d8" ( It wasn't in the older tarballs [Kernel 2.6])

In this folder the needed files and folders are included.

If I copy the file to sda1 and

# tar -xzvf Kuro-PPC-WheezyTootfs.2012.0708.tar

I will have one folder like "2b9f1143-60fb-474b-9b24-cd98f3c6b6d8" in the root "/".

But this one will not work.
Must I really
* disconnect the Harddisk from the LS and
* connect the HD on a PC,
* create a folder with the name of 2b9f1143-60fb-474b-9b24-cd98f3c6b6d8 and
* mount this folder with --bind to the mounted Harddisk,
* untar the file

so that I received the coorect folder structur in the sda1 partition ? Or what is the trick ?


Top
 Profile  
 
PostPosted: Fri Feb 07, 2014 1:54 pm 
Offline
Newbie

Joined: Tue Nov 13, 2012 3:34 pm
Posts: 19
Hint if someone have the same issue:

Install:
* Connect via telnet ( Foonas-EM) to the LS
* delete, create and format the 3 Partitions ( sda1 and sda3 = ext3 // sda2 as swap )
* create a mountdir e.g. hd3 in /root and mount sda3 to hd3
* check in another PC via 7zip or Linux what is the UUID in the archiv (start with 2........)
* create a mountdir with the same name as the UUID and mount sda1 into this one
-- now we have in e.g. /root the subfolder hd3 and the long one starting with 2.....
* go into hd3 (cd hd3)
* load the tgz via wget [ wget ftp://<ip of your ftp-Server>/Kuro.....tgz ]
* extract the file with tar -xzvf <Name of the archiv> -C /root

--> tar does not create the subfolder with the UUID because it exist and all folder, files, links are avaialble after time in / from sda1
If yo have make a mistake with the long subfolder ( No. of the UUID) tar stopped after time with an errormsg. of low memory


Top
 Profile  
 
PostPosted: Fri Feb 07, 2014 1:56 pm 
Offline
Newbie

Joined: Tue Nov 13, 2012 3:34 pm
Posts: 19
One question in between :

the Kernel 3.4 does not contains the uvcvideo and V4l-common modules.
Does the moduleassistant works without problem, or must I comple the Kernel in total new?


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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