From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by ozlabs.org (Postfix) with ESMTP id 4D306DE311 for ; Fri, 11 Apr 2008 23:55:33 +1000 (EST) Received: by an-out-0708.google.com with SMTP id c37so147673anc.78 for ; Fri, 11 Apr 2008 06:55:32 -0700 (PDT) Message-ID: Date: Fri, 11 Apr 2008 07:55:31 -0600 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Guillaume Dargaud" Subject: Re: zImage.embedded In-Reply-To: <014701c89bda$09380060$ad289e86@LPSC0173W> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <014701c89bda$09380060$ad289e86@LPSC0173W> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Apr 11, 2008 at 7:43 AM, Guillaume Dargaud wrote: > Hello all, > > I'm not sure what kind of error this is. I'm trying to generate a kernel > image suitable for network boot and it seems to fail at the very end (wrong > target ?) > > $ make ARCH=ppc CROSS_COMPILE=powerpc-linux-uclibc- znetboot > > powerpc-linux-uclibc-objcopy -O elf32-powerpc arch/ppc/boot/simple/zvmlinux > arch/ppc/boot/simple/zvmlinux -R .comment -R .stab \ > -R .stabstr -R .ramdisk > cp -f arch/ppc/boot/simple/zvmlinux arch/ppc/boot/images/zImage.elf > rm -f arch/ppc/boot/simple/zvmlinux > cp arch/ppc/boot/images/zImage.embedded /tftpboot/zImage.embedded > cp: cannot stat `arch/ppc/boot/images/zImage.embedded': No such file or > directory > make[2]: *** [znetboot] Error 1 > make[1]: *** [simple] Error 2 > make: *** [znetboot] Error 2 > > is the file zImage.elf my proper network image ? What bootloader is on your board? zImage.elf *might* be the proper image. If you're using u-boot, then you want to build a uImage instead. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.