Thread (2 messages) flat view 2 messages, 2 authors, 2007-10-19

Building zImage

From: Siva Prasad <hidden>
Date: 2007-10-18 23:37:42

Hi,

When I tried to build zImage (make zImage V=3D1) based on the 2.6.19
kernel for 8641HPCN board, I got the following error...

make -f scripts/Makefile.build obj=3Dlib
make -f
/export/beavis/work/sprasad/2.6.19/linux-2.6.19/scripts/Makefile.modpost
vmlinux
  scripts/mod/modpost -m  -o
/export/beavis/work/sprasad/2.6.19/linux-2.6.19/Module.symvers
vmlinux=20
rm -f .old_version
make ARCH=3Dppc64 -f scripts/Makefile.build obj=3Darch/powerpc/boot
arch/powerpc/boot/zImage
ln: accessing `arch/powerpc/boot/zImage': No such file or directory
make[1]: *** [arch/powerpc/boot/zImage] Error 1
make: *** [zImage] Error 2

When I looked into the Makefile, "image-y" was having no value. So, "ln"
was failing. Do I have to select one of the below options of zImage. I
am not really sure which one to use for 8641 supported by FreeScale.

image-$(CONFIG_PPC_PSERIES)             +=3D zImage.pseries
image-$(CONFIG_PPC_MAPLE)               +=3D zImage.pseries
image-$(CONFIG_PPC_IBM_CELL_BLADE)      +=3D zImage.pseries
image-$(CONFIG_PPC_CHRP)                +=3D zImage.chrp
image-$(CONFIG_PPC_PMAC)                +=3D zImage.pmac
image-$(CONFIG_DEFAULT_UIMAGE)          +=3D uImage

Well!... we are not using U-Boot, so uImage is not an option, and that
builds fine.

Any way, I tried to make uImage, but I am not sure if it is including
the dts file in the final uImage built, as the wrapper was passed the
value of platform as "uboot". I am confused.

Thanks for your help in advance.

- siva
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help