Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Mon Jun 25, 2018 12:05 am

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Fri Jan 12, 2007 3:16 am 
Offline

Joined: Thu Dec 07, 2006 9:14 am
Posts: 19
Hi,

I noticed that my KuroBox HG with the network supported U-Boot stops booting when it cannot reach the target IP 192.168.11.149 that is configured in it.

My network has a different number space and when I started the box it never went on beyond the faded blinking of the power LED. Only after I changed the IP of one PC to the 192.168.11.149 it worked.

As solution I changed the IP addresses in the U-Boot menu to my number space and as target a PC that was up when I boot the box. Since then I don't have problems booting. It is not really necassary to run netcat, seems like that a reachable IP is all that U-Boot wants.

didi


Top
   
 Post subject:
PostPosted: Fri Jan 12, 2007 8:25 am 
Offline

Joined: Thu Jun 23, 2005 12:24 pm
Posts: 287
You are using LNI's 2.0 patch. Upgrade to U-Boot with the latest patch (2.1, I think) and that behavior will go away.


Top
   
 Post subject:
PostPosted: Fri Jan 12, 2007 8:41 am 
Offline

Joined: Thu Dec 07, 2006 9:14 am
Posts: 19
Dave Taylor wrote:
You are using LNI's 2.0 patch. Upgrade to U-Boot with the latest patch (2.1, I think) and that behavior will go away.


Thanks Dave,

Is there a binary available or do I need to compile that by myself?

The version I used I got from here:
http://www.kurobox.com/downloads/Flash_ ... otloaders/


Top
   
 Post subject:
PostPosted: Fri Jan 12, 2007 9:02 am 
Offline

Joined: Thu Jun 23, 2005 12:24 pm
Posts: 287
I believe the one at linkstationwiki is the latest one. You would just need to redefine the kernel name in the u-boot environment.


Top
   
 Post subject:
PostPosted: Sat Jan 13, 2007 5:14 am 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
(The first thing I do when I have a problem is to search for posts by Didi - as you flashed U-Boot to your Kuro at the same time as me)

Yes, I have the same problem. Well, it's not causing me real trouble, but it is annoying.

My dilemma is: do I flash 2.1 U-Boot now, or just wait (days? weeks? months?) for the fdt-compatible U-Boot to stabilise use that with the stock 2.6.20 kernel? :?


Top
   
 Post subject:
PostPosted: Sun Jan 14, 2007 11:53 am 
Offline

Joined: Fri Dec 22, 2006 5:57 am
Posts: 2
Alright, if anyone is still having a problem with this, simply go into your U-Boot console and do a:

Code:
setenv netretry no


And then save it with:

Code:
saveenv


If you upgrade U-Boot from an existing U-Boot, it has the tendency to remember your old environment variables... :)


Top
   
 Post subject:
PostPosted: Sun Jan 14, 2007 1:53 pm 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
Berklee wrote:
Code:
setenv netretry nosaveenv

As first posts go, yours is better than most! I'll give it a go...

M


Top
   
 Post subject:
PostPosted: Thu May 31, 2007 7:14 am 
Offline

Joined: Sun May 07, 2006 12:15 am
Posts: 92
Location: Tokyo, Japan
I've followed the instructions on this wiki and the forum, but I just can't get the kurobox to boot when there is no server at 192.168.11.149 !

I updated from the nijino bootloader to this one. Used this file:
http://www.kurobox.com/downloads/Flash_ ... NI.Patched
and also tried
http://downloads.linkstationwiki.net/Us ... NI.Patched
which seem to be the same file, but I tried both anyways.

I even added the netretry=no to the environment and saved it... but still just keeps fading in and out the power button.
Code:
bootargs=root=/dev/hda1
bootcmd=run bootcmd1
nfsboot=bootp;run 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
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
ldaddr=800000
hdpart=0:1
hdfile=boot/vmlinux.UBoot
hdload=echo Loading ${hdpart}:${hdfile};ext2load ide ${hdpart} ${ldaddr} ${hdfil
e}
boothd=setenv bootargs root=/dev/hda1;bootm ${ldaddr}
hdboot=run hdload boothd
flboot=setenv bootargs root=/dev/hda1;bootm ffc00000
emboot=setenv bootargs root=/dev/ram0;bootm ffc00000
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ip
addr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
bootretry=30
bootcmd1=run hdboot;run flboot
bootcmd2=run flboot
bootcmd3=run emboot
conscmd1=run nc
conscmd2=run ser
writeng=protect off fff70000 fff7ffff;era fff70000 fff7ffff;mw.l 800000 4e474e47
 1;cp.b 800000 fff70000 4
writeok=protect off fff70000 fff7ffff;era fff70000 fff7ffff;mw.l 800000 4f4b4f4b
 1;cp.b 800000 fff70000 4
ubpart=0:3
ubfile=share/u-boot/u-boot-hd.flash.bin
ubload=echo Loading ${ubpart}:${ubfile};ext2load ide ${ubpart} ${ldaddr} ${ubfil
e}
ubsaddr=fff00000
ubeaddr=fff2ffff
ubflash=protect off ${ubsaddr} ${ubeaddr};era ${ubsaddr} ${ubeaddr};cp.b ${ldadd
r} ${ubsaddr} ${filesize};cmp.b ${ldaddr} ${ubsaddr} ${filesize}
upgrade=run ubload ubflash
ethact=COMET#0
netretry=no

Environment size: 1507/65532 bytes


Any ideas???? :?:


Top
   
 Post subject:
PostPosted: Thu May 31, 2007 11:41 pm 
Offline

Joined: Sun May 07, 2006 12:15 am
Posts: 92
Location: Tokyo, Japan
Just realized that these latest binaries are NOT the latest patch.. 2.01 vs 2.1 ...

Will need to roll my own bins then.
Thanks.


Top
   
 Post subject:
PostPosted: Wed Jun 06, 2007 9:48 pm 
Offline

Joined: Fri May 26, 2006 12:59 pm
Posts: 21
Location: Limerick, Ireland
Hi jkk,

If you get this working, could you post the uboot bins somewhere for others to try them?

Thanks,

Gordon


Top
   
 Post subject:
PostPosted: Thu Jun 07, 2007 4:06 am 
Offline

Joined: Sun May 07, 2006 12:15 am
Posts: 92
Location: Tokyo, Japan
Hi,

I used the bin from baulab's site:
http://www.genbako.com/u-boot_loader/

Thanks Baulab.


Top
   
 Post subject:
PostPosted: Wed Nov 14, 2007 8:53 am 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
After months of tweaking my Kurobox to finally get it to work with U-Boot and AVR_EVTD, I took it home and it suffered from the same "won't boot, pulsing power LED" infliction. I know it's obvious to most how to apply the patch that jkk suggested. But for those that aren't sure, can someone please point me to some instructions as to how this is done.

Thanks!

(Hopefully one of these days I won't need to be spoon fed anymore) :(


Top
   
 Post subject:
PostPosted: Wed Nov 14, 2007 9:05 am 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
I had this problem, which only went away after I built and installed my own U-Boot binaries. (This was necessary to support the device-tree feature of the 2.6.x kernel)

The "setenv netretry" idea didn't work for me.

Matthew


Top
   
 Post subject:
PostPosted: Wed Nov 14, 2007 2:57 pm 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
Lardmonster wrote:
I had this problem, which only went away after I built and installed my own U-Boot binaries.


So that means you never used the .bin from http://www.genbako.com/u-boot_loader/? Is there a reason not to use this one opposed to creating your own?

If one were to use the .bin from genbako.com, how does one proceed? I'm going to take a stab and guess that the .bin would go into /usr/src and from there follow the steps from this point?

Thanks


Top
   
 Post subject:
PostPosted: Wed Nov 14, 2007 4:06 pm 
Offline

Joined: Sat Jul 15, 2006 8:49 am
Posts: 219
Location: Virginia
Judging by the dates of the files there, I suspect it is not u-boot with dtb support for the vanilla kernel (like would be built from the instructions you link to). Download the .bin file and do this:

Code:
$ head -c 52 u-boot-hg.flash.bin
'VU-Boot 1.1.4 LiSt 2.1.0 (Sep 21 2006 - 00:14:53)$

I don't think that will do it.

I used this .bin file here: http://downloads.nas-central.org/Users/timtimred/lsppchg/
so I can vouch for that one (at least it booted with the network cable unplugged - then it went crazy with DHCP requests when I plugged it back in but that was the OS, uboot had already done its job). The file there is for an HG. If you don't have an HG, use the one here instead: http://downloads.nas-central.org/Users/timtimred/lsppchd/

For the one I used I get:
Code:
$ head -c 52 u-boot-lsppchg-1.2.0-r2.bin
'VU-Boot 1.2.0 (Apr 10 2007 - 19:13:32) LinkStatio$


The problem with trying to build your own currently is that the git repository referenced in the instructions is gone, you have to get the uboot source from somewhere else as someone mentioned in another thread.

Good luck


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page 1 2 Next

All times are UTC-06:00


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:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited