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

Luka Perkov luka at openwrt.org
Fri Aug 23 17:19:44 CEST 2013


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.

Luka


More information about the U-Boot mailing list