Thread View: comp.os.linux.powerpc
5 messages
5 total messages
Started by Olivier Gaumond
Mon, 09 Dec 2002 02:41
Recompile kernel for PowerPC
Author: Olivier Gaumond
Date: Mon, 09 Dec 2002 02:41
Date: Mon, 09 Dec 2002 02:41
30 lines
1878 bytes
1878 bytes
I would like to have some precisions to manually install a new kernel
on a PowerPC currently running Debian 3.0 with kernel 2.2.20
Here are the step I took, but without success.
1. Download the latest sources from kernel.org (2.4.19)
2. Untar them under /usr/src/linux
3. Get the linuxppc source tree with
rsync -avz --delete source.mvista.com::linuxppc_2_4
/usr/src/linux
4. make clean
5. make menuconfig
6. make dep
7. make
8. make bzImage
9. make modules
10. make modules_install
11. cp /usr/src/linux/vmlinuz /boot/vmlinux-2.4.19-pmac
12. Added an entry in /etc/quik.conf to point to the new image
13. reboot
When I try to boot with the new image it begins to load, then the
screen goes black. I can still boot with the old image.
Is there any other files I need to copy or did I forget a step? Any
docs about that? The Kernel-HOWTO explain steps for RedHat on i386, I
tried to adapt the instructions but without success.
Thanks.
Olivier
Re: Recompile kernel for PowerPC
Author: Rod Smith
Date: Mon, 09 Dec 2002 16:24
Date: Mon, 09 Dec 2002 16:24
23 lines
2211 bytes
2211 bytes
In article <b3ae677.0212081841.22206da7@posting.google.com>, ogaumond@yahoo.com (Olivier Gaumond) writes: > I would like to have some precisions to manually install a new kernel > on a PowerPC currently running Debian 3.0 with kernel 2.2.20 > > Here are the step I took, but without success. ... > When I try to boot with the new image it begins to load, then the > screen goes black. I can still boot with the old image. I suspect you omitted an important kernel driver. I recently compiled 2.4.19 on a Debian 3.0 system and ran into this problem. IIRC, I had to add in frame-buffer support before my iMac would give me a display, but I didn't take notes on the details. (Without a display, the system booted, and I could get to it via SSH from other systems on my network.) I think the Open Firmware Frame Buffer Device Support option in the Console Drivers->Frame-Buffer Support kernel menu was the critical item, but I'm not positive of that. -- Rod Smith, rodsmith@rodsbooks.com http://www.rodsbooks.com Author of books on Linux, networking, & multi-OS configuration
Re: Recompile kernel for PowerPC
Author: I R A Darth Aggie
Date: Mon, 09 Dec 2002 19:09
Date: Mon, 09 Dec 2002 19:09
29 lines
2296 bytes
2296 bytes
On Mon, 09 Dec 2002 16:24:02 GMT, Rod Smith <rodsmith@nessus.rodsbooks.com>, in <une2ta-2l7.ln@speaker.rodsbooks.com> wrote: +> In article <b3ae677.0212081841.22206da7@posting.google.com>, +> ogaumond@yahoo.com (Olivier Gaumond) writes: +> > I would like to have some precisions to manually install a new kernel +> > on a PowerPC currently running Debian 3.0 with kernel 2.2.20 +> > +> > Here are the step I took, but without success. +> ... +> > When I try to boot with the new image it begins to load, then the +> > screen goes black. I can still boot with the old image. +> +> I suspect you omitted an important kernel driver. In Debian, I think it is important to use the current kernel's configuration as a jumping off point. They are now including the config file in /boot/. Simply copy that file to /usr/src/linux/.config and then "make oldconfig". Be aware that I'm going from memory, so consult the relevant README's and HOWTOs. James -- Consulting Minister for Consultants, DNRC I can please only one person per day. Today is not your day. Tomorrow isn't looking good, either. I am BOFH. Resistance is futile. Your network will be assimilated.
Re: Recompile kernel for PowerPC
Author: Olivier Gaumond
Date: Thu, 12 Dec 2002 05:33
Date: Thu, 12 Dec 2002 05:33
49 lines
3100 bytes
3100 bytes
I tried some things and read a lot and I have a big problem finding the correct sources for the PPC Linux Kernel. I don't need the very latest kernel, but I need a stable 2.4. Where should I get the source? There is some trees available trough rsync, however most of these seem to be developpement trees. From kernel.org I can have the latest stable source and there are also some patches available for PPC. Which combination of full source and patches I need? What full source do I start from (the latest is 2.4.20) and do I have to apply all the PPC patches (they go up to 2.4.18). I've already compiled a Kernel for i386 but never achieved to compile it for PowerPC, also I never patched a kernel, however this doesn't seem to be complicated, simply must know which patches to apply. Also, where could I find doc specificly for the PowerPC architecture, I'va had a hard time finding some. Thanks Olivier sy_nttvr@gurcragntba.pbz (I R A Darth Aggie) wrote in message news:<slrnav9qk0.pa1.sy_nttvr@gurcragntba.pbz>... > On Mon, 09 Dec 2002 16:24:02 GMT, > Rod Smith <rodsmith@nessus.rodsbooks.com>, in > <une2ta-2l7.ln@speaker.rodsbooks.com> wrote: > +> In article <b3ae677.0212081841.22206da7@posting.google.com>, > +> ogaumond@yahoo.com (Olivier Gaumond) writes: > +> > I would like to have some precisions to manually install a new kernel > +> > on a PowerPC currently running Debian 3.0 with kernel 2.2.20 > +> > > +> > Here are the step I took, but without success. > +> ... > +> > When I try to boot with the new image it begins to load, then the > +> > screen goes black. I can still boot with the old image. > +> > +> I suspect you omitted an important kernel driver. > > In Debian, I think it is important to use the current kernel's > configuration as a jumping off point. They are now including the > config file in /boot/. Simply copy that file to /usr/src/linux/.config > and then "make oldconfig". > > Be aware that I'm going from memory, so consult the relevant README's > and HOWTOs. > > James
Re: Recompile kernel for PowerPC
Author: Rod Smith
Date: Thu, 12 Dec 2002 15:54
Date: Thu, 12 Dec 2002 15:54
24 lines
2415 bytes
2415 bytes
In article <b3ae677.0212112133.6789f539@posting.google.com>, ogaumond@yahoo.com (Olivier Gaumond) writes: > I tried some things and read a lot and I have a big problem finding > the correct sources for the PPC Linux Kernel. > > I don't need the very latest kernel, but I need a stable 2.4. Where > should I get the source? There is some trees available trough rsync, > however most of these seem to be developpement trees. > > From kernel.org I can have the latest stable source and there are also > some patches available for PPC. Which combination of full source and > patches I need? What full source do I start from (the latest is > 2.4.20) and do I have to apply all the PPC patches (they go up to > 2.4.18). I used a 2.4.19 kernel from kernel.org with no special PPC patches. It compiled fine and works for me, with the exception of sound, which doesn't seem to work. It's possible that patches are needed for some configurations or features, though; I've not followed this very closely. -- Rod Smith, rodsmith@rodsbooks.com http://www.rodsbooks.com Author of books on Linux, networking, & multi-OS configuration
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads