Power Developer https://powerdeveloper.org/forums/ |
|
Low latency kernel on Pegasos II https://powerdeveloper.org/forums/viewtopic.php?f=7&t=1306 |
Page 1 of 1 |
Author: | msanzullo [ Sun Jun 24, 2007 11:56 pm ] |
Post subject: | Low latency kernel on Pegasos II |
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 |
Author: | Neko [ Mon Jun 25, 2007 4:25 am ] |
Post subject: | Re: Low latency kernel on Pegasos II |
Quote: Did anybody succeed in compiling a low-latency kernel for Pegasos, to turn debian in something simlar to Ubuntustudio?
You need to make the right kind of kernel for a start; 'bzImage' isn't the right target.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). 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.. :) |
Author: | msanzullo [ Mon Jun 25, 2007 11:59 pm ] |
Post subject: | |
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 |
Author: | Neko [ Wed Jun 27, 2007 8:45 am ] |
Post subject: | |
Quote: 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?
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.Sorry if I'm not very clear, but, as you can see, I'm still a newby on Linux.... Don't forget root= if you have a disk to boot from and don't have an initramfs included. |
Page 1 of 1 | All times are UTC-06:00 |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |