From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 1 Dec 2011 09:56:49 +0100 Subject: [U-Boot] [PATCH 1/2] image: Implement IH_TYPE_KERNEL_NOLOAD In-Reply-To: <1320956274-16597-1-git-send-email-swarren@nvidia.com> References: <1320956274-16597-1-git-send-email-swarren@nvidia.com> Message-ID: <201112010956.49466.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 10 November 2011 21:17:53 Stephen Warren wrote: > The legacy uImage format includes an absolute load and entry-point > address. When bootm operates on a kernel uImage in memory that isn't > loaded at the address in the image's load address, U-Boot will copy > the image to its address in the header. > > Some kernel images can actually be loaded and used at any arbitrary > address. An example is an ARM Linux kernel zImage file. To represent > this capability, IH_TYPE_KERNEL_NOLOAD is implemented, which operates > just like IH_TYPE_KERNEL, except that the load address header is > ignored, and U-Boot does not copy the image to its load address, but > rather uses it in-place. > > This is useful when sharing a single (uImage-wrapped) zImage across > multiple boards with different memory layouts; in this case, a specific > load address need not be picked when creating the uImage, but instead > is selected by the board-specific U-Boot environment used to load and > boot that image. > > v2: Rename from IH_TYPE_KERNEL_ANYLOAD to IH_TYPE_KERNEL_NOLOAD. Applied to u-boot-staging/sr at denx.de. Thanks. Best regards, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de