From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Date: Thu, 15 Mar 2007 23:57:22 +0100 Subject: [U-Boot-Users] arm linux images with load address == entry point In-Reply-To: <20070315202503.100A4352669@atlas.denx.de> References: <20070315155550.GA7760@lala> <20070315202503.100A4352669@atlas.denx.de> Message-ID: <20070315225722.GA708@informatik.uni-freiburg.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Wolfgang, Wolfgang Denk wrote: > > the make target "uImage" in the linux kernel calls mkimage as follows: > > $(MKIMAGE) -A arm -O linux -T kernel \ > > -C none -a $(ZRELADDR) -e $(ZRELADDR) \ > > -n 'Linux-$(KERNELRELEASE)' -d $< $@ > > ... > > You download the image to an arbitrary address which should be > sufficiently out of the way of the [load_addr,load_addr+size of > uncompressed kernel] area. The bootm will (uncompress &) copy the > image to the load_addr, and jumpt to the entry point. So choosing ZRELADDR is not sensible. This is the address the decompressed kernel should be placed to. So the (in-kernel) decompressor has to move the image for sure. So worst case I loaded it to address X, U-Boot moved it to ZRELADDR and the decompressor moves it a 2nd time because it wants to decompress to ZRELADDR. Best regards Uwe -- Uwe Kleine-K?nig http://www.google.com/search?q=Planck%27s+constant%3D