uboot, saveenv and what works

422 views
Skip to first unread message

marty leisner

unread,
Jul 9, 2017, 11:54:20 AM7/9/17
to beagl...@googlegroups.com
Different postings seem to indicate different things.

I've been using u-boot for over a decade and I'm used to the saveenv/fw_* tools.

Seems the default beagles don't support this.   I have a older 2G eMMC and a newer 4G eMMC beagle -- I just built uboot and that and the distributed one don't have saveenv present.

But this posting:

https://e2e.ti.com/support/embedded/linux/f/354/t/425207

talks about fw_* tools and saveenv.

I'm slightly confused.

marty

Jeff Andich

unread,
Jul 11, 2017, 12:54:44 PM7/11/17
to BeagleBoard
I THINK I have the same/similar question.  Given the BeagleBone/BeagleBoard's single ext4 partition strategy for containing the FS and kernel and where u-boot/MLO is copied into the the "hole" below the partition table using the dd command, where is the default and user-updated u-boot environment saved now?

I have an SD Card for the TI SDK for the 572xEVM which has 2 partitions, (1) boot and (2) rootfs.  I believe in TI SDK land, the u-boot environment variables are saved to uboot.env in the boot partition..... Thanks!!

Robert Nelson

unread,
Jul 11, 2017, 12:59:37 PM7/11/17
to Beagle Board, marty leisner
saveenv is disabled as it breaks the BeagleBone White (no eMMC)

you can easily re-enable by removing this change:

https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2017.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L250

Regards,

--
Robert Nelson
https://rcn-ee.com/

Jeff Andich

unread,
Jul 11, 2017, 1:25:32 PM7/11/17
to BeagleBoard, male...@gmail.com
Thanks Robert !

Looks like someone using yocto for BBB also had a similar question a couple years ago, https://lists.yoctoproject.org/pipermail/yocto/2015-April/024636.html...
Reply all
Reply to author
Forward
0 new messages