linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* treeImage.initrd rule is very broken
@ 2007-05-14 14:47 Josh Boyer
  2007-05-15  1:40 ` David Gibson
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2007-05-14 14:47 UTC (permalink / raw)
  To: dwg; +Cc: linuxppc-dev

Hi David,

I tried compiling an Ebony kernel wrapped with a DTS and initrd this
morning but it fails with the following error:

WRAP    arch/powerpc/boot/treeImage.initrd.ebony
DTC: dts->dtb  on file "/home/jwboyer/src/linux-2.6/arch/powerpc/boot/dts/ebony.dts"
powerpc-440-linux-gnu-ld: arch/powerpc/boot/treeboot-initrd.ebony.o: No such file: No such file or directory
powerpc-440-linux-gnu-nm: 'arch/powerpc/boot/treeImage.initrd.ebony': No such file
powerpc-440-linux-gnu-objdump: 'arch/powerpc/boot/treeImage.initrd.ebony': No such file
mv: cannot stat `arch/powerpc/boot/treeImage.initrd.ebony': No such file or directory
stat: No such file or directory
ln: accessing `arch/powerpc/boot/treeImage.initrd.ebony': No such file or directory
make[1]: *** [arch/powerpc/boot/zImage.initrd] Error 1
make: *** [zImage.initrd] Error 2

At first glance, it should be looking for treeboot-ebony.o, not
treeboot-initrd.ebony.o.  On a whim, I symlinked treeboot-initrd.ebony.o
to treeboot-ebony.o and the compile worked, however the wrapper wasn't
called with the ramdisk.image.gz file:

 /bin/sh /home/jwboyer/src/linux-2.6/arch/powerpc/boot/wrapper -c -o arch/powerpc/boot/treeImage.initrd.ebony -p treeboot-initrd.ebony -C "powerpc-440-linux-gnu-"  -s /home/jwboyer/src/linux-2.6/arch/powerpc/boot/dts/ebony.dts vmlinux
DTC: dts->dtb  on file "/home/jwboyer/src/linux-2.6/arch/powerpc/boot/dts/ebony.dts"

So something is very broken with this rule.  I poked at it for a while,
but I apparently don't have the make-fu to figure out how to un-break
it.

Help?

josh

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

end of thread, other threads:[~2007-05-15  1:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14 14:47 treeImage.initrd rule is very broken Josh Boyer
2007-05-15  1:40 ` David Gibson
2007-05-15  1:56   ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).