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.246]) by ozlabs.org (Postfix) with ESMTP id 6077BDDE33 for ; Thu, 30 Aug 2007 01:17:43 +1000 (EST) Received: by an-out-0708.google.com with SMTP id c37so38200anc for ; Wed, 29 Aug 2007 08:17:41 -0700 (PDT) Message-ID: Date: Wed, 29 Aug 2007 09:17:32 -0600 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Miroslaw Dach" Subject: Re: Linux doesn not boot from u-boot on ML403 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: Cc: Leonid , linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 8/29/07, Miroslaw Dach wrote: > Hi Grant, > > My zImage.elf has 1.1 MB and uImage 968 KB. > Could you tell me please how to hook up GDB to debug u-boot? Ah-HA! You're using the wrong type of kernel image. When booting from u-boot, you should be using a 'uImage', not a 'zImage.elf'. (generated with 'make uImage' in the kernel tree). An you should use the 'bootm' command to boot the kernel. With bootm, u-boot can pass parameters to the kernel and it is u-boot that does the uncompression (instead of the zImage wrapper). Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195