On 9/5/07, Scott Wood <[EMAIL PROTECTED]> wrote: > This target produces a flat binary rather than an ELF file, > fixes the entry point at the beginning of the image, and takes > a complete device tree with no fixups needed. > > The device tree must have labels on /#address-cells, the timebase > frequency, and the memory size. > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > --- > diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile > index 02f0fe0..2a6a4c6 100644 > --- a/arch/powerpc/boot/Makefile > +++ b/arch/powerpc/boot/Makefile > @@ -48,7 +48,8 @@ src-wlib := string.S crt0.S stdio.c main.c flatdevtree.c > flatdevtree_misc.c \ > cpm-serial.c stdlib.c planetcore.c > src-plat := of.c cuboot-83xx.c cuboot-85xx.c holly.c \ > cuboot-ebony.c treeboot-ebony.c prpmc2800.c \ > - ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c cuboot-8xx.c > cuboot-pq2.c > + ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c \ > + cuboot-8xx.c cuboot-pq2.c fixed-head.S raw-platform.c > src-boot := $(src-wlib) $(src-plat) empty.c > > src-boot := $(addprefix $(obj)/, $(src-boot)) > @@ -146,6 +147,7 @@ image-$(CONFIG_PPC_83xx) += cuImage.83xx > image-$(CONFIG_PPC_85xx) += cuImage.85xx > image-$(CONFIG_EBONY) += treeImage.ebony cuImage.ebony > image-$(CONFIG_BAMBOO) += treeImage.bamboo > +image-$(CONFIG_BUILD_RAW_IMAGE) += zImage.raw > endif > > # For 32-bit powermacs, build the COFF and miboot images
Are these makefile changes complete? When I attempt to compile with this patch I get the following error: [EMAIL PROTECTED]:~/hacking/linux-2.6$ ppc4xx make CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h make[1]: *** No rule to make target `arch/powerpc/boot/zImage.raw', needed by `arch/powerpc/boot/zImage'. Stop. make: *** [zImage] Error 2 [EMAIL PROTECTED]:~/hacking/linux-2.6$ Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [EMAIL PROTECTED] (403) 399-0195 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev