From: Robert P. J. Day Date: Sat, 24 Aug 2013 07:37:00 -0400 (EDT) Subject: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition? In-Reply-To: <20130824111610-3666@mutt-kz> References: <20130823151838-13339@mutt-kz> <20130823222052-6976@mutt-kz> <20130824111610-3666@mutt-kz> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 24 Aug 2013, Luka Perkov wrote: > On Sat, Aug 24, 2013 at 12:01:25AM -0400, Robert P. J. Day wrote: > > On Sat, 24 Aug 2013, Luka Perkov wrote: > > > /dev/mmcblk0 0x60000 0x2000 0x2000 > > > > ah, there's the misunderstanding. i thought we were discussing > > how to be able to refer *directly* to the eMMC partition "boot1", > > as in /dev/mmcblk1boot1. it looks like what you're describing > > would refer instead simply to /dev/mmcblk1, correct? > Even though the config is actually refering to /dev/mmcblk1 in fact > it's writing/reading to /dev/mmcblk1p1 (or /dev/mmcblk1boot1) in > your case. But you need to configure it properly for your MMC > device. right, i can see that and that clarifies things for me. my *original* question was whether there was a way to set up /etc/fw_env.config to refer to the eMMC partition /dev/mmcblk1boot1 *directly*, treating it as a regular block partition and bypassing all the MTD-related processing. (perhaps stefano can weigh in and say whether that's how he understood what i was asking.) if you instead refer to /dev/mmcblk1, as i understand it, you're just back to the standard MTD-based access, yes? anyway, sorry if i didn't explain myself clearly the first time. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================