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.248]) by ozlabs.org (Postfix) with ESMTP id 93196DDFB6 for ; Sat, 26 Jul 2008 14:55:32 +1000 (EST) Received: by an-out-0708.google.com with SMTP id c34so1196725anc.78 for ; Fri, 25 Jul 2008 21:55:31 -0700 (PDT) Message-ID: Date: Sat, 26 Jul 2008 00:55:31 -0400 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Milton Miller" Subject: Re: [RFC,PATCH] scripts/package: add powerpc images to tarball In-Reply-To: <200807250108.m6P18f4B099179@sullivan.realtime.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1216887460.306306.238738123378.1.gpush@pingu> <200807250108.m6P18f4B099179@sullivan.realtime.net> Cc: linuxppc-dev@ozlabs.org, Jeremy Kerr , linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jul 24, 2008 at 9:08 PM, Milton Miller wrote: > >> Currently, tarball builds for powerpc kernels don't have any boot >> images (other than vmlinux) present. >> >> Add support for powerpc builds in the buildtar script, to include >> a few default images. >> >> Signed-off-by: Jeremy Kerr >> >> --- >> RFC: any requests for more/less boot images? >> > .. >> + for img in zImage zImage.pseries zImage.iseries \ >> + dtbImage dtbImage.ps3 > > Yes. How about all dtbImage, zImage, cuboot, treeboot, etc > that are newer than vmlinux? dtbImage is not a buildable image. Neither is cuImage, treeImage or simpleImage. All of those targets embed a device tree which is specified by adding the .dts filename to the target name. so, for example, 'make cuImage' fails. Instead you do 'make cuImage.lite5200b' which pulls in dts/lite5200b.dts. Also, zImage is a 'meta' target that builds all the default image targets (the $image-y list). The zImage is actually just a symlink to the first file in the list of default images. So zImage can actually point to any kind of kernel image depending on how the kernel is configured. I wonder if we should just remove the zImage file entirely, or at least make it always linked to one particular image type. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.