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 bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1P0suG-0002zr-Bc for barebox@lists.infradead.org; Wed, 29 Sep 2010 09:24:57 +0000 From: Juergen Beisert Date: Wed, 29 Sep 2010 11:23:19 +0200 References: <201009291108.18378.jbe@pengutronix.de> In-Reply-To: <201009291108.18378.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201009291123.19306.jbe@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: Failing to load Barebox Environment To: barebox@lists.infradead.org Juergen Beisert wrote: > Just a note: > > You configure: > > >> devfs_add_partition("nand0", 0x00000, 0x200000, PARTITION_FIXED, > > >> "self_raw"); dev_add_bb_dev("self_raw", "self0"); > > >> devfs_add_partition("nand0", 0x200000, 0x200000, PARTITION_FIXED, > > >> "env_raw"); dev_add_bb_dev("env_raw", "env0"); > > And then: > > EVB2065> addpart /dev/nand0 4M(barebox)ro,2M(kernel)ro,-(root) > > Both must match! > > Try instead: > > EVB2065> addpart /dev/nand0 256k(barebox)ro,256k(env),2M(kernel)ro,-(root) > > jbe Ups, sorry: 0x200000 != 256k (didn't count the '0' right...) EVB2065> addpart /dev/nand0 2M(barebox)ro,2M(env),2M(kernel)ro,-(root) jbe -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | Phone: +49-8766-939 228 | Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox