From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 3.mo4.mail-out.ovh.net ([46.105.57.129] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SOso0-00057Q-Oi for barebox@lists.infradead.org; Mon, 30 Apr 2012 15:46:30 +0000 Received: from mail97.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 062A0105024D for ; Mon, 30 Apr 2012 17:47:45 +0200 (CEST) Date: Mon, 30 Apr 2012 17:25:27 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20120430152527.GF2992@game.jcrosoft.org> References: <20120405063322.GV3852@pengutronix.de> <20120405065455.GW3852@pengutronix.de> <20120405092738.GB3852@pengutronix.de> <20120406025913.GD16306@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: debugging on board To: Gabriel Tisan Cc: barebox@lists.infradead.org On 17:08 Wed 25 Apr , Gabriel Tisan wrote: > On Fri, Apr 6, 2012 at 4:59 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 11:27 Thu 05 Apr =A0 =A0 , Sascha Hauer wrote: > >> On Thu, Apr 05, 2012 at 09:06:30AM +0200, Gabriel Tisan wrote: > >> > I use external boot mode from NAND. I choosed > >> > CONFIG_NAND_IMX_BOOT_512_2K although I have a flash with 2k page siz= e. > >> > >> Try 'make barebox.S' and have a look at the resulting barebox.S file. > >> Everything including > >> > >> reset > >> __mmu_cache_flush > >> imx_nand_load_image > >> > >> must fit into the first 2k of memory. We currently do not catch this > >> (though we could using a seperate linker section for this). If your > >> lowlevel init code is too big then you can easily exceed this > >> limitation. > > we can now I add an option for this > > > Which commit include this option ? > = > Actually which is the last stable barebox ? I've got the version from > master with last commit 96a43ca "pxa27x_udc: Fix compilation warning" > from 23 Mar 2012. you need to check the commits that put the bare_init size and if you can not use it do simthing similar for the pre_image Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox