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 merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SqiZt-0000VN-V1 for barebox@lists.infradead.org; Mon, 16 Jul 2012 10:30:59 +0000 Date: Mon, 16 Jul 2012 12:30:54 +0200 From: Sascha Hauer Message-ID: <20120716103054.GJ30009@pengutronix.de> References: <20120716085418.GG30009@pengutronix.de> <20120716092101.GI30009@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: Antwort: Re: Antwort: Re: barebox image size To: christian.buettner@rafi.de Cc: barebox@lists.infradead.org On Mon, Jul 16, 2012 at 11:37:59AM +0200, christian.buettner@rafi.de wrote: > here it is: > > struct imx_flash_header_v2 __flash_header_section flash_header = > { > .header.tag = IVT_HEADER_TAG, > .header.length = cpu_to_be16(32), > .header.version = IVT_VERSION, > > .entry = APP_DEST + 0x1000, > .dcd_ptr = APP_DEST + 0x400 + offsetof(struct > imx_flash_header_v2, dcd), > .boot_data_ptr = APP_DEST + 0x400 + offsetof(struct > imx_flash_header_v2, boot_data), > .self = APP_DEST + 0x400, > > .boot_data.start = APP_DEST, > .boot_data.size = 0x40000, And here you have the magic 256k. Please use DCD_BAREBOX_SIZE instead. 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