[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Compilation Question.
- Subject: Re: [cobalt-developers] Compilation Question.
- From: Tim Hockin <thockin@xxxxxxx>
- Date: Thu Feb 21 11:09:17 2002
- Organization: Sun Microsystems, Inc.
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
BSmith@xxxxxxxxxxx wrote:
> make oldconfig
> make menuconfig *** to change what I want to compile into the kernel
gratuitous - no need for the oldconfig
> make dep
> make modules
> make modules_install
you forgot clean after dep. 'make dep clean'. You also forgot to actually
make a kernel. 'make cobalt' if you use our source, 'make vmlinux; gzip
vmlinux' if you don't.
make <somethingconfig>
make dep clean cobalt modules
make cobalt-install
> I go into /usr/src/linux/arch/i386/boot directory
> but there is not zImage there :-(
> I look in the /usr/src/linux directory, there is a vmlinux file.
> So, I put it into my /boot directory
> but, I do NOT know where to tell it what file to boot off of.
Ok, firstly, you didn't make a kernel, you made modules. Secondly, you
haven't read anything written about building kernels on Cobalt systems. We
don't use zImage. In fact, 'make zImage' will fail. 'make cobalt' or
'make vmlinux; gzip vmlinux' is what you want. When 'make cobalt' is done,
you'll have vmlinux.[gz,bz2] files. Copy THOSE to /boot. Or just use
'make cobalt-install'.
Tim
--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx