From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.ptn-ipout02.plus.net ([212.159.7.36]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1O6PAm-0008LC-CW for linux-mtd@lists.infradead.org; Mon, 26 Apr 2010 14:20:34 +0000 Message-ID: In-Reply-To: References: Date: Mon, 26 Apr 2010 15:20:29 +0100 Subject: Re: Obtaining start/end address of an MTD partition From: "Matthew Lear" To: "lei yang" MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: matt@bubblegen.co.uk, linux-mtd@lists.infradead.org Reply-To: matt@bubblegen.co.uk List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Hi Matt, > > Please try below: > > zcat /proc/config.gz |grep PHYSMAP_START Thanks but /proc/config.gz doesn't exist on the embedded system that we're developing on. To be clear, I'm trying to access the start/end addresses from a program, not from a command prompt. Cheers, -- Matt