From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 19.mo3.mail-out.ovh.net ([178.32.98.231] helo=mo3.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9EKs-0007QV-Dz for barebox@lists.infradead.org; Wed, 05 Sep 2012 12:03:59 +0000 Received: from mail91.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 33A8AFF931F for ; Wed, 5 Sep 2012 14:11:32 +0200 (CEST) Date: Wed, 5 Sep 2012 14:04:15 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20120905120415.GE32603@game.jcrosoft.org> References: <50462CE6.10607@webware-experts.de> <1346825557.3625.4.camel@lws-weitzel> <50471A79.6070707@webware-experts.de> <1346838098.3625.10.camel@lws-weitzel> <504722D8.1050409@webware-experts.de> <20120905105323.GE26594@pengutronix.de> <50473122.90906@webware-experts.de> <20120905111549.GG26594@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120905111549.GG26594@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: MLO doesn't work, rest is ok To: Sascha Hauer Cc: barebox@lists.infradead.org On 13:15 Wed 05 Sep , Sascha Hauer wrote: > On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > > > >What gcc version do you have? > > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Maybe you could try an older toolchain. There are some dark memories in > my mind, but it could also be that my mind is fooling me... > > > > > Is there something which i could quickly check in the MLO, a > > checksum for example? Only if you know something, otherwise i can > > look it up in the OMAP manual, what he is doing to accept the MLO. > > > > As i said, it seems he doesn't like the MLO, because he's skipping > > to the next boot source.. > > The MLO is generated from barebox.bin with the omap_signGP tool. It > seems the header is 520byte in size. You could compare these between > both images. I don't know though if this is enough for the OMAP ROM code > to detect a valid image. maybe too big we need to set the BAREBOX_MAX_IMAGE_SIZE IIRC it's 54KiB Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox