All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jun 24, 2007 11:56 pm 
Offline


Wed Oct 20, 2004 7:13 am

15

Naples - ITALY
Did anybody succeed in compiling a low-latency kernel for Pegasos, to turn debian in something simlar to Ubuntustudio?
I'm trying, but I always get some strange behaviour and can't get make "bzImage" to work.
I'm experimenting kernel 2.6.21-5 (but my debian distro still runs 2.6.18-4, because after that I have't been able to get any vmlinuz image (only vmlinux).

any help is appreciated

mario


Top
 Profile  
 
PostPosted: Mon Jun 25, 2007 4:25 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
msanzullo wrote:
Did anybody succeed in compiling a low-latency kernel for Pegasos, to turn debian in something simlar to Ubuntustudio?
I'm trying, but I always get some strange behaviour and can't get make "bzImage" to work.
I'm experimenting kernel 2.6.21-5 (but my debian distro still runs 2.6.18-4, because after that I have't been able to get any vmlinuz image (only vmlinux).


You need to make the right kind of kernel for a start; 'bzImage' isn't the right target.

The correct one is "zImage.chrp" or at least "zImage". It should build automatically if you're using the "powerpc" (NOT "ppc") platform but you can always force it.

http://www.powerdeveloper.org/forums/vi ... .php?t=561

This is exactly the same problem, and there is a solution.. :)
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 11:59 pm 
Offline


Wed Oct 20, 2004 7:13 am

15

Naples - ITALY
Thank you very much for your reply...
I've seen the previous thread, and I understand I should use the mentioned (old) config file to build the new kernel. BUt can I use the new sources?
Is this the only way?
As a matte of fact, if I build the kernel with my current config I don't get errors. The only problem is that, at the end of the process, I don't get the vmlinuz file, but only a vmlinux.
Is there any way to turn it in a compressed and executable vmlinuz? Or to build it?
I'v been able to obtain instead, a zImage.chrp file. It's a very small file (1,6 M). Should I use it with some special boot option to see if it works?
Sorry if I'm not very clear, but, as you can see, I'm still a newby on Linux....

mario


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 27, 2007 8:45 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
msanzullo wrote:
Is there any way to turn it in a compressed and executable vmlinuz? Or to build it?


In linux/arch/powerpc/boot there is a script called "wrapper" which will build the correct kernel image for you.

"vmlinux" is not simply an uncompressed image; it should by rights be a small boot wrapper which decompresses a kernel into RAM and boots from it. It may be compressed or not depending on how it is built, but if it is built under the "powerpc" architecture it should always be.

"zImage[.chrp]" is just another name for it. However a ZImage generally implies that it contains an initramfs or other filesystem image, which is further loaded by the boot wrapper.

Quote:
I'v been able to obtain instead, a zImage.chrp file. It's a very small file (1,6 M). Should I use it with some special boot option to see if it works?
Sorry if I'm not very clear, but, as you can see, I'm still a newby on Linux....


boot scsi:0 zImage.chrp console=ttyPSC0 or video=radeonfb would help you here to see if something pops up.. depending on what you want your output to be. Otherwise you will not see a great deal of printed text besides the boot wrapper loading the initramfs.

Don't forget root= if you have a disk to boot from and don't have an initramfs included.
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group