Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Fri Apr 20, 2018 10:43 am

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 
Author Message
PostPosted: Thu May 31, 2007 7:53 pm 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
Hey guys!

I finally managed to get Ubuntu Feisty running off my kurobox hg, after a LONG period of battle.

I've setup a basic page with instructions on what I did to install Ubuntu from scrath.

http://www.kurobox.com/mwiki/index.php/ ... he_kurobox

Please, feel free to drop any improvement/sugestion.

Ubuntu is running smoothly, but I still can't get dpkg-reconfigure locales to run correctly!!

Soon, I'll post an image, that will make the installing process easier.

You WILL need the Newer Uboot from git in order to try this out.


Top
   
 Post subject:
PostPosted: Fri Jun 01, 2007 1:58 am 
Offline

Joined: Thu Jul 20, 2006 2:46 am
Posts: 82
Good skills wladston

_________________
monkeyboy


Top
   
 Post subject:
PostPosted: Fri Jun 01, 2007 2:06 am 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
The info in there comes mostly from information I gathered on numerous guides. That's the first guide I'm writing :)

Let's hope the Ubuntu lovers out there come join me :)


Top
   
 Post subject:
PostPosted: Mon Jun 04, 2007 6:00 am 
Offline

Joined: Sat Jan 28, 2006 3:13 pm
Posts: 16
Thanks, followed the guide to the letter and it all worked great!

Now...can you do a guide for gentoo :-)


Top
   
 Post subject:
PostPosted: Mon Jun 04, 2007 3:56 pm 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
spamman, amazing! :)

Anything you would like to suggest for improving the guide ?? I would like to leave it as simple as possible... It's a pity the newer version of the U-boot is required ... would be nice to have Ubuntu very easily instalable, even for linux-newcomers...

Something I would like to do is a simple temporary system running on a 2.6 kernel, that is SMALL in size, and can run wget and debootstrap, nothing else... that would make the instalation steps easier ...

Another idea is to change the EM mode kernel to a newer one, that would probably eliminate the need for a temporary system...

Also, maybe it's possible to email the guys at Ubuntu, so we can have automatic updates on the kernel-Kurobox ?


Top
   
 Post subject:
PostPosted: Tue Jun 05, 2007 3:15 am 
Offline

Joined: Sat Jan 28, 2006 3:13 pm
Posts: 16
I think the instructions are fine...this type of thing is not really for the linux noobie anyway...

Following the ubuntu install I spent today using the starting method you described and have a native ppc32 2007.0 Gentoo image working with just the default ppc profile ...amazing!

I will make a post with the extremely rough method I followed in case anyone else wants to give it a crack.

Spamman


Top
   
 Post subject:
PostPosted: Sat Sep 01, 2007 2:41 pm 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
wladston>

Excellent guide, dude... I'm following it now (with one or two minor changes) and it seems to be working great :)

Huge thanks for this. I've been using Gentoo for six months, but starting to get fed up with the compile times. And I thought it was about time I upgraded U-Boot to one with dtc support. Today's the day!

I'll be making some minor tweaks to the wiki - hope that's OK!

Matthew


Top
   
 Post subject:
PostPosted: Sun Sep 02, 2007 11:44 am 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
Lardmonster,

This is great!

Well, if you can help, one thing that I couldn't figure out how to do was to run debootstrap directly from the rescue mode. If that is not possible, another great thing to do would be to make a minimal debian/ubuntu system, with JUST the enought to run deboostrap.

If you have any doubts on how I did it here, don't hesitate to ask.


Top
   
 Post subject:
PostPosted: Mon Sep 03, 2007 3:48 am 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
"debootstrap from EM mode" would be really great... but in the end I just followed the "debootstrap from a temporary Debian" route.

My only real problem is that the homebrew kernel won't boot, and I can't get netconsole to work. (In fact, I've never had netconsole working). So I'm still using Sylver's 2.6.21 kernel from the temporary Debian install.

The good news for you lot (or bad news for me) is that I messed up my partitioning, so may do it again from scratch, now I know roughly how it works. Probably next Saturday.

Will report back then...

Matthew


Top
   
 Post subject:
PostPosted: Mon Sep 03, 2007 6:47 am 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
I wrote:
"My only real problem is that the homebrew kernel won't boot

I just realised that I'm not telling U-Boot where to find the new "boot/kuroboxHG.dts" (or "boot/kuroboxHG.dtb") file.

Do I need to tell U-Boot explicitly? If so, how?


Top
   
 Post subject:
PostPosted: Mon Sep 03, 2007 8:07 am 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
mmm... I don't remember having to worry about this ...

It's probably included on the linkstation_defconfig file the instruction to load this file...

Well, if something goes wrong, post the problem and we'll try to find more about it :)


Top
   
 Post subject:
PostPosted: Tue Sep 04, 2007 1:06 pm 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
Hmm, I don't understand.

This is what I see when I try to boot the new kernel:

Code:
U-Boot 1.2.0-g6af43833-dirty (Sep  1 2007 - 10:06:55) LinkStation HG / KuroBox HG
stdin :   nc
stdout:   nc
stderr:   nc
IDE:   Bus 0: .....OK
  Device 0: Model: ST3320620A Firm: 3.AAE Ser#: 9QF0W53J
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:3:boot/vmlinux.UBoot

1588544 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1588480 Bytes =  1.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK


In other posts on this forum, I've seen messages about "flat device tree" after "Uncompressing Kernel Image". (Posts here and here.) I wonder why it doesn't happen for me?

The contents of my /boot directory are:
Code:
total 1564
-rw-r--r-- 1 root root    2196 Sep  4 13:57 kuroboxHG.dtb
-rw-r--r-- 1 root root    3369 Sep  4 13:56 kuroboxHG.dts
-rw-r--r-- 1 root root 1588544 Sep  4 13:56 vmlinux.UBoot


And I still cannot get "netconsole" to work, despite having the following:
Code:
bootargs=root=/dev/sda3 netconsole=@192.168.11.150/eth0,192.168.11.149/00:15:00:0E:13:D0


Thanks in advance for any ideas!

Matthew


Top
   
 Post subject:
PostPosted: Thu Sep 06, 2007 5:45 am 
Offline

Joined: Fri Oct 29, 2004 6:00 am
Posts: 91
Location: UK
To answer my own question (and for the benefit of anyone else who's as careless as me)...

I think I forgot to apply the "u-boot-kurobox-fdt.patch" patch, which tweaks the "hdload" and "boothd" U-Boot variables.

I'll change them manually tonight and try again.

(I feel stupid)

Matthew


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 

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