From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 13 Mar 2012 05:50:30 +0100 Subject: [U-Boot] [PATCH V3] BOOT: Add "bootz" command to boot Linux zImage In-Reply-To: <20120313042529.43B63202BE6@gemini.denx.de> References: <1331588061-21546-1-git-send-email-marex@denx.de> <201203130113.19092.marex@denx.de> <20120313042529.43B63202BE6@gemini.denx.de> Message-ID: <201203130550.31443.marex@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 Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201203130113.19092.marex@denx.de> you wrote: > > > + zi = (struct zimage_header *)images->ep; > > > + > > > + if (zi->zi_magic != LINUX_ARM_ZIMAGE_MAGIC) { > > > > This gave me an idea ... this might be how to check for zImage inside > > bootm and be done with it. Simply squash those two together. > > Hm... but this must not be the only test, then, or you will run the > risk of false positives... Certainly. > > > > Do we have to care about endianess here? > > > > We should make bootz arm-specific until more people (with different > > arches) step up and verify it works for them. > > NAK. Please implement in an architecture independent way right from > the beginning. Can someone tell if the the zImage format differs per-arch or is it the same? Graeme, what is it about that x86 stuff? > > Best regards, > > Wolfgang Denk Best regards, Marek Vasut