[U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

Robert P. J. Day rpjday at crashcourse.ca
Fri Aug 23 17:28:00 CEST 2013


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
========================================================================


More information about the U-Boot mailing list