Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Oct 17, 2017 12:27 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 168 posts ]  Go to page Previous 1 2 3 4 512 Next
Author Message
PostPosted: Sat Sep 01, 2012 11:45 pm 
Offline
Newbie
User avatar

Joined: Fri Aug 03, 2012 4:40 pm
Posts: 14
Yey, does that mean you are able to fw_printenv/fw_setenv?
fjen and me were talking about that some days ago :)

_________________
LS-CHLv2, Dockstar, Goflex Net, Raspberry Pi - all running Debian Squeeze


Top
   
PostPosted: Sun Sep 02, 2012 10:19 am 
Offline
Newbie

Joined: Fri Jan 06, 2012 10:37 pm
Posts: 9
Yep :up:

Code:
root@NAS:~# cat /etc/fw_env.config 
#MTD device name       Device offset   Env. size       Flash sector size
/dev/mtd1              0x00000         0x10000         0x10000

root@NAS:~# fw_printenv
bootdelay=3
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
eth1addr=XX:XX:XX:XX:XX:XX
bootcommon=setenv bootargs $(console) $(bootargs_root) $(bootargs_func) $(bootargs_debug) $(buffalo_ver) $(boot_part); bootm 0x00100000 0x00800000
tftpbootcmd=tftp 0x00100000 $(kernel); tftp 0x00800000 $(initrd); setenv boot_part tftpboot=yes; run bootcommon
idebootcmd=ext2load ide 0:1 0x00100000 /$(kernel); ext2load ide 0:1 0x00800000 /$(initrd); setenv boot_part ideboot=yes; run bootcommon
ethaddr=XX:XX:XX:XX:XX:XX
bootargs_root=root=/dev/sda2 rw panic=5
usbbootcmd=mw 0xf1010104 0xfff3f27f; mw 0xf1010100 0xc0d80; usb start; usb dev 0; ext2load usb 0:1 0x00100000 /$(kernel); ext2load usb 0:1 0x00800000 /$(initrd); setenv boot_part usbboot=yes; run bootcommon
bootcmd2=run usbbootcmd; run tftpbootcmd; run idebootcmd
ipaddr=192.168.2.150
serverip=192.168.2.32
console=netconsole=@192.168.2.150/eth1,6666@192.168.2.32/
bootcmd=run usbbootcmd; run idebootcmd



Top
   
PostPosted: Sun Sep 02, 2012 10:52 am 
Offline
Newbie
User avatar

Joined: Fri Aug 03, 2012 4:40 pm
Posts: 14
Nice one!! :up:
I know what I need to do later on :p

_________________
LS-CHLv2, Dockstar, Goflex Net, Raspberry Pi - all running Debian Squeeze


Top
   
PostPosted: Sun Sep 02, 2012 6:12 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Thank you for the patch mg21! It's integrated in 3.2.28-fjen-4. shyd confirmed it works.

I also got the 3.6rc4 running, which has flash access on mtd0 with these settings in /etc/fw_env.config:
Code:
/dev/mtd0               0x70000         0x10000          0x10000

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun Oct 21, 2012 12:06 am 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
@fjen ,

Excuse me my bad english.

Is your kernel compatible with LS-XHL v2 ?

Using the boot / root file system your provided, all need to do is create three partitions:

1. 128 megas to the boot files ( the boot file you provided). The archive have a boot folder, so need I to keep the files inside the boot folder or put it in root of this partition ?
2. xxx megas to file system ( your root file system) and my files.
3. yyy megas to swap partition

After that, update to your newest kernel and copy the folder the lib folder to " / " of file system ( number 2 of my list ) .

That is it ?

Sorry but this is the first time I am trying to install debian in my LS-XHL.


Top
   
PostPosted: Sun Oct 21, 2012 1:17 am 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
LeoKesler, your steps are basically right.
At (1) you don't need an extra boot folder in sda1. This partition will be mounted at /boot.
The kernel could run on a ls-xhl. The only critical part i can think of would be the appended device tree, which is different. Try and error. I will create one with the correct device tree information to help you.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun Oct 21, 2012 2:19 am 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
fjen wrote:
LeoKesler, your steps are basically right.
At (1) you don't need an extra boot folder in sda1. This partition will be mounted at /boot.
The kernel could run on a ls-xhl. The only critical part i can think of would be the appended device tree, which is different. Try and error. I will create one with the correct device tree information to help you.


Thank you.

I tried to install but for some reason, apparently the nas boots correctly but without any lan connection.

My linux knowledge is basic, so all I can do is look in dmesg and the others logs in /var/log . I will upload the boot and dmesg logs. Maybe it can help you.

http://www.mediafire.com/?e993qjpej0ipbf3


Top
   
PostPosted: Sun Oct 21, 2012 2:55 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Nothings interesting in your logs, can't find the source for your network problem. It seems that the lsxhl has the same network chip, so it should work fine.
Try this kernel image: http://neboola.de/fjen/lschlv2/kernel/r ... mage.lsxhl
It has the correct device tree information. No other changes.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun Oct 21, 2012 4:30 pm 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
fjen wrote:
Nothings interesting in your logs, can't find the source for your network problem. It seems that the lsxhl has the same network chip, so it should work fine.
Try this kernel image: http://neboola.de/fjen/lschlv2/kernel/r ... mage.lsxhl
It has the correct device tree information. No other changes.


Thanks, but I still unable to access the ls-xhl. Just to be sure, the nas is connect to a router and I have assigned a static ip address (in router) to nas get always the same ip, 191.168.10.100 .

I will provide the dmesg of my current configuration. I am using a modded debian, with kernel 2.6.31.8, from here:

http://forum.hdvnbits.org/nas/debian-sq ... 34611.html

I think I am making some mistake. If is my fault, sorry.

http://www.mediafire.com/?zbz51br3dx31djj

Edit: I dont know if this can help, but in my debian 2.6.31.8 , there is a file called u-boot_lsxh.bin. The version of this u-boot is, from inside of file:

U-Boot 1.1.4 (Mar 15 2011 - 14:53:08) Marvell version: 3.4.25

I tried using this file but the same problem with network happen.


Top
   
PostPosted: Mon Oct 22, 2012 4:57 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Can't help you there, it shouldn't be a kernel problem if the lsxhl uses the same network chip. Where do you see this uboot file?
------------
Kernel 3.6.3 is ready for everyone! I included a lsxhl image to test for LeoKesler and others.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Mon Oct 22, 2012 6:30 pm 
Offline
Newbie

Joined: Tue May 15, 2012 4:50 pm
Posts: 33
Kernel 3.6.3 is ready for everyone! I included a lsxhl image to test for LeoKesler and others.[/quote]

Fjen, where abouts are the images please.

thanks in advance.


Top
   
PostPosted: Mon Oct 22, 2012 6:37 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
wholly wrote:
Fjen, where abouts are the images please.

thanks in advance.

It's bundled with the other one. http://neboola.de/fjen/lschlv2/kernel/r ... -1.tar.bz2

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Tue Oct 23, 2012 12:18 am 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
fjen wrote:
Can't help you there, it shouldn't be a kernel problem if the lsxhl uses the same network chip. Where do you see this uboot file?
------------
Kernel 3.6.3 is ready for everyone! I included a lsxhl image to test for LeoKesler and others.


About the uboot file, it is installed with this version of custom debian:

http://forum.hdvnbits.org/nas/debian-sq ... 34611.html

If you wish, I can share the file.

About the new kernel, some progress. Still no networking, a file called null was created in /dev. Check the mediafire link for the logs and see the error in null file. Tomorrow I will try again, because I found some clues, like to remove the file :

/etc/udev/rules.d/70-persistent-net.rules

Anyway, thanks for all your help and patience.

http://www.mediafire.com/?27h4t7oq9xe8yao


Top
   
PostPosted: Tue Oct 23, 2012 11:49 am 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
That is it. The solution for my problem was simple. I deleted the file:

/etc/udev/rules.d/70-persistent-net.rules

and the network is working. The LS-XHL is pingable after 77 seconds. Probably, all the problems was that file.

I changed the port of ssh to 22 (it was 666).

Edit: in your sources.list , you are using Squeeze. Is possible to use Wheezy / SID and make a full upgrade of system ?


Top
   
PostPosted: Tue Oct 23, 2012 4:13 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
LeoKesler wrote:
I changed the port of ssh to 22 (it was 666).

Edit: in your sources.list , you are using Squeeze. Is possible to use Wheezy / SID and make a full upgrade of system ?

Good to hear that the kernel runs on the LS-XHL.

Sorry for the ssh port, didn't thought about changing that. I will add a note in the post.
You can change the squeeze parts to wheezy and do a dist-upgrade. Worked fine here. I will probably provide a wheezy image in the future.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


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

All times are UTC+01:00


Who is online

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