linux/arch/ppc64
Olaf Hering 18c5332bc1 [PATCH] ppc64: change name of target file during make install
'make install' creates a /boot/zImage[.vmode] file when the defconfig is used.

It uses the second arg as file content, which is the vmlinux, and the 5th
arg as file name, which is the BOOTIMAGE name.

A comment in an earlier patch to install.sh states that yaboot can not load
a zImage+initrd combo.  This was true in kernel 2.6.5 because it did use
bi_recs to pass the initrd info.  But this concept was always broken.
Register r3 holds the initrd address and r4 holds the initrd size.  This
works with all kernel versions.  The current code in main.c leaves r3 and
r4 alone, so the kernel should be able to see and use the memory range with
the initrd content.

If one wants to rerun mkinitrd, it is currently hard to get the uname -r
value for the installed zImage.  Without this info, mkinitrd can not know
what modules to use.  This would be fixable by including the /proc/version
output of the new kernel.  But it is simpler to just use the plain vmlinux.

So all this patch does is to write to /boot/vmlinux instead to /boot/zImage

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-10-29 15:20:27 +10:00
..
boot [PATCH] ppc64: change name of target file during make install 2005-10-29 15:20:27 +10:00
configs [PATCH] ppc64: update defconfigs 2005-10-19 23:12:36 -07:00
kernel [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses 2005-10-29 14:25:49 +10:00
lib ppc64: use mem_64.S from powerpc/lib 2005-10-28 12:54:35 +10:00
xmon powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
defconfig [PATCH] ppc64: compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig 2005-10-29 15:14:44 +10:00
Kconfig [PATCH] powerpc: Fix handling of fpscr on 64-bit 2005-10-27 20:48:50 +10:00
Kconfig.debug [PATCH] ppc64: update xmon helptext 2005-09-05 00:06:01 -07:00
Makefile [PATCH] ppc64: reenable make install with defconfig 2005-10-29 15:15:34 +10:00