Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Jan 16, 2018 4:14 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 120 posts ]  Go to page Previous 14 5 6 7 8
Author Message
PostPosted: Thu Dec 03, 2009 5:11 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
I can boot the kernel that I make just fine, but I don't think I was able to get his to boot. Not sure why this is (or don't remember, but I can still post the kernel headers tomorrow if you need them.

Let me know.

BTW, I build mine w/ OpenEmbedded (see foonas site). All the stuff for it is in foonas's git repository. I boot mine w/ LNI's older uboot bootloader.

_________________
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: Thu Dec 03, 2009 7:30 am 
Offline
Newbie

Joined: Thu Dec 13, 2007 2:31 pm
Posts: 21
Did you use the same patch file provided by Shihsung? I don't need the header files, thank. If you are using some different patch files then please let me know. Also did you use makimg to package the kernel? which entry point and virtual address you use? I used "readelf -l vmlinux" to get those value, is it the correct way?


Top
   
PostPosted: Sat Dec 05, 2009 3:29 pm 
Offline
Total Newbie

Joined: Sat Dec 05, 2009 3:25 pm
Posts: 2
Have managed to do all of the nstructons provided in page 5, together with setting the variale boothd t sda1 rather than hda1.

Booting works, but hten m not able to telnet or ssh into the system. Am not sure if the bootiing process stops at some point, as I do not get more output from netconsole.

Pinging the LS2 works, it is just the telnet / ssh entry into the box to sort out the rest that stops working.

thanks

Stephen


Top
   
PostPosted: Sat Dec 05, 2009 6:55 pm 
Offline
Total Newbie

Joined: Sat Dec 05, 2009 3:25 pm
Posts: 2
forget it, after a number of hours tryinh everything, finally managed.

thanks for all the hard work all you guys have done!


stephen


Top
   
PostPosted: Sun Dec 06, 2009 4:09 pm 
Offline
Newbie

Joined: Sun Nov 20, 2005 7:40 pm
Posts: 51
@davy_gravy: Can you disable the getty entries in /etc/inittab in your next Lenny image for mipsel? The terminals fail, because there are no /dev/tty* devices and inittab tries to start them every 5 minutes, resulting in a lot of errors in /var/log/syslog ("init: Id "1" respawning too fast: disabled for 5 minutes").


Top
   
PostPosted: Tue Dec 08, 2009 1:00 pm 
Offline
Newbie

Joined: Thu Dec 13, 2007 2:31 pm
Posts: 21
@davy_gravy,

I guess you can make more stuff into the foonas-em with the modified LNI's uboot, pls. see my other post. The kernel size is now only less than 2M, there will be much space left for you.

BTW, could you upload your root directory of the foonas-em initrd? So that I can do some customizations based on that. I am a bit lazzy you know...;-)


Top
   
PostPosted: Sat Jan 02, 2010 4:38 am 
Offline
Newbie

Joined: Sun Aug 05, 2007 4:15 am
Posts: 36
Is anyone interested in running linux-2.6.32.2? Here's the link http://sites.google.com/site/shihsung/r ... oc/hd-hlan


Top
   
PostPosted: Sun Jan 03, 2010 12:01 am 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
Hi shihsung - I've got your new uboot in and all is fine this time around. Haven't done alot and can't find the hd-hlan.uboot referenced on your page :

Quote:
# Booting kernel from Legacy Image at 80400000 ...
Image Name: Linux-2.6.32.2-0.1-hdhlan
Created: 2010-01-01 5:43:26 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 2199597 Bytes = 2.1 MB


I'm probably missing my head :(

Thanks and Happy New Year


Top
   
PostPosted: Sun Jan 03, 2010 3:10 am 
Offline
Newbie

Joined: Sun Aug 05, 2007 4:15 am
Posts: 36
Oops! I loaded the ARS-2033P kernel image onto the HD-HLAN page! I just fixed that. Please try again.

Happy New Year!


Top
   
PostPosted: Sun Jan 03, 2010 2:49 pm 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
shihsung wrote:
I just fixed that. Please try again.


There it is :up: !!

Code:
HD-HLAN# v
v

U-Boot 2009.11 (Dec 31 2009 - 23:03:54)
HD-HLAN# setenv hdfile boot/vmlinuz
setenv hdfile boot/vmlinuz
HD-HLAN# boot
boot
Loading file "boot/vmlinuz" from ide device 0:1 (hda1)
2199661 bytes read
## Booting kernel from Legacy Image at 82000000 ...                           
   Image Name:   Linux-2.6.32.2-0.1-hdhlan                                     
   Created:      2010-01-01   5:43:26 UTC                                     
   Image Type:   MIPS Linux Kernel Image (gzip compressed)                     
   Data Size:    2199597 Bytes =  2.1 MB                                       
   Load Address: 80002000                                                     
   Entry Point:  80006230                                                     
   Verifying Checksum ... OK     
   Uncompressing Kernel Image ... OK

Starting Kernel ...


Code:
matt@LinkStation2:~$ uname -a
Linux LinkStation2 2.6.32.2-0.1-HD-HLAN #1 Thu Dec 31 21:43:16 PST 2009 mips GNU/Linux


Code:
matt@LinkStation2:~$ sudo fw_printenv
[sudo] password for matt:
nfsboot=run nfsload nfsargs;bootm
bootdelay=10
baudrate=57600
autoload=no
stdin=nc
stdout=nc
stderr=nc
ipaddr=192.168.11.150
netmask=255.255.255.0
serverip=192.168.11.149
ncip=192.168.11.149
netretry=no
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
guaddr=81000000
hdpart=0:1
hdfile=boot/vmlinuz
hdload=echo Loading ${hdpart}:${hdfile};ext2load ide ${hdpart} ${ldaddr} ${hdfil                                                                             e}
hdboot=run hdload boothd
emboot=setenv bootargs root=/dev/ram0;bootm bfc40000
rootpath=/opt/nfsroot/mipsel
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ip                                                                             addr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
nfsfile=vmlinuz
nfsload=nfs ${ldaddr} ${serverip}:${rootpath}/${nfsfile}
bootretry=30
bootcmd1=run hdboot;run flboot
bootcmd2=run flboot
bootcmd3=run emboot
ubpart=0:3
ubfile=share/u-boot/u-boot-v2-mips.flash.bin
ubload=echo Loading ${ubpart}:${ubfile};ext2load ide ${ubpart} ${ldaddr} ${ubfil                                                                             e}
ubsaddr=bfc00000
ubeaddr=bfc2ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldadd                                                                             r} ${ubsaddr} ${filesize};cmp.b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=rc32434_eth
bootargs=root=/dev/sda1
ldaddr=82000000
boothd=setenv bootargs root=/dev/sda1;bootm
flboot=setenv bootargs root=/dev/sda1;bootm bfc40000
bootcmd=run bootcmd4
bootcmd5=ext2load ide 0:1 82000000 /boot-em/vmlinuz-em.gz; setenv bootargs=root=                                                                             /dev/ram0; bootm 82000000
bootcmd4=ext2load ide 0:1 82000000 boot/vmlinuz; set bootargs root=/dev/sda1 rw;                                                                              bootm 82000000
bootcmd6=ext2load ide 0:1 82000000 /boot-em/vmlinuz.gz; setenv bootargs=root=/de                                                                             v/ram0; bootm 82000000


Only thing I find is that sometimes during uboot countdown, hitting `anykey` doesn't stop the countdown?

What images does your uboot support?

If I wanted to build my own kernel on the LS, would I just patch latest kernel then:
Code:
make oldconfig    <<< e.g form davygravys
make uImage
make modules
make modules_install
wait 5 days...


Top
   
PostPosted: Sat Jan 09, 2010 10:17 pm 
Offline
Newbie

Joined: Sun Aug 05, 2007 4:15 am
Posts: 36
Yeah, that should build and install a new kernel natively for you. However, I have never tried to build the kernel natively myself. I always cross compile it which takes only 15 minutes on my virtual machine. Building the cross toolchian takes about an hour after all the tarballs were downloaded on my virtual machine.

Yes, sometimes net console drops key strokes especially during boot up on a busy network. I'll add some delay in my ethernet rx and tx functions to alleviate the problem.


Top
   
PostPosted: Sun Jan 17, 2010 5:45 pm 
Offline
Total Newbie

Joined: Sun Jan 17, 2010 5:30 pm
Posts: 1
Hi all - I found this thread earlier and thought I'd try installing lenny, I've been wanting to 2.6 my LS2 for ages.

I've installed lenny v4 from the instructions but I've got a booting problem:
LNI u-boot can start 2.6.23.17 kernel (no rtc driver loads?) but not the 2.6.30.5v2 updated kernel. Booting 2.6.30.5v2 results in no netconsole output after the booting message and the OS never seems to come up - no ping, no nmap, no nothing :( I guess kernel panic?

If I try to boot from vmlinuz.gz-ext4_tune2fs_fw-setwrite_inode-safe via tftp then I can log into the initrd without a problem, and this runs 2.6.30.5 so I'm confused..

Any thoughts on where I can start to figure out whats going on? My LS2 isn't doing anything important atm so I'm happy to flash it to the bleeding edge if it would help ;)

Cheers


Top
   
PostPosted: Sat Jan 30, 2010 11:15 am 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
shihsung,

Have you a newer patch for 2.6.32, I couldn't get it to build?

I have done my own 2.6.30.5, but I have no response from my button presses (I think in your 2.6.32 it was the same?), it would appear that this is due to this being set in the config:

Code:
CONFIG_SERIAL_8250_CONSOLE=y


Top
   
PostPosted: Tue Mar 30, 2010 8:39 pm 
Offline
Newbie

Joined: Wed Apr 19, 2006 6:48 am
Posts: 54
Bauldrick

Did you make it to patch 2.6.32?

I´ve 2.6.30.5 up and running, but I´d like to switch to the long term supported 2.6.32.
If anybody is interested, I can provide 2.6.30.5 with nearly all modules that work on the LS2.

CONFIG_SERIAL_8250_CONSOLE=y seems to no longer be a show stopper: Button presses work well for me. I´ve a "console=" on the kernel cmd line.


Top
   
PostPosted: Mon May 03, 2010 4:33 pm 
Offline
Total Newbie

Joined: Thu Mar 13, 2008 4:20 am
Posts: 1
It's bad to see such a great thread stalled. Is there any news about the 2.6.32? I can hardly calm myself down when i realize that the squeeze-ls2 has been on the way.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 120 posts ]  Go to page Previous 14 5 6 7 8

All times are UTC+01:00


Who is online

Users browsing this forum: Bing [Bot] 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:
Powered by phpBB® Forum Software © phpBB Limited