From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SFiyr-0003xN-CP for barebox@lists.infradead.org; Thu, 05 Apr 2012 09:27:51 +0000 Date: Thu, 5 Apr 2012 11:27:38 +0200 From: Sascha Hauer Message-ID: <20120405092738.GB3852@pengutronix.de> References: <20120405063322.GV3852@pengutronix.de> <20120405065455.GW3852@pengutronix.de> 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="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: debugging on board To: Gabriel Tisan Cc: barebox@lists.infradead.org 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 size. 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. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox