Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Compiling a Linux-ALPHA kernel
@ 1998-05-15  4:00 gordo16
  1998-05-15  4:00 ` Werner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: gordo16 @ 1998-05-15  4:00 UTC (permalink / raw)



I'm running RedHat Alpha 4.2 on a PC124.  Concerning compiling                      
a new kernel, the file /usr/src/linux/README is an intel file                       
rather than an alpha file, and the directions given are false.                      
In particular 'make' has no rule for 'zImage'.  So what does                        
one substitute for 'make zImage'?                                                   
                                                                                    
Thanks!                                                                             
                                                                                    
-bob-                                                                               




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compiling a Linux-ALPHA kernel
  1998-05-15  4:00 Compiling a Linux-ALPHA kernel gordo16
@ 1998-05-15  4:00 ` Werner
  1998-05-16  4:00 ` Chris "Saundo" Saunderson
  1998-05-17  4:00 ` Bruce Allen
  2 siblings, 0 replies; 5+ messages in thread
From: Werner @ 1998-05-15  4:00 UTC (permalink / raw)



In <355bd636.0@news1.ibm.net> gordo16@ibm.net wrote:
> I'm running RedHat Alpha 4.2 on a PC124.  Concerning compiling                  
    
> a new kernel, the file /usr/src/linux/README is an intel file                   
    
> rather than an alpha file, and the directions given are false.                  
    
> In particular 'make' has no rule for 'zImage'.  So what does                    
    
> one substitute for 'make zImage'?                                               
    
>                                                                                 
    
> Thanks!                                                                         
    
>                                                                                 
    
> -bob-                                                                           
    

IIRC (I have no ;-( Alpha System in the office):

mv /vmlinux.gz /vmlinux_old.gz
cd /usr/src/linux
make config
make dep; make clean
make boot
# make modules_install   # if necessary
cp arch/alpha/boot/vmlinux.gz /

regards Werner

-- 
#include <GPL.h>
#include "RandomSignature.h"




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compiling a Linux-ALPHA kernel
  1998-05-15  4:00 Compiling a Linux-ALPHA kernel gordo16
  1998-05-15  4:00 ` Werner
@ 1998-05-16  4:00 ` Chris "Saundo" Saunderson
  1998-05-18  4:00   ` Steve Peltz
  1998-05-17  4:00 ` Bruce Allen
  2 siblings, 1 reply; 5+ messages in thread
From: Chris "Saundo" Saunderson @ 1998-05-16  4:00 UTC (permalink / raw)



In article <355bd636.0@news1.ibm.net> gordo16@ibm.net writes:


   I'm running RedHat Alpha 4.2 on a PC124.  Concerning compiling            
   a new kernel, the file /usr/src/linux/README is an intel file  
   rather than an alpha file, and the directions given are false.
   In particular 'make' has no rule for 'zImage'.  So what does
   one substitute for 'make zImage'?                                                   

Way back when I actually had an alpha...


You need to make sure that the top level Makefile has

ARCH=alpha

as the architecture to compile for.

Second, you just do a :

make vmlinux

Then (and my memory is getting real hazy here), you then
need to run:


make bootimage


to get a kernel suitable for booting from.

Regards


Saundo
-- 
Chris "Saundo" Saunderson
Unix Guy				saundo@idx.com.au
Powered by Linux and the Orb.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compiling a Linux-ALPHA kernel
  1998-05-15  4:00 Compiling a Linux-ALPHA kernel gordo16
  1998-05-15  4:00 ` Werner
  1998-05-16  4:00 ` Chris "Saundo" Saunderson
@ 1998-05-17  4:00 ` Bruce Allen
  2 siblings, 0 replies; 5+ messages in thread
From: Bruce Allen @ 1998-05-17  4:00 UTC (permalink / raw)



 I had the same problem.  Documentation misleading.
Try "make boot"  then look in the arch/alpha/boot directory for
vmlinux.gz

Bruce


> I'm running RedHat Alpha 4.2 on a PC124.  Concerning compiling
> a new kernel, the file /usr/src/linux/README is an intel file
> rather than an alpha file, and the directions given are false.
> In particular 'make' has no rule for 'zImage'.  So what does
> one substitute for 'make zImage'?






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Compiling a Linux-ALPHA kernel
  1998-05-16  4:00 ` Chris "Saundo" Saunderson
@ 1998-05-18  4:00   ` Steve Peltz
  0 siblings, 0 replies; 5+ messages in thread
From: Steve Peltz @ 1998-05-18  4:00 UTC (permalink / raw)



In article <m267j789ay.fsf@cartman.saundo.org.au>,
Chris "Saundo" Saunderson <saundo@idx.com.au> wrote:
>You need to make sure that the top level Makefile has
>
>ARCH=alpha

No longer necessary in the latest Makefile, unless you're cross-compiling
(it picks it up by running /bin/arch).

>make bootimage

Actually, all you need to do is strip vmlinux, then gzip it. Neither step
is necessary, it just saves you some disk space.

Current makefile does this with "make boot", which also creates a program
used when building MILO.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-05-18  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-15  4:00 Compiling a Linux-ALPHA kernel gordo16
1998-05-15  4:00 ` Werner
1998-05-16  4:00 ` Chris "Saundo" Saunderson
1998-05-18  4:00   ` Steve Peltz
1998-05-17  4:00 ` Bruce Allen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox