From: Robert P. J. Day Date: Fri, 23 Aug 2013 11:28:00 -0400 (EDT) Subject: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition? In-Reply-To: <20130823151838-13339@mutt-kz> References: <20130823151838-13339@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 Fri, 23 Aug 2013, Luka Perkov wrote: > On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: > > i'm sure there's a simple answer to this -- i built u-boot for my > > beaglebone black using the "am335x_boneblack" config, which supports > > saving env info to the eMMC HW partition boot1. but now that it's > > there, is there a way i can manipulate that info with fw_printenv and > > fw_setenv? > > I have put this in OpenWrt: > > https://dev.openwrt.org/browser/trunk/package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch > https://dev.openwrt.org/browser/trunk/package/boot/uboot-envtools/patches/115-writing-environment-for-mtd-devices.patch > > With those two you will be able to use fw_{printenv,setenv} on MMC > devices. and how would you specify the partition in the /etc/fw_env.config file? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================