* [POWERPC] ps3: add a default zImage target
@ 2006-11-28 3:22 Geoff Levand
2006-12-05 0:11 ` Geoff Levand
0 siblings, 1 reply; 2+ messages in thread
From: Geoff Levand @ 2006-11-28 3:22 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev, cbe-oss-dev, Arnd Bergmann
It's currently not possible to build the default zImage target if PS3 is the
only selected platform. This adds a target that builds a stripped vmlinux,
which the PS3 bootloader (kboot) will be able to load.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
This replaces Arnd's patch '[POWERPC 7/9] ps3: add a default zImage target'
sent out earlier today.
-Geoff
arch/powerpc/boot/Makefile | 4 ++++
1 files changed, 4 insertions(+)
Index: cell--common--7/arch/powerpc/boot/Makefile
===================================================================
--- cell--common--7.orig/arch/powerpc/boot/Makefile
+++ cell--common--7/arch/powerpc/boot/Makefile
@@ -149,6 +149,9 @@
$(obj)/zImage.initrd.miboot: vmlinux $(wrapperbits)
$(call cmd,wrap_initrd,miboot)
+$(obj)/zImage.ps3: vmlinux
+ $(STRIP) -s -R .comment $< -o $@
+
$(obj)/uImage: vmlinux $(wrapperbits)
$(call cmd,wrap,uboot)
@@ -157,6 +160,7 @@
image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries
image-$(CONFIG_PPC_CHRP) += zImage.chrp
image-$(CONFIG_PPC_PMAC) += zImage.pmac
+image-$(CONFIG_PPC_PS3) += zImage.ps3
image-$(CONFIG_DEFAULT_UIMAGE) += uImage
# For 32-bit powermacs, build the COFF and miboot images
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [POWERPC] ps3: add a default zImage target
2006-11-28 3:22 [POWERPC] ps3: add a default zImage target Geoff Levand
@ 2006-12-05 0:11 ` Geoff Levand
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Levand @ 2006-12-05 0:11 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev, Arnd Bergmann
Add a powerpc make target that can be loaded by the ps3 bootloader (kboot) and
set this as the default image to build for that platform.
Until the compressed zImage wrapper is made, this arranges for a stripped
vmlinux image to be built.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
Paul,
I noticed this didn't go into the latest set in powerpc.git.
I think having the default image for ps3 set as zImage.pseries will cause
confusion for some users since that image is not loadable by the ps3 bootloader.
I rebased this to the latest powerpc.git. Please apply.
-Geoff
arch/powerpc/boot/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
--- cell--common--7.orig/arch/powerpc/boot/Makefile
+++ cell--common--7/arch/powerpc/boot/Makefile
@@ -149,13 +149,16 @@ $(obj)/zImage.miboot: vmlinux $(wrapperb
$(obj)/zImage.initrd.miboot: vmlinux $(wrapperbits)
$(call cmd,wrap_initrd,miboot)
+$(obj)/zImage.ps3: vmlinux
+ $(STRIP) -s -R .comment $< -o $@
+
$(obj)/uImage: vmlinux $(wrapperbits)
$(call cmd,wrap,uboot)
image-$(CONFIG_PPC_PSERIES) += zImage.pseries
image-$(CONFIG_PPC_MAPLE) += zImage.pseries
image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries
-image-$(CONFIG_PPC_PS3) += zImage.pseries
+image-$(CONFIG_PPC_PS3) += zImage.ps3
image-$(CONFIG_PPC_CHRP) += zImage.chrp
image-$(CONFIG_PPC_EFIKA) += zImage.chrp
image-$(CONFIG_PPC_PMAC) += zImage.pmac
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-05 0:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-28 3:22 [POWERPC] ps3: add a default zImage target Geoff Levand
2006-12-05 0:11 ` Geoff Levand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.