Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Jul 22, 2018 11:17 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Mar 18, 2009 2:19 pm 
Offline
Newbie

Joined: Wed Mar 18, 2009 2:07 pm
Posts: 5
Ok guys.. hi everybody, i'm new here and i just start making questions :D

I own a mipsel LS2 Nas (bought recently) and it was just easy to install Freelink into this wonderful product...
Now the problem is that i need a modern kernel inside it and my linux knowledge is just a dummy behind yours... I've red the instructions to get it into the flash but, honestly, I fell not comfortable about all that long and nasty procedure, tought I'm daily using virtualized Debians for web pourposes.

Now the question is: does out there exist a friendly procedure to achieve that without compiling and messing around with a million things that could go wrong and then me crazy???

Thankyous and sorry for bothering :|


Top
   
PostPosted: Wed Mar 18, 2009 4:05 pm 
Offline
Site Admin
User avatar

Joined: Tue Mar 21, 2006 9:11 pm
Posts: 658
as I recall, the mipsel box does not use uboot and a uImage. it has a different bootloader and kernel format. Make sure you are using the correct bootloader or you will certainly make a brick.

_________________
My completely scratch built 832 push-pull tube amplifier with Padauk frame. It matches my custom mini-ITX machine.


Top
   
PostPosted: Wed Mar 18, 2009 4:13 pm 
Offline
Newbie

Joined: Wed Mar 18, 2009 2:07 pm
Posts: 5
Thanks for interesting... please follow me on this :?

Ok.. I wasn't able to hold me anymore so I installed into the box the "easy" precompiled uboot (the safe one) and relative kernel images...
Once I run the script for loader my putty sets off cause NAS is rebooting, it's ok.
But in this "impatient man guide" http://downloads.buffalo.nas-central.org/LS2_MIPSel/Bootloader/Uboot/Precompiled/READMEUBOOT.TXT I can't find the listening port UBOOT was compiled for, so I don't know where NETCAT should point to!!!

Anybody knows that?? Please help :biglol:

(however the NAS reboots good and stays with blinking power led for 2 minutes at least)


Top
   
PostPosted: Wed Mar 18, 2009 5:56 pm 
Offline
Newbie

Joined: Wed Mar 18, 2009 2:07 pm
Posts: 5
Ok then... i found the port was 6666

Now the problem is that the printed text in terminal is not getting further than this

Code:
imayoda@debian:~$ nc -u -p 6666 -v 192.168.11.150 6666
192.168.11.150: inverse host lookup failed: Unknown host
(UNKNOWN) [192.168.11.150] 6666 (?) open


I used netcat on a Debian machine

:cry:


Top
   
PostPosted: Wed Mar 18, 2009 6:12 pm 
Offline
Site Admin
User avatar

Joined: Tue Mar 21, 2006 9:11 pm
Posts: 658
My apologies. It has been a long time and I didn't realize that the LS2 was using uboot. When I was active in the project the bootloader was IDT/sim. uboot was likely compiled to talk to netcat on 192.168.11.149, but I'm not positive about this.

_________________
My completely scratch built 832 push-pull tube amplifier with Padauk frame. It matches my custom mini-ITX machine.


Top
   
PostPosted: Wed Mar 18, 2009 6:33 pm 
Offline
Newbie

Joined: Wed Mar 18, 2009 2:07 pm
Posts: 5
kuroguy wrote:
My apologies. It has been a long time and I didn't realize that the LS2 was using uboot. When I was active in the project the bootloader was IDT/sim. uboot was likely compiled to talk to netcat on 192.168.11.149, but I'm not positive about this.

No need to apologise, time formats human mind :D
Yes, 192.168.11.149:6666 to 192.168.11.150:6666 (comunication starts)

However, I'm still stuck in that "open" state with no output from Uboot at all...

I wrote linuxnotincluded, hope to get supported by him... linux has no sense if I can't get this box running Lenny :lol:


Top
   
PostPosted: Wed Mar 18, 2009 10:45 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
hmm... are your network and subnet values set correctly so that they can see each other? I'm not sure if any firewalls could disrupt connectivity.

I use this command:
Code:
nc -u -p 6666 -v 192.168.11.150 6666


In the README or "Uboot for the impatient" that he includes, it does go through the sequence accurately (make sure you follow his directions exactly) ... have you been able to get the RAM build of uboot to work?

If you don't see the stanza
Code:
U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:40:49)
then you haven't connected to it at all yet...

I just flashed on junker/salvage-grade LS2 w/ uboot Monday... the entire output you should eventually see looks like this:
Code:
192.168.11.150: inverse host lookup failed: Unknown host
(UNKNOWN) [192.168.11.150] 6666 (?) open

U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:40:49)
stdin :   nc
stdout:   nc
stderr:   nc
IDE:    Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD2500BB-00RDA0  Firm: 20.00K20 Ser#: W -DMWNA2K525080
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Boot in 04 seconds ('s' to stop)...s

=> run upgrade
run upgrade
Loading 0:3:share/u-boot/u-boot-v2-mips.flash.bin

164732 bytes read
Un-Protected 10 sectors

Flash erase: first = 0 @ 0xbfc00000
             last  = 9 @ 0xbfc20000
Flash erase: Done
Erased 10 sectors
Copy to Flash... done
Total of 164732 bytes were the same
=> reset
reset

U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:42:23)
stdin :   nc
stdout:   nc
stderr:   nc
IDE:    Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD2500BB-00RDA0  Firm: 20.00K20 Ser#: W -DMWNA2K525080
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Boot in 03 seconds ('s' to stop)...s

=> tftp 82000000 vmlinuz92608foonasem.gz
tftp 82000000 vmlinuz92608foonasem.gz
Using rc32434_eth device
TFTP from server 192.168.11.149; our IP address is 192.168.11.150
Filename 'vmlinuz92608foonasem.gz'.
Load address: 0x82000000
Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #######
done
Bytes transferred = 3362500 (334ec4 hex)
=> setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram0 rw
setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram0 rw
=> bootm 82000000
bootm 82000000
## Booting image at 82000000 ...
Found gzip-ed image at 0x82000000. Uncompressing ...done
Loading .text @ 0x80100000 (2037832 bytes)
Loading __ex_table @ 0x802f1850 (6112 bytes)
Loading .notes @ 0x802f3030 (36 bytes)
Loading .rodata @ 0x802f4000 (123436 bytes)
Loading .pci_fixup @ 0x8031222c (1400 bytes)
Loading __ksymtab @ 0x803127a4 (15448 bytes)
Loading __ksymtab_gpl @ 0x803163fc (4064 bytes)
Loading __ksymtab_strings @ 0x803173dc (44908 bytes)
Loading __param @ 0x80322348 (360 bytes)
Loading .data @ 0x80324000 (77792 bytes)
Loading .data.cacheline_aligned @ 0x80337000 (192 bytes)
Loading .init.text @ 0x80338000 (120580 bytes)
Loading .init.data @ 0x80355708 (6300 bytes)
Loading .init.setup @ 0x80356fb0 (756 bytes)
Loading .initcall.init @ 0x803572a4 (404 bytes)
Loading .exit.text @ 0x80357438 (2032 bytes)
Loading .init.ramfs @ 0x80358000 (2157552 bytes)
Clearing .bss @ 0x80567000 (94000 bytes)

Starting kernel @ 0x80338000...


_________________
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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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